Gallery › Network › Azure built-in policies
[Deprecated]: Azure firewall policy should enable TLS inspection within application rules
Converted Policy Audit Deny Disabled Mode All Version 1.1.0-deprecated Deprecated
This policy is deprecated because Microsoft 365 App Compliance Program no longer requires Azure Firewall as the only network security control solution. Learn more details about the latest M365 APP Compliance requirements about network security controls at aka.ms/acat-cert2-seg-ops-nsc. Learn more about policy definition deprecation at aka.ms/policydefdeprecation.
ConvertTo-Bylaw converted this policy, and proved that the file compiles back to the same definition.
Azure Policy JSONACAT_FirewallPolicy_EnbaleTlsForAllAppRules_Audit.json · 64 lines
{
"properties": {
"displayName": "[Deprecated]: Azure firewall policy should enable TLS inspection within application rules",
"policyType": "BuiltIn",
"description": "This policy is deprecated because Microsoft 365 App Compliance Program no longer requires Azure Firewall as the only network security control solution. Learn more details about the latest M365 APP Compliance requirements about network security controls at aka.ms/acat-cert2-seg-ops-nsc. Learn more about policy definition deprecation at aka.ms/policydefdeprecation.",
"mode": "All",
"metadata": {
"version": "1.1.0-deprecated",
"category": "Network",
"deprecated": true
},
"version": "1.1.0",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Disabled"
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Network/firewallPolicies/ruleCollectionGroups"
},
{
"count": {
"field": "Microsoft.Network/firewallPolicies/ruleCollectionGroups/ruleCollections[*]",
"where": {
"count": {
"field": "Microsoft.Network/firewallPolicies/ruleCollectionGroups/ruleCollections[*].FirewallPolicyFilterRuleCollection.rules[*]",
"where": {
"field": "Microsoft.Network/firewallPolicies/ruleCollectionGroups/ruleCollections[*].FirewallPolicyFilterRuleCollection.rules[*].ApplicationRule.terminateTLS",
"equals": false
}
},
"greaterOrEquals": 1
}
},
"greaterOrEquals": 1
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
},
"versions": [
"1.1.0",
"1.0.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/a58ac66d-92cb-409c-94b8-8e48d7a96596",
"name": "a58ac66d-92cb-409c-94b8-8e48d7a96596"
}Bylawa58ac66d-92cb-409c-94b8-8e48d7a96596.bylaw.ps1 · 33 lines
# Converted from ACAT_FirewallPolicy_EnbaleTlsForAllAppRules_Audit.json by ConvertTo-Bylaw.
Policy 'a58ac66d-92cb-409c-94b8-8e48d7a96596' {
Properties @{
DisplayName = '[Deprecated]: Azure firewall policy should enable TLS inspection within application rules'
Description = 'This policy is deprecated because Microsoft 365 App Compliance Program no longer requires Azure Firewall as the only network security control solution. Learn more details about the latest M365 APP Compliance requirements about network security controls at aka.ms/acat-cert2-seg-ops-nsc. Learn more about policy definition deprecation at aka.ms/policydefdeprecation.'
Version = '1.1.0-deprecated'
Category = 'Network'
Deprecated = $true
PolicyVersion = '1.1.0'
Mode = 'All'
}
Parameter Effect @{
AllowedValues = @('Audit', 'Deny', 'Disabled')
Default = 'Disabled'
DisplayName = 'Effect'
Description = 'Enable or disable the execution of the policy'
}
Resource 'Microsoft.Network/firewallPolicies/ruleCollectionGroups' {
Require 'ruleCollections, FirewallPolicyFilterRuleCollection.rules and ApplicationRule.terminateTLS are as required' {
Count 'ruleCollections[*]' -Where {
Count 'FirewallPolicyFilterRuleCollection.rules[*]' -Where {
Field ApplicationRule.terminateTLS | Must -Be $false
} | Must -BeGreaterOrEqual 1
} | Must -Be 0
}
}
Effect (Param Effect)
}Source: built-in-policies/policyDefinitions/Network/ACAT_FirewallPolicy_EnbaleTlsForAllAppRules_Audit.json in Azure/azure-policy, under the MIT licence.
Bylaw