Skip to main content

🧠 AWS Redshift Cluster is not required to use encryption in transit - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

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

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 299βœ”οΈ CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r.has(INCOMPLIANT)βœ”οΈ null
🟒test3βœ”οΈ 399βœ”οΈ CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r.has(COMPLIANT)βœ”οΈ null
🟒test4βœ”οΈ 599βœ”οΈ CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r.has(INAPPLICABLE)βœ”οΈ null
🟒test5βœ”οΈ 600βœ”οΈ otherwiseβœ”οΈ null
🟒test6βœ”οΈ 199βœ”οΈ extract('CA10__status__c') != 'available'βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/redshift/cluster-ecryption-in-transit/policy.yaml6FBAB805A930963C771DF5C706E07F01
Open/ce/ca/aws/redshift/cluster-ecryption-in-transit/prod.logic.yamlEB5E9B6EB9EC8F06ECD821650E568D0D
Open/ce/ca/aws/redshift/cluster-ecryption-in-transit/test-data.jsonBE37B50E659B401ABE07D1C957671EDA
Open/types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml978033E93A3BC4EEE31B6916039330FF
Open/types/CA10__CaAwsRedshiftClusterParameter__c/object.extracts.yaml624055E6B8A930F67D8AD5CE51291BB0

Available Commands​

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

Content​

Open File

---
inputType: "CA10__CaAwsRedshiftCluster__c"
importExtracts:
- file: "/types/CA10__CaAwsRedshiftClusterParameter__c/object.extracts.yaml"
- 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 require_ssl parameter is set to false."
remediationMessage: "Enable the require_ssl parameter for the cluster."
check:
RELATED_LIST_HAS:
status: "INCOMPLIANT"
relationshipName: "CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r"
- status: "COMPLIANT"
currentStateMessage: "The Redshift cluster require_ssl parameter is set to true."
check:
RELATED_LIST_HAS:
status: "COMPLIANT"
relationshipName: "CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r"
- status: "UNDETERMINED"
currentStateMessage: "Unexpected value for the require_ssl parameter. It is not set to true/false."
check:
RELATED_LIST_HAS:
status: "UNDETERMINED"
relationshipName: "CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r"
- status: "UNDETERMINED"
currentStateMessage: "The require_ssl parameter does not exist in the CMDB."
check:
RELATED_LIST_HAS:
status: "INAPPLICABLE"
relationshipName: "CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "The Redshift cluster parameters do not exist in the CMDB."
relatedLists:
- relationshipName: "CA10A2__AWS_Redshift_Cluster_ParameterGroup_Link__r"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "The require_ssl parameter is set to false."
remediationMessage: "Enable the require_ssl parameter."
check:
RELATED_LIST_HAS:
status: "INCOMPLIANT"
relationshipName: "CA10A2__parameterGroup__r.CA10__AWS_Redshift_Cluster_Parameters__r"
- status: "COMPLIANT"
currentStateMessage: "The require_ssl parameter is set to true."
check:
RELATED_LIST_HAS:
status: "COMPLIANT"
relationshipName: "CA10A2__parameterGroup__r.CA10__AWS_Redshift_Cluster_Parameters__r"
- status: "UNDETERMINED"
currentStateMessage: "Unexpected value for the require_ssl parameter. It is not set to true/false."
check:
RELATED_LIST_HAS:
status: "UNDETERMINED"
relationshipName: "CA10A2__parameterGroup__r.CA10__AWS_Redshift_Cluster_Parameters__r"
otherwise:
status: "INAPPLICABLE"
currentStateMessage: "The require_ssl parameter does not exist in the CMDB."
relatedLists:
- relationshipName: "CA10A2__parameterGroup__r.CA10__AWS_Redshift_Cluster_Parameters__r"
conditions:
- status: "INAPPLICABLE"
currentStateMessage: "This is an unrelated parameter."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__parameterName__c"
right:
TEXT: "require_ssl"
- status: "INCOMPLIANT"
currentStateMessage: "The require_ssl parameter is set to false."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__parameterValue__c"
right:
TEXT: "false"
- status: "COMPLIANT"
currentStateMessage: "The require_ssl parameter is set to true."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__parameterValue__c"
right:
TEXT: "true"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."