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

Add Govulncheck as a new securityTest #546

Open
fguisso opened this issue Oct 3, 2022 · 2 comments
Open

Add Govulncheck as a new securityTest #546

fguisso opened this issue Oct 3, 2022 · 2 comments
Labels
hacktoberfest2022 https://opensource.globo.com/hacktoberfest

Comments

@fguisso
Copy link
Member

fguisso commented Oct 3, 2022

image

Motivation

Golang Security team has developed a new tool to detect vulnerable packages in Golang code and it will be a great addition to huskyCI analysis.

It would be great if

We have all the necessary code to run this scan!

What we expect

  • A working container of Govulncheck that outputs a JSON after running the analysis in a particular folder. Similar to this to be uploaded to Docker Hub as huskyci/govulncheck:latest.
  • Add into config.yaml commands needed to run inside the securityTest container.
  • Adjust context.go to have the new Govulncheck securityTest configs.
  • Add new error messages related to Govulncheck in messagecodes.go.
  • Add a new file into securitytest package and adjust its logic to now handle Govulncheck output.
  • Add new code into client analysis package to print to STDOUT Govulncheck results.

Tips

  • Search how a particular securityTest work and apply the same logic (Ctrl + F + "bandit" will do 🙃).
@fguisso fguisso added the hacktoberfest2022 https://opensource.globo.com/hacktoberfest label Oct 3, 2022
@vitorduarte
Copy link

config.yaml file doesn't seem to be available

@fguisso
Copy link
Member Author

fguisso commented Oct 17, 2023

We are testing a more complete solution for SCA, probably we will drop this issue beside the implement anti on of osvscanner + cdxgen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest2022 https://opensource.globo.com/hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants