Overview
Audit logging records every mutation (create, update, delete) and administrative action performed in Strait. This feature provides a comprehensive trail of activity for security, compliance, and troubleshooting. Audit logging is enabled by default.What Gets Logged
Every API mutation records the actor identity, action type, resource type and ID, timestamp, and relevant metadata. This ensures that any change to the system state can be traced back to its source. Common examples of logged events include:- Job created or updated
- Run triggered or cancelled
- Role assigned to a user
- API key rotated
- Webhook subscription created
Actor Identity
Strait capturescreated_by and updated_by fields on core resources to maintain a clear chain of custody. The actor identity is derived from the authentication context:
- Users: Identity from JWT or OIDC claims when actions are performed via the dashboard or CLI.
- Service Accounts: Identity from the API key used for the request.
- Internal: The internal secret for service-to-service calls or system-initiated actions.