🧠 Google GCE Firewall Rule logging is disabled - prod.logic.yaml🟢
- Contextual name: 🧠 prod.logic.yaml🟢
- ID:
/ce/ca/google/vpc/firewall-rule-logging/prod.logic.yaml - Tags:
Uses
Test Results 🟢
Generated at: 2025-10-25T12:02:55.977530061Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| 🟢 | 001 | ✔️ 99 | ✔️ isDisappeared(CA10__disappearanceTime__c) | ✔️ null |
| 🟢 | 002 | ✔️ 199 | ✔️ extract('CA10__logState__c') == 'Enabled' | ✔️ null |
| 🟢 | 003 | ✔️ 200 | ✔️ otherwise | ✔️ null |
Generation Bundle
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/google/vpc/firewall-rule-logging/policy.yaml | 2E04062332445D25B19FD775E8AA96AA |
| Open | /ce/ca/google/vpc/firewall-rule-logging/prod.logic.yaml | D7ECCB9B0B3E54A2A38E1E8CA0627F44 |
| Open | /ce/ca/google/vpc/firewall-rule-logging/test-data.json | FC83FA6AB305088D208A3F796BB798DC |
| Open | /types/CA10__CaGoogleGceFirewallRule__c/object.extracts.yaml | AE08F20196B487A130FB166DA77692D3 |
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
---
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."