Trivy · API Governance Rules
Trivy API Rules
Spectral linting rules defining API design standards and conventions for Trivy.
6 Rules
warn 5
info 1
Rule Categories
trivy
Rules
warn
trivy-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
trivy-require-tags
All operations must have at least one tag
$.paths[*][*]
warn
trivy-require-description
All operations must have a description
$.paths[*][*]
warn
trivy-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
info
trivy-token-auth-optional
Trivy server supports optional token authentication via Trivy-Token header
$.components.securitySchemes
warn
trivy-health-endpoint-present
Trivy server must expose a /healthz endpoint
$.paths