Gallery › Security Center › Azure built-in policies
[Deprecated]: Endpoint protection health issues should be resolved on your machines
Converted Policy AuditIfNotExists Disabled Mode All Version 1.1.0-deprecated Deprecated
Resolve endpoint protection health issues on your virtual machines to protect them from latest threats and vulnerabilities. Azure Security Center supported endpoint protection solutions are documented here - https://docs.microsoft.com/azure/security-center/security-center-services?tabs=features-windows#supported-endpoint-protection-solutions. Endpoint protection assessment is documented here - https://docs.microsoft.com/azure/security-center/security-center-endpoint-protection.
ConvertTo-Bylaw converted this policy, and proved that the file compiles back to the same definition.
{
"properties": {
"displayName": "[Deprecated]: Endpoint protection health issues should be resolved on your machines",
"policyType": "BuiltIn",
"mode": "All",
"description": "Resolve endpoint protection health issues on your virtual machines to protect them from latest threats and vulnerabilities. Azure Security Center supported endpoint protection solutions are documented here - https://docs.microsoft.com/azure/security-center/security-center-services?tabs=features-windows#supported-endpoint-protection-solutions. Endpoint protection assessment is documented here - https://docs.microsoft.com/azure/security-center/security-center-endpoint-protection.",
"metadata": {
"version": "1.1.0-deprecated",
"category": "Security Center",
"deprecated": true
},
"version": "1.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": {
"allOf": [
{
"field": "type",
"in": [
"Microsoft.Compute/virtualMachines",
"Microsoft.ClassicCompute/virtualMachines",
"Microsoft.HybridCompute/machines"
]
}
]
},
"then": {
"effect": "[parameters('effect')]",
"details": {
"type": "Microsoft.Security/assessments",
"name": "37a3689a-818e-4a0e-82ac-b1392b9bb000",
"existenceCondition": {
"field": "Microsoft.Security/assessments/status.code",
"in": [
"NotApplicable",
"Healthy"
]
}
}
}
},
"versions": [
"1.1.0",
"1.0.0"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/8e42c1f2-a2ab-49bc-994a-12bcd0dc4ac2",
"name": "8e42c1f2-a2ab-49bc-994a-12bcd0dc4ac2"
}# Converted from ASC_EndpointProtectionHealthIssues_Audit.json by ConvertTo-Bylaw.
Policy '8e42c1f2-a2ab-49bc-994a-12bcd0dc4ac2' {
Properties @{
DisplayName = '[Deprecated]: Endpoint protection health issues should be resolved on your machines'
Description = 'Resolve endpoint protection health issues on your virtual machines to protect them from latest threats and vulnerabilities. Azure Security Center supported endpoint protection solutions are documented here - https://docs.microsoft.com/azure/security-center/security-center-services?tabs=features-windows#supported-endpoint-protection-solutions. Endpoint protection assessment is documented here - https://docs.microsoft.com/azure/security-center/security-center-endpoint-protection.'
Version = '1.1.0-deprecated'
Category = 'Security Center'
Deprecated = $true
PolicyVersion = '1.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 3 values' {
Field type | Must -Not -BeIn @('Microsoft.Compute/virtualMachines', 'Microsoft.ClassicCompute/virtualMachines', 'Microsoft.HybridCompute/machines') -IfPresent
}
}
AuditIfNotExists 'Microsoft.Security/assessments' -Name '37a3689a-818e-4a0e-82ac-b1392b9bb000' -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_EndpointProtectionHealthIssues_Audit.json in Azure/azure-policy, under the MIT licence.
Bylaw