harbor_get_project
Retrieve detailed configuration and usage for a Harbor project, including visibility, storage quotas, vulnerability and signing policies, CVE allowlist, and retention or immutability rules.
Instructions
One project in detail: visibility, storage quota and usage, vulnerability and signing policies, CVE allowlist, and whether retention and immutability rules are set.
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>"
},
"name": "harbor_get_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | project name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| owner | No | ||
| quota | No | ||
| public | Yes | ||
| created | No | ||
| updated | No | ||
| autoScan | Yes | whether pushed images are scanned automatically | |
| severity | No | the severity at which pulls are blocked | |
| proxyCache | Yes | whether the project is a proxy cache of another registry | |
| contentTrust | Yes | whether only signed images can be pulled | |
| cveAllowlist | Yes | CVE IDs ignored by the vulnerability policy | |
| immutableRules | Yes | number of immutable tag rules | |
| repositoryCount | Yes | ||
| retentionPolicy | Yes | whether a tag retention policy is set | |
| preventVulnerable | Yes | whether pulls of vulnerable images are blocked |