🧠 AWS RDS Cluster IAM Database Authentication is not enabled - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/aws/rds/cluster-iam-authentication/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2026-06-06T12:03:13.285211066Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | 001 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | 002 | ✔️ 199 | ✔️ extract('CA10__status__c') != 'available' | ✔️ null |
| 🟢 | 003 | ✔️ 299 | ✔️ not(setOfText(['aurora-postgresql', 'aurora-mysql', 'neptune']).contains(extract('CA10__engine__c'))) | ✔️ null |
| 🟢 | 004 | ✔️ 399 | ✔️ extract('CA10__iamDatabaseAuthenticationEnabled__c') == true | ✔️ null |
| 🟢 | 005 | ✔️ 399 | ✔️ extract('CA10__iamDatabaseAuthenticationEnabled__c') == true | ✔️ null |
| 🟢 | 006 | ✔️ 400 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/rds/cluster-iam-authentication/policy.yaml | A5DAA48367FC9EC842B257224FCB9F19 |
| Open | /ce/ca/aws/rds/cluster-iam-authentication/prod.logic.yaml | B771521F9ABC17692FA9F09ACD47B918 |
| Open | /ce/ca/aws/rds/cluster-iam-authentication/test-data.json | F5975FDD7CBB62E42813A8ED8220DF1F |
| Open | /types/CA10__CaAwsDbCluster__c/object.extracts.yaml | 8AACD486F39325BBBA7FE4FA3BE340E9 |
Available Commands
repo-manager policies generate FULL /ce/ca/aws/rds/cluster-iam-authentication/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/rds/cluster-iam-authentication/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/rds/cluster-iam-authentication/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/rds/cluster-iam-authentication/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/rds/cluster-iam-authentication/prod.logic.yaml
Content
---
inputType: "CA10__CaAwsDbCluster__c"
testData:
- file: test-data.json
importExtracts:
- file: /types/CA10__CaAwsDbCluster__c/object.extracts.yaml
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The cluster is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "available"
- status: "INAPPLICABLE"
currentStateMessage: "IAM database authentication works only with Aurora MySQL, Aurora PostgreSQL, and Neptune."
check:
NOT:
arg:
CONTAINS:
arg:
SET:
itemType: "TEXT"
items:
- "aurora-postgresql"
- "aurora-mysql"
- "neptune"
search:
EXTRACT: "CA10__engine__c"
- status: "COMPLIANT"
currentStateMessage: "IAM database authentication is enabled for this cluster."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__iamDatabaseAuthenticationEnabled__c"
right:
BOOLEAN: true
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "IAM database authentication is disabled for this cluster."
remediationMessage: "Enable IAM database authentication for the cluster."