Skip to main content

🧠 AWS CloudFront Distribution Logging is not enabled - prod.logic.yaml🟒

Uses​

Test Results πŸŸ’β€‹

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

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ extract('CA10__loggingEnabled__c') == falseβœ”οΈ null
🟒test3βœ”οΈ 199βœ”οΈ extract('CA10__loggingEnabled__c') == falseβœ”οΈ null
🟒test4βœ”οΈ 200βœ”οΈ otherwiseβœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/cloudfront/distribution-logging/policy.yaml57B501D217EB19EA79BCFAE07C7C4087
Open/ce/ca/aws/cloudfront/distribution-logging/prod.logic.yamlB5ADD5DF88F76D4B37ABC4CDE4B1615D
Open/ce/ca/aws/cloudfront/distribution-logging/test-data.json68C147366A270B0FC2503DC0CB1C39C1
Open/types/CA10__CaAwsDistribution__c/object.extracts.yaml9BBABDA14FE5FD983E28F77F5CC80BF9

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/cloudfront/distribution-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/cloudfront/distribution-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/cloudfront/distribution-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/cloudfront/distribution-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/cloudfront/distribution-logging/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsDistribution__c"
importExtracts:
- file: "/types/CA10__CaAwsDistribution__c/object.extracts.yaml"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "Standard logging is not enabled for the CloudFront distribution."
remediationMessage: "Enable standard logging for the CloudFront distribution."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__loggingEnabled__c"
right:
BOOLEAN: false
otherwise:
status: "COMPLIANT"
currentStateMessage: "Standard logging is enabled for the CloudFront distribution."