Audit Trails
Comprehensive logging and auditing for approval workflows
Audit Trail Overview
OK!Gotcha provides detailed audit trails for all approval-related activities. Every action in the approval workflow is logged with relevant metadata, creating a complete audit trail that can be used for compliance, debugging, and analytics.
What Gets Logged
Approval Requests
Timestamps, requesters, function details, and parameters for all approval requests.
Approval Decisions
Timestamps, approvers, decisions (approve/reject), and any comments provided.
Function Execution
Timestamps, results, execution times, and any errors for approved functions.
Configuration Changes
Changes to approval workflows, approver groups, and notification settings.
Accessing Audit Logs
Dashboard Access
Audit logs are available in the OK!Gotcha dashboard, with filtering and search capabilities to help you find specific events:
API Access
You can also access audit logs programmatically via the API:
Log Structure
Each audit log entry includes:
Unique identifier for the log entry.
ISO-8601 formatted timestamp when the event occurred.
Type of event (e.g., approval.created
, approval.approved
, function.executed
).
Information about who performed the action.
Information about the resource affected.
Additional context-specific information about the event.
Retention and Compliance
Audit logs are retained for a configurable period based on your plan:
Plan | Retention Period |
---|---|
Developer | 30 days |
Team | 90 days |
Enterprise | 1-7 years (configurable) |
For regulated industries, we offer extended retention options and compliance certifications:
SOC 2
SOC 2 Type II compliant audit trail storage
GDPR
GDPR-compliant data handling
HIPAA
HIPAA-eligible for healthcare applications
Export Options
Audit logs can be exported in several formats:
Next Steps
- Learn about notification options for approval events
- Set up flexible workflows for different approval scenarios
- Explore integration options for implementing approvals