-
Notifications
You must be signed in to change notification settings - Fork 308
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
Scan kics with Gosec in build #1832
Comments
Thanks for the suggestion @miguelfreitas93! |
Signed-off-by: Rogério Peixoto <rogerio.peixoto@checkmarx.com>
Issue opened by @felipe-avelar got solved and the PR merged but since then they haven't released a new version yet so we can't move this forward unless we build gosec and run it without using the GH action securego/gosec#565 |
@rogeriopeixotocx you can run an action of a specific commit or version or branch:
For the moment we can use a specific branch, but once it is released you can change it to a specific version |
@miguelfreitas93 Yes, that's true.. the issue is that their GH action uses the latest docker image published and they only publish a docker image whenever there's a new release. So we're stuck the same unless we check out the project, build it, and run the binary.. which is not very difficult but we're short on time, feel free to contribute if you can. Checkout this PR branch #1835 and you can follow our unit test build steps as guidance. Examples for setup and go modules vendor's download and build |
@miguelfreitas93 better yet check their dockerfile and makefile for instructions on how to build it |
Is your feature request related to a problem? Please describe.
Improve security of kics source code
Describe the solution you'd like
Add a step to perform Gosec scan in the build pipeline to get better secure code
https://github.com/securego/gosec
The text was updated successfully, but these errors were encountered: