Skip to content

govulncheck to report known vulnerabilities#5199

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
crazy-max:govulncheck
Jul 30, 2024
Merged

govulncheck to report known vulnerabilities#5199
AkihiroSuda merged 1 commit intomoby:masterfrom
crazy-max:govulncheck

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented Jul 30, 2024

similar to docker/buildx#2631

Runs govulncheck tool in our workflow to report known vulnerabilities that affect Go code using the Go vulnerability database at https://vuln.go.dev/ and output a SARIF report that will be uploaded to GitHub Code scanning so we have these issues reported in the Security tab like done with Docker Scout in #5184.

Atm dependabot will open a pull request when such vulnerabilities are found similar to #4786 but we often close them because it needs coordination with upstream repositories.

I suggest to disable security updates for Dependabot under https://github.com/moby/buildkit/settings/security_analysis and check issues reported in the Security tab instead with this workflow if we are ok with it:

image

SARIF output: https://github.com/moby/buildkit/actions/runs/10161094819/job/28098853183?pr=5199#step:4:332

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@github-actions github-actions Bot added area/hack building buildkit itself area/ci area/storage labels Jul 30, 2024
@crazy-max crazy-max marked this pull request as ready for review July 30, 2024 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci area/hack building buildkit itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants