π§ AWS Data Sync Task logging is not enabled - prod.logic.yamlπ’
- Contextual name: π§ prod.logic.yamlπ’
- ID:
/ce/ca/aws/data-sync/task-logging/prod.logic.yaml - Tags:
- π’ Logic test success
- π’ Logic with extracts
- π’ Logic with test data
Usesβ
Test Results π’β
Generated at: 2026-02-10T22:32:37.742738975Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| π’ | test1 | βοΈ 99 | βοΈ isDisappeared(CA10A1__disappearanceTime__c) | βοΈ null |
| π’ | test2 | βοΈ 299 | βοΈ isEmptyLookup('CA10A1__cloudWatchLogGroup__r') | βοΈ null |
| π’ | test3 | βοΈ 299 | βοΈ isEmptyLookup('CA10A1__cloudWatchLogGroup__r') | βοΈ null |
| π’ | test4 | βοΈ 300 | βοΈ otherwise | βοΈ null |
| π’ | test5 | βοΈ 199 | βοΈ extract('CA10A1__cloudWatchLogGroupArn__c').isEmpty() | βοΈ null |
Generation Bundleβ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/aws/data-sync/task-logging/policy.yaml | 234DC6D9FBCB29AFC5362CF648409BE0 |
| Open | /ce/ca/aws/data-sync/task-logging/prod.logic.yaml | 0B445A27679F656CD27DFD03C322A528 |
| Open | /ce/ca/aws/data-sync/task-logging/test-data.json | 7E7493658454D6CD3DDC6136AF740E8A |
| Open | /types/CA10A1__CaAwsDataSyncTask__c/object.extracts.yaml | 881FF834A04825679B9ABF5AEDC88474 |
Available Commandsβ
repo-manager policies generate FULL /ce/ca/aws/data-sync/task-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/data-sync/task-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/data-sync/task-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/data-sync/task-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/data-sync/task-logging/prod.logic.yaml
Contentβ
---
inputType: "CA10A1__CaAwsDataSyncTask__c"
importExtracts:
- file: /types/CA10A1__CaAwsDataSyncTask__c/object.extracts.yaml
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "DataSync task logging is not enabled."
remediationMessage: "Configure a CloudWatch log group for the DataSync task."
check:
IS_EMPTY:
arg:
EXTRACT: "CA10A1__cloudWatchLogGroupArn__c"
- status: "INCOMPLIANT"
currentStateMessage: "DataSync task logging has been deleted or does not exist in the CMDB."
remediationMessage: "Confirm that a CloudWatch log group is configured for the DataSync task."
check:
IS_EMPTY_LOOKUP: "CA10A1__cloudWatchLogGroup__r"
otherwise:
status: "COMPLIANT"
currentStateMessage: "DataSync task logging is enabled."