How to check if trivy is up and running

  docker, image-scanner, monitoring, security, trivy

Trivy scanner documentation does not mention how to test if trivy server is up and running (a simple API call by a monitoring check would be fine in docs).

$ curl http://trivy.local:8080
404 page not found

Of course, I could monitor for 404 response, but I would no be sure if trivy is healthy. I would just know it is up.

Source: Docker Questions