Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cisbenchmark checks for session 1.3, 1.4, and 2 #721

Merged
merged 4 commits into from
Jul 25, 2022

Conversation

josedonizetti
Copy link
Contributor

@josedonizetti josedonizetti commented Jul 4, 2022

Signed-off-by: Jose Donizetti jdbjunior@gmail.com

Adds rules for session 1.3, 1.4 and 2. This is my first time writing opa, let me know if you see anything that can be improved.

aquasecurity/trivy#2200

cisbenchmark version: V1.23

"KCV0033": "1.3.1 Ensure that the --terminated-pod-gc-threshold argument is set as appropriate (Manual)",
"KCV0034": "1.3.2 Ensure that the --profiling argument is set to false (Automated)",
"KCV0035": "1.3.3 Ensure that the --use-service-account-credentials argument is set to true (Automated)",
"KCV0036": "1.3.4 Ensure that the --service-account-private-key-file argument is set as appropriate (Automated)",
"KCV0037": "1.3.5 Ensure that the --root-ca-file argument is set as appropriate (Automated)",
"KCV0038": "1.3.6 Ensure that the RotateKubeletServerCertificate argument is set to true (Automated)",
"KCV0039": "1.3.7 Ensure that the --bind-address argument is set to 127.0.0.1 (Automated)",
"KCV0040": "1.4.1 Ensure that the --profiling argument is set to false (Automated)",
"KCV0041": "1.4.2 Ensure that the --bind-address argument is set to 127.0.0.1 (Automated)",
"KCV0042": "2.1 Ensure that the --cert-file and --key-file arguments are set as appropriate (Automated)",
"KCV0043": "2.2 Ensure that the --client-cert-auth argument is set to true (Automated)",
"KCV0044": "2.3 Ensure that the --auto-tls argument is not set to true (Automated)",
"KCV0045": "2.4 Ensure that the --peer-cert-file and --peer-key-file arguments are set as appropriate (Automated)",
"KCV0047": "2.5 Ensure that the --peer-client-cert-auth argument is set to true (Automated)",

Signed-off-by: Jose Donizetti <jdbjunior@gmail.com>
Signed-off-by: Jose Donizetti <jdbjunior@gmail.com>
Signed-off-by: Jose Donizetti <jdbjunior@gmail.com>
@josedonizetti josedonizetti changed the title DRAFT: feat: add cisbench part 2 feat: add cisbenchmark checks for session 1.3, 1.4, and 2 Jul 22, 2022
@josedonizetti josedonizetti marked this pull request as ready for review July 22, 2022 00:28
@josedonizetti
Copy link
Contributor Author

@chen-keinan ^^

chen-keinan
chen-keinan previously approved these changes Jul 22, 2022
@josedonizetti
Copy link
Contributor Author

@liamg @owenrumney This is ready for review now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants