Skip to main content

🧠 AWS Data Sync Task logging is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-02-10T22:32:37.742738975Z Open

ResultIdCondition IndexCondition TextRuntime 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​

FileMD5
Open/ce/ca/aws/data-sync/task-logging/policy.yaml234DC6D9FBCB29AFC5362CF648409BE0
Open/ce/ca/aws/data-sync/task-logging/prod.logic.yaml0B445A27679F656CD27DFD03C322A528
Open/ce/ca/aws/data-sync/task-logging/test-data.json7E7493658454D6CD3DDC6136AF740E8A
Open/types/CA10A1__CaAwsDataSyncTask__c/object.extracts.yaml881FF834A04825679B9ABF5AEDC88474

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​

Open File

---
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."