1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2025-01-15 10:11:08 +00:00
kube-bench/cmd
Andy Pitcher 3a2348eba7
Add CIS Kubernetes CIS-1.10 for k8s v1.28 - v1.31 (#1753)
* Create cis-1.10 yamls and Update info
	- Modify yaml versions from 1.9 to 1.10
	- Adapt configmap to cover cis-1.10
	- Adapt docs and cmd files

* Adapt master.yaml
	- 1.2.29 update cipher list to remove the following insecure ones (RC4-Based, 3DES-Based, RSA-Based AES CBC):
          TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA,
          TLS_RSA_WITH_3DES_EDE_CBC_SHA,
          TLS_RSA_WITH_AES_128_CBC_SHA256,
          TLS_RSA_WITH_AES_128_CBC_SHA,
          TLS_RSA_WITH_AES_256_CBC_SHA,
          TLS_RSA_WITH_RC4_128_SHA,
          TLS_ECDHE_RSA_WITH_RC4_128_SHA
          ticket: https://workbench.cisecurity.org/community/43/tickets/21760

* Adapt policies.yaml
	- 5.1.11 typo in sub-resource name 'certificatesigningrequest' https://workbench.cisecurity.org/tickets/21352
	- 5.2.2 new audit to verify if a container is privileged or not. https://workbench.cisecurity.org/tickets/20919
	- 5.2.3 new audit to verify the presence of hostPID opt-in across all pods. https://workbench.cisecurity.org/tickets/20919
	- 5.2.4 new audit to verify the presence of hostIPC opt-in across all pods. https://workbench.cisecurity.org/tickets/20923
	- 5.2.5 new audit to verify the presence of hostNetwork opt-in across all pods. https://workbench.cisecurity.org/tickets/20921
	- 5.2.6 new audit to verify the presence of 'allowPrivilegeEscalation' to true across all pods' container(s)
	- 5.2.6 the 'allowPrivilegeEscalation' setting is moved from 'spec' to 'securityContext' https://workbench.cisecurity.org/tickets/20922
	- 5.2.9 new audit to verify the presence of added capabilities across all pods' container(s)

* Fix 5.2.6 remediation
2025-01-13 11:18:15 +06:00
..
testdata Refactor group skip (#783) 2020-12-21 13:18:54 +02:00
common_test.go Add CIS Kubernetes CIS-1.10 for k8s v1.28 - v1.31 (#1753) 2025-01-13 11:18:15 +06:00
common.go chore: remove refs to deprecated io/ioutil (#1504) 2023-12-05 10:52:24 +02:00
database.go chore(message): fix wrong PGSQL_DBNAME error message (#1128) 2022-03-28 17:40:04 +03:00
kubernetes_version_test.go chore: remove refs to deprecated io/ioutil (#1504) 2023-12-05 10:52:24 +02:00
kubernetes_version.go chore: remove refs to deprecated io/ioutil (#1504) 2023-12-05 10:52:24 +02:00
root.go chore(lint): setup golangci-lint (#1144) 2022-04-05 16:25:45 +03:00
run_test.go chore: remove refs to deprecated io/ioutil (#1504) 2023-12-05 10:52:24 +02:00
run.go Fix the --exit-code flag doesn't work when run with subcommand (#1084) 2022-01-23 09:40:59 +02:00
securityHub.go Migrate to aws-sdk-go-v2 (#1268) 2022-10-03 08:52:06 +03:00
util_test.go feat: CIS EKS 1.5.0 (#1653) 2025-01-10 15:18:50 +06:00
util.go feat: CIS EKS 1.5.0 (#1653) 2025-01-10 15:18:50 +06:00
version.go chore(lint): setup golangci-lint (#1144) 2022-04-05 16:25:45 +03:00