Skip to main content
CID222 Docs

Event types

Every event type written to ai_event_logs, its retention category, and which feed reads it.

  • Type: reference

Every event type the gateway may write to ai_event_logs, and what each reader does with it. Regenerate with make docs-generate.

Adding an event type means adding a row to the registry, classified. Readers derive their type sets from it rather than keeping their own allowlists — before CID-11 each reader kept one, so a new type was persisted correctly and displayed nowhere until somebody noticed.

By category

Retention is the shipped default window from RetentionPolicyService.SEED; an administrator can change any window on Settings → Retention, and sweeping is off (enforced: false) until it is switched on there. Nothing is deleted on an appliance where nobody enabled it.

CategoryRetentionTypes
AUDIT365 days19
ERROR90 days11
PERFORMANCE30 days2
REQUEST30 days5
SECURITY400 days35

All event types (72)

  • Verdict / Kind present means rows of this type appear in the All Detections feed.
  • Channel derived means the feed reads metadata.tool, defaulting to browser.
  • Inspection is the effect shown on the inspection-ops admin page.
  • Agent marks tool/agent telemetry — what a coding agent did, not a policy decision.
Event typeCategoryRetentionVerdictKindChannelInspectionLLM reviewAgent
AI_USAGEREQUEST30 days
AUTH_FAILURESECURITY400 days
AUTH_SUCCESSSECURITY400 days
CLAUDE_CODE_ACTIVITYREQUEST30 daysprompt_or_tool_use
CLAUDE_CODE_USAGEREQUEST30 daysusage
DIRECTORY_DEGRADEDSECURITY400 days
DIRECTORY_LOGIN_UNAVAILABLESECURITY400 days
DIRECTORY_RECOVEREDSECURITY400 days
EXCEPTIONERROR90 days
FILE_INSPECTION_PARSE_FAILEDERROR90 daysnull
FILE_UPLOAD_BLOCKEDSECURITY400 daysBLOCKfilederivedblock
FILE_UPLOAD_REDACTEDSECURITY400 daysREDACTfilederivedredact
FILTER_BUNDLE_EXPORTEDAUDIT365 days
GOVERNANCE_ASSET_DECOMMISSIONEDAUDIT365 days
GOVERNANCE_ASSET_REGISTEREDAUDIT365 days
GOVERNANCE_DRIFT_DETECTEDAUDIT365 days
GOVERNANCE_POLICY_UPDATEDAUDIT365 days
GUARDRAILS_DEGRADEDSECURITY400 days
GUARDRAILS_FALLBACKSECURITY400 days
HAP_DETECTEDSECURITY400 days
HELP_INPUT_FLAGGEDSECURITY400 daysFLAGtextapi
HELP_INPUT_MASKEDSECURITY400 daysREDACTtextapi
HELP_SETTINGS_UPDATEDAUDIT365 days
IMAGE_ANALYSIS_DETECTIONSECURITY400 daysFLAGimageapi
INSPECTION_ERRORERROR90 daysblock
INSPECTION_PARSE_FAILEDERROR90 daysnull
INSPECTION_REDACTION_FAILEDERROR90 daysblock
INSPECTION_TIMEOUTERROR90 daysblock
JAILBREAK_DETECTEDSECURITY400 days
KNOWLEDGE_PROMOTEDAUDIT365 days
LDAP_ADMIN_ROLE_DRIFTSECURITY400 days
LDAP_NAME_COLLISIONSECURITY400 days
LICENSE_EXPIREDSECURITY400 days
LICENSE_EXPIRINGSECURITY400 days
LICENSE_GRACESECURITY400 days
LICENSE_LIMIT_EXCEEDEDSECURITY400 days
LICENSE_TRIAL_EXPIREDSECURITY400 days
LLM_REVIEW_ANALYST_UNAVAILABLESECURITY400 dayscritical
LLM_REVIEW_COMPLETEDSECURITY400 daysinfo
LLM_REVIEW_FAILEDERROR90 dayswarning
LLM_REVIEW_TRIGGEREDSECURITY400 daysinfo
MESSAGE_BLOCKEDSECURITY400 daysBLOCKtextderivedblock
MESSAGE_MASKEDSECURITY400 daysREDACTtextderivedredact
OCR_SETTINGS_UPDATEDAUDIT365 days
PASSWORD_RESET_COMPLETEDAUDIT365 days
PASSWORD_RESET_DELIVERYAUDIT365 days
PASSWORD_RESET_LINK_ISSUEDAUDIT365 days
PII_DETECTEDSECURITY400 daysFLAGtextderivedallow
POLICY_PROTECTION_CHANGEDSECURITY400 days
PROVIDER_ERRORERROR90 days
REQUEST_COMPLETEREQUEST30 days
REQUEST_STARTREQUEST30 days
RESOURCE_CREATEDAUDIT365 days
RESOURCE_DELETEDAUDIT365 days
RESOURCE_UPDATEDAUDIT365 days
RESPONSE_INSPECTION_PARSE_FAILEDERROR90 daysnull
RESPONSE_MASKEDSECURITY400 daysREDACTtextderivedredact
RESPONSE_PII_FLAGGEDSECURITY400 daysFLAGtextderivedallow
RISK_ANALYSIS_CANCELLEDAUDIT365 days
RISK_ANALYSIS_COMPLETEDSECURITY400 days
RISK_ANALYSIS_FAILEDERROR90 days
RISK_ANALYSIS_REQUESTEDAUDIT365 days
SIEM_EXPORT_DEGRADEDSECURITY400 days
SIEM_EXPORT_RECOVEREDSECURITY400 days
SLOW_REQUESTPERFORMANCE30 days
TIMEOUTPERFORMANCE30 days
UNLOCK_DENIEDAUDIT365 daysinfo
UNLOCK_REQUESTEDAUDIT365 dayswarning
USER_AI_LOCKEDSECURITY400 dayscritical
USER_AI_LOCKED_PENDINGSECURITY400 dayswarning
USER_AI_UNLOCKEDAUDIT365 daysinfo
VALIDATION_ERRORERROR90 days

