last sync: 2020-Nov-30 15:25:09 UTC

Azure Policy Initiative

[Deprecated]: Audit Windows VMs on which the specified services are not installed and 'Running'

Name[Deprecated]: Audit Windows VMs on which the specified services are not installed and 'Running'
Azure Portal
Id8eeec860-e2fa-4f89-a669-84942c57225f
Version1.0.0-deprecated
details on versioning
CategoryGuest Configuration
Microsoft docs
DescriptionThis initiative deploys the policy requirements and audits Windows virtual machines on which the specified services are not installed and 'Running'. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol
TypeBuiltIn
DeprecatedTrue
PreviewFalse
History
Date/Time (UTC ymd) (i) Changes
2020-09-09 11:24:08 Name change: 'Audit Windows VMs on which the specified services are not installed and 'Running'' to '[Deprecated]: Audit Windows VMs on which the specified services are not installed and 'Running''
Policy count Total Policies: 2
Builtin Policies: 2
Static Policies: 0
Policy used
Policy DisplayName Policy Id Category Effect State
[Deprecated]: Deploy prerequisites to audit Windows VMs on which the specified services are not installed and 'Running' 32b1e4d4-6cd5-47b4-a935-169da8a5c262 Guest Configuration Fixed: deployIfNotExists Deprecated
[Deprecated]: Show audit results from Windows VMs on which the specified services are not installed and 'Running' c2dd2a9a-8a20-4a9c-b8d6-f17ccc26939a Guest Configuration Fixed: auditIfNotExists Deprecated
Json
{
  "properties": {
  "displayName": "[Deprecated]: Audit Windows VMs on which the specified services are not installed and 'Running'",
    "policyType": "BuiltIn",
    "description": "This initiative deploys the policy requirements and audits Windows virtual machines on which the specified services are not installed and 'Running'. 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": {
      "ServiceName": {
        "type": "String",
        "metadata": {
        "displayName": "[Deprecated]: Service names (supports wildcards)",
          "description": "A semicolon-separated list of the names of the services that should be installed and 'Running'. e.g. 'WinRm;Wi*'"
        }
      }
    },
    "policyDefinitions": [
      {
        "policyDefinitionReferenceId": "Deploy_WindowsServiceStatus",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/32b1e4d4-6cd5-47b4-a935-169da8a5c262",
        "parameters": {
          "ServiceName": {
          "value": "[parameters('ServiceName')]"
          }
        }
      },
      {
        "policyDefinitionReferenceId": "Audit_WindowsServiceStatus",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/c2dd2a9a-8a20-4a9c-b8d6-f17ccc26939a"
      }
    ]
  },
  "id": "/providers/Microsoft.Authorization/policySetDefinitions/8eeec860-e2fa-4f89-a669-84942c57225f",
  "type": "Microsoft.Authorization/policySetDefinitions",
  "name": "8eeec860-e2fa-4f89-a669-84942c57225f"
}