Trivy · Example Payload

Trivy Health Check Example

Check Trivy server health

ContainersKubernetesSBOMSecurityVulnerability ScanningOpen SourceDevSecOpsCloud Security

Trivy Health Check Example is an example object payload from Trivy, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionrequestresponse

Example Payload

Raw ↑
{
  "operation": "healthCheck",
  "description": "Check Trivy server health",
  "request": {
    "method": "GET",
    "url": "http://localhost:4954/healthz",
    "headers": {
      "Trivy-Token": "your-token-here"
    }
  },
  "response": {
    "status": 200,
    "body": "ok"
  }
}