Pod containers can only use allowed seccomp profiles in a Kubernetes cluster. This policy is generally available for Kubernetes Service (AKS), and preview for Azure Arc enabled Kubernetes. For more information, see https://aka.ms/kubepolicydoc.
Use the filters above each column to filter and limit table data. Advanced searches can be performed by using the following operators: <, <=, >, >=, =, *, !, {, }, ||,&&, [empty], [nonempty], rgx: Learn more
Previous DisplayName: [Preview]: Kubernetes cluster containers should only use allowed seccomp profiles
2020-07-08 14:28:08
add
975ce327-682c-4f2e-aa46-b9598289b86c
JSON compare
compare mode:version left:version right:
7.1.1 → 7.2.0RENAMED
@@ -1,14 +1,35 @@
1
{
2
"displayName": "Kubernetes cluster containers should only use allowed seccomp profiles",
3
"policyType": "BuiltIn",
4
"mode": "Microsoft.Kubernetes.Data",
5
- "description": "Pod containers can only use allowed seccomp profiles in a Kubernetes cluster. This recommendation is part of Pod Security Policies which are intended to improve the security of your Kubernetes environments. This policy is generally available for Kubernetes Service (AKS), and preview for Azure Arc enabled Kubernetes. For more information, see https://aka.ms/kubepolicydoc.",
6
"metadata": {
7
- "version": "7.1.1",
8
"category": "Kubernetes"
9
},
10
"parameters": {
11
"effect": {
12
"type": "String",
13
"metadata": {
14
"displayName": "Effect",
@@ -51,9 +72,60 @@
51
"metadata": {
52
"displayName": "Kubernetes label selector",
53
"description": "Label query to select Kubernetes resources for policy evaluation. An empty label selector matches all Kubernetes resources."
"displayName": "Kubernetes cluster containers should only use allowed seccomp profiles",
3
"policyType": "BuiltIn",
4
"mode": "Microsoft.Kubernetes.Data",
5
+ "description": "Pod containers can only use allowed seccomp profiles in a Kubernetes cluster. This policy is generally available for Kubernetes Service (AKS), and preview for Azure Arc enabled Kubernetes. For more information, see https://aka.ms/kubepolicydoc.",
6
"metadata": {
7
+ "version": "7.2.0",
8
"category": "Kubernetes"
9
},
10
"parameters": {
11
+ "source": {
12
+ "type": "String",
13
+ "metadata": {
14
+ "displayName": "Source",
15
+ "description": "The source k8s object for constraint evaluation. 'Original' means only evaluate against the specific GroupVersionKind specified in the policy definition. 'Generated' means only evaluate against k8s objects generated by Gatekeeper ExpansionTemplates. 'All' means evaluate against both the original object and any generated ones."
16
+ },
17
+ "allowedValues": [
18
+ "All",
19
+ "Generated",
20
+ "Original"
21
+ ],
22
+ "defaultValue": "Original"
23
+ },
24
+ "warn": {
25
+ "type": "Boolean",
26
+ "metadata": {
27
+ "displayName": "Warn",
28
+ "description": "Whether or not to return warnings back to the user in the kubectl cli"
29
+ },
30
+ "defaultValue": false
31
+ },
32
"effect": {
33
"type": "String",
34
"metadata": {
35
"displayName": "Effect",
72
"metadata": {
73
"displayName": "Kubernetes label selector",
74
"description": "Label query to select Kubernetes resources for policy evaluation. An empty label selector matches all Kubernetes resources."
75
},
76
+ "defaultValue": {},
77
+ "schema": {
78
+ "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all resources.",
79
+ "type": "object",
80
+ "properties": {
81
+ "matchLabels": {
82
+ "description": "matchLabels is a map of {key,value} pairs.",
83
+ "type": "object",
84
+ "additionalProperties": {
85
+ "type": "string"
86
+ },
87
+ "minProperties": 1
88
+ },
89
+ "matchExpressions": {
90
+ "description": "matchExpressions is a list of values, a key, and an operator.",
91
+ "type": "array",
92
+ "items": {
93
+ "type": "object",
94
+ "properties": {
95
+ "key": {
96
+ "description": "key is the label key that the selector applies to.",
97
+ "type": "string"
98
+ },
99
+ "operator": {
100
+ "description": "operator represents a key's relationship to a set of values.",
101
+ "type": "string",
102
+ "enum": [
103
+ "In",
104
+ "NotIn",
105
+ "Exists",
106
+ "DoesNotExist"
107
+ ]
108
+ },
109
+ "values": {
110
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.",
displayName: "Kubernetes cluster containers should only use allowed seccomp profiles",
policyType: "BuiltIn",
mode: "Microsoft.Kubernetes.Data",
description: "Pod containers can only use allowed seccomp profiles in a Kubernetes cluster. This policy is generally available for Kubernetes Service (AKS), and preview for Azure Arc enabled Kubernetes. For more information, see https://aka.ms/kubepolicydoc.",
description: "The source k8s object for constraint evaluation. 'Original' means only evaluate against the specific GroupVersionKind specified in the policy definition. 'Generated' means only evaluate against k8s objects generated by Gatekeeper ExpansionTemplates. 'All' means evaluate against both the original object and any generated ones."
description: "'Audit' allows a non-compliant resource to be created or updated, but flags it as non-compliant. 'Deny' blocks the non-compliant resource creation or update. 'Disabled' turns off the policy.",
description: "List of Kubernetes namespaces to exclude from policy evaluation. System namespaces "kube-system", "gatekeeper-system" and "azure-arc" are always excluded by design. "azure-extensions-usage-system" is optional to remove."
description: "List of Kubernetes namespaces to only include in policy evaluation. An empty list means the policy is applied to all resources in all namespaces."
description: "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all resources.",
description: "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.",
description: "The list of seccomp profiles that containers are allowed to use. E.g. '`runtime/default`, `docker/default`, `unconfined` and/or `localhost/*`'. Provide empty list as input to block everything. Putting a `*` in this array allows all Profiles to be used.",
description: "The list of InitContainers and Containers to exclude from policy evaluation. The identify is the name of container. Use an empty list to apply this policy to all containers in all namespaces."
description: "The list of InitContainers and Containers to exclude from policy evaluation. The identifier is the image of container. Prefix-matching can be signified with `*`. For example: `myregistry.azurecr.io/istio:*`. It is recommended that users use the fully-qualified Docker image name (e.g. start with a domain name) in order to avoid unexpectedly exempting images from an untrusted repository.",