2019-12-05 20:55:44 +00:00
|
|
|
---
|
|
|
|
controls:
|
2021-05-09 11:48:34 +00:00
|
|
|
version: "cis-1.5"
|
2019-12-05 20:55:44 +00:00
|
|
|
id: 3
|
|
|
|
text: "Control Plane Configuration"
|
|
|
|
type: "controlplane"
|
|
|
|
groups:
|
2020-01-06 09:18:25 +00:00
|
|
|
- id: 3.1
|
|
|
|
text: "Authentication and Authorization"
|
|
|
|
checks:
|
|
|
|
- id: 3.1.1
|
2020-05-20 17:30:52 +00:00
|
|
|
text: "Client certificate authentication should not be used for users (Not Scored)"
|
2020-01-06 09:18:25 +00:00
|
|
|
type: "manual"
|
|
|
|
remediation: |
|
|
|
|
Alternative mechanisms provided by Kubernetes such as the use of OIDC should be
|
|
|
|
implemented in place of client certificates.
|
|
|
|
scored: false
|
2019-12-05 20:55:44 +00:00
|
|
|
|
2020-01-06 09:18:25 +00:00
|
|
|
- id: 3.2
|
|
|
|
text: "Logging"
|
|
|
|
checks:
|
|
|
|
- id: 3.2.1
|
2020-05-20 17:30:52 +00:00
|
|
|
text: "Ensure that a minimal audit policy is created (Scored)"
|
2020-11-02 07:41:07 +00:00
|
|
|
audit: "/bin/ps -ef | grep $apiserverbin | grep -v grep"
|
|
|
|
tests:
|
|
|
|
test_items:
|
|
|
|
- flag: "--audit-policy-file"
|
|
|
|
set: true
|
2020-01-06 09:18:25 +00:00
|
|
|
remediation: |
|
|
|
|
Create an audit policy file for your cluster.
|
|
|
|
scored: true
|
2019-12-05 20:55:44 +00:00
|
|
|
|
2020-01-06 09:18:25 +00:00
|
|
|
- id: 3.2.2
|
2020-05-20 17:30:52 +00:00
|
|
|
text: "Ensure that the audit policy covers key security concerns (Not Scored)"
|
2020-01-06 09:18:25 +00:00
|
|
|
type: "manual"
|
|
|
|
remediation: |
|
|
|
|
Consider modification of the audit policy in use on the cluster to include these items, at a
|
|
|
|
minimum.
|
|
|
|
scored: false
|