Skip to content

Commit

Permalink
Built-in Policy Release c8c8a5f1 (#1335)
Browse files Browse the repository at this point in the history
Co-authored-by: Azure Policy Bot <azgovpolicy@microsoft.com>
  • Loading branch information
gokmen-msft and Azure Policy Bot authored Jun 14, 2024
1 parent c4248d2 commit fd3caec
Show file tree
Hide file tree
Showing 10 changed files with 112 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Microsoft Defender for SQL collects events from the agent and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group, a Data Collection Rule and Log Analytics workspace in the same region as the machine.",
"version": "1.2.0",
"version": "1.3.0",
"metadata": {
"category": "Security Center",
"version": "1.2.0"
"version": "1.3.0"
},
"parameters": {
"effect": {
Expand Down Expand Up @@ -212,7 +212,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"extensionSettings": {
"enableCollectionOfSqlQueriesForSecurityResearch": "[parameters('enableCollectionOfSqlQueriesForSecurityResearch')]"
Expand All @@ -235,7 +236,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"destinations": [
"LogAnalyticsDest"
Expand Down Expand Up @@ -315,6 +317,7 @@
}
},
"versions": [
"1.3.0",
"1.2.0",
"1.1.2",
"1.1.1-PREVIEW"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Microsoft Defender for SQL collects events from the agent and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group, a Data Collection Rule and Log Analytics workspace in the same region as the machine.",
"version": "1.4.0",
"version": "1.5.0",
"metadata": {
"version": "1.4.0",
"version": "1.5.0",
"category": "Security Center"
},
"parameters": {
Expand Down Expand Up @@ -265,7 +265,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"extensionSettings": {
"enableCollectionOfSqlQueriesForSecurityResearch": "[parameters('enableCollectionOfSqlQueriesForSecurityResearch')]"
Expand All @@ -288,7 +289,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"destinations": [
"LogAnalyticsDest"
Expand Down Expand Up @@ -356,6 +358,7 @@
}
},
"versions": [
"1.5.0",
"1.4.0",
"1.3.0",
"1.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Microsoft Defender for SQL collects events from the agent and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group and a Data Collection Rule in the same region as the user-defined Log Analytics workspace.",
"version": "1.4.0",
"version": "1.5.0",
"metadata": {
"category": "Security Center",
"version": "1.4.0"
"version": "1.5.0"
},
"parameters": {
"effect": {
Expand Down Expand Up @@ -252,7 +252,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"extensionSettings": {
"enableCollectionOfSqlQueriesForSecurityResearch": "[parameters('enableCollectionOfSqlQueriesForSecurityResearch')]"
Expand All @@ -275,7 +276,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"destinations": [
"LogAnalyticsDest"
Expand Down Expand Up @@ -342,6 +344,7 @@
}
},
"versions": [
"1.5.0",
"1.4.0",
"1.3.0",
"1.2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Microsoft Defender for SQL collects events from the agent and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group and a Data Collection Rule in the same region as the user-defined Log Analytics workspace.",
"version": "1.5.0",
"version": "1.6.0",
"metadata": {
"version": "1.5.0",
"version": "1.6.0",
"category": "Security Center"
},
"parameters": {
Expand Down Expand Up @@ -311,7 +311,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"extensionSettings": {
"enableCollectionOfSqlQueriesForSecurityResearch": "[parameters('enableCollectionOfSqlQueriesForSecurityResearch')]"
Expand All @@ -334,7 +335,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"destinations": [
"LogAnalyticsDest"
Expand Down Expand Up @@ -401,6 +403,7 @@
}
},
"versions": [
"1.6.0",
"1.5.0",
"1.4.0",
"1.3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"properties": {
"displayName": "[Preview]: Microsoft Managed DevOps Pools should be provided with valid subnet resource in order to configure with own virtual network.",
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Disallows creating Pool resources if a valid subnet resource is not provided.",
"metadata": {
"version": "1.0.0-preview",
"category": "DevOpsInfrastructure",
"preview": true
},
"version": "1.0.0-preview",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Audit",
"Deny",
"Disabled"
],
"defaultValue": "Audit"
}
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.DevOpsInfrastructure/pools"
},
{
"field": "Microsoft.DevOpsInfrastructure/pools/fabricProfile.Vmss.networkProfile.subnetId",
"exists": "true"
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
},
"versions": [
"1.0.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/0d6d79a8-8406-4e87-814d-2dcd83b2c355",
"name": "0d6d79a8-8406-4e87-814d-2dcd83b2c355"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"mode": "Indexed",
"description": "Microsoft Defender for Containers provides cloud-native Kubernetes security capabilities including environment hardening, workload protection, and run-time protection. When you enable the SecurityProfile.Defender on your Azure Kubernetes Service cluster, an agent is deployed to your cluster to collect security event data. Learn more about Microsoft Defender for Containers: https://docs.microsoft.com/azure/defender-for-cloud/defender-for-containers-introduction?tabs=defender-for-container-arch-aks.",
"metadata": {
"version": "4.1.0",
"version": "4.2.0",
"category": "Kubernetes"
},
"version": "4.1.0",
"version": "4.2.0",
"parameters": {
"effect": {
"type": "String",
Expand Down Expand Up @@ -116,6 +116,7 @@
"jioindiawest": "JINW",
"koreacentral": "SE",
"koreasouth": "PS",
"mexicocentral": "MXC",
"northcentralus": "NCUS",
"northeurope": "NEU",
"norwayeast": "NOE",
Expand All @@ -127,6 +128,7 @@
"southcentralus": "SCUS",
"southeastasia": "SEA",
"southindia": "MA",
"spaincentral": "ESC",
"swedencentral": "SEC",
"switzerlandnorth": "CHN",
"switzerlandwest": "CHW",
Expand Down Expand Up @@ -297,6 +299,7 @@
}
},
"versions": [
"4.2.0",
"4.1.0",
"4.0.4"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Microsoft Defender for SQL collects events from the agent and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group, a Data Collection Rule and Log Analytics workspace in the same region as the machine.",
"version": "1.4.0",
"version": "1.5.0",
"metadata": {
"category": "Security Center",
"version": "1.4.0"
"version": "1.5.0"
},
"parameters": {
"effect": {
Expand Down Expand Up @@ -251,7 +251,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"extensionSettings": {
"enableCollectionOfSqlQueriesForSecurityResearch": "[parameters('enableCollectionOfSqlQueriesForSecurityResearch')]"
Expand All @@ -274,7 +275,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"destinations": [
"LogAnalyticsDest"
Expand Down Expand Up @@ -354,6 +356,7 @@
}
},
"versions": [
"1.5.0",
"1.4.0",
"1.3.0",
"1.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Microsoft Defender for SQL collects events from the agent and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group, a Data Collection Rule and Log Analytics workspace in the same region as the machine.",
"version": "1.5.0",
"version": "1.6.0",
"metadata": {
"version": "1.5.0",
"version": "1.6.0",
"category": "Security Center"
},
"parameters": {
Expand Down Expand Up @@ -304,7 +304,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"extensionSettings": {
"enableCollectionOfSqlQueriesForSecurityResearch": "[parameters('enableCollectionOfSqlQueriesForSecurityResearch')]"
Expand All @@ -327,7 +328,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"destinations": [
"LogAnalyticsDest"
Expand Down Expand Up @@ -395,6 +397,7 @@
}
},
"versions": [
"1.6.0",
"1.5.0",
"1.4.0",
"1.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "Microsoft Defender for SQL collects events from the agent and uses them to provide security alerts and tailored hardening tasks (recommendations). Create a resource group and a Data Collection Rule in the same region as the user-defined Log Analytics workspace.",
"version": "1.6.0",
"version": "1.7.0",
"metadata": {
"category": "Security Center",
"version": "1.6.0"
"version": "1.7.0"
},
"parameters": {
"effect": {
Expand Down Expand Up @@ -291,7 +291,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"extensionSettings": {
"enableCollectionOfSqlQueriesForSecurityResearch": "[parameters('enableCollectionOfSqlQueriesForSecurityResearch')]"
Expand All @@ -314,7 +315,8 @@
"Microsoft-DefenderForSqlLogins",
"Microsoft-DefenderForSqlTelemetry",
"Microsoft-DefenderForSqlScanEvents",
"Microsoft-DefenderForSqlScanResults"
"Microsoft-DefenderForSqlScanResults",
"Microsoft-SqlAtpStatus-DefenderForSql"
],
"destinations": [
"LogAnalyticsDest"
Expand Down Expand Up @@ -381,6 +383,7 @@
}
},
"versions": [
"1.7.0",
"1.6.0",
"1.5.0",
"1.4.0",
Expand Down
Loading

0 comments on commit fd3caec

Please sign in to comment.