Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
shabaz-github authored Feb 7, 2025
1 parent cc9f557 commit 31ee7ab
Showing 1 changed file with 47 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"properties": {
"displayName": "Audit Azure Firewall Policies with Explicit Proxy and PAC File",
"policyType": "Custom",
"mode": "All",
"description": "This policy audits Azure Firewall Policies to ensure that if Explicit Proxy is enabled, then the PAC File must also be enabled.",
"metadata": {
"version": "1.0.0",
"category": "Network"
},
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Audit",
"Disabled"
],
"defaultValue": "Audit"
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Network/firewallPolicies"
},
{
"field": "Microsoft.Network/firewallPolicies/explicitProxy.enableExplicitProxy",
"equals": true
},
{
"field": "Microsoft.Network/firewallPolicies/explicitProxy.enablePacFile",
"notEquals": true
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
}
}
}

0 comments on commit 31ee7ab

Please sign in to comment.