Skip to main content

🧠 AWS Redshift Cluster is publicly accessible - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-05-09T12:03:49.497740166Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__status__c') != 'available'βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ extract('CA10__publiclyAccessible__c') == 'Yes'βœ”οΈ null
🟒test4βœ”οΈ 399βœ”οΈ extract('CA10__publiclyAccessible__c') == 'No'βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/redshift/cluster-publicly-accessible/policy.yaml26C5589C48CEFB8C8CCF3E9535BC89A1
Open/ce/ca/aws/redshift/cluster-publicly-accessible/prod.logic.yamlA43B12BE758170D241B15014311F75D4
Open/ce/ca/aws/redshift/cluster-publicly-accessible/test-data.json1D11143CF5CDFEC8124921103A339FDE
Open/types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml978033E93A3BC4EEE31B6916039330FF

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/redshift/cluster-publicly-accessible/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/redshift/cluster-publicly-accessible/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/redshift/cluster-publicly-accessible/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/redshift/cluster-publicly-accessible/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/redshift/cluster-publicly-accessible/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsRedshiftCluster__c"
importExtracts:
- file: "/types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "The cluster is not available."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__status__c"
right:
TEXT: "available"
- status: "INCOMPLIANT"
currentStateMessage: "The Redshift cluster is publicly accessible."
remediationMessage: "Modifying the cluster configuration to disable public access."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__publiclyAccessible__c"
right:
TEXT: "Yes"
- status: "COMPLIANT"
currentStateMessage: "The Redshift cluster is not publicly accessible."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__publiclyAccessible__c"
right:
TEXT: "No"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."