{
    "properties": {
        "displayName": "Audit machines with insecure password security settings",
        "policyType": "BuiltIn",
        "description": "This initiative deploys the policy requirements and audits machines with insecure password security settings. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol",
        "metadata": {
            "version": "1.0.0",
            "category": "Guest Configuration"
        },
        "parameters": {
            "IncludeArcMachines": {
                "type": "string",
                "metadata": {
                    "displayName": "Include Arc connected servers",
                    "description": "By selecting this option, you agree to be charged monthly per Arc connected machine."
                },
                "allowedValues": [
                    "true",
                    "false"
                ],
                "defaultValue": "false"
            }
        },
        "policyDefinitions": [
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/4ceb8dc2-559c-478b-a15b-733fbf1e3738",
                "policyDefinitionReferenceId": "AINE_MaximumPasswordAge",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/237b38db-ca4d-4259-9e47-7882441ca2c0",
                "policyDefinitionReferenceId": "AINE_MinimumPasswordAge",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/bf16e0bb-31e1-4646-8202-60a235cc7e74",
                "policyDefinitionReferenceId": "AINE_PasswordMustMeetComplexityRequirements",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/da0f98fe-a24b-4ad5-af69-bd0400233661",
                "policyDefinitionReferenceId": "AINE_StorePasswordsUsingReversibleEncryption",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/5b054a0d-39e2-4d53-bea3-9734cad2c69b",
                "policyDefinitionReferenceId": "AINE_EnforcePasswordHistory",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a2d0e922-65d0-40c4-8f87-ea6da2d307a2",
                "policyDefinitionReferenceId": "AINE_MinimumPasswordLength",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ea53dbee-c6c9-4f0e-9f9e-de0039b78023",
                "policyDefinitionReferenceId": "AINE_PasswordPolicy_msid110",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e6955644-301c-44b5-a4c4-528577de6861",
                "policyDefinitionReferenceId": "AINE_PasswordPolicy_msid121",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f6ec09a3-78bf-4f8f-99dc-6c77182d0f99",
                "policyDefinitionReferenceId": "AINE_PasswordPolicy_msid232",
                "parameters": {
                    "IncludeArcMachines": {
                        "value": "[parameters('IncludeArcMachines')]"
                    }
                }
            }
        ]
    },
    "id": "/providers/Microsoft.Authorization/policySetDefinitions/095e4ed9-c835-4ab6-9439-b5644362a06c",
    "name": "095e4ed9-c835-4ab6-9439-b5644362a06c"
}