π§ AWS Athena Workgroup CloudWatch Metrics are not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/athena/workgroup-cloudwatch-metrics/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:32.453385032Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10A1__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 199 | βοΈ extract('CA10A1__configPublishCloudWatchMetrics__c') == 'Disabled' | βοΈ null |
| π’ | test3 | βοΈ 299 | βοΈ extract('CA10A1__configPublishCloudWatchMetrics__c') == 'Enabled' | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/athena/workgroup-cloudwatch-metrics/policy.yaml | AA4F083C34E4A6BBBFAC605132D4BFBD |
| Open | /ce/ca/aws/athena/workgroup-cloudwatch-metrics/prod.logic.yaml | 617C80FDC435DB3FD72EC03A0A715347 |
| Open | /ce/ca/aws/athena/workgroup-cloudwatch-metrics/test-data.json | 4981CF99050916A6DD4C0EC955E8787E |
| Open | /types/CA10A1__CaAwsAthenaWorkGroup__c/object.extracts.yaml | A10204D88A52AEF2DE3D9AE308BF92C7 |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/athena/workgroup-cloudwatch-metrics/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/athena/workgroup-cloudwatch-metrics/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/athena/workgroup-cloudwatch-metrics/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/athena/workgroup-cloudwatch-metrics/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/athena/workgroup-cloudwatch-metrics/prod.logic.yaml
Contentβ
---
inputType: "CA10A1__CaAwsAthenaWorkGroup__c"
importExtracts:
- file: "/types/CA10A1__CaAwsAthenaWorkGroup__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "CloudWatch metrics are not enabled for the Athena workgroup."
remediationMessage: "Enable CloudWatch metrics for the Athena workgroup."
check:
IS_EQUAL:
left:
EXTRACT: "CA10A1__configPublishCloudWatchMetrics__c"
right:
TEXT: "Disabled"
- status: "COMPLIANT"
currentStateMessage: "CloudWatch metrics are enabled for the Athena workgroup."
check:
IS_EQUAL:
left:
EXTRACT: "CA10A1__configPublishCloudWatchMetrics__c"
right:
TEXT: "Enabled"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unable to determine the CloudWatch metrics status for the Athena workgroup."