diff --git a/content/en/docs/concepts/security/pod-security-standards.md b/content/en/docs/concepts/security/pod-security-standards.md index f3b43344bf8ab..2bd06e8ce8aac 100644 --- a/content/en/docs/concepts/security/pod-security-standards.md +++ b/content/en/docs/concepts/security/pod-security-standards.md @@ -76,7 +76,7 @@ fail validation.
Sharing the host namespaces must be disallowed.
+Sharing the host namespaces must be disallowed. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.hostNetworkPrivileged Pods disable most security mechanisms and must be disallowed.
+Privileged Pods disable most security mechanisms and must be disallowed. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.containers[*].securityContext.privilegedAdding additional capabilities beyond those listed below must be disallowed.
+Adding additional capabilities beyond those listed below must be disallowed. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.containers[*].securityContext.capabilities.addOn supported hosts, the runtime/default AppArmor profile is applied by default. The baseline policy should prevent overriding or disabling the default AppArmor profile, or restrict overrides to an allowed set of profiles.
On supported hosts, the runtime/default AppArmor profile is applied by default. The baseline policy should prevent overriding or disabling the default AppArmor profile, or restrict overrides to an allowed set of profiles. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
metadata.annotations["container.apparmor.security.beta.kubernetes.io/*"]Setting the SELinux type is restricted, and setting a custom SELinux user or role option is forbidden.
+Setting the SELinux type is restricted, and setting a custom SELinux user or role option is forbidden. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.securityContext.seLinuxOptions.type/proc Mount TypeThe default /proc masks are set up to reduce attack surface, and should be required.
The default /proc masks are set up to reduce attack surface, and should be required. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.containers[*].securityContext.procMountSeccomp profile must not be explicitly set to Unconfined.
Seccomp profile must not be explicitly set to Unconfined. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.securityContext.seccompProfile.typeSysctls can disable security mechanisms or affect all containers on a host, and should be disallowed except for an allowed "safe" subset. A sysctl is considered safe if it is namespaced in the container or the Pod, and it is isolated from other Pods or processes on the same Node.
+Sysctls can disable security mechanisms or affect all containers on a host, and should be disallowed except for an allowed "safe" subset. A sysctl is considered safe if it is namespaced in the container or the Pod, and it is isolated from other Pods or processes on the same Node. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.securityContext.sysctls[*].namePrivilege escalation (such as via set-user-ID or set-group-ID file mode) should not be allowed.
+Privilege escalation (such as via set-user-ID or set-group-ID file mode) should not be allowed. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.containers[*].securityContext.allowPrivilegeEscalationContainers must be required to run as non-root users.
+Containers must be required to run as non-root users. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.securityContext.runAsNonRootContainers should be forbidden from running with a root primary or supplementary GID.
Restricted Fields
@@ -396,7 +396,7 @@ fail validation.Seccomp profile must be explicitly set to one of the allowed values. Both the Unconfined profile and the absence of a profile are prohibited.
Seccomp profile must be explicitly set to one of the allowed values. Both the Unconfined profile and the absence of a profile are prohibited. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields
spec.securityContext.seccompProfile.type
Containers must drop ALL capabilities, and are only permitted to add back
- the NET_BIND_SERVICE capability.
+ the NET_BIND_SERVICE capability. This is a Linux specific field and should not be used for Windows Pods.
Restricted Fields