Mods

Policy: AWS > ECR > Repository > Allowed > Encryption at Rest

Determine the action to take when a resource is not allowed based on encryption at rest configuration.

The Allowed control checks if the resource encryption configuration complies with the defined policy rules. If the resource encryption is not allowed, this 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 repository is new, this 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 encryption level
    
  • Enforce: Delete if encryption level not allowed and resource is new
    
Examples [YAML]
  • Check: Allowed encryption level
    

Category

In Your Workspace

Developers