-
Notifications
You must be signed in to change notification settings - Fork 17
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
introduce make target for sast #85
Conversation
@@ -0,0 +1,43 @@ | |||
#!/usr/bin/env bash |
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.
Is there no better way suggested by gardener other than copying this file ?
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.
binary file tools/bin/gosec
has been checked in by mistake
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.
nit: tools.mk
and sast.sh
are missing newlines at the end, please add. Looks good otherwise.
What this PR does / why we need it:
This PR does the following
gosec
for Static Application Security Testing (SAST) gardener#9959. It also leverages the install-gosec.sh script present in the MCM repository to install gosec before testing.make sast-report
to the check scriptWhich issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Pending task it to adapt pipeline_definitions to include SAST linting logs in OCM descriptor. This will be taken care of in another PR
Release note: