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

Expand validate-yaml to kube-bench cfgs #503

Open
andypitcher opened this issue Nov 26, 2024 · 0 comments
Open

Expand validate-yaml to kube-bench cfgs #503

andypitcher opened this issue Nov 26, 2024 · 0 comments

Comments

@andypitcher
Copy link
Contributor

andypitcher commented Nov 26, 2024

Context: In the current CI we are validating yamls (lint, kube-bench run and check type correctness) for our own cfgs only, the ones that located in security-scan/package/cfgs. It's not the case for the upstream (kube-bench) profiles that we download during the build of security-scan.

The goal of this issue is to improve this by:

  1. Adding a the validate-yaml step in the Dockerfile (right after the kube-bench's cfgs download)
  2. Improving the comments in validate-yaml to mention that only the local cfgs are tested.

cc @pjbgf

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

No branches or pull requests

1 participant