# Alert on denied calls and on changes to the agent's role or policies

Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.

Check 30 of 30: Alert on denied calls and on changes to the agent's role or policies. A string of denied calls or an edit to the agent's role is often the first visible sign of misuse. Without an alert, these show up only after the damage.

## Why it matters

A string of denied calls or an edit to the agent's role is often the first visible sign of misuse. Without an alert, these show up only after the damage.

## How, in each cloud

- **AWS:** Send CloudTrail events to CloudWatch Logs and alarm on matching events.
- **Google Cloud:** Create log-based alerting policies that notify you when a specific message appears in logs.
- **Azure:** Create Azure Monitor alert rules on log data.

## What the documentation says

- "Complete the following steps to configure CloudTrail with CloudWatch Logs to monitor your trail logs and" ([source](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/monitor-cloudtrail-log-files-with-cloudwatch-logs.html))
- "You can configure an alerting policy to notify you whenever a specific message" ([source](https://cloud.google.com/logging/docs/alerting/log-based-alerts))
- "You can alert on any metric or log data source in the Azure Monitor data platform." ([source](https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview))

- [Previous: Make every logged action traceable to the specific agent identity](/checklist/attribute-actions-to-the-agent/)

## Related pages

- [Give each agent its own role or service account, not a shared one: the check, and how in AWS, Google Cloud and Azure](/checklist/own-identity-per-agent/)
- [Use short-lived role credentials and no long-lived access keys for the agent: the check, and how in AWS, Google Cloud and Azure](/checklist/short-lived-credentials/)
- [Limit who can pass, attach or impersonate the agent's role: the check, and how in AWS, Google Cloud and Azure](/checklist/restrict-who-can-attach-role/)

## Sources

- docs.aws.amazon.com/awscloudtrail/latest/userguide/monitor-cloudtrail-log-files-: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/monitor-cloudtrail-log-files-with-cloudwatch-logs.html (read 10 Nov 2026)
- cloud.google.com/logging/docs/alerting/log-based-alerts: https://cloud.google.com/logging/docs/alerting/log-based-alerts (read 10 Nov 2026)
- learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview: https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-overview (read 10 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://aiagentaccesscontrol.com/checklist/alert-on-denied-and-role-changes/
