Skip to content

Release v0.0.4

Latest
Compare
Choose a tag to compare
@ashwiniag ashwiniag released this 12 Oct 14:15
· 46 commits to main since this release

New Features:

Provides API endpoints for initiating image scans and tracking their status.

  • POST requests: http://<hostname>:<port>/api/v0/scan
curl -X POST "http://<host>:8000/api/v0/scan?image=<single image>&severity=CRITICAL&publish=<configured_webserver>" \
  -H "Authorization: Bearer <token>"
  • GET requests: /api/v0/scan/{scan_id}/status
curl -X GET "http://<host>:8000/api/v0/scan/scan-1728731994245877000/status" \
  -H "Authorization: Bearer  <token>"

  • List both directories and files in the specified report_sub_dir for each website configuration. Example The host:port/reports/ endpoint now displays both directories and files, making it easier for users to navigate and view scan results.

Enhancements:

  • The websites configuration section has been updated to allow users to define multiple host configuration and flexibility to utilise it.
  • Supports scenarios where multiple reports are generated for a single POST scan.