Skip to main content
The audit log records changes made in your organization: who made each change, where it came from, which resource it affected, and when. env zero records an event for most create, update, and delete requests made through the UI, the CLI, or the API, and for user logins. Some write actions are not recorded, such as canceling a deployment or approving a plan. It does not record read requests.

Permissions

Viewing the audit log, in Organization Settings or through the API, requires the View Audit Logs permission.
The Organization Admin role includes this permission. To grant it to other users, add it to a custom role. Read-only API keys keep it.

Recorded events

Each event is named after the action that triggered it. The table lists examples for each area. The Action Name filter lists every action name.

Who performed an action

Performed By names the person responsible for the event, and Source shows how the request reached env zero. System marks requests that one env zero service makes to another. API keys that env zero creates automatically, such as OIDC and Terraform deployer keys, have no on behalf of user. Filtering Performed By by a user also returns actions made with API keys that user created. Some events show no source: events recorded before env zero tracked the source, user logins, SCIM events, and a few settings changes such as SSO configuration deleted. Select Not recorded in the Source filter to find them.

SCIM events

  • Changes your identity provider makes through SCIM, such as User provisioned or Group member added, show Unknown user (SCIM) under Performed By and no source.
  • Changes an admin makes to SCIM settings, such as SCIM token rotated or SCIM mode changed, show the admin under Performed By and no source.

View the audit log

1

Open the audit log

Go to Organization Settings and select the Logs tab.
2

Narrow the results

Pick a date range, and use the column filters on Performed By, Source, Action Name, Project, and Entity. Sort by Performed At to change the order.
3

Inspect an event

Expand a row to see the event’s recorded details, when it has any.
4

Load more events

Click Show more at the bottom of the table.
When you apply filters, env zero searches a range of events per page. If it stops before the end of your date range, a note under the table shows how far it searched. Click Show more to search further.

Fetch audit logs through the API

Use Fetch Audit Logs to retrieve audit logs programmatically. It supports the same filters as the table: date range, users, projects, entity, action names, and source.

Forward audit logs

To send audit logs to an external platform such as Datadog or Splunk, enable Audit Log Forwarding in a log forwarding integration. The integrations that receive audit logs appear at the top of the Logs tab.

Next steps

For deployment counts and environment status across the organization, open the monitoring dashboards.