Audit Logs
Audit logs provide a tamper-proof record of every significant action taken in your Terracotta organization, giving you full visibility into who did what and when.
๐ Overview
Every authentication event, configuration change, review trigger, and billing action is captured in a centralized audit log. Audit logs are available on Enterprise plans and retained for 12 months.
๐ Event Categories
| Category | Events |
|---|---|
| Authentication | Login, logout, API key created, API key revoked |
| Reviews | PR review triggered, review completed |
| Configuration | Guardrail created/updated/deleted, integration connected/disconnected |
| Billing | Plan changed, seat added/removed |
| Drift | Scan initiated, scan completed |
Each event includes a timestamp, the acting user, the target resource, the originating IP address, and the user agent string.
๐ ๏ธ Using the Audit Log UI
Navigate to Settings > Audit Logs to access the log viewer.
Filtering
- Date range โ narrow results to a specific time window
- Event type โ filter by category (e.g., Authentication, Drift)
- User โ isolate actions from a specific team member
Event Details
Expand any event row to see the full payload, including:
- IP address and user agent
- Affected resource identifiers
- Before/after values for configuration changes
- Request metadata (API key ID, session ID)
๐ API Access
Audit logs are available via the Terracotta API for integration with your SIEM, log aggregation platform, or compliance tooling.
curl -H "Authorization: Bearer $TERRACOTTA_API_KEY" \
https://api.terracotta.ai/v1/audit-logs?from=2026-01-01&to=2026-03-01Export audit logs to tools like Splunk, Datadog, or Elastic for long-term retention and cross-correlation with other security signals.
๐ TL;DR
- Audit logs capture every significant action across your organization
- Available on Enterprise plans with 12-month retention
- Filter by date range, event type, or user in the UI
- Expand any event for full details including IP, user agent, and affected resources
- Access logs programmatically via the API for SIEM integration
Updated about 22 hours ago
