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:
Related Policies
Controls
Setting this policy configures this control:
Policy Specification
Schema Type | |
|---|---|
Default | |
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceAllowed
- tmod:@turbot/aws-ecr#/policy/types/repositoryAllowedEncryptionAtRest
- turbot graphql policy-type --id "tmod:@turbot/aws-ecr#/policy/types/repositoryAllowedEncryptionAtRest"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-ecr#/policy/types/repositoryAllowedEncryptionAtRest"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI