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

Azure Policy Initiative

[Deprecated]: Audit Windows VMs on which the Log Analytics agent is not connected as expected

Name[Deprecated]: Audit Windows VMs on which the Log Analytics agent is not connected as expected
Azure Portal
Id06c5e415-a662-463a-bb85-ede14286b979
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 Log Analytics agent is not connected to the specified workspaces. 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 Log Analytics agent is not connected as expected' to '[Deprecated]: Audit Windows VMs on which the Log Analytics agent is not connected as expected'
2020-06-11 19:46:04 Name change: '[Preview]: Audit Windows VMs on which the Log Analytics agent is not connected as expected' to 'Audit Windows VMs on which the Log Analytics agent is not connected as expected'
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 Log Analytics agent is not connected as expected 68511db2-bd02-41c4-ae6b-1900a012968a Guest Configuration Fixed: deployIfNotExists Deprecated
[Deprecated]: Show audit results from Windows VMs on which the Log Analytics agent is not connected as expected a030a57e-4639-4e8f-ade9-a92f33afe7ee Guest Configuration Fixed: auditIfNotExists Deprecated
Json
{
  "properties": {
  "displayName": "[Deprecated]: Audit Windows VMs on which the Log Analytics agent is not connected as expected",
    "policyType": "BuiltIn",
    "description": "This initiative deploys the policy requirements and audits Windows virtual machines on which the Log Analytics agent is not connected to the specified workspaces. 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": {
      "WorkspaceId": {
        "type": "String",
        "metadata": {
        "displayName": "[Deprecated]: Connected workspace IDs",
          "description": "A semicolon-separated list of the workspace IDs that the Log Analytics agent should be connected to"
        }
      }
    },
    "policyDefinitions": [
      {
        "policyDefinitionReferenceId": "Deploy_WindowsLogAnalyticsAgentConnection",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/68511db2-bd02-41c4-ae6b-1900a012968a",
        "parameters": {
          "WorkspaceId": {
          "value": "[parameters('WorkspaceId')]"
          }
        }
      },
      {
        "policyDefinitionReferenceId": "Audit_WindowsLogAnalyticsAgentConnection",
        "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a030a57e-4639-4e8f-ade9-a92f33afe7ee"
      }
    ]
  },
  "id": "/providers/Microsoft.Authorization/policySetDefinitions/06c5e415-a662-463a-bb85-ede14286b979",
  "type": "Microsoft.Authorization/policySetDefinitions",
  "name": "06c5e415-a662-463a-bb85-ede14286b979"
}