Skip to main content

🧠 AWS Redshift Cluster is not encrypted at rest - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:33:14.646253860Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒001βœ”οΈ 299βœ”οΈ extract('CA10__encryption__c') != 'Enabled'βœ”οΈ null
🟒002βœ”οΈ 300βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/redshift/cluster-ecryption-at-rest/policy.yaml6C3A0D38C5EEC15E2089FCA4222E2FA3
Open/ce/ca/aws/redshift/cluster-ecryption-at-rest/prod.logic.yamlB8210599504FB21D7149C87268249B8B
Open/ce/ca/aws/redshift/cluster-ecryption-at-rest/test-data.json881EFCA26691117FE90F0D7D50F6E902
Open/types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml978033E93A3BC4EEE31B6916039330FF

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/redshift/cluster-ecryption-at-rest/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/redshift/cluster-ecryption-at-rest/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/redshift/cluster-ecryption-at-rest/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/redshift/cluster-ecryption-at-rest/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/redshift/cluster-ecryption-at-rest/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: "COMPLIANT"
currentStateMessage: "The cluster is encrypted at rest."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__encryption__c"
right:
TEXT: "Enabled"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "The cluster is not encrypted at rest."
remediationMessage: "Enable encryption at rest for the cluster."