Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in Policy Release b01622f1 #1396

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"mode": "Microsoft.Kubernetes.Data",
"description": "Prevents faulty Pod Disruption Budgets, ensuring a minimum number of operational pods. Refer to the official Kubernetes documentation for details. Relies on Gatekeeper data replication and syncs all ingress resources scoped to it into OPA. Before applying this policy, ensure that the synced ingress resources won't strain your memory capacity. Though parameters evaluate specific namespaces, all resources of that kind across namespaces will sync. Note: currently in preview for Kubernetes Service (AKS).",
"metadata": {
"version": "1.1.0-preview",
"version": "1.2.0-preview",
"category": "Kubernetes",
"preview": true
},
"version": "1.1.0-preview",
"version": "1.2.0-preview",
"parameters": {
"source": {
"type": "String",
Expand Down Expand Up @@ -137,16 +137,12 @@
"warn": "[parameters('warn')]",
"templateInfo": {
"sourceType": "PublicURL",
"url": "https://store.policy.azure.us/kubernetes/disallowed-bad-pod-disruption-budgets/v1/template.yaml"
"url": "https://store.policy.azure.us/kubernetes/disallowed-bad-pod-disruption-budgets/v2/template.yaml"
},
"apiGroups": [
"apps",
"policy"
],
"kinds": [
"Deployment",
"ReplicaSet",
"StatefulSet",
"PodDisruptionBudget"
],
"namespaces": "[parameters('namespaces')]",
Expand All @@ -156,6 +152,7 @@
}
},
"versions": [
"1.2.0-PREVIEW",
"1.1.0-PREVIEW",
"1.0.1-PREVIEW",
"1.0.0-PREVIEW"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"mode": "Microsoft.Kubernetes.Data",
"description": "Prevents faulty Pod Disruption Budgets, ensuring a minimum number of operational pods. Refer to the official Kubernetes documentation for details. Relies on Gatekeeper data replication and syncs all ingress resources scoped to it into OPA. Before applying this policy, ensure that the synced ingress resources won't strain your memory capacity. Though parameters evaluate specific namespaces, all resources of that kind across namespaces will sync. Note: currently in preview for Kubernetes Service (AKS).",
"metadata": {
"version": "1.2.0-preview",
"version": "1.3.0-preview",
"category": "Kubernetes",
"preview": true
},
"version": "1.2.0-preview",
"version": "1.3.0-preview",
"parameters": {
"source": {
"type": "String",
Expand Down Expand Up @@ -137,16 +137,12 @@
"warn": "[parameters('warn')]",
"templateInfo": {
"sourceType": "PublicURL",
"url": "https://store.policy.core.windows.net/kubernetes/disallowed-bad-pod-disruption-budgets/v1/template.yaml"
"url": "https://store.policy.core.windows.net/kubernetes/disallowed-bad-pod-disruption-budgets/v2/template.yaml"
},
"apiGroups": [
"apps",
"policy"
],
"kinds": [
"Deployment",
"ReplicaSet",
"StatefulSet",
"PodDisruptionBudget"
],
"namespaces": "[parameters('namespaces')]",
Expand All @@ -156,6 +152,7 @@
}
},
"versions": [
"1.3.0-PREVIEW",
"1.2.0-PREVIEW",
"1.1.1-PREVIEW",
"1.1.0-PREVIEW",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"properties": {
"displayName": "Disconnections should be logged for PostgreSQL flexible servers.",
"displayName": "Disconnections should be logged for PostgreSQL flexible servers",
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "This policy helps audit any PostgreSQL flexible servers in your environment without log_disconnections enabled.",
"metadata": {
"version": "1.0.0",
"version": "1.0.1",
"category": "PostgreSQL"
},
"version": "1.0.0",
"version": "1.0.1",
"parameters": {
"effect": {
"type": "string",
Expand Down Expand Up @@ -41,6 +41,7 @@
}
},
"versions": [
"1.0.1",
"1.0.0"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"mode": "Indexed",
"description": "This policy helps audit any PostgreSQL flexible servers in your environment which is running with TLS version less than 1.2.",
"metadata": {
"version": "1.0.0",
"version": "1.1.0",
"category": "PostgreSQL"
},
"version": "1.0.0",
"version": "1.1.0",
"parameters": {
"effect": {
"type": "string",
Expand All @@ -35,12 +35,16 @@
"name": "ssl_min_protocol_version",
"existenceCondition": {
"field": "Microsoft.DBforPostgreSQL/flexibleServers/configurations/value",
"equals": "TLSv1.2"
"in": [
"TLSV1.2",
"TLSV1.3"
]
}
}
}
},
"versions": [
"1.1.0",
"1.0.0"
]
},
Expand Down