Skip to main content

🧠 AWS VPC Flow Logs are not enabled - prod.logic.yaml🟠🟒

Uses​

Test Results πŸŸ’β€‹

Generated at: 2026-05-09T12:04:04.521360370Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟒test1βœ”οΈ 99βœ”οΈ isDisappeared(CA10__disappearanceTime__c)βœ”οΈ null
🟒test2βœ”οΈ 199βœ”οΈ CA10__AWS_VPC_Flow_Logs__r.hasNo(COMPLIANT)βœ”οΈ null
🟒test3βœ”οΈ 299βœ”οΈ CA10__AWS_VPC_Flow_Logs__r.has(COMPLIANT)βœ”οΈ null

Generation Bundle​

FileMD5
Open/ce/ca/aws/vpc/flow-logs/policy.yaml33FD2E8B32FB6E7B2A6C2283FD4B0291
Open/ce/ca/aws/vpc/flow-logs/prod.logic.yamlEB4AD7D6BEC59C0C6ADA4E9A140505B2
Open/ce/ca/aws/vpc/flow-logs/test-data.json31DE834F1018FB3952D3AE87F3953DEB

Available Commands​

repo-manager policies generate FULL /ce/ca/aws/vpc/flow-logs/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/aws/vpc/flow-logs/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/aws/vpc/flow-logs/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/aws/vpc/flow-logs/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/aws/vpc/flow-logs/prod.logic.yaml

Content​

Open File

---
inputType: "CA10__CaAwsVpc__c"
testData:
- file: "test-data.json"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "VPC flow logging is disabled."
remediationMessage: "Enable VPC flow logging."
check:
RELATED_LIST_HAS_NO:
status: "COMPLIANT"
relationshipName: "CA10__AWS_VPC_Flow_Logs__r"
- status: "COMPLIANT"
currentStateMessage: "VPC flow logging is enabled."
check:
RELATED_LIST_HAS:
status: "COMPLIANT"
relationshipName: "CA10__AWS_VPC_Flow_Logs__r"
otherwise:
status: "UNDETERMINED"
currentStateMessage: "Unexpected values in the fields."
relatedLists:
- relationshipName: "CA10__AWS_VPC_Flow_Logs__r"
conditions: []
otherwise:
status: "COMPLIANT"
currentStateMessage: "VPC flow logging is enabled."