Control types for @turbot/aws-ecr

AWS > ECR > Image > Active

Take an action when an AWS ECR image is not active based on the
AWS > ECR > Image > Active > * policies.

The Active control determines whether the resource is in active use, and if not, has
the ability to delete / cleanup the resource. When running an automated compliance
environment, it's common to end up with a wide range of alarms that are difficult
and time consuming to clear. The Active control brings automated, well-defined
control to this process.

The Active control checks the status of all defined Active policies for the
resource (AWS > ECR > Image > Active > *),
raises an alarm, and takes the defined enforcement action. Each Active
sub-policy can calculate a status of active, inactive or skipped. Generally,
if the resource appears to be Active for any reason it will be considered Active.

Note the contrast with Approved, where if the resource appears to be Unapproved
for any reason it will be considered Unapproved.

See Active for more information.

URI
tmod:@turbot/aws-ecr#/control/types/imageActive

AWS > ECR > Image > Approved

Take an action when an AWS ECR image is not approved based on AWS > ECR > Image > Approved > * policies.

The Approved control checks the status of the defined Approved sub-policies for the resource. If the resource is not approved according to any of these policies, this control raises an alarm and takes the defined enforcement action.

For any enforcement actions that specify if new, e.g., Enforce: Delete unapproved if new, this control will only take the enforcement actions for resources created within the last 60 minutes.

See Approved for more information.

URI
tmod:@turbot/aws-ecr#/control/types/imageApproved

AWS > ECR > Image > CMDB

Record and synchronize details for the AWS ECR image into the CMDB.

The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.

If set to Skip then all changes to the CMDB are paused - no new resources will be discovered, no updates will be made and deleted resources will not be removed.

To cleanup resources and stop tracking changes, set this policy to "Enforce: Disabled".

CMDB controls also use the Regions policy associated with the resource. If region is not in AWS > ECR > Image > Regions policy, the CMDB control will delete the resource from the CMDB. (Note: Setting CMDB to Skip will also pause these changes.)

URI
tmod:@turbot/aws-ecr#/control/types/imageCmdb
Category

AWS > ECR > Image > Discovery

Discover all AWS ECR image resources and add them to the CMDB.

The Discovery control is responsible for finding resources of a specific type. It periodically searches for new resources and saves them to the CMDB. Once discovered, resources are then responsible for tracking changes to themselves through the CMDB control.

Note that Discovery and CMDB controls also use the Regions policy associated with the resource. If the region is not in AWS > ECR > Image > Regions policy, the CMDB control will delete the resource from the CMDB.

URI
tmod:@turbot/aws-ecr#/control/types/imageDiscovery

AWS > ECR > Image > Usage

The Usage control determines whether the number of AWS ECR image resources exceeds the configured usage limit for this repository.

You can configure the behavior of this control with the AWS > ECR > Image > Usage policy, and set the limit with the AWS > ECR > Image > Usage > Limit policy.

URI
tmod:@turbot/aws-ecr#/control/types/imageUsage

AWS > ECR > Private Registry > CMDB

Record and synchronize details for the AWS ECR private registry into the CMDB.

The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.

If set to Skip then all changes to the CMDB are paused - no new resources will be discovered, no updates will be made and deleted resources will not be removed.

To cleanup resources and stop tracking changes, set this policy to "Enforce: Disabled".

CMDB controls also use the Regions policy associated with the resource. If region is not in AWS > ECR > Private Registry > Regions policy, the CMDB control will delete the resource from the CMDB. (Note: Setting CMDB to Skip will also pause these changes.)

URI
tmod:@turbot/aws-ecr#/control/types/privateRegistryCmdb
Category

AWS > ECR > Private Registry > Discovery

Discover all AWS ECR private registry resources and add them to the CMDB.
The Discovery control is responsible for finding resources of a specific type. It periodically searches for new resources and saves them to the CMDB. Once discovered, resources are then responsible for tracking changes to themselves through the CMDB control.
Note that Discovery and CMDB controls also use the Regions policy associated with the resource. If the region is not in AWS > ECR > Private Registry > Regions policy, the CMDB control will delete the resource from the CMDB.

