feat: AZ-NET-013 Azure Firewall not enabled on Virtual Network#92
feat: AZ-NET-013 Azure Firewall not enabled on Virtual Network#92aav-wh wants to merge 2 commits into
Conversation
- Add scanner/rules/az_net_013.py to detect VNets without Azure Firewall - Add playbooks/cli/fix_az_net_013.sh for remediation - Add get_azure_firewalls() method to scanner/azure_client.py - Update CIS, ISO 27001, NIST CSF, SOC 2 compliance mappings Severity: HIGH | Category: Network Closes openshield-org#91
Vishnu2707
left a comment
There was a problem hiding this comment.
Approved. get_azure_firewalls() scoped to resource group and follows the client pattern. One logical gap worth a follow-up issue: the scan flags a VNet if its own resource group has no firewall, but a hub-spoke setup could have the firewall in a separate resource group, this will produce false positives. Not blocking for now but worth tracking @aav-wh
|
Resolved the conflicts! |
|
CI is failing, all 4 compliance JSONs have invalid JSON at the merge conflict resolution. Looks like the conflict markers weren't cleaned up properly, missing a comma delimiter around line 170 in cis, nist, iso27001 and line 165 in soc2. Fix the JSON syntax in those files and push again @aav-wh |
Vishnu2707
left a comment
There was a problem hiding this comment.
CI is failing all 4 compliance JSONs have invalid JSON at the merge conflict resolution. Looks like the conflict markers weren't cleaned up properly, missing a comma delimiter around line 170 in cis, nist, iso27001 and line 165 in soc2. Fix the JSON syntax in those files and push again.
Summary
Adds a new HIGH severity scanner rule to detect Virtual Networks that do not have an Azure Firewall deployed.
Changes
scanner/rules/az_net_013.py— scan rule detecting VNets without Azure Firewallplaybooks/cli/fix_az_net_013.sh— remediation playbook to deploy Azure Firewallscanner/azure_client.py— addedget_azure_firewalls()methodWhy
A VNet without Azure Firewall relies solely on NSGs for perimeter defence. NSGs provide no deep packet inspection, threat intelligence filtering, or centralised traffic logging, leaving the network vulnerable to lateral movement and data exfiltration.
Compliance
Closes #91