Skip to content

Commit

Permalink
Built-in Policy Release 402c3140 (#1332)
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 6, 2024
1 parent 5db8926 commit 14a820c
Show file tree
Hide file tree
Showing 58 changed files with 2,441 additions and 1,244 deletions.
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 @@ -91,7 +91,8 @@
"variables": {
"locationLongNameToShortMap": {
"usgovvirginia": "USGV",
"usgovarizona": "USGA"
"usgovarizona": "USGA",
"usgovtexas": "SN"
},
"alternativeLocation": {
"usgovtexas": "usgovarizona"
Expand Down Expand Up @@ -249,6 +250,7 @@
}
},
"versions": [
"4.2.0",
"4.1.0"
]
},
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"mode": "All",
"description": "Firewall rules should be defined on your Azure Cosmos DB accounts to prevent traffic from unauthorized sources. Accounts that have at least one IP rule defined with the virtual network filter enabled are deemed compliant. Accounts disabling public access are also deemed compliant.",
"metadata": {
"version": "2.0.0",
"version": "2.1.0",
"category": "Cosmos DB"
},
"version": "2.0.0",
"version": "2.1.0",
"parameters": {
"effect": {
"type": "String",
Expand Down Expand Up @@ -82,6 +82,20 @@
"equals": ""
}
]
},
{
"anyOf": [
{
"count": {
"field": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections[*]",
"where": {
"field": "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections[*].privateLinkServiceConnectionState.status",
"equals": "Approved"
}
},
"less": 1
}
]
}
]
}
Expand All @@ -92,6 +106,7 @@
}
},
"versions": [
"2.1.0",
"2.0.0"
]
},
Expand Down
Loading

0 comments on commit 14a820c

Please sign in to comment.