URI
tmod:@turbot/aws-ecr#/control/types/privateRegistryDiscovery

AWS > ECR > Private Registry > Scanning Configuration

Define the Scanning Configuration settings required for AWS > ECR > Private Registry.

The Scanning configuration determines the type of scanning performed on the contents of repositories.

Note: Enforcing Basic or Enhanced Scanning on a Private Registry via this control with AWS > ECR > Private Registry > Scanning Configuration > * policies set to an empty array ([]) will remove all existing Scanning Configuration filters on the Private Registry.

URI
tmod:@turbot/aws-ecr#/control/types/privateRegistryScanningConfiguration
Category

AWS > ECR > Public Repository > Active

Take an action when an AWS ECR public repository is not active based on the
AWS > ECR > Public Repository > Active > * policies.

The Active control determines whether the resource is in active use, and if not, has
the ability to delete / cleanup the resource. When running an automated compliance
environment, it's common to end up with a wide range of alarms that are difficult
and time consuming to clear. The Active control brings automated, well-defined
control to this process.

The Active control checks the status of all defined Active policies for the
resource (AWS > ECR > Public Repository > Active > *),
raises an alarm, and takes the defined enforcement action. Each Active
sub-policy can calculate a status of active, inactive or skipped. Generally,
if the resource appears to be Active for any reason it will be considered Active.

Note the contrast with Approved, where if the resource appears to be Unapproved
for any reason it will be considered Unapproved.

See Active for more information.

URI
tmod:@turbot/aws-ecr#/control/types/publicRepositoryActive

AWS > ECR > Public Repository > Approved

Take an action when an AWS ECR public repository is not approved based on AWS > ECR > Public Repository > Approved > * policies.

The Approved control checks the status of the defined Approved sub-policies for the resource. If the resource is not approved according to any of these policies, this control raises an alarm and takes the defined enforcement action.

For any enforcement actions that specify if new, e.g., Enforce: Delete unapproved if new, this control will only take the enforcement actions for resources created within the last 60 minutes.

See Approved for more information.

URI
tmod:@turbot/aws-ecr#/control/types/publicRepositoryApproved

AWS > ECR > Public Repository > CMDB

Record and synchronize details for the AWS ECR public repository into the CMDB.

The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.

If set to Skip then all changes to the CMDB are paused - no new resources will be discovered, no updates will be made and deleted resources will not be removed.

To cleanup resources and stop tracking changes, set this policy to "Enforce: Disabled".

URI
tmod:@turbot/aws-ecr#/control/types/publicRepositoryCmdb
Category

AWS > ECR > Public Repository > Discovery

Discover all AWS ECR public repository resources and add them to the CMDB.

The Discovery control is responsible for finding resources of a specific type. It periodically searches for new resources and saves them to the CMDB. Once discovered, resources are then responsible for tracking changes to themselves through the CMDB control.

URI
tmod:@turbot/aws-ecr#/control/types/publicRepositoryDiscovery

AWS > ECR > Public Repository > Tags

Take an action when an AWS ECR public repository tags is not updated based on the AWS > ECR > Public Repository > Tags > * policies.

If the resource is not updated with the tags defined in AWS > ECR > Public Repository > Tags > Template, this control raises an alarm and takes the defined enforcement action.

See Tags for more information.

URI
tmod:@turbot/aws-ecr#/control/types/publicRepositoryTags

AWS > ECR > Public Repository > Usage

The Usage control determines whether the number of AWS ECR public repository resources exceeds the configured usage limit for this account.

You can configure the behavior of this control with the AWS > ECR > Public Repository > Usage policy, and set the limit with the AWS > ECR > Public Repository > Usage > Limit policy.

URI
tmod:@turbot/aws-ecr#/control/types/publicRepositoryUsage

AWS > ECR > Repository > Active

