You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Install the prototype trivy scanner and send a request to POST /api/v1/scan, the enabled_capabilities.produces_mime_types is missed in the request json
What did you expect to happen:
The HTTP response code should be 400 and log error message like that: enabled_capabilities.produces_mime_types is not specified in the request in the trivy log, so that user could get the http 400 error and check the trivy log to diagnostic.
Environment:
Harbor version: 2.10.0
Harbor Scanner Adapter for Trivy version: sbom prototype
Harbor installation process: docker-compose
The text was updated successfully, but these errors were encountered:
What steps did you take and what happened:
Install the prototype trivy scanner and send a request to
POST /api/v1/scan
, the enabled_capabilities.produces_mime_types is missed in the request jsonWhat did you expect to happen:
The HTTP response code should be 400 and log error message like that:
enabled_capabilities.produces_mime_types is not specified in the request
in the trivy log, so that user could get the http 400 error and check the trivy log to diagnostic.Environment:
The text was updated successfully, but these errors were encountered: