scanner
Tests scanner registration settings
Pings scanner adapter to test endpoint URL and authorization settings.
post/scanners/ping
Request
- Base URLhttp://localhost/api/v2.0
- Auth
- HTTP basic
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Request-Idstring
An unique ID for the request
Request body
Example request
{
"name": "Trivy",
"url": "http://harbor-scanner-trivy:8080",
"access_credential": "Bearer: JWTTOKENGOESHERE"
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.