Skip to content

openclarity/grype-server

Folders and files

NameName
Last commit message
Last commit date
Jun 19, 2024
May 2, 2024
Aug 1, 2024
Jun 8, 2022
Apr 12, 2023
Apr 12, 2023
Jul 23, 2024
Nov 14, 2021
Apr 12, 2023
Apr 12, 2023
Apr 12, 2023

Repository files navigation

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