Derived sets

SetCountTypes
Detections (All Detections feed)10MESSAGE_BLOCKED, MESSAGE_MASKED, PII_DETECTED, FILE_UPLOAD_BLOCKED, FILE_UPLOAD_REDACTED, RESPONSE_MASKED, RESPONSE_PII_FLAGGED, IMAGE_ANALYSIS_DETECTION, HELP_INPUT_MASKED, HELP_INPUT_FLAGGED
Managed-API channel3IMAGE_ANALYSIS_DETECTION, HELP_INPUT_MASKED, HELP_INPUT_FLAGGED
Inspection-ops admin13MESSAGE_BLOCKED, MESSAGE_MASKED, PII_DETECTED, FILE_UPLOAD_BLOCKED, FILE_UPLOAD_REDACTED, RESPONSE_MASKED, RESPONSE_PII_FLAGGED, INSPECTION_TIMEOUT, INSPECTION_ERROR, INSPECTION_REDACTION_FAILED, INSPECTION_PARSE_FAILED, FILE_INSPECTION_PARSE_FAILED, RESPONSE_INSPECTION_PARSE_FAILED
LLM Risk Analyst feed9LLM_REVIEW_TRIGGERED, LLM_REVIEW_COMPLETED, LLM_REVIEW_FAILED, USER_AI_LOCKED_PENDING, USER_AI_LOCKED, LLM_REVIEW_ANALYST_UNAVAILABLE, USER_AI_UNLOCKED, UNLOCK_REQUESTED, UNLOCK_DENIED
Agent activity (SIEM rollup)2CLAUDE_CODE_USAGE, CLAUDE_CODE_ACTIVITY

On this page

Download PDF