c6.7 Monitor AI application usage with attributed audit logs
Log AI application access and usage with user attribution and monitor for anomalous behavior, so misuse, compromised credentials, and policy violations are detectable.
Implementation guidance
How to implement on AWS
Enable CloudTrail (organization trail) to log AI app access and usage with user-context attribution. Monitor usage patterns, error rates, and adoption with CloudWatch metrics and alarms, and use app-specific analytics (Q Developer usage analytics, Quick audit logging, Kiro telemetry). Apply per-user rate limits and usage quotas.
Acceptance criteria
AI app access is logged with user attribution and centralized; usage anomalies raise CloudWatch alarms; per-user rate limits/quotas are enforced.
Practical implementation
How this control is implemented in each reference architecture:
AI-app access is logged with user attribution via the org CloudTrail to the Log archive, usage anomalies alarm in CloudWatch, and per-user rate limits are enforced.
- Enable the organization CloudTrail to log AI-app access and usage with user-context attribution, forwarded to the Log archive.
- Monitor usage patterns, error rates, and adoption with CloudWatch metrics/alarms, complemented by app-specific analytics (Q Developer usage analytics, Quick audit logging, Kiro telemetry).
- Apply per-user rate limits and usage quotas.
How to validate: AI-app access is logged with user attribution and centralized in the Log archive; usage anomalies raise CloudWatch alarms; per-user rate limits/quotas are enforced.
Avoid: Logging app usage without tying it to a user. Attribution is what lets you investigate a compromised account or misuse.
In-account CloudTrail with user attribution, CloudWatch anomaly alarms, and per-user rate limits make AI-app usage auditable.
- Log AI-app access and usage with user-context attribution via CloudTrail into the in-account Object-Lock bucket.
- Monitor usage, error rates, and adoption with CloudWatch and app-specific analytics.
- Apply per-user rate limits and quotas.
How to validate: AI-app access is logged with user attribution; usage anomalies raise alarms; per-user rate limits/quotas are enforced.
Avoid: No usage analytics or rate limits. You cannot spot abuse or a compromised credential without attributed usage data.
Threats addressed
- Compromised credentials or anomalous usage going undetected.
- No attributed audit trail of AI application access for investigations.
AWS services
Framework mappings
OWASP GenAI/LLM Top 10 (2026)
- LLM02 Sensitive Information Disclosure
- LLM06 Unbounded Consumption
NIST AI Risk Management Framework (AI 100-1)
- MEASURE.3 Mechanisms for tracking AI risks are in place
- MANAGE.4 Risk treatments, monitoring and response are documented and applied
AWS Well-Architected Generative AI Lens (Security)
- GENSEC03-BP01 Implement control plane and data access monitoring
Learning resources
References
- AWS SRA for AI — Capability 6, Logging and monitoring
AI Security Maturity Model