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.
After send a SBOM request to /api/v1/scan
and the subsequent request to retrieve the sbom GET /api/v1/scan/{scan_request_id}/report?sbom_media_type=xxxx, if the sbom_media_type is missed in the parameter
Current return code is 404 not found.
What did you expect to happen:
The API should return 400 to the client and also log the error message in the trivy.log so that user could diagnostic the current issue, the error message should like that: the sbom_media_type is missed for sbom scan report
Environment:
Harbor version: v2.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:
After send a SBOM request to /api/v1/scan
and the subsequent request to retrieve the sbom
GET /api/v1/scan/{scan_request_id}/report?sbom_media_type=xxxx
, if the sbom_media_type is missed in the parameterCurrent return code is 404 not found.
What did you expect to happen:
The API should return 400 to the client and also log the error message in the trivy.log so that user could diagnostic the current issue, the error message should like that:
the sbom_media_type is missed for sbom scan report
Environment:
The text was updated successfully, but these errors were encountered: