keycloak-scim/server_admin/topics/events/admin.adoc

52 lines
1.6 KiB
Text
Raw Normal View History

=== Auditing admin events
2016-05-31 16:48:15 +00:00
You can record all actions that are performed by an administrator in the Admin Console. The Admin Console performs administrative actions by invoking the {project_name} REST interface and {project_name} audits these REST invocations. You can view the resulting events in the Admin Console.
2016-05-31 16:48:15 +00:00
.Procedure
Use this procedure to start auditing admin actions.
. Click *Realm settings* in the menu.
. Click the *Events* tab.
. Click the *Admin events settings* tab.
. Toggle *Save events* to *ON*.
+
{project_name} displays the *Include representation* switch.
+
. Toggle *Include representation* to *ON*.
+
The `Include Representation` switch includes JSON documents sent through the admin REST API so you can view the administrators actions.
+
.Admin events settings
image:{project_images}/admin-events-settings.png[Admin events settings]
. Click *Save*.
. To clear the database of stored actions, click *Clear admin events*.
2016-05-31 16:48:15 +00:00
.Procedure
2016-05-31 16:48:15 +00:00
You can now view admin events.
2016-05-31 16:48:15 +00:00
. Click *Events* in the menu.
. Click the *Admin events* tab.
+
.Admin events
image:{project_images}/admin-events.png[Admin events]
2016-05-31 16:48:15 +00:00
////
Not sure if there a new version of this for the new Admin Console.
2016-05-31 16:48:15 +00:00
. If the `Details` column has a *Representation* button, click the *Representation* button to view the JSON {project_name} sent with the operation.
+
.Admin representation
image:{project_images}/admin-events-representation.png[Admin Representation]
2016-05-31 16:48:15 +00:00
. Click `Filter` to view specific events.
+
.Admin event filter
image:{project_images}/admin-events-filter.png[Admin Event Filter]
////