Control types for @turbot/aws-codebuild

AWS > CodeBuild > Build > Active

Take an action when an AWS CodeBuild build is not active based on the
AWS > CodeBuild > Build > 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 > CodeBuild > Build > 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-codebuild#/control/types/buildActive

AWS > CodeBuild > Build > Approved

Take an action when an AWS CodeBuild build is not approved based on AWS > CodeBuild > Build > 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-codebuild#/control/types/buildApproved

AWS > CodeBuild > Build > CMDB

Record and synchronize details for the AWS CodeBuild build 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 > CodeBuild > Build > Regions policy, the CMDB control will delete the resource from the CMDB. (Note: Setting CMDB to Skip will also pause these changes.)

This control will automatically re-run every 24 hours because AWS does not currently support real-time events for all properties of this resource type.

URI
tmod:@turbot/aws-codebuild#/control/types/buildCmdb
Category

AWS > CodeBuild > Build > Discovery

Discover all AWS CodeBuild build 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 > CodeBuild > Build > Regions policy, the CMDB control will delete the resource from the CMDB.

URI
tmod:@turbot/aws-codebuild#/control/types/buildDiscovery

AWS > CodeBuild > Build > Usage

The Usage control determines whether the number of AWS CodeBuild build resources exceeds the configured usage limit for this region.

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

URI
tmod:@turbot/aws-codebuild#/control/types/buildUsage

AWS > CodeBuild > Project > Active

Take an action when an AWS CodeBuild project is not active based on the
AWS > CodeBuild > Project > 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 > CodeBuild > Project > 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-codebuild#/control/types/projectActive

AWS > CodeBuild > Project > Approved

Take an action when an AWS CodeBuild project is not approved based on AWS > CodeBuild > Project > 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-codebuild#/control/types/projectApproved

AWS > CodeBuild > Project > CMDB

Record and synchronize details for the AWS CodeBuild project 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 > CodeBuild > Project > Regions policy, the CMDB control will delete the resource from the CMDB. (Note: Setting CMDB to Skip will also pause these changes.)

This control will automatically re-run every 24 hours because AWS does not currently support real-time events for all properties of this resource type.

URI
tmod:@turbot/aws-codebuild#/control/types/projectCmdb
Category

AWS > CodeBuild > Project > Discovery

Discover all AWS CodeBuild project 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 > CodeBuild > Project > Regions policy, the CMDB control will delete the resource from the CMDB.

URI
tmod:@turbot/aws-codebuild#/control/types/projectDiscovery

AWS > CodeBuild > Project > Tags

Take an action when an AWS CodeBuild project tags is not updated based on the AWS > CodeBuild > Project > Tags > * policies.

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

See Tags for more information.

URI
tmod:@turbot/aws-codebuild#/control/types/projectTags

AWS > CodeBuild > Project > Usage

The Usage control determines whether the number of AWS CodeBuild project resources exceeds the configured usage limit for this region.

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

URI
tmod:@turbot/aws-codebuild#/control/types/projectUsage

AWS > CodeBuild > Source Credential > Active

Take an action when an AWS CodeBuild source credential is not active based on the
AWS > CodeBuild > Source Credential > 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 > CodeBuild > Source Credential > 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-codebuild#/control/types/sourceCredentialActive

AWS > CodeBuild > Source Credential > Approved

Take an action when an AWS CodeBuild source credential is not approved based on AWS > CodeBuild > Source Credential > 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-codebuild#/control/types/sourceCredentialApproved

AWS > CodeBuild > Source Credential > CMDB

Record and synchronize details for the AWS CodeBuild source credential 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 > CodeBuild > Source Credential > 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-codebuild#/control/types/sourceCredentialCmdb
Category

AWS > CodeBuild > Source Credential > Discovery

Discover all AWS CodeBuild source credential 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 > CodeBuild > Source Credential > Regions policy, the CMDB control will delete the resource from the CMDB.

URI
tmod:@turbot/aws-codebuild#/control/types/sourceCredentialDiscovery