scanner

Get the metadata of the specified scanner registration

Get the metadata of the specified scanner registration, including the capabilities and customized properties.

get/scanners/{registration_id}/metadata

Path parameters

registration_idstring required

The scanner registration identifier.

Headers

X-Request-Idstring

An unique ID for the request

Response

The metadata of the specified scanner adapter

propertiesobject

Example response

{
  "scanner": {
    "name": "Trivy",
    "vendor": "Aqua Security",
    "version": "v0.9.1"
  },
  "capabilities": [
    {
      "type": "sbom",
      "consumes_mime_types": [
        "application/vnd.docker.distribution.manifest.v2+json"
      ],
      "produces_mime_types": [
        "application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0"
      ]
    }
  ],
  "properties": {
    "harbor.scanner-adapter/registry-authorization-type": "Bearer"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.