J'e
J'e

Reputation: 3726

Passing Trivy results to harbor

Before pushing an image into Harbor, I'm running a Trivy scan. Instead of having Trivy scan images again within harbor, I'm looking for a way to pass the JSON results from Trivy into harbor.

trivy image hello_docker_compose_web --output results.json -f json

Is there a way to have Harbor consume this results.json along with the image being pushed to harbor?

Upvotes: 0

Views: 364

Answers (1)

Vad1mo
Vad1mo

Reputation: 5543

It is not possible, to upload scan results from external Trivy back to Harbor. The only option is to run the scan again within Harbor.

Upvotes: 0

Related Questions