Scans container images and send vulnerability results to Rode. Currently, Trivy scans are supported.
- Start a Trivy server with
trivy server
- With Rode running, start the collector with
go run
:go run main.go \ --rode-insecure-disable-transport-security \ --rode-host=localhost:50051 \ --debug
- Use the API to request a scan:
curl http://localhost:1233/v1alpha1/scan \ -d '{"imageUri": "curlimages/curl@sha256:6e0a786e3e5181df00eaf3a0a1749c18a6bb20b01c9bd192ea72176ce8a1c94b"}'
- After making changes, run the unit tests with
make test
- Use
make license
to add license headers to source code files