Registry / security / anchore-grype

anchore-grype

JSON →
library0.114.0gogounverified

A vulnerability scanner for container images and filesystems that generates SBOMs and matches against known vulnerabilities.

go get github.com/anchore/grype
INSTALL
IMPORT
SIG · ANCHORE-GRYPE
A
anchore-grype
securitygov0.114.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

grype
github.com/anchore/grype

Scan a container image for vulnerabilities.

package main import ( "fmt" "github.com/anchore/grype/grype" ) func main() { results, err := grype.Scan("alpine:latest") if err != nil { panic(err) } fmt.Printf("Found %d vulnerabilities\n", len(results.Matches)) }
Debug
Known issues
gotchaGrype requires external database updates; offline usage may need pre-downloaded DB.
fix
Run 'grype db update' or use the --only-fixed flag to limit results.
affects: >=0.1.0
Upgrade
Version history
0.114.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
24
Resources
anchore-grype — go get anchore-grype · libregistry