Log Format
Implementors SHOULD log all authorization decisions with the following structure:Events to Log
| Event | When |
|---|---|
agent_registered | An agent successfully registers |
agent_registration_denied | An agent registration is rejected |
attestation_failed | An agent attestation JWT fails verification |
authorization_started | An OAuth flow is initiated |
access_granted | A token is issued with effective scopes |
access_denied | A token request is denied |
token_revoked | A token is revoked |
proxy_request | An API call is made through the proxy |
scope_violation | An agent attempts to access a scope outside its token |
Monitoring Recommendations
- Alert on repeated
attestation_failedevents from the same agent - Alert on unusual patterns in
proxy_requestevents (rate, timing, scope usage) - Regularly review
agent_registeredevents to catch unauthorized registration attempts - Track
scope_violationevents to detect potentially compromised agents