Guardrail denial (AccessDenied)
Run the common pre-checks first.
Symptoms
An AccessDenied error in a pipeline log or a CLI session, with an explicit deny from a service control policy, a resource control policy or a permissions boundary.
Pre-checks
- The error message names the policy type ("explicit deny in a service control policy"). Find the statement in the policy catalog: its Sid carries the control ID.
- Decide whether the call should have worked. Most denials are the guardrail doing its job.
Resolution
- The call shouldn't happen: change the caller, not the policy.
- The call is legitimate: a policy change is a decision. Record it, change the policy template in a PR, and run its change set like any other org policy change (the org policy alert fires, as expected).
Post-checks
The legitimate call succeeds, and the control tests' negative tests for that control still pass.
Rollback
Revert the policy PR and run the change set again.
Page information
- Owner
- Detection and Response
- Status
- current Current: generated from the templates and records in the repository at this build.
- Generated from
site/content/runbooks.md- Linked from
- Runbooks
- Plain markdown
- /wiki/runbooks/guardrail-denial/index.md