last sync: 2020-Sep-30 14:32:32 UTC

Azure Policy Initiative

[Deprecated]: Audit Windows VMs that have not restarted within the specified number of days

Initiative DisplayName [Deprecated]: Audit Windows VMs that have not restarted within the specified number of days
Initiative Id b8b5b0a8-b809-4e5d-8082-382c686e35b7
Initiative Category Guest Configuration
Initiative Description This initiative deploys the policy requirements and audits Windows virtual machines that have not restarted within the specified number of days. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol
Initiative Type BuiltIn
Initiative Changes
Date/Time (UTC ymd) (i) Change(s)
2020-09-09 11:24:08 change DisplayName Name change: 'Audit Windows VMs that have not restarted within the specified number of days' to '[Deprecated]: Audit Windows VMs that have not restarted within the specified number of days'
2020-06-11 19:46:04 change DisplayName Name change: '[Preview]: Audit Windows VMs that have not restarted within the specified number of days' to 'Audit Windows VMs that have not restarted within the specified number of days'
Initiative Policies count Total Policies: 2
Builtin Policies: 2/2
Static Policies: 0/2
Initiative Policies
Policy DisplayName Policy Id
[Deprecated]: Show audit results from Windows VMs that have not restarted within the specified number of days 7e84ba44-6d03-46fd-950e-5efa5a1112fa
[Deprecated]: Deploy prerequisites to audit Windows VMs that have not restarted within the specified number of days f4b245d4-46c9-42be-9b1a-49e2b5b94194
Initiative Rule
{
  "properties": {
  "displayName": "[Deprecated]: Audit Windows VMs that have not restarted within the specified number of days",
    "policyType": "BuiltIn",
    "description": "This initiative deploys the policy requirements and audits Windows virtual machines that have not restarted within the specified number of days. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol",
    "metadata": {
      "version": "1.0.0-deprecated",
      "category": "Guest Configuration",
      "deprecated": true
    },
    "parameters": {
      "NumberOfDays": {
        "type": "String",
        "metadata": {
        "displayName": "[Deprecated]: Number of days",
          "description": "The number of days without restart until the machine is considered non-compliant"
        },
        "defaultValue": "12"
      }
    },
    "policyDefinitions": [
      {
        "policyDefinitionReferenceId": "Deploy_MachineLastBootUpTime",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f4b245d4-46c9-42be-9b1a-49e2b5b94194",
        "parameters": {
          "NumberOfDays": {
          "value": "[parameters('NumberOfDays')]"
          }
        }
      },
      {
        "policyDefinitionReferenceId": "Audit_MachineLastBootUpTime",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7e84ba44-6d03-46fd-950e-5efa5a1112fa"
      }
    ]
  },
  "id": "/providers/Microsoft.Authorization/policySetDefinitions/b8b5b0a8-b809-4e5d-8082-382c686e35b7",
  "type": "Microsoft.Authorization/policySetDefinitions",
  "name": "b8b5b0a8-b809-4e5d-8082-382c686e35b7"
}