Policy types for @turbot/aws-rds
- AWS > RDS > API Enabled
- AWS > RDS > Approved Regions [Default]
- AWS > RDS > DB Cluster > Active
- AWS > RDS > DB Cluster > Active > Age
- AWS > RDS > DB Cluster > Active > Budget
- AWS > RDS > DB Cluster > Active > Last Modified
- AWS > RDS > DB Cluster > Approved
- AWS > RDS > DB Cluster > Approved > Budget
- AWS > RDS > DB Cluster > Approved > Custom
- AWS > RDS > DB Cluster > Approved > Regions
- AWS > RDS > DB Cluster > Approved > Usage
- AWS > RDS > DB Cluster > Backup Retention Period
- AWS > RDS > DB Cluster > Backup Retention Period > Days
- AWS > RDS > DB Cluster > CMDB
- AWS > RDS > DB Cluster > Configured
- AWS > RDS > DB Cluster > Configured > Claim Precedence
- AWS > RDS > DB Cluster > Configured > Source
- AWS > RDS > DB Cluster > Copy Tags to Snapshot
- AWS > RDS > DB Cluster > Deletion Protection
- AWS > RDS > DB Cluster > Logs Export Configuration
- AWS > RDS > DB Cluster > Logs Export Configuration > Log Types
- AWS > RDS > DB Cluster > Regions
- AWS > RDS > DB Cluster > Schedule
- AWS > RDS > DB Cluster > Schedule Tag
- AWS > RDS > DB Cluster > Tags
- AWS > RDS > DB Cluster > Tags > Template
- AWS > RDS > DB Cluster > Usage
- AWS > RDS > DB Cluster > Usage > Limit
- AWS > RDS > DB Cluster Parameter Group > Active
- AWS > RDS > DB Cluster Parameter Group > Active > Age
- AWS > RDS > DB Cluster Parameter Group > Active > Last Modified
- AWS > RDS > DB Cluster Parameter Group > Approved
- AWS > RDS > DB Cluster Parameter Group > Approved > Custom
- AWS > RDS > DB Cluster Parameter Group > Approved > Regions
- AWS > RDS > DB Cluster Parameter Group > Approved > Usage
- AWS > RDS > DB Cluster Parameter Group > CMDB
- AWS > RDS > DB Cluster Parameter Group > Configured
- AWS > RDS > DB Cluster Parameter Group > Configured > Claim Precedence
- AWS > RDS > DB Cluster Parameter Group > Configured > Source
- AWS > RDS > DB Cluster Parameter Group > Regions
- AWS > RDS > DB Cluster Parameter Group > Tags
- AWS > RDS > DB Cluster Parameter Group > Tags > Template
- AWS > RDS > DB Cluster Parameter Group > Usage
- AWS > RDS > DB Cluster Parameter Group > Usage > Limit
- AWS > RDS > DB Cluster Snapshot [Manual] > Active
- AWS > RDS > DB Cluster Snapshot [Manual] > Active > Age
- AWS > RDS > DB Cluster Snapshot [Manual] > Active > Budget
- AWS > RDS > DB Cluster Snapshot [Manual] > Active > Last Modified
- AWS > RDS > DB Cluster Snapshot [Manual] > Approved
- AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Budget
- AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Custom
- AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Regions
- AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Usage
- AWS > RDS > DB Cluster Snapshot [Manual] > CMDB
- AWS > RDS > DB Cluster Snapshot [Manual] > Configured
- AWS > RDS > DB Cluster Snapshot [Manual] > Configured > Claim Precedence
- AWS > RDS > DB Cluster Snapshot [Manual] > Configured > Source
- AWS > RDS > DB Cluster Snapshot [Manual] > Regions
- AWS > RDS > DB Cluster Snapshot [Manual] > Tags
- AWS > RDS > DB Cluster Snapshot [Manual] > Tags > Template
- AWS > RDS > DB Cluster Snapshot [Manual] > Trusted Access
- AWS > RDS > DB Cluster Snapshot [Manual] > Trusted Access > Accounts
- AWS > RDS > DB Cluster Snapshot [Manual] > Usage
- AWS > RDS > DB Cluster Snapshot [Manual] > Usage > Limit
- AWS > RDS > DB Instance > Active
- AWS > RDS > DB Instance > Active > Age
- AWS > RDS > DB Instance > Active > Budget
- AWS > RDS > DB Instance > Active > Last Modified
- AWS > RDS > DB Instance > Approved
- AWS > RDS > DB Instance > Approved > Budget
- AWS > RDS > DB Instance > Approved > Custom
- AWS > RDS > DB Instance > Approved > Database Engines
- AWS > RDS > DB Instance > Approved > Encryption at Rest
- AWS > RDS > DB Instance > Approved > Encryption at Rest > Customer Managed Key
- AWS > RDS > DB Instance > Approved > Instance Classes
- AWS > RDS > DB Instance > Approved > Regions
- AWS > RDS > DB Instance > Approved > Usage
- AWS > RDS > DB Instance > Auto Minor Version Upgrade
- AWS > RDS > DB Instance > Backup Retention Period
- AWS > RDS > DB Instance > Backup Retention Period > Days
- AWS > RDS > DB Instance > CMDB
- AWS > RDS > DB Instance > Configured
- AWS > RDS > DB Instance > Configured > Claim Precedence
- AWS > RDS > DB Instance > Configured > Source
- AWS > RDS > DB Instance > Copy Tags to Snapshot
- AWS > RDS > DB Instance > Deletion Protection
- AWS > RDS > DB Instance > Logs Export Configuration
- AWS > RDS > DB Instance > Logs Export Configuration > Log Types
- AWS > RDS > DB Instance > Multi-AZ
- AWS > RDS > DB Instance > Parameter Group
- AWS > RDS > DB Instance > Parameter Group > Name
- AWS > RDS > DB Instance > Performance Insights
- AWS > RDS > DB Instance > Performance Insights > KMS Key
- AWS > RDS > DB Instance > Performance Insights > Retention Period
- AWS > RDS > DB Instance > Publicly Accessible
- AWS > RDS > DB Instance > Regions
- AWS > RDS > DB Instance > Schedule
- AWS > RDS > DB Instance > Schedule Tag
- AWS > RDS > DB Instance > Tags
- AWS > RDS > DB Instance > Tags > Template
- AWS > RDS > DB Instance > Usage
- AWS > RDS > DB Instance > Usage > Limit
- AWS > RDS > DB Parameter Group > Active
- AWS > RDS > DB Parameter Group > Active > Age
- AWS > RDS > DB Parameter Group > Active > Last Modified
- AWS > RDS > DB Parameter Group > Approved
- AWS > RDS > DB Parameter Group > Approved > Custom
- AWS > RDS > DB Parameter Group > Approved > Regions
- AWS > RDS > DB Parameter Group > Approved > Usage
- AWS > RDS > DB Parameter Group > CMDB
- AWS > RDS > DB Parameter Group > Configured
- AWS > RDS > DB Parameter Group > Configured > Claim Precedence
- AWS > RDS > DB Parameter Group > Configured > Source
- AWS > RDS > DB Parameter Group > Regions
- AWS > RDS > DB Parameter Group > Tags
- AWS > RDS > DB Parameter Group > Tags > Template
- AWS > RDS > DB Parameter Group > Usage
- AWS > RDS > DB Parameter Group > Usage > Limit
- AWS > RDS > DB Snapshot [Manual] > Active
- AWS > RDS > DB Snapshot [Manual] > Active > Age
- AWS > RDS > DB Snapshot [Manual] > Active > Budget
- AWS > RDS > DB Snapshot [Manual] > Active > Last Modified
- AWS > RDS > DB Snapshot [Manual] > Approved
- AWS > RDS > DB Snapshot [Manual] > Approved > Budget
- AWS > RDS > DB Snapshot [Manual] > Approved > Custom
- AWS > RDS > DB Snapshot [Manual] > Approved > Encryption at Rest
- AWS > RDS > DB Snapshot [Manual] > Approved > Encryption at Rest > Customer Managed Key
- AWS > RDS > DB Snapshot [Manual] > Approved > Regions
- AWS > RDS > DB Snapshot [Manual] > Approved > Usage
- AWS > RDS > DB Snapshot [Manual] > CMDB
- AWS > RDS > DB Snapshot [Manual] > Configured
- AWS > RDS > DB Snapshot [Manual] > Configured > Claim Precedence
- AWS > RDS > DB Snapshot [Manual] > Configured > Source
- AWS > RDS > DB Snapshot [Manual] > Regions
- AWS > RDS > DB Snapshot [Manual] > Tags
- AWS > RDS > DB Snapshot [Manual] > Tags > Template
- AWS > RDS > DB Snapshot [Manual] > Trusted Access
- AWS > RDS > DB Snapshot [Manual] > Trusted Access > Accounts
- AWS > RDS > DB Snapshot [Manual] > Usage
- AWS > RDS > DB Snapshot [Manual] > Usage > Limit
- AWS > RDS > Enabled
- AWS > RDS > Global Cluster > Active
- AWS > RDS > Global Cluster > Active > Age
- AWS > RDS > Global Cluster > Active > Budget
- AWS > RDS > Global Cluster > Active > Last Modified
- AWS > RDS > Global Cluster > Approved
- AWS > RDS > Global Cluster > Approved > Budget
- AWS > RDS > Global Cluster > Approved > Custom
- AWS > RDS > Global Cluster > Approved > Usage
- AWS > RDS > Global Cluster > CMDB
- AWS > RDS > Option Group > Active
- AWS > RDS > Option Group > Active > Age
- AWS > RDS > Option Group > Active > Last Modified
- AWS > RDS > Option Group > Approved
- AWS > RDS > Option Group > Approved > Custom
- AWS > RDS > Option Group > Approved > Regions
- AWS > RDS > Option Group > Approved > Usage
- AWS > RDS > Option Group > CMDB
- AWS > RDS > Option Group > Configured
- AWS > RDS > Option Group > Configured > Claim Precedence
- AWS > RDS > Option Group > Configured > Source
- AWS > RDS > Option Group > Regions
- AWS > RDS > Option Group > Tags
- AWS > RDS > Option Group > Tags > Template
- AWS > RDS > Option Group > Usage
- AWS > RDS > Option Group > Usage > Limit
- AWS > RDS > Permissions
- AWS > RDS > Permissions > Levels
- AWS > RDS > Permissions > Levels > Modifiers
- AWS > RDS > Permissions > Levels > Subnet Group Administration
- AWS > RDS > Permissions > Lockdown
- AWS > RDS > Permissions > Lockdown > API Boundary
- AWS > RDS > Permissions > Lockdown > Engine Types
- AWS > RDS > Regions
- AWS > RDS > Stack
- AWS > RDS > Stack > Secret Variables
- AWS > RDS > Stack > Source
- AWS > RDS > Stack > Terraform Version
- AWS > RDS > Stack > Variables
- AWS > RDS > Subnet Group > Active
- AWS > RDS > Subnet Group > Active > Age
- AWS > RDS > Subnet Group > Active > Last Modified
- AWS > RDS > Subnet Group > Approved
- AWS > RDS > Subnet Group > Approved > Custom
- AWS > RDS > Subnet Group > Approved > Regions
- AWS > RDS > Subnet Group > Approved > Usage
- AWS > RDS > Subnet Group > CMDB
- AWS > RDS > Subnet Group > Configured
- AWS > RDS > Subnet Group > Configured > Claim Precedence
- AWS > RDS > Subnet Group > Configured > Source
- AWS > RDS > Subnet Group > Management
- AWS > RDS > Subnet Group > Regions
- AWS > RDS > Subnet Group > Tags
- AWS > RDS > Subnet Group > Tags > Template
- AWS > RDS > Subnet Group > Usage
- AWS > RDS > Subnet Group > Usage > Limit
- AWS > RDS > Tags Template [Default]
- AWS > RDS > Trusted Accounts [Default]
- AWS > Turbot > Event Handlers > Events > Rules > Custom Event Patterns > RDS
- AWS > Turbot > Permissions > Compiled > API Boundary > @turbot/aws-rds
- AWS > Turbot > Permissions > Compiled > Levels > @turbot/aws-rds
- AWS > Turbot > Permissions > Compiled > Lockdown Statements > @turbot/aws-rds
- AWS > Turbot > Permissions > Compiled > Service Permissions > @turbot/aws-rds
AWS > RDS > API Enabled
Configure whether the AWS RDS API is enabled.
Note: Disabling the service disables the API for ALL users
and roles, and Guardrails will have no access to the API.
tmod:@turbot/aws-rds#/policy/types/rdsApiEnabled
[ "Enabled", "Disabled", "Enabled if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Enabled", "Disabled", "Enabled if AWS > RDS > Enabled" ], "default": "Enabled"}
AWS > RDS > Approved Regions [Default]
A list of AWS regions in which AWS RDS resources are approved for use.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
This policy is the default value for all AWS RDS resources' Approved > Regions policies.
tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault
"{\n regions: policyValue(uri:\"tmod:@turbot/aws#/policy/types/approvedRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Cluster > Active
Determine the action to take when an AWS RDS db cluster, based on the AWS > RDS > DB Cluster > Active > *
policies.
The 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 > RDS > DB Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterActive
[ "Skip", "Check: Active", "Enforce: Snapshot and delete inactive with 1 day warning", "Enforce: Snapshot and delete inactive with 3 days warning", "Enforce: Snapshot and delete inactive with 7 days warning", "Enforce: Snapshot and delete inactive with 14 days warning", "Enforce: Snapshot and delete inactive with 30 days warning", "Enforce: Snapshot and delete inactive with 60 days warning", "Enforce: Snapshot and delete inactive with 90 days warning", "Enforce: Snapshot and delete inactive with 180 days warning", "Enforce: Snapshot and delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Snapshot and delete inactive with 1 day warning", "Enforce: Snapshot and delete inactive with 3 days warning", "Enforce: Snapshot and delete inactive with 7 days warning", "Enforce: Snapshot and delete inactive with 14 days warning", "Enforce: Snapshot and delete inactive with 30 days warning", "Enforce: Snapshot and delete inactive with 60 days warning", "Enforce: Snapshot and delete inactive with 90 days warning", "Enforce: Snapshot and delete inactive with 180 days warning", "Enforce: Snapshot and delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > DB Cluster > Active > Age
The age after which the AWS RDS db cluster
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > DB Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > DB Cluster > Active > Budget
The impact of the budget state on the active control. This policy allows you to force
dbClusters to inactive based on the current budget state, as reflected inAWS > Account > Budget > State
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 > RDS > DB Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterActiveBudget
[ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown" ], "example": [ "Skip" ], "default": "Skip"}
AWS > RDS > DB Cluster > Active > Last Modified
The number of days since the AWS RDS db cluster
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 > RDS > DB Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > DB Cluster > Approved
Determine the action to take when an AWS RDS db cluster is not approved based on AWS > RDS > DB Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterApproved
[ "Skip", "Check: Approved", "Enforce: Snapshot and delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Snapshot and delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > DB Cluster > Approved > Budget
The policy allows you to set db clusters to unapproved based on the current budget state, as reflected in AWS > Account > Budget > State
This policy will be evaluated by the Approved control. If an AWS RDS db cluster is not matched by the approved list, it will be subject to the action specified in the AWS > RDS > DB Cluster > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterApprovedBudget
[ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown" ], "example": [ "Unapproved if Budget > State is Shutdown" ], "default": "Skip"}
AWS > RDS > DB Cluster > Approved > Custom
Determine whether the AWS RDS db cluster is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster is not approved, it will be subject to the action specified in the AWS > RDS > DB Cluster > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/dbClusterApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > DB Cluster > Approved > Regions
A list of AWS regions in which AWS RDS db clusters are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > DB Cluster > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Cluster > Approved > Usage
Determine whether the AWS RDS db cluster is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster is not approved, it will be subject to the action specified in the AWS > RDS > DB Cluster > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > DB Cluster > Backup Retention Period
Ensure the backup retention period is configured to meet policy. Automatic snapshots are deleted by AWS when the RDS cluster is deleted.
tmod:@turbot/aws-rds#/policy/types/dbClusterBackupRetentionPeriod
[ "Skip", "Check: Backup retention period", "Enforce: Backup retention period"]
{ "type": "string", "enum": [ "Skip", "Check: Backup retention period", "Enforce: Backup retention period" ], "default": "Skip"}
AWS > RDS > DB Cluster > Backup Retention Period > Days
The number of days for which the automated snapshots are retained. Automated snapshots are deleted by AWS at the end of a retention period.
tmod:@turbot/aws-rds#/policy/types/dbClusterBackupRetentionPeriodDays
{ "type": "integer", "minimum": 1, "maximum": 35, "default": 7}
AWS > RDS > DB Cluster > CMDB
Configure whether to record and synchronize details for the AWS RDS db cluster into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > DB Cluster > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/dbClusterCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > DB Cluster > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/dbClusterConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > DB Cluster > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/dbClusterConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > DB Cluster > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource
tmod:@turbot/aws-rds#/policy/types/dbClusterConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > DB Cluster > Copy Tags to Snapshot
Configure Copy Tags to Snapshot settings on an AWS > RDS > DB Cluster
.
tmod:@turbot/aws-rds#/policy/types/dbClusterCopyTagsToSnapshot
[ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled" ], "default": "Skip"}
AWS > RDS > DB Cluster > Deletion Protection
Configure Deletion Protection settings on an AWS > RDS > DB Cluster
.
tmod:@turbot/aws-rds#/policy/types/dbClusterDeletionProtection
[ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled" ], "default": "Skip"}
AWS > RDS > DB Cluster > Logs Export Configuration
Configure logs export to CloudWatch for an AWS > RDS > DB Cluster
as per the AWS > RDS > DB Cluster > Logs Export Configuration > *
policies.
tmod:@turbot/aws-rds#/policy/types/dbClusterLogsExportConfiguration
[ "Skip", "Check: Disabled", "Check: Enabled per Logs Export Configuration > Log Types", "Enforce: Disabled", "Enforce : Enabled per Logs Export Configuration > Log Types"]
{ "type": "string", "enum": [ "Skip", "Check: Disabled", "Check: Enabled per Logs Export Configuration > Log Types", "Enforce: Disabled", "Enforce : Enabled per Logs Export Configuration > Log Types" ], "example": [ "Check: Enabled per Logs Export Configuration > Log Types" ], "default": "Skip"}
AWS > RDS > DB Cluster > Logs Export Configuration > Log Types
List of log types to be enabled for an AWS > RDS > DB Cluster
.
Supported log types for various DB engines:<br /><br />Amazon Aurora MySQL:<br /> * Audit Log<br /> * Error Log<br /> * General Log<br /> * Slow Query Log<br /><br />Amazon Aurora PostgreSQL:<br /> * PostgreSQL Log<br /><br />
Note: Unsupported log types selected for a DB engine will be filtered out automatically and only the supported log types will be enabled.
tmod:@turbot/aws-rds#/policy/types/dbClusterLogsExportConfigurationLogTypes
{ "type": "array", "items": { "type": "string", "enum": [ "Audit log", "Error log", "General log", "PostgreSQL log", "Slow query log" ] }, "example": [ "Error log", "General log" ], "default": []}
AWS > RDS > DB Cluster > Regions
A list of AWS regions in which AWS RDS db clusters are supported for use.
Any db clusters in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/dbClusterRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Cluster > Schedule
Set a schedule for starting and stopping an AWS RDS db cluster.
Note If both "Schedule" and "Schedule Tag" are set to enforce and the
db cluster has a turbot_custom_schedule tag, then the schedule specified by
the tag will be in effect.
tmod:@turbot/aws-rds#/policy/types/dbClusterSchedule
[ "Skip", "Enforce: Business hours (8:00am - 6:00pm on weekdays)", "Enforce: Extended business hours (7:00am - 11:00pm on weekdays)", "Enforce: Stop for night (stop at 10:00pm every day)", "Enforce: Stop for weekend (stop at 10:00pm on Friday)"]
{ "type": "string", "enum": [ "Skip", "Enforce: Business hours (8:00am - 6:00pm on weekdays)", "Enforce: Extended business hours (7:00am - 11:00pm on weekdays)", "Enforce: Stop for night (stop at 10:00pm every day)", "Enforce: Stop for weekend (stop at 10:00pm on Friday)" ], "example": [ "Enforce: Business hours (8:00am - 6:00pm on weekdays)" ], "default": "Skip"}
AWS > RDS > DB Cluster > Schedule Tag
Allow setting a schedule for starting and stopping an RDS db cluster via the
turbot_custom_schedule tag. If the schedule is invalid, no actions will be
taken against the dbCluster.
Note If both "Schedule" and "Schedule Tag" are set to enforce and the
db cluster has a turbot_custom_schedule, then the schedule specified by the
tag will be in effect.
tmod:@turbot/aws-rds#/policy/types/dbClusterScheduleTag
[ "Skip", "Enforce: Schedule per turbot_custom_schedule tag"]
{ "type": "string", "enum": [ "Skip", "Enforce: Schedule per turbot_custom_schedule tag" ], "example": [ "Enforce: Schedule per turbot_custom_schedule tag" ], "default": "Skip"}
AWS > RDS > DB Cluster > Tags
Determine the action to take when an AWS RDS db cluster tags are not updated based on the AWS > RDS > DB Cluster > Tags > *
policies.
The control ensure AWS RDS db cluster tags include tags defined in AWS > RDS > DB Cluster > Tags > Template
.
Tags not defined in DB Cluster Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > DB Cluster > Tags > Template
The template is used to generate the keys and values for AWS RDS db cluster.
Tags not defined in DB Cluster Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > DB Cluster > Usage
Configure the number of AWS RDS db clusters that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > DB Cluster > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/dbClusterUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > DB Cluster > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/dbClusterUsageLimit
{ "type": "integer", "minimum": 0, "default": 40}
AWS > RDS > DB Cluster Parameter Group > Active
Determine the action to take when an AWS RDS db cluster parameter group, based on the AWS > RDS > DB Cluster Parameter Group > Active > *
policies.
The 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 > RDS > DB Cluster Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupActive
[ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > DB Cluster Parameter Group > Active > Age
The age after which the AWS RDS db cluster parameter group
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > DB Cluster Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > DB Cluster Parameter Group > Active > Last Modified
The number of days since the AWS RDS db cluster parameter group
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 > RDS > DB Cluster Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > DB Cluster Parameter Group > Approved
Determine the action to take when an AWS RDS db cluster parameter group is not approved based on AWS > RDS > DB Cluster Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupApproved
[ "Skip", "Check: Approved", "Enforce: Delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > DB Cluster Parameter Group > Approved > Custom
Determine whether the AWS RDS db cluster parameter group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster parameter group is not approved, it will be subject to the action specified in the AWS > RDS > DB Cluster Parameter Group > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > DB Cluster Parameter Group > Approved > Regions
A list of AWS regions in which AWS RDS db cluster parameter groups are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster parameter group is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > DB Cluster Parameter Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Cluster Parameter Group > Approved > Usage
Determine whether the AWS RDS db cluster parameter group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster parameter group is not approved, it will be subject to the action specified in the AWS > RDS > DB Cluster Parameter Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > DB Cluster Parameter Group > CMDB
Configure whether to record and synchronize details for the AWS RDS db cluster parameter group into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > DB Cluster Parameter Group > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > DB Cluster Parameter Group > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > DB Cluster Parameter Group > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > DB Cluster Parameter Group > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > DB Cluster Parameter Group > Regions
A list of AWS regions in which AWS RDS db cluster parameter groups are supported for use.
Any db cluster parameter groups in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Cluster Parameter Group > Tags
Determine the action to take when an AWS RDS db cluster parameter group tags are not updated based on the AWS > RDS > DB Cluster Parameter Group > Tags > *
policies.
The control ensure AWS RDS db cluster parameter group tags include tags defined in AWS > RDS > DB Cluster Parameter Group > Tags > Template
.
Tags not defined in DB Cluster Parameter Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > DB Cluster Parameter Group > Tags > Template
The template is used to generate the keys and values for AWS RDS db cluster parameter group.
Tags not defined in DB Cluster Parameter Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > DB Cluster Parameter Group > Usage
Configure the number of AWS RDS db cluster parameter groups that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > DB Cluster Parameter Group > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > DB Cluster Parameter Group > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/dbClusterParameterGroupUsageLimit
{ "type": "integer", "minimum": 0, "default": 50}
AWS > RDS > DB Cluster Snapshot [Manual] > Active
Determine the action to take when an AWS RDS db cluster snapshot [manual], based on the AWS > RDS > DB Cluster Snapshot [Manual] > Active > *
policies.
The 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 > RDS > DB Cluster Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualActive
[ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Active > Age
The age after which the AWS RDS db cluster snapshot [manual]
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > DB Cluster Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Active > Budget
The impact of the budget state on the active control. This policy allows you to force
dbClusterSnapshotManuals to inactive based on the current budget state, as reflected inAWS > Account > Budget > State
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 > RDS > DB Cluster Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualActiveBudget
[ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown" ], "example": [ "Skip" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Active > Last Modified
The number of days since the AWS RDS db cluster snapshot [manual]
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 > RDS > DB Cluster Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Approved
Determine the action to take when an AWS RDS db cluster snapshot [manual] is not approved based on AWS > RDS > DB Cluster Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualApproved
[ "Skip", "Check: Approved", "Enforce: Delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Budget
The policy allows you to set db cluster snapshot [manual]s to unapproved based on the current budget state, as reflected in AWS > Account > Budget > State
This policy will be evaluated by the Approved control. If an AWS RDS db cluster snapshot [manual] is not matched by the approved list, it will be subject to the action specified in the AWS > RDS > DB Cluster Snapshot [Manual] > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualApprovedBudget
[ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown" ], "example": [ "Unapproved if Budget > State is Shutdown" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Custom
Determine whether the AWS RDS db cluster snapshot [manual] is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster snapshot [manual] is not approved, it will be subject to the action specified in the AWS > RDS > DB Cluster Snapshot [Manual] > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Regions
A list of AWS regions in which AWS RDS db cluster snapshot [manual]s are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster snapshot [manual] is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > DB Cluster Snapshot [Manual] > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Cluster Snapshot [Manual] > Approved > Usage
Determine whether the AWS RDS db cluster snapshot [manual] is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db cluster snapshot [manual] is not approved, it will be subject to the action specified in the AWS > RDS > DB Cluster Snapshot [Manual] > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > DB Cluster Snapshot [Manual] > CMDB
Configure whether to record and synchronize details for the AWS RDS db cluster snapshot [manual] into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > DB Cluster Snapshot [Manual] > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > DB Cluster Snapshot [Manual] > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > DB Cluster Snapshot [Manual] > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > DB Cluster Snapshot [Manual] > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > DB Cluster Snapshot [Manual] > Regions
A list of AWS regions in which AWS RDS db cluster snapshot [manual]s are supported for use.
Any db cluster snapshot [manual]s in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Cluster Snapshot [Manual] > Tags
Determine the action to take when an AWS RDS db cluster snapshot [manual] tags are not updated based on the AWS > RDS > DB Cluster Snapshot [Manual] > Tags > *
policies.
The control ensure AWS RDS db cluster snapshot [manual] tags include tags defined in AWS > RDS > DB Cluster Snapshot [Manual] > Tags > Template
.
Tags not defined in DB Cluster Snapshot [Manual] Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Tags > Template
The template is used to generate the keys and values for AWS RDS db cluster snapshot [manual].
Tags not defined in DB Cluster Snapshot [Manual] Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > DB Cluster Snapshot [Manual] > Trusted Access
Manage trusted access for AWS RDS DB Cluster Snapshot [Manual]s.
AWS allows RDS DB Cluster Snapshot [Manual]s to be shared with specific AWS accounts.
This policy allows you to configure whether such sharing is allowed, and to which accounts.
If set to Enforce
, access to non-trusted accounts will be removed.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualTrustedAccess
[ "Skip", "Check: Trusted Access > Accounts", "Enforce: Trusted Access > Accounts"]
{ "type": "string", "enum": [ "Skip", "Check: Trusted Access > Accounts", "Enforce: Trusted Access > Accounts" ], "example": [ "Check: Trusted Access > Accounts" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Trusted Access > Accounts
A list of AWS account IDs that are allowed to have access
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualTrustedAccessAccounts
"{\n accounts: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsTrustedAccounts\")\n}\n"
"{% if $.accounts | length == 0 %}[]{% endif %}{% for item in $.accounts %}- '{{ item }}'\n{% endfor %}"
{ "type": "array", "items": { "type": "string", "pattern": "(?:^[0-9]{12}$|^\\*$|^all$)" }}
AWS > RDS > DB Cluster Snapshot [Manual] > Usage
Configure the number of AWS RDS db cluster snapshot [manual]s that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > DB Cluster Snapshot [Manual] > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > DB Cluster Snapshot [Manual] > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/dbClusterSnapshotManualUsageLimit
{ "type": "integer", "minimum": 0, "default": 100}
AWS > RDS > DB Instance > Active
Determine the action to take when an AWS RDS db instance, based on the AWS > RDS > DB Instance > Active > *
policies.
The 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 > RDS > DB Instance > 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.
tmod:@turbot/aws-rds#/policy/types/dbInstanceActive
[ "Skip", "Check: Active", "Enforce: Snapshot and delete inactive with 1 day warning", "Enforce: Snapshot and delete inactive with 3 days warning", "Enforce: Snapshot and delete inactive with 7 days warning", "Enforce: Snapshot and delete inactive with 14 days warning", "Enforce: Snapshot and delete inactive with 30 days warning", "Enforce: Snapshot and delete inactive with 60 days warning", "Enforce: Snapshot and delete inactive with 90 days warning", "Enforce: Snapshot and delete inactive with 180 days warning", "Enforce: Snapshot and delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Snapshot and delete inactive with 1 day warning", "Enforce: Snapshot and delete inactive with 3 days warning", "Enforce: Snapshot and delete inactive with 7 days warning", "Enforce: Snapshot and delete inactive with 14 days warning", "Enforce: Snapshot and delete inactive with 30 days warning", "Enforce: Snapshot and delete inactive with 60 days warning", "Enforce: Snapshot and delete inactive with 90 days warning", "Enforce: Snapshot and delete inactive with 180 days warning", "Enforce: Snapshot and delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > DB Instance > Active > Age
The age after which the AWS RDS db instance
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > DB Instance > 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.
tmod:@turbot/aws-rds#/policy/types/dbInstanceActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > DB Instance > Active > Budget
The impact of the budget state on the active control. This policy allows you to force
dbInstances to inactive based on the current budget state, as reflected inAWS > Account > Budget > State
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 > RDS > DB Instance > 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.
tmod:@turbot/aws-rds#/policy/types/dbInstanceActiveBudget
[ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown" ], "example": [ "Skip" ], "default": "Skip"}
AWS > RDS > DB Instance > Active > Last Modified
The number of days since the AWS RDS db instance
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 > RDS > DB Instance > 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.
tmod:@turbot/aws-rds#/policy/types/dbInstanceActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > DB Instance > Approved
Determine the action to take when an AWS RDS db instance is not approved based on AWS > RDS > DB Instance > 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.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceApproved
[ "Skip", "Check: Approved", "Enforce: Stop unapproved", "Enforce: Stop unapproved if new", "Enforce: Snapshot and delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Stop unapproved", "Enforce: Stop unapproved if new", "Enforce: Snapshot and delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > DB Instance > Approved > Budget
The policy allows you to set db instances to unapproved based on the current budget state, as reflected in AWS > Account > Budget > State
This policy will be evaluated by the Approved control. If an AWS RDS db instance is not matched by the approved list, it will be subject to the action specified in the AWS > RDS > DB Instance > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceApprovedBudget
[ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown" ], "example": [ "Unapproved if Budget > State is Shutdown" ], "default": "Skip"}
AWS > RDS > DB Instance > Approved > Custom
Determine whether the AWS RDS db instance is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db instance is not approved, it will be subject to the action specified in the AWS > RDS > DB Instance > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/dbInstanceApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > DB Instance > Approved > Database Engines
A list of database engines that the AWS RDS db instance is approved to use.
The expected format is an array of database engines. You may use the *
and ?
wildcard characters (and more).
This policy will be evaluated by the Approved control. If an AWS RDS db instance is not matched by the approved list, it will be subject to the action specified in the AWS > RDS > DB Instance > Approved
policy.<br />example:<br /> postgres<br />
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceApprovedDatabaseEngines
{ "type": "array", "default": [ "*" ], "items": { "type": "string", "pattern": "^[a-z0-9.?*-]+$" }}
AWS > RDS > DB Instance > Approved > Encryption at Rest
Define the Encryption at Rest settings required for AWS > RDS > DB Instance
.
Encryption at Rest refers specifically to the encryption of data when written
to an underlying storage system. This control determines whether the resource
is encrypted at rest, and sets encryption to your desired level.
The Encryption at Rest
control compares the encryption settings against the encryption policies for the resource
(AWS > RDS > DB Instance > Encryption at Rest > *
),
raises an alarm, and takes the defined enforcement action
tmod:@turbot/aws-rds#/policy/types/dbInstanceEncryptionAtRest
[ "None", "None or higher", "AWS managed key", "AWS managed key or higher", "Customer managed key", "Encryption at Rest > Customer Managed Key"]
{ "type": "string", "enum": [ "None", "None or higher", "AWS managed key", "AWS managed key or higher", "Customer managed key", "Encryption at Rest > Customer Managed Key" ], "example": [ "None or higher" ], "default": "None or higher"}
AWS > RDS > DB Instance > Approved > Encryption at Rest > Customer Managed Key
Define the KMS key ID for encryption at rest.
Encryption at Rest refers specifically to the encryption of data when written
to an underlying storage system. This control determines whether the resource
is encrypted at rest, and sets encryption to your desired level.
The Encryption at Rest
control compares the encryption settings against the encryption policies for the resource
(AWS > RDS > DB Instance > Encryption at Rest > *
),
raises an alarm, and takes the defined enforcement action
Please make sure the key defined in the template has required permissions.<br />example:<br /> alias/aws/ebs<br /> ddc06e04-ce5f-4995-c758-c2b6c510e8fd<br /> arn:aws:kms:us-east-1:123456789012:key/ddc06e04-ce5f-4995-c758-c2b6c510e8fd<br /> arn:aws:kms:us-east-1:123456789012:alias/aws/ebs<br />
tmod:@turbot/aws-rds#/policy/types/dbInstanceEncryptionAtRestCustomerManagedKey
"{\n defaultKey: policy(uri: \"aws-kms#/policy/types/keyDefaultCustomerManagedKey\")\n}\n"
"{{ $.defaultKey }}"
{ "anyOf": [ { "type": "string", "pattern": "^alias/[a-zA-Z0-9:/_-]{1,249}$" }, { "type": "string", "pattern": "^[-a-z0-9-]{1,255}$" }, { "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:kms:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:key/[-a-z0-9-]{1,255}$" }, { "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:kms:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:alias/[a-zA-Z0-9:/_-]{1,249}$" } ], "tests": [ { "description": "valid - if keyArn", "input": "arn:aws:kms:us-east-1:039305405804:key/ddc06e04-ce5f-4995-b758-c2b6c510e8fd" }, { "description": "valid - if aliasName", "input": "alias/aws/ebs" }, { "description": "valid - if keyId", "input": "ddc06e04-ce5f-4995-b758-c2b6c510e8fd" }, { "description": "valid - if aliasArn", "input": "arn:aws:kms:us-east-1:039305405804:alias/aws/ebs" } ]}
AWS > RDS > DB Instance > Approved > Instance Classes
A list of instance classes that the AWS RDS db instance is approved to use.
The expected format is an array of instance classes. You may use the *
and ?
wildcard characters (and more).
This policy will be evaluated by the Approved control. If an AWS RDS db instance is not matched by the approved list, it will be subject to the action specified in the AWS > RDS > DB Instance > Approved
policy.<br />example:<br /> db.t2.large<br />
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceApprovedInstanceClasses
{ "type": "array", "default": [ "*" ], "items": { "type": "string", "pattern": "^[a-z0-9.?*]+$" }}
AWS > RDS > DB Instance > Approved > Regions
A list of AWS regions in which AWS RDS db instances are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS db instance is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > DB Instance > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Instance > Approved > Usage
Determine whether the AWS RDS db instance is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db instance is not approved, it will be subject to the action specified in the AWS > RDS > DB Instance > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > DB Instance > Auto Minor Version Upgrade
Configure Auto Minor Version Upgrade settings on an AWS > RDS > DB Instance
.
tmod:@turbot/aws-rds#/policy/types/dbInstanceAutoMinorVersionUpgrade
[ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled" ], "default": "Skip"}
AWS > RDS > DB Instance > Backup Retention Period
Ensure the backup retention period is configured to meet policy. Automatic snapshots are deleted by AWS when the RDS instance is deleted.
tmod:@turbot/aws-rds#/policy/types/dbInstanceBackupRetentionPeriod
[ "Skip", "Check: Backup retention period", "Enforce: Backup retention period"]
{ "type": "string", "enum": [ "Skip", "Check: Backup retention period", "Enforce: Backup retention period" ], "default": "Skip"}
AWS > RDS > DB Instance > Backup Retention Period > Days
The number of days for which the automated snapshots are retained. Automated snapshots are deleted by AWS at the end of a retention period.
tmod:@turbot/aws-rds#/policy/types/dbInstanceBackupRetentionPeriodDays
{ "type": "integer", "minimum": 0, "maximum": 35, "default": 7}
AWS > RDS > DB Instance > CMDB
Configure whether to record and synchronize details for the AWS RDS db instance into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > DB Instance > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/dbInstanceCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > DB Instance > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/dbInstanceConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > DB Instance > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/dbInstanceConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > DB Instance > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource.
tmod:@turbot/aws-rds#/policy/types/dbInstanceConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > DB Instance > Copy Tags to Snapshot
Configure Copy Tags to Snapshot settings on an AWS > RDS > DB Instance
.
tmod:@turbot/aws-rds#/policy/types/dbInstanceCopyTagsToSnapshot
[ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled" ], "default": "Skip"}
AWS > RDS > DB Instance > Deletion Protection
Configure Deletion Protection settings on an AWS > RDS > DB Instance
.
tmod:@turbot/aws-rds#/policy/types/dbInstanceDeletionProtection
[ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled" ], "default": "Skip"}
AWS > RDS > DB Instance > Logs Export Configuration
Configure logs export to CloudWatch for an AWS > RDS > DB Instance
as per the AWS > RDS > DB Instance > Logs Export Configuration > *
policies.
tmod:@turbot/aws-rds#/policy/types/dbInstanceLogsExportConfiguration
[ "Skip", "Check: Disabled", "Check: Enabled per Logs Export Configuration > Log Types", "Enforce: Disabled", "Enforce : Enabled per Logs Export Configuration > Log Types"]
{ "type": "string", "enum": [ "Skip", "Check: Disabled", "Check: Enabled per Logs Export Configuration > Log Types", "Enforce: Disabled", "Enforce : Enabled per Logs Export Configuration > Log Types" ], "example": [ "Check: Enabled Logs Export Configuration > Log Types" ], "default": "Skip"}
AWS > RDS > DB Instance > Logs Export Configuration > Log Types
List of log types to be enabled for an AWS > RDS > DB Instance
.
Supported log types for various DB engines:<br /><br />MySQL:<br /> * Audit Log<br /> * Error Log<br /> * General Log<br /> * Slow Query Log<br /><br />MariaDB:<br /> * Audit Log<br /> * Error Log<br /> * General Log<br /> * Slow Query Log<br /><br />PostgreSQL:<br /> * PostgreSQL Log<br /> * Upgrade Log<br /><br />Oracle:<br /> * Alert Log<br /> * Audit Log<br /> * Listener Log<br /> * Oracle Management Agent Log<br /> * Trace Log<br /><br />Microsoft SQL Server:<br /> * Error Log<br /><br />
Note: Unsupported log types selected for a DB engine will be filtered out automatically and only the supported log types will be enabled.
tmod:@turbot/aws-rds#/policy/types/dbInstanceLogsExportConfigurationLogTypes
{ "type": "array", "items": { "type": "string", "enum": [ "Agent log", "Alert log", "Audit log", "Error log", "General log", "Listener log", "Oracle management agent log", "PostgreSQL log", "Slow query log", "Trace log", "Upgrade log" ] }, "example": [ "Alert log", "Error log", "General log" ], "default": []}
AWS > RDS > DB Instance > Multi-AZ
Configure Multi-AZ deployment settings on an AWS > RDS > DB Instance
.
tmod:@turbot/aws-rds#/policy/types/dbInstanceMultiAz
[ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled" ], "default": "Skip"}
AWS > RDS > DB Instance > Parameter Group
Determine whether to check or enforce a specific Parameter Group for this DB Instance.
Use the Parameter Group > Name
sub-policy to set which Parameter Group to configure for this instance.
tmod:@turbot/aws-rds#/policy/types/dbInstanceParameterGroup
[ "Skip", "Check: Set to Parameter Group > Name", "Enforce: Set to Parameter Group > Name", "Enforce: Set to Parameter Group > Name (Create if missing)"]
{ "type": "string", "enum": [ "Skip", "Check: Set to Parameter Group > Name", "Enforce: Set to Parameter Group > Name", "Enforce: Set to Parameter Group > Name (Create if missing)" ], "example": [ "Check: Set to Parameter Group > Name" ], "default": "Skip"}
AWS > RDS > DB Instance > Parameter Group > Name
The name of a DB Parameter Group for this DB Instance.
If the parent Parameter Group
policy is set to Enforce: Set to Parameter Group > Name (Create if missing)
a new parameter group with this name will be created if it does not already exist.
tmod:@turbot/aws-rds#/policy/types/dbInstanceParameterGroupName
"{\n item: dbInstance { DBInstanceIdentifier }\n}\n"
"turbot-{{ $.item.DBInstanceIdentifier }}"
{ "type": "string", "pattern": "^([a-z])[a-z0-9-.]{0,62}$"}
AWS > RDS > DB Instance > Performance Insights
Configure performance insights settings for an AWS > RDS > DB Instance
as per the AWS > RDS > DB Instance > Performance Insights > *
policies.
tmod:@turbot/aws-rds#/policy/types/dbInstancePerformanceInsights
[ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Check: Enabled", "Check: Disabled", "Enforce: Enabled", "Enforce: Disabled" ], "default": "Skip"}
AWS > RDS > DB Instance > Performance Insights > KMS Key
The AWS KMS key to enable performance insights. This key cannot be changed after enabling performance insights.
Please make sure the key defined in the template has required permissions.<br />example:<br /> alias/aws/rds<br /> ddc06e04-ce5f-4995-c758-c2b6c510e8fd<br /> arn:aws:kms:us-east-1:123456789012:key/ddc06e04-ce5f-4995-c758-c2b6c510e8fd<br /> arn:aws:kms:us-east-1:123456789012:alias/aws/rds<br />
tmod:@turbot/aws-rds#/policy/types/dbInstancePerformanceInsightsKmsKey
{ "anyOf": [ { "type": "string", "pattern": "^alias/[a-zA-Z0-9:/_-]{1,249}$" }, { "type": "string", "pattern": "^[-a-z0-9-]{1,255}$" }, { "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:kms:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:key/[-a-z0-9-]{1,255}$" }, { "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:kms:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:alias/[a-zA-Z0-9:/_-]{1,249}$" } ], "tests": [ { "description": "valid - if keyArn", "input": "arn:aws:kms:us-east-1:039305405804:key/ddc06e04-ce5f-4995-b758-c2b6c510e8fd" }, { "description": "valid - if aliasName", "input": "alias/aws/ebs" }, { "description": "valid - if keyId", "input": "ddc06e04-ce5f-4995-b758-c2b6c510e8fd" }, { "description": "valid - if aliasArn", "input": "arn:aws:kms:us-east-1:039305405804:alias/aws/ebs" } ]}
AWS > RDS > DB Instance > Performance Insights > Retention Period
The number of days for which the performance insights are retained. Performance insights are deleted by AWS at the end of a retention period.
tmod:@turbot/aws-rds#/policy/types/dbInstancePerformanceInsightsRetentionPeriod
[ 7, 731]
{ "type": "integer", "enum": [ 7, 731 ], "default": 7}
AWS > RDS > DB Instance > Publicly Accessible
Ensure the RDS instance is not publicly accessible.
tmod:@turbot/aws-rds#/policy/types/dbInstancePubliclyAccessible
[ "Skip", "Check: DB Instance is not publicly accessible", "Enforce: DB Instance is not publicly accessible"]
{ "type": "string", "enum": [ "Skip", "Check: DB Instance is not publicly accessible", "Enforce: DB Instance is not publicly accessible" ], "example": [ "Skip" ], "default": "Skip"}
AWS > RDS > DB Instance > Regions
A list of AWS regions in which AWS RDS db instances are supported for use.
Any db instances in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/dbInstanceRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Instance > Schedule
Set a schedule for starting and stopping an AWS RDS db instance.
Note If both "Schedule" and "Schedule Tag" are set to enforce and the
the tag will be in effect.
tmod:@turbot/aws-rds#/policy/types/instanceSchedule
[ "Skip", "Enforce: Business hours (8:00am - 6:00pm on weekdays)", "Enforce: Extended business hours (7:00am - 11:00pm on weekdays)", "Enforce: Stop for night (stop at 10:00pm every day)", "Enforce: Stop for weekend (stop at 10:00pm on Friday)"]
{ "type": "string", "enum": [ "Skip", "Enforce: Business hours (8:00am - 6:00pm on weekdays)", "Enforce: Extended business hours (7:00am - 11:00pm on weekdays)", "Enforce: Stop for night (stop at 10:00pm every day)", "Enforce: Stop for weekend (stop at 10:00pm on Friday)" ], "example": [ "Enforce: Business hours (8:00am - 6:00pm on weekdays)" ], "default": "Skip"}
AWS > RDS > DB Instance > Schedule Tag
Allow setting a schedule for starting and stopping an RDS db instance via the
turbot_custom_schedule tag. If the schedule is invalid, no actions will be
taken against the dbInstance.
Note If both "Schedule" and "Schedule Tag" are set to enforce and the
db instance has a turbot_custom_schedule, then the schedule specified by the
tag will be in effect.
tmod:@turbot/aws-rds#/policy/types/instanceScheduleTag
[ "Skip", "Enforce: Schedule per turbot_custom_schedule tag"]
{ "type": "string", "enum": [ "Skip", "Enforce: Schedule per turbot_custom_schedule tag" ], "example": [ "Enforce: Schedule per turbot_custom_schedule tag" ], "default": "Skip"}
AWS > RDS > DB Instance > Tags
Determine the action to take when an AWS RDS db instance tags are not updated based on the AWS > RDS > DB Instance > Tags > *
policies.
The control ensure AWS RDS db instance tags include tags defined in AWS > RDS > DB Instance > Tags > Template
.
Tags not defined in DB Instance Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > DB Instance > Tags > Template
The template is used to generate the keys and values for AWS RDS db instance.
Tags not defined in DB Instance Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbInstanceTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > DB Instance > Usage
Configure the number of AWS RDS db instances that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > DB Instance > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/dbInstanceUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > DB Instance > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/dbInstanceUsageLimit
{ "type": "integer", "minimum": 0, "default": 40}
AWS > RDS > DB Parameter Group > Active
Determine the action to take when an AWS RDS db parameter group, based on the AWS > RDS > DB Parameter Group > Active > *
policies.
The 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 > RDS > DB Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupActive
[ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > DB Parameter Group > Active > Age
The age after which the AWS RDS db parameter group
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > DB Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > DB Parameter Group > Active > Last Modified
The number of days since the AWS RDS db parameter group
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 > RDS > DB Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > DB Parameter Group > Approved
Determine the action to take when an AWS RDS db parameter group is not approved based on AWS > RDS > DB Parameter Group > 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.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupApproved
[ "Skip", "Check: Approved", "Enforce: Delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > DB Parameter Group > Approved > Custom
Determine whether the AWS RDS db parameter group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db parameter group is not approved, it will be subject to the action specified in the AWS > RDS > DB Parameter Group > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > DB Parameter Group > Approved > Regions
A list of AWS regions in which AWS RDS db parameter groups are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS db parameter group is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > DB Parameter Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Parameter Group > Approved > Usage
Determine whether the AWS RDS db parameter group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db parameter group is not approved, it will be subject to the action specified in the AWS > RDS > DB Parameter Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > DB Parameter Group > CMDB
Configure whether to record and synchronize details for the AWS RDS db parameter group into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > DB Parameter Group > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > DB Parameter Group > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > DB Parameter Group > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > DB Parameter Group > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > DB Parameter Group > Regions
A list of AWS regions in which AWS RDS db parameter groups are supported for use.
Any db parameter groups in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Parameter Group > Tags
Determine the action to take when an AWS RDS db parameter group tags are not updated based on the AWS > RDS > DB Parameter Group > Tags > *
policies.
The control ensure AWS RDS db parameter group tags include tags defined in AWS > RDS > DB Parameter Group > Tags > Template
.
Tags not defined in DB Parameter Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > DB Parameter Group > Tags > Template
The template is used to generate the keys and values for AWS RDS db parameter group.
Tags not defined in DB Parameter Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > DB Parameter Group > Usage
Configure the number of AWS RDS db parameter groups that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > DB Parameter Group > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > DB Parameter Group > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/dbParameterGroupUsageLimit
{ "type": "integer", "minimum": 0, "default": 50}
AWS > RDS > DB Snapshot [Manual] > Active
Determine the action to take when an AWS RDS db snapshot [manual], based on the AWS > RDS > DB Snapshot [Manual] > Active > *
policies.
The 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 > RDS > DB Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualActive
[ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Active > Age
The age after which the AWS RDS db snapshot [manual]
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > DB Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Active > Budget
The impact of the budget state on the active control. This policy allows you to force
dbSnapshotManuals to inactive based on the current budget state, as reflected inAWS > Account > Budget > State
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 > RDS > DB Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualActiveBudget
[ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown" ], "example": [ "Skip" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Active > Last Modified
The number of days since the AWS RDS db snapshot [manual]
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 > RDS > DB Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Approved
Determine the action to take when an AWS RDS db snapshot [manual] is not approved based on AWS > RDS > DB Snapshot [Manual] > 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.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualApproved
[ "Skip", "Check: Approved", "Enforce: Delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Approved > Budget
The policy allows you to set db snapshot [manual]s to unapproved based on the current budget state, as reflected in AWS > Account > Budget > State
This policy will be evaluated by the Approved control. If an AWS RDS db snapshot [manual] is not matched by the approved list, it will be subject to the action specified in the AWS > RDS > DB Snapshot [Manual] > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualApprovedBudget
[ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown" ], "example": [ "Unapproved if Budget > State is Shutdown" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Approved > Custom
Determine whether the AWS RDS db snapshot [manual] is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db snapshot [manual] is not approved, it will be subject to the action specified in the AWS > RDS > DB Snapshot [Manual] > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Approved > Encryption at Rest
Define the Encryption at Rest settings required for AWS > RDS > DB Snapshot [Manual]
.
Encryption at Rest refers specifically to the encryption of data when written
to an underlying storage system. This control determines whether the resource
is encrypted at rest, and sets encryption to your desired level.
The Encryption at Rest
control compares the encryption settings against the encryption policies for the resource
(AWS > RDS > DB Snapshot [Manual] > Encryption at Rest > *
),
raises an alarm, and takes the defined enforcement action
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualEncryptionAtRest
[ "None", "None or higher", "AWS managed key", "AWS managed key or higher", "Customer managed key", "Encryption at Rest > Customer Managed Key"]
{ "type": "string", "enum": [ "None", "None or higher", "AWS managed key", "AWS managed key or higher", "Customer managed key", "Encryption at Rest > Customer Managed Key" ], "example": [ "None or higher" ], "default": "None or higher"}
AWS > RDS > DB Snapshot [Manual] > Approved > Encryption at Rest > Customer Managed Key
Define the KMS key ID for encryption at rest.
Encryption at Rest refers specifically to the encryption of data when written
to an underlying storage system. This control determines whether the resource
is encrypted at rest, and sets encryption to your desired level.
The Encryption at Rest
control compares the encryption settings against the encryption policies for the resource
(AWS > RDS > DB Snapshot [Manual] > Encryption at Rest > *
),
raises an alarm, and takes the defined enforcement action
Please make sure the key defined in the template has required permissions.<br />example:<br /> alias/aws/ebs<br /> ddc06e04-ce5f-4995-c758-c2b6c510e8fd<br /> arn:aws:kms:us-east-1:123456789012:key/ddc06e04-ce5f-4995-c758-c2b6c510e8fd<br /> arn:aws:kms:us-east-1:123456789012:alias/aws/ebs<br />
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualEncryptionAtRestCustomerManagedKey
"{\n defaultKey: policy(uri: \"aws-kms#/policy/types/keyDefaultCustomerManagedKey\")\n}\n"
"{{ $.defaultKey }}"
{ "anyOf": [ { "type": "string", "pattern": "^alias/[a-zA-Z0-9:/_-]{1,249}$" }, { "type": "string", "pattern": "^[-a-z0-9-]{1,255}$" }, { "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:kms:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:key/[-a-z0-9-]{1,255}$" }, { "type": "string", "pattern": "^arn:aws(-us-gov|-cn)?:kms:[a-z]{2}(-gov)?-[a-z]+-[0-9]:[0-9]{12}:alias/[a-zA-Z0-9:/_-]{1,249}$" } ], "tests": [ { "description": "valid - if keyArn", "input": "arn:aws:kms:us-east-1:039305405804:key/ddc06e04-ce5f-4995-b758-c2b6c510e8fd" }, { "description": "valid - if aliasName", "input": "alias/aws/ebs" }, { "description": "valid - if keyId", "input": "ddc06e04-ce5f-4995-b758-c2b6c510e8fd" }, { "description": "valid - if aliasArn", "input": "arn:aws:kms:us-east-1:039305405804:alias/aws/ebs" } ]}
AWS > RDS > DB Snapshot [Manual] > Approved > Regions
A list of AWS regions in which AWS RDS db snapshot [manual]s are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS db snapshot [manual] is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > DB Snapshot [Manual] > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Snapshot [Manual] > Approved > Usage
Determine whether the AWS RDS db snapshot [manual] is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS db snapshot [manual] is not approved, it will be subject to the action specified in the AWS > RDS > DB Snapshot [Manual] > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > DB Snapshot [Manual] > CMDB
Configure whether to record and synchronize details for the AWS RDS db snapshot [manual] into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > DB Snapshot [Manual] > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > DB Snapshot [Manual] > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > DB Snapshot [Manual] > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > DB Snapshot [Manual] > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > DB Snapshot [Manual] > Regions
A list of AWS regions in which AWS RDS db snapshot [manual]s are supported for use.
Any db snapshot [manual]s in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > DB Snapshot [Manual] > Tags
Determine the action to take when an AWS RDS db snapshot [manual] tags are not updated based on the AWS > RDS > DB Snapshot [Manual] > Tags > *
policies.
The control ensure AWS RDS db snapshot [manual] tags include tags defined in AWS > RDS > DB Snapshot [Manual] > Tags > Template
.
Tags not defined in DB Snapshot [Manual] Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Tags > Template
The template is used to generate the keys and values for AWS RDS db snapshot [manual].
Tags not defined in DB Snapshot [Manual] Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > DB Snapshot [Manual] > Trusted Access
Manage trusted access for AWS RDS DB Snapshot [Manual]s.
AWS allows RDS DB Snapshot [Manual]s to be shared with specific AWS accounts.
This policy allows you to configure whether such sharing is allowed, and to which accounts.
If set to Enforce
, access to non-trusted accounts will be removed.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualTrustedAccess
[ "Skip", "Check: Trusted Access > Accounts", "Enforce: Trusted Access > Accounts"]
{ "type": "string", "enum": [ "Skip", "Check: Trusted Access > Accounts", "Enforce: Trusted Access > Accounts" ], "example": [ "Check: Trusted Access > Accounts" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Trusted Access > Accounts
A list of AWS account IDs that are allowed to have access
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualTrustedAccessAccounts
"{\n accounts: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsTrustedAccounts\")\n}\n"
"{% if $.accounts | length == 0 %}[]{% endif %}{% for item in $.accounts %}- '{{ item }}'\n{% endfor %}"
{ "type": "array", "items": { "type": "string", "pattern": "(?:^[0-9]{12}$|^\\*$|^all$)" }}
AWS > RDS > DB Snapshot [Manual] > Usage
Configure the number of AWS RDS db snapshot [manual]s that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > DB Snapshot [Manual] > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > DB Snapshot [Manual] > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/dbSnapshotManualUsageLimit
{ "type": "integer", "minimum": 0, "default": 100}
AWS > RDS > Enabled
Enabled RDS.
tmod:@turbot/aws-rds#/policy/types/rdsEnabled
[ "Enabled", "Enabled: Metadata Only", "Disabled"]
{ "type": "string", "enum": [ "Enabled", "Enabled: Metadata Only", "Disabled" ], "example": [ "Enabled" ], "default": "Disabled"}
AWS > RDS > Global Cluster > Active
Determine the action to take when an AWS RDS global cluster, based on the AWS > RDS > Global Cluster > Active > *
policies.
The 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 > RDS > Global Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/globalClusterActive
[ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > Global Cluster > Active > Age
The age after which the AWS RDS global cluster
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > Global Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/globalClusterActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > Global Cluster > Active > Budget
The impact of the budget state on the active control. This policy allows you to force
globalClusters to inactive based on the current budget state, as reflected inAWS > Account > Budget > State
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 > RDS > Global Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/globalClusterActiveBudget
[ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Force inactive if Budget > State is Over or higher", "Force inactive if Budget > State is Critical or higher", "Force inactive if Budget > State is Shutdown" ], "example": [ "Skip" ], "default": "Skip"}
AWS > RDS > Global Cluster > Active > Last Modified
The number of days since the AWS RDS global cluster
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 > RDS > Global Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/globalClusterActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > Global Cluster > Approved
Determine the action to take when an AWS RDS global cluster is not approved based on AWS > RDS > Global Cluster > 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.
tmod:@turbot/aws-rds#/policy/types/globalClusterApproved
[ "Skip", "Check: Approved", "Enforce: Delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > Global Cluster > Approved > Budget
The policy allows you to set global clusters to unapproved based on the current budget state, as reflected in AWS > Account > Budget > State
This policy will be evaluated by the Approved control. If an AWS RDS global cluster is not matched by the approved list, it will be subject to the action specified in the AWS > RDS > Global Cluster > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/globalClusterApprovedBudget
[ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown"]
{ "type": "string", "enum": [ "Skip", "Unapproved if Budget > State is Over or higher", "Unapproved if Budget > State is Critical or higher", "Unapproved if Budget > State is Shutdown" ], "example": [ "Unapproved if Budget > State is Shutdown" ], "default": "Skip"}
AWS > RDS > Global Cluster > Approved > Custom
Determine whether the AWS RDS global cluster is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS global cluster is not approved, it will be subject to the action specified in the AWS > RDS > Global Cluster > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/globalClusterApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > Global Cluster > Approved > Usage
Determine whether the AWS RDS global cluster is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS global cluster is not approved, it will be subject to the action specified in the AWS > RDS > Global Cluster > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/globalClusterApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > Global Cluster > CMDB
Configure whether to record and synchronize details for the AWS RDS global cluster into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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".
tmod:@turbot/aws-rds#/policy/types/globalClusterCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > Option Group > Active
Determine the action to take when an AWS RDS option group, based on the AWS > RDS > Option Group > Active > *
policies.
The 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 > RDS > Option Group > 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.
tmod:@turbot/aws-rds#/policy/types/optionGroupActive
[ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > Option Group > Active > Age
The age after which the AWS RDS option group
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > Option Group > 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.
tmod:@turbot/aws-rds#/policy/types/optionGroupActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > Option Group > Active > Last Modified
The number of days since the AWS RDS option group
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 > RDS > Option Group > 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.
tmod:@turbot/aws-rds#/policy/types/optionGroupActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > Option Group > Approved
Determine the action to take when an AWS RDS option group is not approved based on AWS > RDS > Option Group > 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.
tmod:@turbot/aws-rds#/policy/types/optionGroupApproved
[ "Skip", "Check: Approved", "Enforce: Delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > Option Group > Approved > Custom
Determine whether the AWS RDS option group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS option group is not approved, it will be subject to the action specified in the AWS > RDS > Option Group > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/optionGroupApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > Option Group > Approved > Regions
A list of AWS regions in which AWS RDS option groups are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS option group is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > Option Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/optionGroupApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > Option Group > Approved > Usage
Determine whether the AWS RDS option group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS option group is not approved, it will be subject to the action specified in the AWS > RDS > Option Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/optionGroupApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > Option Group > CMDB
Configure whether to record and synchronize details for the AWS RDS option group into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > Option Group > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/optionGroupCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > Option Group > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/optionGroupConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > Option Group > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/optionGroupConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > Option Group > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource.
tmod:@turbot/aws-rds#/policy/types/optionGroupConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > Option Group > Regions
A list of AWS regions in which AWS RDS option groups are supported for use.
Any option groups in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/optionGroupRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > Option Group > Tags
Determine the action to take when an AWS RDS option group tags are not updated based on the AWS > RDS > Option Group > Tags > *
policies.
The control ensure AWS RDS option group tags include tags defined in AWS > RDS > Option Group > Tags > Template
.
Tags not defined in Option Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/optionGroupTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > Option Group > Tags > Template
The template is used to generate the keys and values for AWS RDS option group.
Tags not defined in Option Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/optionGroupTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > Option Group > Usage
Configure the number of AWS RDS option groups that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > Option Group > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/optionGroupUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > Option Group > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/optionGroupUsageLimit
{ "type": "integer", "minimum": 0, "default": 20}
AWS > RDS > Permissions
Configure whether permissions policies are in effect for AWS RDS.
This setting does not affect account level permissions (AWS/Admin, AWS/Owner, etc).
Note: The behavior of this policy depends on the value of AWS > Permissions
."
tmod:@turbot/aws-rds#/policy/types/rdsPermissions
[ "Enabled", "Disabled", "Enabled if AWS > RDS > Enabled & AWS > RDS > API Enabled"]
{ "type": "string", "enum": [ "Enabled", "Disabled", "Enabled if AWS > RDS > Enabled & AWS > RDS > API Enabled" ], "example": [ "Enabled" ], "default": "Enabled if AWS > RDS > Enabled & AWS > RDS > API Enabled"}
AWS > RDS > Permissions > Levels
Define the permissions levels that can be used to grant access to an AWS account.
Permissions levels defined will appear in the UI to assign access to Guardrails users.
This policy provides a default for Permissions > Levels
in each service,
however you can explicitly override the setting for each service if desired
tmod:@turbot/aws-rds#/policy/types/rdsPermissionsLevels
[ "{\n item: account {\n turbot{\n id\n }\n }\n}\n", "{\n availableLevels: policyValues(filter:\"policyTypeLevel:self resourceId:{{ $.item.turbot.id }} policyTypeId:'tmod:@turbot/aws-iam#/policy/types/permissionsLevelsDefault'\") {\n items {\n value\n }\n }\n}\n"]
"{% if $.availableLevels.items[0].value | length == 0 %} [] {% endif %}{% for item in $.availableLevels.items[0].value %}- {{ item }}\n{% endfor %}"
{ "type": "array", "items": { "type": "string", "enum": [ "Metadata", "ReadOnly", "Operator", "Admin", "Owner" ] }}
AWS > RDS > Permissions > Levels > Modifiers
A map of AWS API to Guardrails Permission Level used to customize Guardrails'
standard permissions. You can add, remove or redefine the mapping of AWS
API operations to Guardrails permissions levels here.
Note: Modifiers are cumulative - if you add a permission to the Metadata level,
it is also added to ReadOnly, Operator and Admin. Modifier policies set here apply ONLY to the AWS level<br />example:<br /> - "glacier:createvault": admin<br /> - "glacier:ListVaults": metadata<br /> - "s3:DeleteBucket": none<br />
tmod:@turbot/aws-rds#/policy/types/rdsPermissionsLevelsModifiers
AWS > RDS > Permissions > Levels > Subnet Group Administration
Determines which Guardrails permissions level can manage Subnet Group Administration.
tmod:@turbot/aws-rds#/policy/types/rdsPermissionsLevelsSubnetGroupAdministration
[ "None", "Admin"]
{ "type": "string", "enum": [ "None", "Admin" ], "example": [ "None" ], "default": "None"}
AWS > RDS > Permissions > Lockdown
tmod:@turbot/aws-rds#/policy/types/rdsPermissionsLockdown
AWS > RDS > Permissions > Lockdown > API Boundary
Configure whether the AWS RDS API is enabled for
all users and roles in guardrails-managed boundary policies.
Note: Disabling the service disables the API for ALL users
and roles, and Guardrails will have no access to the API.
tmod:@turbot/aws-rds#/policy/types/rdsPermissionsLockdownApiBoundary
[ "Enabled if AWS > RDS > API Enabled"]
{ "type": "string", "enum": [ "Enabled if AWS > RDS > API Enabled" ], "example": [ "Enabled if AWS > RDS > API Enabled" ], "default": "Enabled if AWS > RDS > API Enabled"}
AWS > RDS > Permissions > Lockdown > Engine Types
Configure whether lockdown policies are enabled to prohibit modification of Engine Types.
tmod:@turbot/aws-rds#/policy/types/rdsPermissionsLockdownEngineTypes
[ "{\n item: account {\n Id\n }\n}\n", "{\n engineTypes: policyValues(filter:\"policyTypeLevel:self resourceId:{{ $.item.Id }} policyTypeId:'tmod:@turbot/aws-rds/policy/types/dbInstanceApprovedDatabaseEngines'\") {\n items {\n value\n }\n }\n}\n"]
"{% if $.engineTypes.items[0].value | length == 0 %} ['*'] {% endif %}{% for item in $.engineTypes.items[0].value %}- '{{ item }}'\n{% endfor %}"
{ "type": "array", "example": [ [ "aurora", "aurora-mysql", "chimera" ] ]}
AWS > RDS > Regions
A list of AWS regions in which AWS RDS resources are supported for use.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
This policy is the default value for all AWS RDS resources' Regions policies.
tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault
"{\n regions: policyValue(uri:\"tmod:@turbot/aws#/policy/types/regionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > Stack
Configure a custom stack on AWS, per the custom Stack > Source
.
A Guardrails Stack
is a set of resources configured by Guardrails, as specified
via Terraform source. Stacks are responsible for the creation and deletion
of multiple resources. Once created, stack resources are responsible for
configuring themselves from the stack source via their Configured
control.
tmod:@turbot/aws-rds#/policy/types/rdsStack
[ "Skip", "Check: Configured", "Enforce: Configured"]
{ "type": "string", "enum": [ "Skip", "Check: Configured", "Enforce: Configured" ], "default": "Skip"}
AWS > RDS > Stack > Secret Variables
Terraform secret variables in Terraform HCL that will be used as
inputs to the stack as a .tfvars file.
A Guardrails Stack
is a set of resources configured by Guardrails,
as specified via Terraform source. Stacks are responsible
for the creation and deletion of multiple resources. Once created,
stack resources are responsible for configuring themselves from
the stack source via their Configured
control.
tmod:@turbot/aws-rds#/policy/types/rdsStackSecretVariables
{ "type": "string", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > Stack > Source
The Terraform HCL source used to configure this stack.
A Guardrails Stack
is a set of resources configured by Guardrails, as specified
via Terraform source. Stacks are responsible for the creation and deletion
of multiple resources. Once created, stack resources are responsible for
configuring themselves from the stack source via their Configured
control.
tmod:@turbot/aws-rds#/policy/types/rdsStackSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > Stack > Terraform Version
The Version of Terraform to use for this stack.
Specify an npm-style semver string to
determine which version of the Terraform container
Guardrails will use to run this stack.
A Guardrails Stack
is a set of resources configured by Guardrails,
as specified via Terraform source. Stacks are responsible
for the creation and deletion of multiple resources. Once created,
stack resources are responsible for configuring themselves from
the stack source via their Configured
control.
tmod:@turbot/aws-rds#/policy/types/rdsStackTerraformVersion
"{\n terraformVersion: policy(uri:\"tmod:@turbot/turbot#/policy/types/stackTerraformVersion\")\n}\n"
"{% if $.terraformVersion %}"{{$.terraformVersion}}"{% else %}""{% endif %}"
{ "type": "string"}
AWS > RDS > Stack > Variables
Terraform variables in Terraform HCL that will be used as
inputs to the stack as a .tfvars file.
A Guardrails Stack
is a set of resources configured by Guardrails,
as specified via Terraform source. Stacks are responsible
for the creation and deletion of multiple resources. Once created,
stack resources are responsible for configuring themselves from
the stack source via their Configured
control.
tmod:@turbot/aws-rds#/policy/types/rdsStackVariables
{ "type": "string", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > Subnet Group > Active
Determine the action to take when an AWS RDS subnet group, based on the AWS > RDS > Subnet Group > Active > *
policies.
The 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 > RDS > Subnet Group > 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.
tmod:@turbot/aws-rds#/policy/types/subnetGroupActive
[ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning"]
{ "type": "string", "enum": [ "Skip", "Check: Active", "Enforce: Delete inactive with 1 day warning", "Enforce: Delete inactive with 3 days warning", "Enforce: Delete inactive with 7 days warning", "Enforce: Delete inactive with 14 days warning", "Enforce: Delete inactive with 30 days warning", "Enforce: Delete inactive with 60 days warning", "Enforce: Delete inactive with 90 days warning", "Enforce: Delete inactive with 180 days warning", "Enforce: Delete inactive with 365 days warning" ], "example": [ "Check: Active" ], "default": "Skip"}
AWS > RDS > Subnet Group > Active > Age
The age after which the AWS RDS subnet group
is no longer considered active. If a create time is unavailable, the time Guardrails discovered the resource is used.
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 > RDS > Subnet Group > 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.
tmod:@turbot/aws-rds#/policy/types/subnetGroupActiveAge
[ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days"]
{ "type": "string", "enum": [ "Skip", "Force inactive if age > 1 day", "Force inactive if age > 3 days", "Force inactive if age > 7 days", "Force inactive if age > 14 days", "Force inactive if age > 30 days", "Force inactive if age > 60 days", "Force inactive if age > 90 days", "Force inactive if age > 180 days", "Force inactive if age > 365 days" ], "example": [ "Force inactive if age > 90 days" ], "default": "Skip"}
AWS > RDS > Subnet Group > Active > Last Modified
The number of days since the AWS RDS subnet group
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 > RDS > Subnet Group > 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.
tmod:@turbot/aws-rds#/policy/types/subnetGroupActiveLastModified
[ "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"]
{ "type": "string", "enum": [ "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" ], "example": [ "Active if last modified <= 90 days" ], "default": "Skip"}
AWS > RDS > Subnet Group > Approved
Determine the action to take when an AWS RDS subnet group is not approved based on AWS > RDS > Subnet Group > 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.
tmod:@turbot/aws-rds#/policy/types/subnetGroupApproved
[ "Skip", "Check: Approved", "Enforce: Delete unapproved if new"]
{ "type": "string", "enum": [ "Skip", "Check: Approved", "Enforce: Delete unapproved if new" ], "example": [ "Check: Approved" ], "default": "Skip"}
AWS > RDS > Subnet Group > Approved > Custom
Determine whether the AWS RDS subnet group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS subnet group is not approved, it will be subject to the action specified in the AWS > RDS > Subnet Group > Approved
policy.
See Approved for more information.
Note: The policy value must be a string with a value of Approved
, Not approved
or Skip
, or in the form of YAML objects. The object(s) must contain the key result
with its value as Approved
or Not approved
. A custom title and message can also be added using the keys title
and message
respectively.
tmod:@turbot/aws-rds#/policy/types/subnetGroupApprovedCustom
{ "example": [ "Approved", "Not approved", "Skip", { "result": "Approved" }, { "title": "string", "result": "Not approved" }, { "title": "string", "result": "Approved", "message": "string" }, [ { "title": "string", "result": "Approved", "message": "string" }, { "title": "string", "result": "Not approved", "message": "string" } ] ], "anyOf": [ { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false } }, { "type": "object", "properties": { "title": { "type": "string", "pattern": "^[\\W\\w]{1,32}$" }, "message": { "type": "string", "pattern": "^[\\W\\w]{1,128}$" }, "result": { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } }, "required": [ "result" ], "additionalProperties": false }, { "type": "string", "pattern": "^(Approved|Not approved|Skip)$" } ], "default": "Skip"}
AWS > RDS > Subnet Group > Approved > Regions
A list of AWS regions in which AWS RDS subnet groups are approved for use.
The expected format is an array of regions names. You may use the '*' and '?' wildcard characters.
This policy will be evaluated by the Approved control. If an AWS RDS subnet group is created in a region that is not in the approved list, it will be subject to the action specified in the AWS > RDS > Subnet Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/subnetGroupApprovedRegions
"{\n regions: policy(uri: \"tmod:@turbot/aws-rds#/policy/types/rdsApprovedRegionsDefault\")\n}\n"
"{% if $.regions | length == 0 %} [] {% endif %}{% for item in $.regions %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > Subnet Group > Approved > Usage
Determine whether the AWS RDS subnet group is allowed to exist.
This policy will be evaluated by the Approved control. If an AWS RDS subnet group is not approved, it will be subject to the action specified in the AWS > RDS > Subnet Group > Approved
policy.
See Approved for more information.
tmod:@turbot/aws-rds#/policy/types/subnetGroupApprovedUsage
[ "Not approved", "Approved", "Approved if AWS > RDS > Enabled"]
{ "type": "string", "enum": [ "Not approved", "Approved", "Approved if AWS > RDS > Enabled" ], "example": [ "Not approved" ], "default": "Approved if AWS > RDS > Enabled"}
AWS > RDS > Subnet Group > CMDB
Configure whether to record and synchronize details for the AWS RDS subnet group into the CMDB.
The CMDB control is responsible for populating and updating all the attributes for that resource type in the Guardrails CMDB.
All policies and controls in Guardrails are based around the resource, so usually the CMDB policy is set to "Enforce: Enabled".
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 > RDS > Subnet Group > Regions
policy, the CMDB control will delete the resource from the CMDB.
(Note: Setting CMDB to "Skip" will also pause these changes.)
tmod:@turbot/aws-rds#/policy/types/subnetGroupCmdb
[ "Skip", "Enforce: Enabled", "Enforce: Disabled"]
{ "type": "string", "enum": [ "Skip", "Enforce: Enabled", "Enforce: Disabled" ], "example": [ "Skip" ], "default": "Enforce: Enabled"}
AWS > RDS > Subnet Group > Configured
Determine how to configure this resource.
Note: If the resource is managed by another stack, then the Skip/Check/Enforce values here are ignored
and inherit from the stack that owns it.
tmod:@turbot/aws-rds#/policy/types/subnetGroupConfigured
[ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)"]
{ "enum": [ "Skip (unless claimed by a stack)", "Check: Per Configured > Source (unless claimed by a stack)", "Enforce: Per Configured > Source (unless claimed by a stack)" ], "default": "Skip (unless claimed by a stack)"}
AWS > RDS > Subnet Group > Configured > Claim Precedence
An ordered list of who is allowed to claim a resource.
A stack cannot claim a resource if it is already claimed by another
stack at a higher level of precedence.
tmod:@turbot/aws-rds#/policy/types/subnetGroupConfiguredPrecedence
"{\n defaultPrecedence: policy(uri:\"tmod:@turbot/turbot#/policy/types/claimPrecedenceDefault\")\n}\n"
"{%- if $.defaultPrecedence | length == 0 %}[]{%- else %}{% for item in $.defaultPrecedence %}- '{{ item }}'{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string" }}
AWS > RDS > Subnet Group > Configured > Source
A HCL or JSON format Terraform configuration source used to configure this resource.
tmod:@turbot/aws-rds#/policy/types/subnetGroupConfiguredSource
{ "type": "string", "default": "", "x-schema-form": { "type": "code", "language": "hcl" }}
AWS > RDS > Subnet Group > Management
If enabled, users with the RDS/Admin role can manage DB subnet groups.
tmod:@turbot/aws-rds#/policy/types/subnetGroupManagement
[ "Enabled", "Disabled"]
{ "type": "string", "enum": [ "Enabled", "Disabled" ], "example": [ "Enabled" ], "default": "Disabled"}
AWS > RDS > Subnet Group > Regions
A list of AWS regions in which AWS RDS subnet groups are supported for use.
Any subnet groups in a region not listed here will not be recorded in CMDB.
The expected format is an array of regions names. You may use the '*' and
'?' wildcard characters.
tmod:@turbot/aws-rds#/policy/types/subnetGroupRegions
"{\n regions: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsRegionsDefault\") {\n value\n }\n}\n"
"{% if $.regions.value | length == 0 %} [] {% endif %}{% for item in $.regions.value %}- '{{ item }}'\n{% endfor %}"
AWS > RDS > Subnet Group > Tags
Determine the action to take when an AWS RDS subnet group tags are not updated based on the AWS > RDS > Subnet Group > Tags > *
policies.
The control ensure AWS RDS subnet group tags include tags defined in AWS > RDS > Subnet Group > Tags > Template
.
Tags not defined in Subnet Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/subnetGroupTags
[ "Skip", "Check: Tags are correct", "Enforce: Set tags"]
{ "type": "string", "enum": [ "Skip", "Check: Tags are correct", "Enforce: Set tags" ], "example": [ "Check: Tags are correct" ], "default": "Skip"}
AWS > RDS > Subnet Group > Tags > Template
The template is used to generate the keys and values for AWS RDS subnet group.
Tags not defined in Subnet Group Tags Template will not be modified or deleted. Setting a tag value to undefined
will result in the tag being deleted.
See Tags for more information.
tmod:@turbot/aws-rds#/policy/types/subnetGroupTagsTemplate
[ "{\n account {\n turbot {\n id\n }\n }\n}\n", "{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate\" resourceId: \"{{ $.account.turbot.id }}\") {\n value\n }\n}\n"]
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > Subnet Group > Usage
Configure the number of AWS RDS subnet groups that can be used for this region and the current consumption against the limit.
You can configure the behavior of the control with this AWS > RDS > Subnet Group > Usage
policy.
tmod:@turbot/aws-rds#/policy/types/subnetGroupUsage
[ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit"]
{ "type": "string", "enum": [ "Skip", "Check: Usage <= 85% of Limit", "Check: Usage <= 100% of Limit" ], "example": [ "Check: Usage <= 85% of Limit" ], "default": "Skip"}
AWS > RDS > Subnet Group > Usage > Limit
Maximum number of items that can be created for this region.
tmod:@turbot/aws-rds#/policy/types/subnetGroupUsageLimit
{ "type": "integer", "minimum": 0, "default": 50}
AWS > RDS > Tags Template [Default]
A template used to generate the keys and values for AWS RDS resources.
By default, all RDS resource Tags > Template policies will use this value.
tmod:@turbot/aws-rds#/policy/types/rdsTagsTemplate
"{\n defaultTags: policyValue(uri:\"tmod:@turbot/aws#/policy/types/defaultTagsTemplate\") {\n value\n }\n}\n"
"{%- if $.defaultTags.value | length == 0 %} [] {%- elif $.defaultTags.value != undefined %}{{ $.defaultTags.value | dump | safe }}{%- else %}{% for item in $.defaultTags.value %}- {{ item }}{% endfor %}{% endif %}"
AWS > RDS > Trusted Accounts [Default]
List of AWS Accounts that are trusted for access in the AWS RDS policy.
This policy is used by the Trusted Access
control to determine which members of type "account" are allowed
to be granted access. You may use the '*' and '?' wildcard characters.<br />example:<br /> - "013122550996"<br /> - "560741234067"<br />
Note: Setting the policy to Empty
array will remove all accounts.
tmod:@turbot/aws-rds#/policy/types/rdsTrustedAccounts
"{\n trustedAccounts: policyValue(uri:\"tmod:@turbot/aws#/policy/types/trustedAccounts\") {\n value\n }\n}\n"
"{% if $.trustedAccounts.value | length == 0 %}[]{% else %}{% for item in $.trustedAccounts.value %}- '{{ item }}'\n{% endfor %}{% endif %}"
{ "type": "array", "items": { "type": "string", "pattern": "^[0-9]{12}|^\\*$" }}
AWS > Turbot > Event Handlers > Events > Rules > Custom Event Patterns > RDS
The CloudWatch Events event pattern used by the AWS RDS module to specify
which events to forward to the Guardrails Event Handlers.
tmod:@turbot/aws-rds#/policy/types/rdsCustomEventPatterns
{ "type": "array", "items": { "type": "object", "properties": { "type": { "type": "object", "properties": { "title": { "type": "string" } } }, "value": { "type": "object", "properties": { "source": { "type": "array", "items": { "type": "string" } }, "detail-type": { "type": "array", "items": { "type": "string" } }, "detail": { "type": "object", "property": { "eventName": { "type": "array" } }, "required": [ "eventName" ] } }, "required": [ "source" ] } }, "required": [ "type" ] }, "default": [ { "type": { "title": "RDS", "name": "rds" }, "value": { "source": [ "aws.rds" ], "detail-type": [ "AWS API Call via CloudTrail" ], "detail": { "eventName": [ "AddTagsToResource", "CopyDBClusterSnapshot", "CopyDBParameterGroup", "CopyDBSnapshot", "CopyOptionGroup", "CreateDBCluster", "CreateDBClusterParameterGroup", "CreateDBClusterSnapshot", "CreateDBInstance", "CreateDBParameterGroup", "CreateDBSecurityGroup", "CreateDBSnapshot", "CreateDBSubnetGroup", "CreateGlobalCluster", "CreateOptionGroup", "DeleteDBCluster", "DeleteDBClusterParameterGroup", "DeleteDBClusterSnapshot", "DeleteDBInstance", "DeleteDBParameterGroup", "DeleteDBSnapshot", "DeleteDBSubnetGroup", "DeleteGlobalCluster", "DeleteOptionGroup", "FailoverDBCluster", "ModifyDBCluster", "ModifyDBClusterParameterGroup", "ModifyDBClusterSnapshotAttribute", "ModifyDBInstance", "ModifyDBParameterGroup", "ModifyDBSnapshot", "ModifyDBSnapshotAttribute", "ModifyDBSubnetGroup", "ModifyGlobalCluster", "ModifyOptionGroup", "RebootDBInstance", "RemoveFromGlobalCluster", "RemoveTagsFromResource", "ResetDBClusterParameterGroup", "ResetDBParameterGroup", "RestoreDBClusterFromS3", "RestoreDBClusterFromSnapshot", "RestoreDBClusterToPointInTime", "RestoreDBInstanceFromDBSnapshot", "RestoreDBInstanceFromS3", "RestoreDBInstanceToPointInTime", "RevokeDBSecurityGroupIngress", "StartDBCluster", "StartDBInstance", "StopDBCluster", "StopDBInstance" ] } } } ]}
AWS > Turbot > Permissions > Compiled > API Boundary > @turbot/aws-rds
A read-only policy generated by Guardrails that lists the APIs that
should be added to the guardrails-managed (hard) boundary policy,
thereby enabling them to be assigned to users and roles.
This value will change depending on the value of the value of theAWS > RDS > Permissions > Lockdown > API Boundary
policy
tmod:@turbot/aws-rds#/policy/types/awsCompiledApiBoundary
{ "type": "array"}
AWS > Turbot > Permissions > Compiled > Levels > @turbot/aws-rds
A calculated policy that Guardrails uses to create a compiled list of
ALL permissions for AWS RDS that is used as input to the stack
that manages the Guardrails IAM permissions objects.
tmod:@turbot/aws-rds#/policy/types/awsLevelsCompiled
AWS > Turbot > Permissions > Compiled > Lockdown Statements > @turbot/aws-rds
A calculated policy that Guardrails uses to create a compiled list of
ALL lockdown policy statements for AWS RDS that is used as input
to the stack that manages the Guardrails IAM permissions objects.
tmod:@turbot/aws-rds#/policy/types/awsCompiledLockdownStatements
{ "type": "array"}
AWS > Turbot > Permissions > Compiled > Service Permissions > @turbot/aws-rds
A calculated policy that Guardrails uses to create a compiled
list of ALL permissions for AWS RDS that is used as input
to the control that manages the IAM stack.
tmod:@turbot/aws-rds#/policy/types/awsCompiledServicePermissions