Skip to content

Commit

Permalink
Reference correct rule (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandarSavchev authored Jan 6, 2025
1 parent 2f90d5f commit 08f513d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rulesets/security-hardened-shoot-cluster/ruleset.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ spec:
### 2007 - Shoot clusters must have a PodSecurity admission plugin configured.

#### Description
Shoot clusters must have a PodSecurity admission plugin configured. It is recommended to set default pod security standards to `baseline` or `restricted` level. This rule follows the requirements from DISA K8s STIG rule [242434](https://www.stigviewer.com/stig/kubernetes/2024-06-10/finding/V-254800).
Shoot clusters must have a PodSecurity admission plugin configured. It is recommended to set default pod security standards to `baseline` or `restricted` level. This rule follows the requirements from DISA K8s STIG rule [254800](https://www.stigviewer.com/stig/kubernetes/2024-06-10/finding/V-254800).

#### Fix
Add `PodSecurity` admission plugin into `spec.kubernetes.kubeAPIServer.admissionPlugins` field with default standards set to `baseline` or `restricted`.
Expand Down

0 comments on commit 08f513d

Please sign in to comment.