Audit logs
Comprehensive audit logging for security, compliance, and operational visibility. Track every action, verification, and security event in the AIM platform.
What gets logged
Agent operations
- • Agent registration and updates
- • Capability declarations
- • MCP server connections
- • Trust score changes
- • Verification attempts
Security events
- • Authentication attempts
- • Permission changes
- • API key operations
- • Failed verifications
- • Suspicious activities
Administrative actions
- • User management
- • Role assignments
- • Configuration changes
- • Data exports
- • System settings
Compliance data
- • Access patterns
- • Data modifications
- • Retention actions
- • Audit trail exports
- • Regulatory events
Log entry structure
| Field | Type | Description |
|---|---|---|
| id | string | Unique log entry identifier |
| timestamp | ISO 8601 | When the event occurred |
| action | string | Event type (e.g., agent.create) |
| actor | string | Who performed the action |
| resource | string | What was affected |
| result | enum | success | failure | partial |
| details | object | Additional context and metadata |
Log severity levels
INFONormal operations, successful actions
WARNINGUnusual patterns, failed verifications
ERRORSecurity violations, system errors
CRITICALData breaches, critical failures
Best practices
Log management
- Set appropriate retention periods
- Archive old logs to cold storage
- Encrypt sensitive log data
- Regular export for backup
Security monitoring
- Set up alerts for critical events
- Monitor failed verifications
- Track trust score anomalies
- Review access patterns regularly