Gallery › Guest Configuration › Azure built-in policies
[Deprecated]: Audit Windows VMs on which Windows Defender Exploit Guard is not enabled
Converted Initiative Version 1.0.0-deprecated Deprecated
This initiative deploys the policy requirements and audits Windows virtual machines on which Windows Defender Exploit Guard is not enabled. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol
ConvertTo-Bylaw converted this initiative, and proved that the file compiles back to the same definition.
Azure Policy JSONWindowsDefenderExploitGuard.json · 49 lines
{
"properties": {
"displayName": "[Deprecated]: Audit Windows VMs on which Windows Defender Exploit Guard is not enabled",
"policyType": "BuiltIn",
"description": "This initiative deploys the policy requirements and audits Windows virtual machines on which Windows Defender Exploit Guard is not enabled. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol",
"metadata": {
"version": "1.0.0-deprecated",
"category": "Guest Configuration",
"deprecated": true
},
"version": "1.0.0",
"parameters": {
"NotAvailableMachineState": {
"type": "string",
"metadata": {
"displayName": "State in which to show VMs on which Windows Defender Exploit Guard is not available",
"description": "Windows Defender Exploit Guard is only available starting with Windows 10/Windows Server with update 1709. Setting this value to 'Non-Compliant' will make machines with older versions on which Windows Defender Exploit Guard is not available (such as Windows Server 2012 R2) non-compliant. Setting this value to 'Compliant' will make these machines compliant."
},
"defaultValue": "Non-Compliant",
"allowedValues": [
"Compliant",
"Non-Compliant"
]
}
},
"policyDefinitions": [
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/6a7a2bcf-f9be-4e35-9734-4f9657a70f1d",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "Deploy_WindowsDefenderExploitGuard",
"parameters": {
"NotAvailableMachineState": {
"value": "[parameters('NotAvailableMachineState')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0d9b45ff-9ddd-43fc-bf59-fbd1c8423053",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "Audit_WindowsDefenderExploitGuard"
}
],
"versions": [
"1.0.0"
]
},
"id": "/providers/Microsoft.Authorization/policySetDefinitions/9d2fd8e6-95c8-410d-add0-43ada4241574",
"name": "9d2fd8e6-95c8-410d-add0-43ada4241574"
}Bylaw9d2fd8e6-95c8-410d-add0-43ada4241574.bylaw.ps1 · 36 lines
# Converted from WindowsDefenderExploitGuard.json by ConvertTo-Bylaw.
Initiative '9d2fd8e6-95c8-410d-add0-43ada4241574' {
Properties @{
DisplayName = '[Deprecated]: Audit Windows VMs on which Windows Defender Exploit Guard is not enabled'
Description = 'This initiative deploys the policy requirements and audits Windows virtual machines on which Windows Defender Exploit Guard is not enabled. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol'
Version = '1.0.0-deprecated'
Category = 'Guest Configuration'
Deprecated = $true
PolicyVersion = '1.0.0'
}
Parameter NotAvailableMachineState @{
Type = 'string'
AllowedValues = @('Compliant', 'Non-Compliant')
Default = 'Non-Compliant'
DisplayName = 'State in which to show VMs on which Windows Defender Exploit Guard is not available'
Description = 'Windows Defender Exploit Guard is only available starting with Windows 10/Windows Server with update 1709. Setting this value to ''Non-Compliant'' will make machines with older versions on which Windows Defender Exploit Guard is not available (such as Windows Server 2012 R2) non-compliant. Setting this value to ''Compliant'' will make these machines compliant.'
JsonName = 'NotAvailableMachineState'
}
PolicyDefinition @{
Id = '6a7a2bcf-f9be-4e35-9734-4f9657a70f1d'
ReferenceId = 'Deploy_WindowsDefenderExploitGuard'
Version = '1.*.*'
Parameters = @{
NotAvailableMachineState = (Param NotAvailableMachineState)
}
}
PolicyDefinition @{
Id = '0d9b45ff-9ddd-43fc-bf59-fbd1c8423053'
ReferenceId = 'Audit_WindowsDefenderExploitGuard'
Version = '1.*.*'
}
}Members (2)
- [Deprecated]: Deploy prerequisites to audit Windows VMs on which Windows Defender Exploit Guard is not enabled
- [Deprecated]: Show audit results from Windows VMs on which Windows Defender Exploit Guard is not enabled
Source: built-in-policies/policySetDefinitions/Guest Configuration/WindowsDefenderExploitGuard.json in Azure/azure-policy, under the MIT licence.
Bylaw