Mods

Policy: GCP > IAM > Service Account > Allowed > Custom

Determine the action to take when a GCP IAM service account is not allowed based on custom rules.

The Allowed > Custom control checks if the serviceAccount is allowed based on the Allowed > Custom > * policies. If the serviceAccount is not allowed, the control raises an alarm and takes the defined enforcement action.

For any enforcement actions that specify if new, e.g., Enforce: Delete if not allowed and resource is new, the control will only take the enforcement actions for resources created within the last 60 minutes.

Targets

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Setting this policy configures this control:

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Check: Allowed
    
  • Enforce: Delete if not allowed
    
  • Enforce: Delete if not allowed and resource is new
    
  • Enforce: Disable if not allowed
    
Examples [YAML]
  • Check: Allowed
    

Category

In Your Workspace

Developers