-
Notifications
You must be signed in to change notification settings - Fork 981
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
Include Helm for checkov scans #5631
Conversation
Hi @andrewkreuzer ! Thanks for this PR. What problem are we solving here? :) |
when running checkov using the "helm" framework I wasn't seeing scans being done for my helm charts. Running locally I was able to get the desired output:
but wasn't seeing this output with superlinter Running checkov in the superlinter container
|
I see, thanks for the details! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR!
Besides this, we would need some test cases (good and bad ones) in this dir: https://github.com/super-linter/super-linter/tree/main/test/linters/checkov
One minor change: can you please make the test helm charts smaller? We don't need to have a fully working chart as a test case. What we need is the bare minimum to have tests pass :) Thanks! |
defe119
to
e8c72c1
Compare
@ferrarimarco reduced the size of the test charts hopefully that is small enough |
@andrewkreuzer Thanks, the new test cases seems to be picked up. Nice! Quick question: do the Thanks! |
no checkov will simple not run the helm checks if it can't find the helm binary |
SGTM, I just found a reference about this in the Checkov docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for all the work here.
We need just two more quick things about this in the test suite, and we should be good to go.
Proposed changes
Includes Helm for the running of checkov scans with the helm framework
Readiness checklist
In order to have this pull request merged, complete the following tasks.
Pull request author tasks
I added the
Fix #ISSUE_NUMBER
label to the description of the pull request.Super-linter maintainer tasks
breaking
if this change breaks compatibility with the previous released version.automation
,bug
,documentation
,enhancement
,infrastructure
.