Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.19 KB

README.md

File metadata and controls

50 lines (34 loc) · 1.19 KB

grype-server

SBOM scanning using grype wrapped in a convenient REST API.

This allows for a centralised install of grype which will sync the vulnerabiltiy DB periodically instead of requiring all clients to have access to the internet and the bandwidth to download the vulnerability DB.

Table of Contents

Usage

Running

docker run -d -p 9991:9991 --name grype-server <registry-name>/grype-server run --log-level info

Scanning an SBOM

curl -X POST http://<ip>:9991/scanSBOM --data-binary @- <<'EOF'
{
    "sbom": "<base 64 encoded SBOM>"
}
EOF

NOTE
Supported SBOM formats include CycloneDX XML and JSON, SPDX and Syft.

Contributing

If you are ready to jump in and test, add code, or help with documentation, please follow the instructions on our contributing guide for details on how to open issues, setup VMClarity for development and test.

Code of Conduct

You can view our code of conduct here.

License

Apache License, Version 2.0