Reduce Google Cloud IAM access from observed use

8 steps · about 2 h 32 min · Intermediate

  1. Map principals, roles and resources (guide, Google Cloud documentation, 20 min)

    Understand policy inheritance and role contents before interpreting an effective grant.

  2. Inspect roles available on the resource (guide, Google Cloud documentation, 16 min)

    Identify predefined roles at the right scope instead of defaulting to primitive broad roles.

  3. Analyze effective access (guide, Google Cloud documentation, 22 min)

    Trace how a principal receives a permission through hierarchy, groups and policies.

  4. Review observed permission activity (guide, Google Cloud documentation, 20 min)

    Use Data Access audit evidence while accounting for logging coverage, the observation window and infrequent operations.

  5. Evaluate IAM recommendations (guide, Google Cloud documentation, 18 min)

    Review the evidence and risk of a recommendation rather than applying it without workload context.

  6. Create a custom role only when justified (guide, Google Cloud documentation, 22 min)

    Prefer maintained predefined roles, then build a minimal custom role when no suitable combination exists.

  7. Test required permissions (guide, Google Cloud documentation, 16 min)

    Confirm the candidate principal can perform the known operation before removing the old grant.

  8. Verify and record the policy change (guide, Google Cloud documentation, 18 min)

    Check audit evidence, exercise the workload, preserve rollback details and schedule a later access review.