π§ AWS Redshift Cluster is not encrypted at rest - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/redshift/cluster-ecryption-at-rest/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-01-31T12:02:16.489852637Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | 001 | βοΈ 299 | βοΈ extract('CA10__encryption__c') != 'Enabled' | βοΈ null |
| π’ | 002 | βοΈ 300 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/redshift/cluster-ecryption-at-rest/policy.yaml | 6C3A0D38C5EEC15E2089FCA4222E2FA3 |
| Open | /ce/ca/aws/redshift/cluster-ecryption-at-rest/prod.logic.yaml | 88E87AABE894404A32C250CBD6BD72D1 |
| Open | /ce/ca/aws/redshift/cluster-ecryption-at-rest/test-data.json | 881EFCA26691117FE90F0D7D50F6E902 |
| Open | /types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml | DBF4D0413CB4EF01D13D17E4ED636EC5 |
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β
---
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 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 to the cluster"