← Professional Cloud Security Engineer: controls and evidence
02 / 8 · 35 MIN

IAM, deny, and inheritance

Explain effective access using grants, denials, and scope.

Concept and mechanism

Access analysis must include the relevant hierarchy, groups, and applicable policies. A project binding does not necessarily show folder-inherited grants. Adding a broader role also does not resolve an applicable deny policy: denial of the permission prevents operations requiring it despite allow. An exception to the deny rule removes that denial within defined scope but does not grant permission. The principal still needs authorization. Deny conditions have their own semantics: when true or unevaluable, the rule applies. Do not generalize that rule to every condition mechanism without checking corresponding documentation.

Guided application

In a fictional case, a partner authorized for an analysis still receives a denial. First identify principal, resource, operation, and deciding policy. If the request needs an exception, approve suitable scope and duration; do not remove an organization-wide control to solve a local need. Then validate both the allowed operation and operations that must remain denied. For pipelines, start from required permissions and the specific resource instead of replacing Owner with another broad role without analysis. During temporary-access review, also check groups and independent grants. Evidence should explain why an operation succeeds or fails rather than merely showing a green screen after adding privileges.

IN PRACTICE

A deny exception and minimum allow can both be needed for the same request.

Common pitfalls

Owner as override; exception as grant; project as complete scope; expiry as universal revocation.

Related topics: Federation and temporary access · IAP, WAF, and perimeters · Connectivity and perimeter migration

Take this idea with you

Follow the complete authorization path before changing privileges.

Create account

Reference: IAM deny policies · Current linked guide; edition date unconfirmed (2026-09-30 inspection)