π§ AWS Redshift Cluster Audit Logging is not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/redshift/cluster-audit-logging/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:33:14.680241496Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | 001 | βοΈ 199 | βοΈ extract('CA10__status__c') != 'available' | βοΈ null |
| π’ | 002 | βοΈ 299 | βοΈ extract('CA10__logging__c') != 'Enabled' | βοΈ null |
| π’ | 003 | βοΈ 300 | βοΈ otherwise | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/redshift/cluster-audit-logging/policy.yaml | 01B215D3D4193ECC9FC50DEFEA6DFC10 |
| Open | /ce/ca/aws/redshift/cluster-audit-logging/prod.logic.yaml | FD1F5E80F1789EFDAB44ED2332A9FC70 |
| Open | /ce/ca/aws/redshift/cluster-audit-logging/test-data.json | FFE0E61373876CBBC6E093D657958002 |
| Open | /types/CA10__CaAwsRedshiftCluster__c/object.extracts.yaml | 978033E93A3BC4EEE31B6916039330FF |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/redshift/cluster-audit-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/redshift/cluster-audit-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/redshift/cluster-audit-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/redshift/cluster-audit-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/redshift/cluster-audit-logging/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: "INCOMPLIANT"
currentStateMessage: "Redshift cluster audit logging is not enabled."
remediationMessage: "Enable audit logging for the cluster."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10__logging__c"
right:
TEXT: "Enabled"
otherwise:
status: "COMPLIANT"
currentStateMessage: "Redshift cluster audit logging is enabled."