Documentation
¶
Overview ¶
Command pinbump moves one pinned scanner to a new version and records what that version hashes to.
go run ./internal/tools/cmd/pinbump trivy # to whatever its upstream publishes now go run ./internal/tools/cmd/pinbump trivy 0.74.0 # to a version you name go run ./internal/tools/cmd/pinbump govulncheck 1.9.0 go1.27.4 # and the Go that builds it
Two more forms print what the bump workflow writes about a bump, and change nothing:
go run ./internal/tools/cmd/pinbump entry <tool> <from> <fromGo> <to> <toGo> # its changelog line go run ./internal/tools/cmd/pinbump heading <tool> <from> <fromGo> <to> <toGo> # its proof's heading
Only the manifest. Whether the new version still works is a different question, answered by installing it and scanning with it, which is what the workflow around this does and what a hash can never tell you.
**Every hash is of the bytes.** Where an upstream also publishes a checksums file it is read and compared, because a checksums file is a claim and the bytes are the fact, and nothing is written unless every platform agreed.