Gallery › Security Center › Azure built-in policies
[Deprecated]: Allowlist rules in your adaptive application control policy should be updated
Converted Policy AuditIfNotExists Disabled Mode All Version 3.1.0-deprecated Deprecated
Monitor changes in behavior on machines audited by Azure Security Center's adaptive application controls. Security Center uses machine learning to suggest known-safe applications as recommended apps. This policy is deprecated due to the deprecation of the Azure Monitoring agent. Learn more at aka.ms/policydefdeprecation.
ConvertTo-Bylaw converted this policy, and proved that the file compiles back to the same definition.
Azure Policy JSONASC_AdaptiveApplicationControlsUpdate_Audit.json · 57 lines
{
"properties": {
"displayName": "[Deprecated]: Allowlist rules in your adaptive application control policy should be updated",
"policyType": "BuiltIn",
"mode": "All",
"description": "Monitor changes in behavior on machines audited by Azure Security Center's adaptive application controls. Security Center uses machine learning to suggest known-safe applications as recommended apps. This policy is deprecated due to the deprecation of the Azure Monitoring agent. Learn more at aka.ms/policydefdeprecation.",
"metadata": {
"version": "3.1.0-deprecated",
"category": "Security Center",
"deprecated": true
},
"version": "3.1.0",
"parameters": {
"effect": {
"type": "string",
"defaultValue": "Disabled",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
}
}
},
"policyRule": {
"if": {
"field": "type",
"in": [
"Microsoft.Compute/virtualMachines",
"Microsoft.ClassicCompute/virtualMachines"
]
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"type": "Microsoft.Security/assessments",
"name": "1234abcd-1b53-4fd4-9835-2c2fa3935313",
"existenceCondition": {
"field": "Microsoft.Security/assessments/status.code",
"in": [
"NotApplicable",
"Healthy"
]
}
}
}
},
"versions": [
"3.1.0",
"3.0.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/123a3936-f020-408a-ba0c-47873faf1534",
"name": "123a3936-f020-408a-ba0c-47873faf1534"
}Bylaw123a3936-f020-408a-ba0c-47873faf1534.bylaw.ps1 · 34 lines
# Converted from ASC_AdaptiveApplicationControlsUpdate_Audit.json by ConvertTo-Bylaw.
Policy '123a3936-f020-408a-ba0c-47873faf1534' {
Properties @{
DisplayName = '[Deprecated]: Allowlist rules in your adaptive application control policy should be updated'
Description = 'Monitor changes in behavior on machines audited by Azure Security Center''s adaptive application controls. Security Center uses machine learning to suggest known-safe applications as recommended apps. This policy is deprecated due to the deprecation of the Azure Monitoring agent. Learn more at aka.ms/policydefdeprecation.'
Version = '3.1.0-deprecated'
Category = 'Security Center'
Deprecated = $true
PolicyVersion = '3.1.0'
Mode = 'All'
}
Parameter Effect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Effect'
Description = 'Enable or disable the execution of the policy'
}
Resource * {
Require 'type is not one of 2 values' {
Field type | Must -Not -BeIn @('Microsoft.Compute/virtualMachines', 'Microsoft.ClassicCompute/virtualMachines') -IfPresent
}
}
AuditIfNotExists 'Microsoft.Security/assessments' -Name '1234abcd-1b53-4fd4-9835-2c2fa3935313' -Effect (Param Effect) {
Require 'status.code is one of 2 values' {
Field status.code | Must -BeIn @('NotApplicable', 'Healthy')
}
}
}Source: built-in-policies/policyDefinitions/Security Center/ASC_AdaptiveApplicationControlsUpdate_Audit.json in Azure/azure-policy, under the MIT licence.
Bylaw