Skip to main content

Audit Logs

Show the users of your application a history of who did what, and when, with the Audit Logs element. This page is for developers who add Permit Elements, the embeddable UI components, to an application.

What the element shows

The Audit Logs element lists events as a table with these columns:

ColumnContent
TimeThe date and time of the event, and how long ago it happened
UserThe name and email of the user who acted
ResourceThe resource the user acted on, such as Document
ActionThe action the user performed, such as Create or Delete

Audit Logs element embedded in an application, listing events with time, user, resource, and action columns

Embed the element

  1. Create an Audit Logs element in the Elements screen.
  2. Assign your roles to the element's permission levels. See Permission levels.
  3. Click Generate Code, and add the iframe snippet to your application.
  4. Log each user in to Permit Elements before the iframe loads.

For the full steps, including login, see Embed Permit Elements.

Verify the element

Sign in to your application as a user whose role is in a visible permission level, and open the page with the element. The element lists events with their time, user, resource, and action.

Next steps