Gallery › Security Center › Azure built-in policies
Configure Advanced Threat Protection to be enabled on open-source relational databases
Converted Initiative Version 1.2.0
Enable Advanced Threat Protection on your non-Basic tier open-source relational databases to detect anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases. See https://aka.ms/AzDforOpenSourceDBsDocu.
ConvertTo-Bylaw converted this initiative, and proved that the file compiles back to the same definition.
Azure Policy JSONASC_AtpForOssDatabases.json · 52 lines
{
"properties": {
"displayName": "Configure Advanced Threat Protection to be enabled on open-source relational databases",
"policyType": "BuiltIn",
"description": "Enable Advanced Threat Protection on your non-Basic tier open-source relational databases to detect anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases. See https://aka.ms/AzDforOpenSourceDBsDocu.",
"metadata": {
"version": "1.2.0",
"category": "Security Center"
},
"version": "1.2.0",
"parameters": {},
"policyDefinitions": [
{
"policyDefinitionReferenceId": "deployAtpOnAzureDatabaseForPostgreSqlServer",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/db048e65-913c-49f9-bb5f-1084184671d3",
"definitionVersion": "1.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "deployAtpOnAzureDatabaseForMySqlServer",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/80ed5239-4122-41ed-b54a-6f1fa7552816",
"definitionVersion": "1.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "deployAdvancedThreatProtectionOnAzureDatabaseForMariaDbServer",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/a6cf7411-da9e-49e2-aec0-cba0250eaf8c",
"definitionVersion": "1.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "deployAtpOnAzureDatabaseForPostgreSqlFlexibleServer",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/2a6ae02f-7590-40d7-88ba-b18e205a32fd",
"definitionVersion": "1.*.*",
"parameters": {}
},
{
"policyDefinitionReferenceId": "deployAtpOnAzureDatabaseForMySqlFlexibleServer",
"policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/3d5ed4c2-5e50-4c76-932b-8982691b68ae",
"definitionVersion": "1.*.*",
"parameters": {}
}
],
"versions": [
"1.2.0",
"1.1.0",
"1.0.1"
]
},
"id": "/providers/Microsoft.Authorization/policySetDefinitions/e77fc0b3-f7e9-4c58-bc13-cb753ed8e46e",
"name": "e77fc0b3-f7e9-4c58-bc13-cb753ed8e46e"
}Bylawe77fc0b3-f7e9-4c58-bc13-cb753ed8e46e.bylaw.ps1 · 41 lines
# Converted from ASC_AtpForOssDatabases.json by ConvertTo-Bylaw.
Initiative 'e77fc0b3-f7e9-4c58-bc13-cb753ed8e46e' {
Properties @{
DisplayName = 'Configure Advanced Threat Protection to be enabled on open-source relational databases'
Description = 'Enable Advanced Threat Protection on your non-Basic tier open-source relational databases to detect anomalous activities indicating unusual and potentially harmful attempts to access or exploit databases. See https://aka.ms/AzDforOpenSourceDBsDocu.'
Version = '1.2.0'
Category = 'Security Center'
PolicyVersion = '1.2.0'
}
PolicyDefinition @{
Id = 'db048e65-913c-49f9-bb5f-1084184671d3'
ReferenceId = 'deployAtpOnAzureDatabaseForPostgreSqlServer'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '80ed5239-4122-41ed-b54a-6f1fa7552816'
ReferenceId = 'deployAtpOnAzureDatabaseForMySqlServer'
Version = '1.*.*'
}
PolicyDefinition @{
Id = 'a6cf7411-da9e-49e2-aec0-cba0250eaf8c'
ReferenceId = 'deployAdvancedThreatProtectionOnAzureDatabaseForMariaDbServer'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '2a6ae02f-7590-40d7-88ba-b18e205a32fd'
ReferenceId = 'deployAtpOnAzureDatabaseForPostgreSqlFlexibleServer'
Version = '1.*.*'
}
PolicyDefinition @{
Id = '3d5ed4c2-5e50-4c76-932b-8982691b68ae'
ReferenceId = 'deployAtpOnAzureDatabaseForMySqlFlexibleServer'
Version = '1.*.*'
}
}Members (5)
- Configure Advanced Threat Protection to be enabled on Azure database for PostgreSQL servers
- Configure Advanced Threat Protection to be enabled on Azure database for MySQL servers
- Configure Advanced Threat Protection to be enabled on Azure database for MariaDB servers
- Configure Advanced Threat Protection to be enabled on Azure database for PostgreSQL flexible servers
- Configure Advanced Threat Protection to be enabled on Azure database for MySQL flexible servers
Source: built-in-policies/policySetDefinitions/Security Center/ASC_AtpForOssDatabases.json in Azure/azure-policy, under the MIT licence.
Bylaw