Take an action when an AWS ECR repository is not active based on the
AWS > ECR > Repository > Active > * policies.

The Active control determines whether the resource is in active use, and if not, has
the ability to delete / cleanup the resource. When running an automated compliance
environment, it's common to end up with a wide range of alarms that are difficult
and time consuming to clear. The Active control brings automated, well-defined
control to this process.

The Active control checks the status of all defined Active policies for the
resource (AWS > ECR > Repository > Active > *),
raises an alarm, and takes the defined enforcement action. Each Active
sub-policy can calculate a status of active, inactive or skipped. Generally,
if the resource appears to be Active for any reason it will be considered Active.

Note the contrast with Approved, where if the resource appears to be Unapproved
for any reason it will be considered Unapproved.

See Active for more information.

URI
tmod:@turbot/aws-ecr#/control/types/repositoryActive

AWS > ECR > Repository > Approved

Take an action when an AWS ECR repository is not approved based on AWS > ECR > Repository > Approved > * policies.

The Approved control checks the status of the defined Approved sub-policies for the resource. If the resource is not approved according to any of these policies, this control raises an alarm and takes the defined enforcement action.

For any enforcement actions that specify if new, e.g., Enforce: Delete unapproved if new, this control will only take the enforcement actions for resources created within the last 60 minutes.

See Approved for more information.

URI
tmod:@turbot/aws-ecr#/control/types/repositoryApproved

AWS > ECR > Repository > CMDB

Record and synchronize details for the AWS ECR repository into the CMDB.

The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.

If set to Skip then all changes to the CMDB are paused - no new resources will be discovered, no updates will be made and deleted resources will not be removed.

To cleanup resources and stop tracking changes, set this policy to "Enforce: Disabled".

CMDB controls also use the Regions policy associated with the resource. If region is not in AWS > ECR > Repository > Regions policy, the CMDB control will delete the resource from the CMDB. (Note: Setting CMDB to Skip will also pause these changes.)

URI
tmod:@turbot/aws-ecr#/control/types/repositoryCmdb
Category

AWS > ECR > Repository > Discovery

Discover all AWS ECR repository resources and add them to the CMDB.

The Discovery control is responsible for finding resources of a specific type. It periodically searches for new resources and saves them to the CMDB. Once discovered, resources are then responsible for tracking changes to themselves through the CMDB control.

Note that Discovery and CMDB controls also use the Regions policy associated with the resource. If the region is not in AWS > ECR > Repository > Regions policy, the CMDB control will delete the resource from the CMDB.

URI
tmod:@turbot/aws-ecr#/control/types/repositoryDiscovery

AWS > ECR > Repository > Policy

URI
tmod:@turbot/aws-ecr#/control/types/repositoryPolicy

AWS > ECR > Repository > Policy > Required

Configure whether required policy statements should be attached to the repository.

URI
tmod:@turbot/aws-ecr#/control/types/repositoryPolicyRequired

AWS > ECR > Repository > Scan on Push

Configure the Scan on Push setting required for AWS > ECR > Repository.
This setting determines whether images are scanned after being pushed to the repository.

URI
tmod:@turbot/aws-ecr#/control/types/repositoryScanOnPush
Category

AWS > ECR > Repository > Tags

Take an action when an AWS ECR repository tags is not updated based on the AWS > ECR > Repository > Tags > * policies.

If the resource is not updated with the tags defined in AWS > ECR > Repository > Tags > Template, this control raises an alarm and takes the defined enforcement action.

See Tags for more information.

URI
tmod:@turbot/aws-ecr#/control/types/repositoryTags

AWS > ECR > Repository > Usage

The Usage control determines whether the number of AWS ECR repository resources exceeds the configured usage limit for this account.

You can configure the behavior of this control with the AWS > ECR > Repository > Usage policy, and set the limit with the AWS > ECR > Repository > Usage > Limit policy.

URI
tmod:@turbot/aws-ecr#/control/types/repositoryUsage