Skip to main content

🧠 Google GCE Firewall Rule logging is disabled - prod.logic.yaml🟢

Uses

Test Results 🟢

Generated at: 2025-10-25T12:02:55.977530061Z Open

ResultIdCondition IndexCondition TextRuntime Error
🟢001✔️ 99✔️ isDisappeared(CA10__disappearanceTime__c)✔️ null
🟢002✔️ 199✔️ extract('CA10__logState__c') == 'Enabled'✔️ null
🟢003✔️ 200✔️ otherwise✔️ null

Generation Bundle

FileMD5
Open/ce/ca/google/vpc/firewall-rule-logging/policy.yaml2E04062332445D25B19FD775E8AA96AA
Open/ce/ca/google/vpc/firewall-rule-logging/prod.logic.yamlD7ECCB9B0B3E54A2A38E1E8CA0627F44
Open/ce/ca/google/vpc/firewall-rule-logging/test-data.jsonFC83FA6AB305088D208A3F796BB798DC
Open/types/CA10__CaGoogleGceFirewallRule__c/object.extracts.yamlAE08F20196B487A130FB166DA77692D3

Available Commands

repo-manager policies generate FULL /ce/ca/google/vpc/firewall-rule-logging/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/google/vpc/firewall-rule-logging/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/google/vpc/firewall-rule-logging/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/google/vpc/firewall-rule-logging/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/google/vpc/firewall-rule-logging/prod.logic.yaml

Content

Open File

---

inputType: "CA10__CaGoogleGceFirewallRule__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10__CaGoogleGceFirewallRule__c/object.extracts.yaml"
conditions:
- status: "COMPLIANT"
currentStateMessage: "Firewall Rule logging is enabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10__logState__c"
right:
TEXT: "Enabled"
otherwise:
status: "INCOMPLIANT"
currentStateMessage: "Firewall Rule logging is disabled."
remediationMessage: "Enable logging for the Firewall Rule."