ServiceNow CMDB CI relationship sync: faster, more complete →
Mods
AWS

Policy: AWS > CodeBuild > Project > Active > Last Modified

The number of days since the AWS CodeBuild project was last modified before it is considered inactive.

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.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Specification

Schema Type
string
Default
Skip
Valid Values [YAML]
  • Skip
    
  • Active if last modified <= 1 day
    
  • Active if last modified <= 3 days
    
  • Active if last modified <= 7 days
    
  • Active if last modified <= 14 days
    
  • Active if last modified <= 30 days
    
  • Active if last modified <= 60 days
    
  • Active if last modified <= 90 days
    
  • Active if last modified <= 180 days
    
  • Active if last modified <= 365 days
    
  • Force active if last modified <= 1 day
    
  • Force active if last modified <= 3 days
    
  • Force active if last modified <= 7 days
    
  • Force active if last modified <= 14 days
    
  • Force active if last modified <= 30 days
    
  • Force active if last modified <= 60 days
    
  • Force active if last modified <= 90 days
    
  • Force active if last modified <= 180 days
    
  • Force active if last modified <= 365 days
    
Examples [YAML]
  • Active if last modified <= 90 days
    

Category

In Your Workspace

Developers