Viewing audit logs
Audit logs are available to project Admins under Settings → Audit Logs. Each row in the table includes:- Timestamp — when the action occurred.
- Actor — the user email or API token name that performed the action. CLI-originated rows display a terminal icon next to the actor.
- Method and path — the HTTP method and request path.
- Action — the operation that ran (for example,
list_applications). - Resource — the resource type, name, and parent (for example, the cluster an application belongs to).
- Status — the HTTP response status code.
Identifying the source of an action
Entries that originated from the Porter CLI are tagged with a terminal icon next to the actor. Hovering the icon shows the tooltip Performed via Porter CLI. Rows without the icon were performed from the Porter dashboard or another API client. Porter classifies an entry as CLI-originated when its capturedUser-Agent begins with porter-cli. The classification is read-only — no additional configuration is required, and existing audit log rows are classified automatically.
Querying audit logs via the API
You can fetch audit log entries programmatically by calling the audit logs query endpoint:source field when the action originated from a recognized client. Today the only emitted value is cli; the field is omitted from entries originating from the dashboard or other API clients.
source to filter or group audit log entries by client when building your own reporting on top of the API.
