Gallery › Regulatory Compliance › Azure built-in policies
[Deprecated]: DoD Impact Level 4
Converted Initiative Version 9.10.0-deprecated Deprecated
This initiative includes policies that address a subset of DoD Impact Level 4 (IL4) controls. Additional policies will be added in upcoming releases. For more information, visit https://aka.ms/dodil4-initiative.
ConvertTo-Bylaw converted this initiative, and proved that the file compiles back to the same definition.
Azure Policy JSONDOD_IL4_audit.json · 963 lines
{
"properties": {
"displayName": "[Deprecated]: DoD Impact Level 4",
"policyType": "BuiltIn",
"description": "This initiative includes policies that address a subset of DoD Impact Level 4 (IL4) controls. Additional policies will be added in upcoming releases. For more information, visit https://aka.ms/dodil4-initiative.",
"metadata": {
"version": "9.10.0-deprecated",
"category": "Regulatory Compliance",
"deprecated": true
},
"version": "9.10.0",
"parameters": {
"IncludeArcMachines": {
"type": "string",
"metadata": {
"displayName": "Include Arc-connected servers when evaluating guest configuration policies",
"description": "By selecting 'true,' you agree to be charged monthly per Arc connected machine; for more information, visit https://aka.ms/policy-pricing"
},
"allowedValues": [
"true",
"false"
],
"defaultValue": "false"
},
"listOfAllowedLocationsForResourcesAndResourceGroups": {
"type": "Array",
"metadata": {
"displayName": "Allowed locations for resources and resource groups",
"description": "To see a complete list of regions use Get-AzLocation",
"strongType": "location",
"deprecated": true
},
"defaultValue": [
"eastus"
]
},
"membersToIncludeInAdministratorsLocalGroup": {
"type": "string",
"metadata": {
"displayName": "List of users that must be included in Windows VM Administrators group",
"description": "A semicolon-separated list of users that should be included in the Administrators local group; Ex: Administrator; myUser1; myUser2"
}
},
"membersToExcludeInAdministratorsLocalGroup": {
"type": "string",
"metadata": {
"displayName": "List of users excluded from Windows VM Administrators group",
"description": "A semicolon-separated list of users that should be excluded in the Administrators local group; Ex: Administrator; myUser1; myUser2"
}
},
"logAnalyticsWorkspaceIdForVMs": {
"type": "String",
"defaultValue": "",
"metadata": {
"displayName": "Log Analytics workspace ID for VM agent reporting",
"description": "ID (GUID) of the Log Analytics workspace where VMs agents should report",
"deprecated": true
}
},
"listOfResourceTypes": {
"type": "Array",
"metadata": {
"displayName": "List of resource types that should have resource logs enabled"
},
"defaultValue": [
"Microsoft.AnalysisServices/servers",
"Microsoft.ApiManagement/service",
"Microsoft.Network/applicationGateways",
"Microsoft.Automation/automationAccounts",
"Microsoft.ContainerInstance/containerGroups",
"Microsoft.ContainerRegistry/registries",
"Microsoft.ContainerService/managedClusters",
"Microsoft.Batch/batchAccounts",
"Microsoft.Cdn/profiles/endpoints",
"Microsoft.CognitiveServices/accounts",
"Microsoft.DocumentDB/databaseAccounts",
"Microsoft.DataFactory/factories",
"Microsoft.DataLakeAnalytics/accounts",
"Microsoft.DataLakeStore/accounts",
"Microsoft.EventGrid/eventSubscriptions",
"Microsoft.EventGrid/topics",
"Microsoft.EventHub/namespaces",
"Microsoft.Network/expressRouteCircuits",
"Microsoft.Network/azureFirewalls",
"Microsoft.HDInsight/clusters",
"Microsoft.Devices/IotHubs",
"Microsoft.KeyVault/vaults",
"Microsoft.Network/loadBalancers",
"Microsoft.Logic/integrationAccounts",
"Microsoft.Logic/workflows",
"Microsoft.DBforMySQL/servers",
"Microsoft.Network/networkInterfaces",
"Microsoft.Network/networkSecurityGroups",
"Microsoft.DBforPostgreSQL/servers",
"Microsoft.PowerBIDedicated/capacities",
"Microsoft.Network/publicIPAddresses",
"Microsoft.RecoveryServices/vaults",
"Microsoft.Cache/redis",
"Microsoft.Relay/namespaces",
"Microsoft.Search/searchServices",
"Microsoft.ServiceBus/namespaces",
"Microsoft.SignalRService/SignalR",
"Microsoft.Sql/servers/databases",
"Microsoft.Sql/servers/elasticPools",
"Microsoft.StreamAnalytics/streamingjobs",
"Microsoft.TimeSeriesInsights/environments",
"Microsoft.Network/trafficManagerProfiles",
"Microsoft.Compute/virtualMachines",
"Microsoft.Compute/virtualMachineScaleSets",
"Microsoft.Network/virtualNetworks",
"Microsoft.Network/virtualNetworkGateways"
],
"allowedValues": [
"Microsoft.AnalysisServices/servers",
"Microsoft.ApiManagement/service",
"Microsoft.Network/applicationGateways",
"Microsoft.Automation/automationAccounts",
"Microsoft.ContainerInstance/containerGroups",
"Microsoft.ContainerRegistry/registries",
"Microsoft.ContainerService/managedClusters",
"Microsoft.Batch/batchAccounts",
"Microsoft.Cdn/profiles/endpoints",
"Microsoft.CognitiveServices/accounts",
"Microsoft.DocumentDB/databaseAccounts",
"Microsoft.DataFactory/factories",
"Microsoft.DataLakeAnalytics/accounts",
"Microsoft.DataLakeStore/accounts",
"Microsoft.EventGrid/eventSubscriptions",
"Microsoft.EventGrid/topics",
"Microsoft.EventHub/namespaces",
"Microsoft.Network/expressRouteCircuits",
"Microsoft.Network/azureFirewalls",
"Microsoft.HDInsight/clusters",
"Microsoft.Devices/IotHubs",
"Microsoft.KeyVault/vaults",
"Microsoft.Network/loadBalancers",
"Microsoft.Logic/integrationAccounts",
"Microsoft.Logic/workflows",
"Microsoft.DBforMySQL/servers",
"Microsoft.Network/networkInterfaces",
"Microsoft.Network/networkSecurityGroups",
"Microsoft.DBforPostgreSQL/servers",
"Microsoft.PowerBIDedicated/capacities",
"Microsoft.Network/publicIPAddresses",
"Microsoft.RecoveryServices/vaults",
"Microsoft.Cache/redis",
"Microsoft.Relay/namespaces",
"Microsoft.Search/searchServices",
"Microsoft.ServiceBus/namespaces",
"Microsoft.SignalRService/SignalR",
"Microsoft.Sql/servers/databases",
"Microsoft.Sql/servers/elasticPools",
"Microsoft.StreamAnalytics/streamingjobs",
"Microsoft.TimeSeriesInsights/environments",
"Microsoft.Network/trafficManagerProfiles",
"Microsoft.Compute/virtualMachines",
"Microsoft.Compute/virtualMachineScaleSets",
"Microsoft.Network/virtualNetworks",
"Microsoft.Network/virtualNetworkGateways"
]
},
"listOfLocations": {
"type": "Array",
"metadata": {
"displayName": "List of regions where Network Watcher should be enabled",
"description": "To see a complete list of regions use Get-AzLocation",
"strongType": "location",
"deprecated": true
},
"defaultValue": [
"eastus"
]
},
"vulnerabilityAssessmentOnManagedInstanceMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Vulnerability assessment should be enabled on SQL Managed Instance",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"vulnerabilityAssessmentOnServerMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Vulnerability assessment should be enabled on your SQL servers",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"vulnerabilityAssessmentOnVirtualMachinesEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Vulnerability Assessment should be enabled on Virtual Machines",
"description": "Monitors vulnerabilities detected by Azure Security Center Vulnerability Assessment on Virtual Machines"
}
},
"geoRedundancyEnabledForStorageAccountsEffect": {
"type": "string",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Geo-redundant storage should be enabled for Storage Accounts",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"geoRedundancyEnabledForAzureDatabaseForMariaDBEffect": {
"type": "string",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Geo-redundant backup should be enabled for Azure Database for MariaDB",
"description": "Azure Policy effect for this policy; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"geoRedundancyEnabledForAzureDatabaseForMySQLEffect": {
"type": "string",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Geo-redundant backup should be enabled for Azure Database for MySQL",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"geoRedundancyEnabledForAzureDatabaseForPostgreSQLEffect": {
"type": "string",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Geo-redundant backup should be enabled for Azure Database for PostgreSQL",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"adaptiveNetworkHardeningsMonitoringEffect": {
"type": "string",
"defaultValue": "Disabled",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Adaptive network hardening recommendations should be applied on internet facing virtual machines",
"description": "Enable or disable the monitoring of Internet-facing virtual machines for Network Security Group traffic hardening recommendations",
"deprecated": true
}
},
"webAppEnforceHttpsMonitoringEffect": {
"type": "string",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Web Application should only be accessible over HTTPS",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"functionAppEnforceHttpsMonitoringEffect": {
"type": "string",
"defaultValue": "Audit",
"allowedValues": [
"Audit",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Function App should only be accessible over HTTPS",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"identityRemoveExternalAccountWithWritePermissionsMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: External accounts with write permissions should be removed from your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"identityRemoveExternalAccountWithReadPermissionsMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: External accounts with read permissions should be removed from your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"identityRemoveExternalAccountWithOwnerPermissionsMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: External accounts with owner permissions should be removed from your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"identityRemoveDeprecatedAccountWithOwnerPermissionsMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Deprecated accounts with owner permissions should be removed from your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"identityRemoveDeprecatedAccountMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Deprecated accounts should be removed from your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"webAppRestrictCORSAccessMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: CORS should not allow every resource to access your Web Applications",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"vmssSystemUpdatesMonitoringEffect": {
"type": "string",
"defaultValue": "Disabled",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: System updates on virtual machine scale sets should be installed",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects",
"deprecated": true
}
},
"identityEnableMFAForReadPermissionsMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: MFA should be enabled on accounts with read permissions on your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"identityEnableMFAForOwnerPermissionsMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: MFA should be enabled on accounts with owner permissions on your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"identityEnableMFAForWritePermissionsMonitoringEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: MFA should be enabled accounts with write permissions on your subscription",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
},
"longtermGeoRedundantBackupEnabledAzureSQLDatabasesEffect": {
"type": "string",
"defaultValue": "AuditIfNotExists",
"allowedValues": [
"AuditIfNotExists",
"Disabled"
],
"metadata": {
"displayName": "Effect for policy: Long-term geo-redundant backup should be enabled for Azure SQL Databases",
"description": "The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects"
}
}
},
"policyDefinitions": [
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/5752e6d6-1206-46d8-8ab1-ecc2f71a8112",
"definitionVersion": "4.*.*",
"policyDefinitionReferenceId": "AuditWindowsWebServersThatAreNotUsingSecureCommunicationProtocols",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0015ea4d-51ff-4ce3-8d8c-f3f8f0179a56",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "auditVirtualMachinesWithoutDisasterRecoveryConfigured",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a451c1ef-c6ca-483d-87ed-f49761e3ffb5",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "auditUsageOfCustomRBACRules",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b54ed75b-3e1a-44ac-a333-05ba39b99ff0",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "serviceFabricClustersShouldOnlyUseAzureActiveDirectoryForClientAuthentication",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/34c877ad-507e-4c82-993e-3452a6e0ad3c",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "auditUnrestrictedNetworkAccessToStorageAccounts",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/17k78e20-9358-41c9-923c-fb736d382a12",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "transparentDataEncryptionOnSqlDatabasesShouldBeEnabled",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/abfb4388-5bf4-4ad7-ba82-2cd2f41ceae9",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "advancedDataSecurityShouldBeEnabledOnYourSqlServers",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a6fb4358-5bf4-4ad7-ba82-2cd2f41ce5e9",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "auditSqlServerLevelAuditingSettings",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/abfb7388-5bf4-4ad7-ba99-2cd2f41cebb9",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "advancedDataSecurityShouldBeEnabledOnYourManagedInstances",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/404c3081-a854-4457-ae30-26a93ef643f9",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "auditSecureTransferToStorageAccounts",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/1f314764-cb73-4fc9-b863-8eca98ac36e9",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "anAzureActiveDirectoryAdministratorShouldBeProvisionedForSqlServers",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/22bee202-a82f-4305-9a2a-6d7f44d4dedb",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "OnlySecureConnectionsToYourRedisCacheShouldBeEnabled",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9daedab3-fb2d-461e-b861-71790eead4f6",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "previewMonitorUnprotectedNetworkEndpointsInAzureSecurityCenter",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/feedbf84-6b99-488c-acc2-71c829aa5ffc",
"definitionVersion": "4.*.*",
"policyDefinitionReferenceId": "vulnerabilitiesOnYourSqlDatabasesShouldBeRemediated",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b0f33259-77d7-4c9e-aac6-3aabcfae693c",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "justInTimeNetworkAccessControlShouldBeAppliedOnVirtualMachines",
"parameters": {}
},
{
"policyDefinitionReferenceId": "Prerequisite_AddSystemIdentityWhenNone",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/3cf2ab00-13f1-4d0c-8971-2ac904541a7e",
"definitionVersion": "4.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "Prerequisite_AddSystemIdentityWhenUser",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/497dff13-db2a-4c0f-8603-28fa3b331ab6",
"definitionVersion": "4.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "Prerequisite_DeployExtensionWindows",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/385f5831-96d4-41db-9a3c-cd3af78aaae6",
"definitionVersion": "1.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "Prerequisite_DeployExtensionLinux",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/331e8ea8-378a-410f-a2e5-ae22f38bb0da",
"definitionVersion": "3.*.*",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/da0f98fe-a24b-4ad5-af69-bd0400233661",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "previewAuditWindowsVmShouldNotStorePasswordsUsingReversibleEncryption",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a2d0e922-65d0-40c4-8f87-ea6da2d307a2",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "previewAuditWindowsVmPasswordsMustBeAtLeast14Characters",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/bf16e0bb-31e1-4646-8202-60a235cc7e74",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "previewAuditWindowsVmEnforcesPasswordComplexityRequirements",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/237b38db-ca4d-4259-9e47-7882441ca2c0",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "previewAuditWindowsVmMinimumPasswordAge1Day",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/4ceb8dc2-559c-478b-a15b-733fbf1e3738",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "previewAuditWindowsVmMaximumPasswordAge70Days",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/5b054a0d-39e2-4d53-bea3-9734cad2c69b",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "previewAuditWindowsVmShouldNotAllowPrevious24Passwords",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e6955644-301c-44b5-a4c4-528577de6861",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "previewAuditLinuxVmPasswdFilePermissions",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f6ec09a3-78bf-4f8f-99dc-6c77182d0f99",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "previewAuditLinuxVmAccountsWithNoPasswords",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ea53dbee-c6c9-4f0e-9f9e-de0039b78023",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "PreviewAuditLinuxVmAllowingRemoteConnectionsFromAccountsWithNoPasswords",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a7aca53f-2ed4-4466-a25e-0b45ade68efd",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "dDoSProtectionStandardShouldBeEnabled",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/cb510bfd-1cba-4d9f-a230-cb0976f4bb71",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "remoteDebuggingShouldBeTurnedOffForWebApplication",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0e60b895-3786-45da-8377-9c6b4b6ac5f9",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "remoteDebuggingShouldBeTurnedOffForFunctionApp",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/09024ccc-0c5f-475e-9457-b7c0d9ed487b",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "thereShouldBeMoreThanOneOwnerAssignedToYourSubscription",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/4f11b553-d42e-4e3a-89be-32ca364cad4c",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "aMaximumOf3OwnersShouldBeDesignatedForYourSubscription",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/1b7aa243-30e4-4c9e-bca8-d0d3022b634a",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "vulnerabilityAssessmentOnManagedInstanceMonitoring",
"parameters": {
"effect": {
"value": "[parameters('vulnerabilityAssessmentOnManagedInstanceMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/ef2a8f2a-b3d9-49cd-a8a8-9a3aaaf647d9",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "vulnerabilityAssessmentOnServerMonitoring",
"parameters": {
"effect": {
"value": "[parameters('vulnerabilityAssessmentOnServerMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/501541f7-f7e7-4cd6-868c-4190fdad3ac9",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "VulnerabilityAssessmentshouldbeenabledonVirtualMachines",
"parameters": {
"effect": {
"value": "[parameters('vulnerabilityAssessmentOnVirtualMachinesEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/bf045164-79ba-4215-8f95-f8048dc1780b",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "geoRedundantStorageShouldBeEnabledForStorageAccounts",
"parameters": {
"effect": {
"value": "[parameters('geoRedundancyEnabledForStorageAccountsEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0ec47710-77ff-4a3d-9181-6aa50af424d0",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "geoRedundantBackupShouldBeEnabledForAzureDatabaseForMariaDB",
"parameters": {
"effect": {
"value": "[parameters('geoRedundancyEnabledForAzureDatabaseForMariaDBEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/82339799-d096-41ae-8538-b108becf0970",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "geoRedundantBackupShouldBeEnabledForAzureDatabaseForMySQL",
"parameters": {
"effect": {
"value": "[parameters('geoRedundancyEnabledForAzureDatabaseForMySQLEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/48af4db5-9b8b-401c-8e74-076be876a430",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "geoRedundantBackupShouldBeEnabledForAzureDatabaseForPostgreSQL",
"parameters": {
"effect": {
"value": "[parameters('geoRedundancyEnabledForAzureDatabaseForPostgreSQLEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/30f71ea1-ac77-4f26-9fc5-2d926bbd4ba7",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "TheAdministratorsGroupDoesNotContainAllOfTheSpecifiedMembers",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"membersToInclude": {
"value": "[parameters('membersToIncludeInAdministratorsLocalGroup')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/69bf4abd-ca1e-4cf6-8b5a-762d42e61d4f",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "AuditWindowsVMsInWhichTheAdministratorsGroupContainsAnyOfTheSpecifiedMembers",
"parameters": {
"IncludeArcMachines": {
"value": "[parameters('IncludeArcMachines')]"
},
"membersToExclude": {
"value": "[parameters('membersToExcludeInAdministratorsLocalGroup')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7f89b1eb-583c-429a-8828-af049802c1d9",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "auditDiagnosticSetting",
"parameters": {
"listOfResourceTypes": {
"value": "[parameters('listOfResourceTypes')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a4af4a39-4135-47fb-b175-47fbdf85311d",
"definitionVersion": "4.*.*",
"policyDefinitionReferenceId": "webAppEnforceHttpsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('webAppEnforceHttpsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/6d555dd1-86f2-4f1c-8ed7-5abae7c6cbab",
"definitionVersion": "5.*.*",
"policyDefinitionReferenceId": "functionAppEnforceHttpsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('functionAppEnforceHttpsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/94e1c2ac-cbbe-4cac-a2b5-389c812dee87",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityRemoveExternalAccountWithWritePermissionsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityRemoveExternalAccountWithWritePermissionsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e9ac8f8e-ce22-4355-8f04-99b911d6be52",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityRemoveExternalAccountWithReadPermissionsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityRemoveExternalAccountWithReadPermissionsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/339353f6-2387-4a45-abe4-7f529d121046",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityRemoveExternalAccountWithOwnerPermissionsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityRemoveExternalAccountWithOwnerPermissionsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0cfea604-3201-4e14-88fc-fae4c427a6c5",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityRemoveDeprecatedAccountWithOwnerPermissionsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityRemoveDeprecatedAccountWithOwnerPermissionsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/8d7e1fde-fe26-4b5f-8108-f8e432cbc2be",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityRemoveDeprecatedAccountMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityRemoveDeprecatedAccountMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/5744710e-cc2f-4ee8-8809-3b11e89f4bc9",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "webAppRestrictCORSAccessMonitoring",
"parameters": {
"effect": {
"value": "[parameters('webAppRestrictCORSAccessMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/931e118d-50a1-4457-a5e4-78550e086c52",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityEnableMFAForWritePermissionsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityEnableMFAForWritePermissionsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/81b3ccb4-e6e8-4e4a-8d05-5df25cd29fd4",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityEnableMFAForReadPermissionsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityEnableMFAForReadPermissionsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e3e008c3-56b9-4133-8fd7-d3347377402a",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "identityEnableMFAForOwnerPermissionsMonitoring",
"parameters": {
"effect": {
"value": "[parameters('identityEnableMFAForOwnerPermissionsMonitoringEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/d38fc420-0735-4ef3-ac11-c806f651a570",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "longtermGeoRedundantBackupEnabledAzureSQLDatabases",
"parameters": {
"effect": {
"value": "[parameters('longtermGeoRedundantBackupEnabledAzureSQLDatabasesEffect')]"
}
}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/e2c1c086-2d84-4019-bff3-c44ccd95113c",
"definitionVersion": "4.*.*",
"policyDefinitionReferenceId": "ensureHTTPVersionLatestForFunctionApp",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/8c122334-9d20-4eb8-89ea-ac9a705b74ae",
"definitionVersion": "4.*.*",
"policyDefinitionReferenceId": "ensureHTTPVersionLatestForWebApp",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f9d614c5-c173-4d56-95a7-b4437057d193",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "ensureTLSVersionLatestForFunctionApp",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f0e6e85b-9b9f-4a4b-b67b-f730d42f1b0b",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "ensureTLSVersionLatestForWebApp",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/fb893a29-21bb-418c-a157-e99480ec364c",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "kubernetesServicesUpgradedToNonVulnerableKubernetesVersion",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/0b15565f-aa9e-48ba-8619-45960f2c314d",
"definitionVersion": "2.*.*",
"policyDefinitionReferenceId": "emailNotificationToSubscriptionOwnerHighSeverityAlertsEnabled",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/4f4f78b8-e367-4b10-a341-d9a4ad5cf1c7",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "securityContactEmailAddressForSubscription",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/9b597639-28e4-48eb-b506-56b05d366257",
"definitionVersion": "1.*.*",
"policyDefinitionReferenceId": "microsftIaaSAntimalwareExtensionShouldBeDeployedOnWindowsServers",
"parameters": {}
},
{
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/b6e2945c-0b7b-40f5-9233-7a5323b5cdc6",
"definitionVersion": "3.*.*",
"policyDefinitionReferenceId": "NetworkWatcherShouldBeEnabled",
"parameters": {}
}
],
"versions": [
"9.10.0",
"9.9.0",
"9.8.0",
"9.7.0",
"9.6.0",
"9.5.0",
"9.4.0",
"9.3.0",
"9.2.0"
]
},
"id": "/providers/Microsoft.Authorization/policySetDefinitions/8d792a84-723c-4d92-a3c3-e4ed16a2d133",
"name": "8d792a84-723c-4d92-a3c3-e4ed16a2d133"
}Bylaw8d792a84-723c-4d92-a3c3-e4ed16a2d133.bylaw.ps1 · 684 lines
# Converted from DOD_IL4_audit.json by ConvertTo-Bylaw.
Initiative '8d792a84-723c-4d92-a3c3-e4ed16a2d133' {
Properties @{
DisplayName = '[Deprecated]: DoD Impact Level 4'
Description = 'This initiative includes policies that address a subset of DoD Impact Level 4 (IL4) controls. Additional policies will be added in upcoming releases. For more information, visit https://aka.ms/dodil4-initiative.'
Version = '9.10.0-deprecated'
Category = 'Regulatory Compliance'
Deprecated = $true
PolicyVersion = '9.10.0'
}
Parameter IncludeArcMachines @{
Type = 'string'
AllowedValues = @('true', 'false')
Default = 'false'
DisplayName = 'Include Arc-connected servers when evaluating guest configuration policies'
Description = 'By selecting ''true,'' you agree to be charged monthly per Arc connected machine; for more information, visit https://aka.ms/policy-pricing'
JsonName = 'IncludeArcMachines'
}
Parameter ListOfAllowedLocationsForResourcesAndResourceGroups @{
Type = 'Array'
Default = @('eastus')
DisplayName = 'Allowed locations for resources and resource groups'
Description = 'To see a complete list of regions use Get-AzLocation'
Metadata = [ordered]@{ strongType = 'location'; deprecated = $true }
}
Parameter MembersToIncludeInAdministratorsLocalGroup @{
Type = 'string'
DisplayName = 'List of users that must be included in Windows VM Administrators group'
Description = 'A semicolon-separated list of users that should be included in the Administrators local group; Ex: Administrator; myUser1; myUser2'
}
Parameter MembersToExcludeInAdministratorsLocalGroup @{
Type = 'string'
DisplayName = 'List of users excluded from Windows VM Administrators group'
Description = 'A semicolon-separated list of users that should be excluded in the Administrators local group; Ex: Administrator; myUser1; myUser2'
}
Parameter LogAnalyticsWorkspaceIdForVMs @{
Default = ''
DisplayName = 'Log Analytics workspace ID for VM agent reporting'
Description = 'ID (GUID) of the Log Analytics workspace where VMs agents should report'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter ListOfResourceTypes @{
Type = 'Array'
AllowedValues = @('Microsoft.AnalysisServices/servers', 'Microsoft.ApiManagement/service', 'Microsoft.Network/applicationGateways', 'Microsoft.Automation/automationAccounts', 'Microsoft.ContainerInstance/containerGroups', 'Microsoft.ContainerRegistry/registries', 'Microsoft.ContainerService/managedClusters', 'Microsoft.Batch/batchAccounts', 'Microsoft.Cdn/profiles/endpoints', 'Microsoft.CognitiveServices/accounts', 'Microsoft.DocumentDB/databaseAccounts', 'Microsoft.DataFactory/factories', 'Microsoft.DataLakeAnalytics/accounts', 'Microsoft.DataLakeStore/accounts', 'Microsoft.EventGrid/eventSubscriptions', 'Microsoft.EventGrid/topics', 'Microsoft.EventHub/namespaces', 'Microsoft.Network/expressRouteCircuits', 'Microsoft.Network/azureFirewalls', 'Microsoft.HDInsight/clusters', 'Microsoft.Devices/IotHubs', 'Microsoft.KeyVault/vaults', 'Microsoft.Network/loadBalancers', 'Microsoft.Logic/integrationAccounts', 'Microsoft.Logic/workflows', 'Microsoft.DBforMySQL/servers', 'Microsoft.Network/networkInterfaces', 'Microsoft.Network/networkSecurityGroups', 'Microsoft.DBforPostgreSQL/servers', 'Microsoft.PowerBIDedicated/capacities', 'Microsoft.Network/publicIPAddresses', 'Microsoft.RecoveryServices/vaults', 'Microsoft.Cache/redis', 'Microsoft.Relay/namespaces', 'Microsoft.Search/searchServices', 'Microsoft.ServiceBus/namespaces', 'Microsoft.SignalRService/SignalR', 'Microsoft.Sql/servers/databases', 'Microsoft.Sql/servers/elasticPools', 'Microsoft.StreamAnalytics/streamingjobs', 'Microsoft.TimeSeriesInsights/environments', 'Microsoft.Network/trafficManagerProfiles', 'Microsoft.Compute/virtualMachines', 'Microsoft.Compute/virtualMachineScaleSets', 'Microsoft.Network/virtualNetworks', 'Microsoft.Network/virtualNetworkGateways')
Default = @('Microsoft.AnalysisServices/servers', 'Microsoft.ApiManagement/service', 'Microsoft.Network/applicationGateways', 'Microsoft.Automation/automationAccounts', 'Microsoft.ContainerInstance/containerGroups', 'Microsoft.ContainerRegistry/registries', 'Microsoft.ContainerService/managedClusters', 'Microsoft.Batch/batchAccounts', 'Microsoft.Cdn/profiles/endpoints', 'Microsoft.CognitiveServices/accounts', 'Microsoft.DocumentDB/databaseAccounts', 'Microsoft.DataFactory/factories', 'Microsoft.DataLakeAnalytics/accounts', 'Microsoft.DataLakeStore/accounts', 'Microsoft.EventGrid/eventSubscriptions', 'Microsoft.EventGrid/topics', 'Microsoft.EventHub/namespaces', 'Microsoft.Network/expressRouteCircuits', 'Microsoft.Network/azureFirewalls', 'Microsoft.HDInsight/clusters', 'Microsoft.Devices/IotHubs', 'Microsoft.KeyVault/vaults', 'Microsoft.Network/loadBalancers', 'Microsoft.Logic/integrationAccounts', 'Microsoft.Logic/workflows', 'Microsoft.DBforMySQL/servers', 'Microsoft.Network/networkInterfaces', 'Microsoft.Network/networkSecurityGroups', 'Microsoft.DBforPostgreSQL/servers', 'Microsoft.PowerBIDedicated/capacities', 'Microsoft.Network/publicIPAddresses', 'Microsoft.RecoveryServices/vaults', 'Microsoft.Cache/redis', 'Microsoft.Relay/namespaces', 'Microsoft.Search/searchServices', 'Microsoft.ServiceBus/namespaces', 'Microsoft.SignalRService/SignalR', 'Microsoft.Sql/servers/databases', 'Microsoft.Sql/servers/elasticPools', 'Microsoft.StreamAnalytics/streamingjobs', 'Microsoft.TimeSeriesInsights/environments', 'Microsoft.Network/trafficManagerProfiles', 'Microsoft.Compute/virtualMachines', 'Microsoft.Compute/virtualMachineScaleSets', 'Microsoft.Network/virtualNetworks', 'Microsoft.Network/virtualNetworkGateways')
DisplayName = 'List of resource types that should have resource logs enabled'
}
Parameter ListOfLocations @{
Type = 'Array'
Default = @('eastus')
DisplayName = 'List of regions where Network Watcher should be enabled'
Description = 'To see a complete list of regions use Get-AzLocation'
Metadata = [ordered]@{ strongType = 'location'; deprecated = $true }
}
Parameter VulnerabilityAssessmentOnManagedInstanceMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: Vulnerability assessment should be enabled on SQL Managed Instance'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter VulnerabilityAssessmentOnServerMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: Vulnerability assessment should be enabled on your SQL servers'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter VulnerabilityAssessmentOnVirtualMachinesEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Vulnerability Assessment should be enabled on Virtual Machines'
Description = 'Monitors vulnerabilities detected by Azure Security Center Vulnerability Assessment on Virtual Machines'
}
Parameter GeoRedundancyEnabledForStorageAccountsEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect for policy: Geo-redundant storage should be enabled for Storage Accounts'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter GeoRedundancyEnabledForAzureDatabaseForMariaDBEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect for policy: Geo-redundant backup should be enabled for Azure Database for MariaDB'
Description = 'Azure Policy effect for this policy; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter GeoRedundancyEnabledForAzureDatabaseForMySQLEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect for policy: Geo-redundant backup should be enabled for Azure Database for MySQL'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter GeoRedundancyEnabledForAzureDatabaseForPostgreSQLEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect for policy: Geo-redundant backup should be enabled for Azure Database for PostgreSQL'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter AdaptiveNetworkHardeningsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Adaptive network hardening recommendations should be applied on internet facing virtual machines'
Description = 'Enable or disable the monitoring of Internet-facing virtual machines for Network Security Group traffic hardening recommendations'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter WebAppEnforceHttpsMonitoringEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect for policy: Web Application should only be accessible over HTTPS'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter FunctionAppEnforceHttpsMonitoringEffect @{
Type = 'string'
AllowedValues = @('Audit', 'Disabled')
Default = 'Audit'
DisplayName = 'Effect for policy: Function App should only be accessible over HTTPS'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter IdentityRemoveExternalAccountWithWritePermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: External accounts with write permissions should be removed from your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter IdentityRemoveExternalAccountWithReadPermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: External accounts with read permissions should be removed from your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter IdentityRemoveExternalAccountWithOwnerPermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: External accounts with owner permissions should be removed from your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter IdentityRemoveDeprecatedAccountWithOwnerPermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: Deprecated accounts with owner permissions should be removed from your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter IdentityRemoveDeprecatedAccountMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: Deprecated accounts should be removed from your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter WebAppRestrictCORSAccessMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: CORS should not allow every resource to access your Web Applications'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter VmssSystemUpdatesMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'Disabled'
DisplayName = 'Effect for policy: System updates on virtual machine scale sets should be installed'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
Metadata = [ordered]@{ deprecated = $true }
}
Parameter IdentityEnableMFAForReadPermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: MFA should be enabled on accounts with read permissions on your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter IdentityEnableMFAForOwnerPermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: MFA should be enabled on accounts with owner permissions on your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter IdentityEnableMFAForWritePermissionsMonitoringEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: MFA should be enabled accounts with write permissions on your subscription'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
Parameter LongtermGeoRedundantBackupEnabledAzureSQLDatabasesEffect @{
Type = 'string'
AllowedValues = @('AuditIfNotExists', 'Disabled')
Default = 'AuditIfNotExists'
DisplayName = 'Effect for policy: Long-term geo-redundant backup should be enabled for Azure SQL Databases'
Description = 'The effect determines what happens when the policy rule is evaluated to match; for more information about effects, visit https://aka.ms/policyeffects'
}
PolicyDefinition @{
Id = '5752e6d6-1206-46d8-8ab1-ecc2f71a8112'
ReferenceId = 'AuditWindowsWebServersThatAreNotUsingSecureCommunicationProtocols'
Version = '4.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = '0015ea4d-51ff-4ce3-8d8c-f3f8f0179a56'
ReferenceId = 'auditVirtualMachinesWithoutDisasterRecoveryConfigured'
Version = '1.*.*'
}
PolicyDefinition -Id 'a451c1ef-c6ca-483d-87ed-f49761e3ffb5' -ReferenceId 'auditUsageOfCustomRBACRules' -Version '1.*.*'
PolicyDefinition @{
Id = 'b54ed75b-3e1a-44ac-a333-05ba39b99ff0'
ReferenceId = 'serviceFabricClustersShouldOnlyUseAzureActiveDirectoryForClientAuthentication'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '34c877ad-507e-4c82-993e-3452a6e0ad3c'
ReferenceId = 'auditUnrestrictedNetworkAccessToStorageAccounts'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '/providers/Microsoft.Authorization/policyDefinitions/17k78e20-9358-41c9-923c-fb736d382a12'
ReferenceId = 'transparentDataEncryptionOnSqlDatabasesShouldBeEnabled'
Version = '2.*.*'
}
PolicyDefinition @{
Id = 'abfb4388-5bf4-4ad7-ba82-2cd2f41ceae9'
ReferenceId = 'advancedDataSecurityShouldBeEnabledOnYourSqlServers'
Version = '2.*.*'
}
PolicyDefinition @{
Id = 'a6fb4358-5bf4-4ad7-ba82-2cd2f41ce5e9'
ReferenceId = 'auditSqlServerLevelAuditingSettings'
Version = '2.*.*'
}
PolicyDefinition @{
Id = 'abfb7388-5bf4-4ad7-ba99-2cd2f41cebb9'
ReferenceId = 'advancedDataSecurityShouldBeEnabledOnYourManagedInstances'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '404c3081-a854-4457-ae30-26a93ef643f9'
ReferenceId = 'auditSecureTransferToStorageAccounts'
Version = '2.*.*'
}
PolicyDefinition @{
Id = '1f314764-cb73-4fc9-b863-8eca98ac36e9'
ReferenceId = 'anAzureActiveDirectoryAdministratorShouldBeProvisionedForSqlServers'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '22bee202-a82f-4305-9a2a-6d7f44d4dedb'
ReferenceId = 'OnlySecureConnectionsToYourRedisCacheShouldBeEnabled'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '9daedab3-fb2d-461e-b861-71790eead4f6'
ReferenceId = 'previewMonitorUnprotectedNetworkEndpointsInAzureSecurityCenter'
Version = '3.*.*'
}
PolicyDefinition @{
Id = 'feedbf84-6b99-488c-acc2-71c829aa5ffc'
ReferenceId = 'vulnerabilitiesOnYourSqlDatabasesShouldBeRemediated'
Version = '4.*.*'
}
PolicyDefinition @{
Id = 'b0f33259-77d7-4c9e-aac6-3aabcfae693c'
ReferenceId = 'justInTimeNetworkAccessControlShouldBeAppliedOnVirtualMachines'
Version = '3.*.*'
}
PolicyDefinition @{
Id = '3cf2ab00-13f1-4d0c-8971-2ac904541a7e'
ReferenceId = 'Prerequisite_AddSystemIdentityWhenNone'
Version = '4.*.*'
}
PolicyDefinition @{
Id = '497dff13-db2a-4c0f-8603-28fa3b331ab6'
ReferenceId = 'Prerequisite_AddSystemIdentityWhenUser'
Version = '4.*.*'
}
PolicyDefinition @{
Id = '385f5831-96d4-41db-9a3c-cd3af78aaae6'
ReferenceId = 'Prerequisite_DeployExtensionWindows'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '331e8ea8-378a-410f-a2e5-ae22f38bb0da'
ReferenceId = 'Prerequisite_DeployExtensionLinux'
Version = '3.*.*'
}
PolicyDefinition @{
Id = 'da0f98fe-a24b-4ad5-af69-bd0400233661'
ReferenceId = 'previewAuditWindowsVmShouldNotStorePasswordsUsingReversibleEncryption'
Version = '2.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = 'a2d0e922-65d0-40c4-8f87-ea6da2d307a2'
ReferenceId = 'previewAuditWindowsVmPasswordsMustBeAtLeast14Characters'
Version = '2.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = 'bf16e0bb-31e1-4646-8202-60a235cc7e74'
ReferenceId = 'previewAuditWindowsVmEnforcesPasswordComplexityRequirements'
Version = '2.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = '237b38db-ca4d-4259-9e47-7882441ca2c0'
ReferenceId = 'previewAuditWindowsVmMinimumPasswordAge1Day'
Version = '2.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = '4ceb8dc2-559c-478b-a15b-733fbf1e3738'
ReferenceId = 'previewAuditWindowsVmMaximumPasswordAge70Days'
Version = '2.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = '5b054a0d-39e2-4d53-bea3-9734cad2c69b'
ReferenceId = 'previewAuditWindowsVmShouldNotAllowPrevious24Passwords'
Version = '2.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = 'e6955644-301c-44b5-a4c4-528577de6861'
ReferenceId = 'previewAuditLinuxVmPasswdFilePermissions'
Version = '3.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = 'f6ec09a3-78bf-4f8f-99dc-6c77182d0f99'
ReferenceId = 'previewAuditLinuxVmAccountsWithNoPasswords'
Version = '3.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = 'ea53dbee-c6c9-4f0e-9f9e-de0039b78023'
ReferenceId = 'PreviewAuditLinuxVmAllowingRemoteConnectionsFromAccountsWithNoPasswords'
Version = '3.*.*'
Parameters = @{
IncludeArcMachines = (Param IncludeArcMachines)
}
}
PolicyDefinition @{
Id = 'a7aca53f-2ed4-4466-a25e-0b45ade68efd'
ReferenceId = 'dDoSProtectionStandardShouldBeEnabled'
Version = '3.*.*'
}
PolicyDefinition @{
Id = 'cb510bfd-1cba-4d9f-a230-cb0976f4bb71'
ReferenceId = 'remoteDebuggingShouldBeTurnedOffForWebApplication'
Version = '2.*.*'
}
PolicyDefinition @{
Id = '0e60b895-3786-45da-8377-9c6b4b6ac5f9'
ReferenceId = 'remoteDebuggingShouldBeTurnedOffForFunctionApp'
Version = '2.*.*'
}
PolicyDefinition @{
Id = '09024ccc-0c5f-475e-9457-b7c0d9ed487b'
ReferenceId = 'thereShouldBeMoreThanOneOwnerAssignedToYourSubscription'
Version = '3.*.*'
}
PolicyDefinition @{
Id = '4f11b553-d42e-4e3a-89be-32ca364cad4c'
ReferenceId = 'aMaximumOf3OwnersShouldBeDesignatedForYourSubscription'
Version = '3.*.*'
}
PolicyDefinition @{
Id = '1b7aa243-30e4-4c9e-bca8-d0d3022b634a'
ReferenceId = 'vulnerabilityAssessmentOnManagedInstanceMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param VulnerabilityAssessmentOnManagedInstanceMonitoringEffect)
}
}
PolicyDefinition @{
Id = 'ef2a8f2a-b3d9-49cd-a8a8-9a3aaaf647d9'
ReferenceId = 'vulnerabilityAssessmentOnServerMonitoring'
Version = '3.*.*'
Parameters = @{
effect = (Param VulnerabilityAssessmentOnServerMonitoringEffect)
}
}
PolicyDefinition @{
Id = '501541f7-f7e7-4cd6-868c-4190fdad3ac9'
ReferenceId = 'VulnerabilityAssessmentshouldbeenabledonVirtualMachines'
Version = '3.*.*'
Parameters = @{
effect = (Param VulnerabilityAssessmentOnVirtualMachinesEffect)
}
}
PolicyDefinition @{
Id = 'bf045164-79ba-4215-8f95-f8048dc1780b'
ReferenceId = 'geoRedundantStorageShouldBeEnabledForStorageAccounts'
Version = '1.*.*'
Parameters = @{
effect = (Param GeoRedundancyEnabledForStorageAccountsEffect)
}
}
PolicyDefinition @{
Id = '0ec47710-77ff-4a3d-9181-6aa50af424d0'
ReferenceId = 'geoRedundantBackupShouldBeEnabledForAzureDatabaseForMariaDB'
Version = '1.*.*'
Parameters = @{
effect = (Param GeoRedundancyEnabledForAzureDatabaseForMariaDBEffect)
}
}
PolicyDefinition @{
Id = '82339799-d096-41ae-8538-b108becf0970'
ReferenceId = 'geoRedundantBackupShouldBeEnabledForAzureDatabaseForMySQL'
Version = '1.*.*'
Parameters = @{
effect = (Param GeoRedundancyEnabledForAzureDatabaseForMySQLEffect)
}
}
PolicyDefinition @{
Id = '48af4db5-9b8b-401c-8e74-076be876a430'
ReferenceId = 'geoRedundantBackupShouldBeEnabledForAzureDatabaseForPostgreSQL'
Version = '1.*.*'
Parameters = @{
effect = (Param GeoRedundancyEnabledForAzureDatabaseForPostgreSQLEffect)
}
}
PolicyDefinition @{
Id = '30f71ea1-ac77-4f26-9fc5-2d926bbd4ba7'
ReferenceId = 'TheAdministratorsGroupDoesNotContainAllOfTheSpecifiedMembers'
Version = '2.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
membersToInclude = (Param MembersToIncludeInAdministratorsLocalGroup)
}
}
PolicyDefinition @{
Id = '69bf4abd-ca1e-4cf6-8b5a-762d42e61d4f'
ReferenceId = 'AuditWindowsVMsInWhichTheAdministratorsGroupContainsAnyOfTheSpecifiedMembers'
Version = '2.*.*'
Parameters = [ordered]@{
IncludeArcMachines = (Param IncludeArcMachines)
membersToExclude = (Param MembersToExcludeInAdministratorsLocalGroup)
}
}
PolicyDefinition @{
Id = '7f89b1eb-583c-429a-8828-af049802c1d9'
ReferenceId = 'auditDiagnosticSetting'
Version = '2.*.*'
Parameters = @{
listOfResourceTypes = (Param ListOfResourceTypes)
}
}
PolicyDefinition @{
Id = 'a4af4a39-4135-47fb-b175-47fbdf85311d'
ReferenceId = 'webAppEnforceHttpsMonitoring'
Version = '4.*.*'
Parameters = @{
effect = (Param WebAppEnforceHttpsMonitoringEffect)
}
}
PolicyDefinition @{
Id = '6d555dd1-86f2-4f1c-8ed7-5abae7c6cbab'
ReferenceId = 'functionAppEnforceHttpsMonitoring'
Version = '5.*.*'
Parameters = @{
effect = (Param FunctionAppEnforceHttpsMonitoringEffect)
}
}
PolicyDefinition @{
Id = '94e1c2ac-cbbe-4cac-a2b5-389c812dee87'
ReferenceId = 'identityRemoveExternalAccountWithWritePermissionsMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityRemoveExternalAccountWithWritePermissionsMonitoringEffect)
}
}
PolicyDefinition @{
Id = 'e9ac8f8e-ce22-4355-8f04-99b911d6be52'
ReferenceId = 'identityRemoveExternalAccountWithReadPermissionsMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityRemoveExternalAccountWithReadPermissionsMonitoringEffect)
}
}
PolicyDefinition @{
Id = '339353f6-2387-4a45-abe4-7f529d121046'
ReferenceId = 'identityRemoveExternalAccountWithOwnerPermissionsMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityRemoveExternalAccountWithOwnerPermissionsMonitoringEffect)
}
}
PolicyDefinition @{
Id = '0cfea604-3201-4e14-88fc-fae4c427a6c5'
ReferenceId = 'identityRemoveDeprecatedAccountWithOwnerPermissionsMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityRemoveDeprecatedAccountWithOwnerPermissionsMonitoringEffect)
}
}
PolicyDefinition @{
Id = '8d7e1fde-fe26-4b5f-8108-f8e432cbc2be'
ReferenceId = 'identityRemoveDeprecatedAccountMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityRemoveDeprecatedAccountMonitoringEffect)
}
}
PolicyDefinition @{
Id = '5744710e-cc2f-4ee8-8809-3b11e89f4bc9'
ReferenceId = 'webAppRestrictCORSAccessMonitoring'
Version = '2.*.*'
Parameters = @{
effect = (Param WebAppRestrictCORSAccessMonitoringEffect)
}
}
PolicyDefinition @{
Id = '931e118d-50a1-4457-a5e4-78550e086c52'
ReferenceId = 'identityEnableMFAForWritePermissionsMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityEnableMFAForWritePermissionsMonitoringEffect)
}
}
PolicyDefinition @{
Id = '81b3ccb4-e6e8-4e4a-8d05-5df25cd29fd4'
ReferenceId = 'identityEnableMFAForReadPermissionsMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityEnableMFAForReadPermissionsMonitoringEffect)
}
}
PolicyDefinition @{
Id = 'e3e008c3-56b9-4133-8fd7-d3347377402a'
ReferenceId = 'identityEnableMFAForOwnerPermissionsMonitoring'
Version = '1.*.*'
Parameters = @{
effect = (Param IdentityEnableMFAForOwnerPermissionsMonitoringEffect)
}
}
PolicyDefinition @{
Id = 'd38fc420-0735-4ef3-ac11-c806f651a570'
ReferenceId = 'longtermGeoRedundantBackupEnabledAzureSQLDatabases'
Version = '2.*.*'
Parameters = @{
effect = (Param LongtermGeoRedundantBackupEnabledAzureSQLDatabasesEffect)
}
}
PolicyDefinition @{
Id = 'e2c1c086-2d84-4019-bff3-c44ccd95113c'
ReferenceId = 'ensureHTTPVersionLatestForFunctionApp'
Version = '4.*.*'
}
PolicyDefinition @{
Id = '8c122334-9d20-4eb8-89ea-ac9a705b74ae'
ReferenceId = 'ensureHTTPVersionLatestForWebApp'
Version = '4.*.*'
}
PolicyDefinition @{
Id = 'f9d614c5-c173-4d56-95a7-b4437057d193'
ReferenceId = 'ensureTLSVersionLatestForFunctionApp'
Version = '2.*.*'
}
PolicyDefinition @{
Id = 'f0e6e85b-9b9f-4a4b-b67b-f730d42f1b0b'
ReferenceId = 'ensureTLSVersionLatestForWebApp'
Version = '2.*.*'
}
PolicyDefinition @{
Id = 'fb893a29-21bb-418c-a157-e99480ec364c'
ReferenceId = 'kubernetesServicesUpgradedToNonVulnerableKubernetesVersion'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '0b15565f-aa9e-48ba-8619-45960f2c314d'
ReferenceId = 'emailNotificationToSubscriptionOwnerHighSeverityAlertsEnabled'
Version = '2.*.*'
}
PolicyDefinition @{
Id = '4f4f78b8-e367-4b10-a341-d9a4ad5cf1c7'
ReferenceId = 'securityContactEmailAddressForSubscription'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '9b597639-28e4-48eb-b506-56b05d366257'
ReferenceId = 'microsftIaaSAntimalwareExtensionShouldBeDeployedOnWindowsServers'
Version = '1.*.*'
}
PolicyDefinition @{
Id = 'b6e2945c-0b7b-40f5-9233-7a5323b5cdc6'
ReferenceId = 'NetworkWatcherShouldBeEnabled'
Version = '3.*.*'
}
}Members (64)
- Windows machines should be configured to use secure communication protocols
- Audit virtual machines without disaster recovery configured
- Audit usage of custom RBAC roles
- Service Fabric clusters should only use Azure Active Directory for client authentication
- Storage accounts should restrict network access
- Transparent Data Encryption on SQL databases should be enabled
- Azure Defender for SQL should be enabled for unprotected Azure SQL servers
- Auditing on SQL server should be enabled
- Azure Defender for SQL should be enabled for unprotected SQL Managed Instances
- Secure transfer to storage accounts should be enabled
- An Azure Active Directory administrator should be provisioned for SQL servers
- Only secure connections to your Azure Cache for Redis should be enabled
- All network ports should be restricted on network security groups associated to your virtual machine
- SQL databases should have vulnerability findings resolved
- Management ports of virtual machines should be protected with just-in-time network access control
- Add system-assigned managed identity to enable Guest Configuration assignments on virtual machines with no identities
- Add system-assigned managed identity to enable Guest Configuration assignments on VMs with a user-assigned identity
- Deploy the Windows Guest Configuration extension to enable Guest Configuration assignments on Windows VMs
- Deploy the Linux Guest Configuration extension to enable Guest Configuration assignments on Linux VMs
- Audit Windows machines that do not store passwords using reversible encryption
- Audit Windows machines that do not restrict the minimum password length to specified number of characters
- Audit Windows machines that do not have the password complexity setting enabled
- Audit Windows machines that do not have the minimum password age set to specified number of days
- Audit Windows machines that do not have the maximum password age set to specified number of days
- Audit Windows machines that allow re-use of the passwords after the specified number of unique passwords
- Audit Linux machines that do not have the passwd file permissions set to 0644
- Audit Linux machines that have accounts without passwords
- Audit Linux machines that allow remote connections from accounts without passwords
- Azure DDoS Protection should be enabled
- App Service apps should have remote debugging turned off
- Function apps should have remote debugging turned off
- There should be more than one owner assigned to your subscription
- A maximum of 3 owners should be designated for your subscription
- Vulnerability assessment should be enabled on SQL Managed Instance
- Vulnerability assessment should be enabled on your SQL servers
- A vulnerability assessment solution should be enabled on your virtual machines
- Geo-redundant storage should be enabled for Storage Accounts
- Geo-redundant backup should be enabled for Azure Database for MariaDB
- Geo-redundant backup should be enabled for Azure Database for MySQL
- Geo-redundant backup should be enabled for Azure Database for PostgreSQL
- Audit Windows machines missing any of specified members in the Administrators group
- Audit Windows machines that have the specified members in the Administrators group
- Audit diagnostic setting for selected resource types
- App Service apps should only be accessible over HTTPS
- Function apps should only be accessible over HTTPS
- Guest accounts with write permissions on Azure resources should be removed
- Guest accounts with read permissions on Azure resources should be removed
- Guest accounts with owner permissions on Azure resources should be removed
- Blocked accounts with owner permissions on Azure resources should be removed
- Blocked accounts with read and write permissions on Azure resources should be removed
- App Service apps should not have CORS configured to allow every resource to access your apps
- [Deprecated]: Accounts with write permissions on Azure resources should be MFA enabled
- [Deprecated]: Accounts with read permissions on Azure resources should be MFA enabled
- [Deprecated]: Accounts with owner permissions on Azure resources should be MFA enabled
- Long-term geo-redundant backup should be enabled for Azure SQL Databases
- Function apps should use latest 'HTTP Version'
- App Service apps should use latest 'HTTP Version'
- Function apps should use the latest TLS version
- App Service apps should use the latest TLS version
- Kubernetes Services should be upgraded to a non-vulnerable Kubernetes version
- Email notification to subscription owner for high severity alerts should be enabled
- Subscriptions should have a contact email address for security issues
- Microsoft IaaSAntimalware extension should be deployed on Windows servers
- Network Watcher should be enabled
Source: built-in-policies/policySetDefinitions/Regulatory Compliance/DOD_IL4_audit.json in Azure/azure-policy, under the MIT licence.
Bylaw