Skip to main content

🧠 AWS RDS Instance IAM Database Authentication is not enabled - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2026-01-31T12:02:13.987361927Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢test1✔️ 99✔️ isDisappeared(CA10__disappearanceTime__c)✔️ null
🟢test2✔️ 199✔️ extract('CA10__status__c') != 'available'✔️ null
🟢test3✔️ 299✔️ extract('CA10__clusterArn__c').isNotEmpty()✔️ null
🟢test4✔️ 399✔️ not(setOfText(['postgres', 'mysql', 'mariadb', 'aurora', 'aurora-postgresql', 'aurora-mysql']).contains(extract('CA10__engine__c')))✔️ null
🟢test5✔️ 499✔️ extract('CA10__iamDatabaseAuthenticationEnabled__c') == true✔️ null
🟢test6✔️ 500✔️ otherwise✔️ null

Generation Bundle

FileMD5
Open/ce/ca/aws/rds/instance-iam-authentication/policy.yamlDB29DEBB3F4944D7907B64A601F9F5B5
Open/ce/ca/aws/rds/instance-iam-authentication/prod.logic.yamlB4C9F8CA4A284A6722969294F1E83183
Open/ce/ca/aws/rds/instance-iam-authentication/test-data.json3B831344CD7E942CCD7211FC7EB0F405
Open/types/CA10__CaAwsDbInstance__c/object.extracts.yamlE3FA5A211AA9AD2418645BB09047D3D3

Available Commands

repo-manager policies generate FULL /ce/ca/aws/rds/instance-iam-authentication/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/instance-iam-authentication/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/instance-iam-authentication/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/instance-iam-authentication/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/instance-iam-authentication/prod.logic.yaml

Content

Open File

---
inputType: "CA10__CaAwsDbInstance__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsDbInstance__c/object.extracts.yaml
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The Instance is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "available"
- status: "INAPPLICABLE"
currentStateMessage: "This policy doesn't apply to Cluster Instances."
check:
NOT_EMPTY:
arg:
EXTRACT: "CA10__clusterArn__c"
- status: "INAPPLICABLE"
currentStateMessage: "IAM database authentication is not supported for this database engine."
check:
NOT:
arg:
CONTAINS:
arg:
SET:
itemType: "TEXT"
items:
- "postgres"
- "mysql"
- "mariadb"
- "aurora"
- "aurora-postgresql"
- "aurora-mysql"
search:
EXTRACT: "CA10__engine__c"
- status: "COMPLIANT"
currentStateMessage: "RDS Instance has IAM database authentication enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__iamDatabaseAuthenticationEnabled__c"
right:
BOOLEAN: true
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "IAM Database Authentication is disabled for this RDS Instance."
remediationMessage: "Enable IAM Database Authentication for the RDS Instance."