harbor_get_vulnerabilities
Retrieve vulnerability scan results for a Harbor artifact by tag or digest, filtered by minimum severity and ordered most severe first.
Instructions
The vulnerabilities found in one artifact (by tag or digest), most severe first, at or above minSeverity (default High).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"repository": "<repository>",
"reference": "<reference>"
},
"name": "harbor_get_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | most entries to return (default and maximum 100) | |
| project | Yes | project name | |
| reference | Yes | tag or digest (sha256:...) | |
| repository | Yes | repository name, with or without the project prefix | |
| minSeverity | No | Critical, High (default), Medium, Low, Negligible or Unknown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| scanned | Yes | false when the artifact has no report | |
| scanner | No | ||
| matching | Yes | findings at or above minSeverity | |
| severity | No | the highest severity found | |
| generated | No | ||
| bySeverity | No | all findings by severity | |
| vulnerabilities | Yes | the most severe matching findings, up to limit |