第 20 章 secscan
列出和管理存储库漏洞和其他安全信息。
20.1. getRepoManifestSecurity 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
GET /api/v1/repository/{repository}/manifest/{manifestref}/security
授权: oauth2_implicit (存储库:read)
路径参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
path |
需要 仓库 | 存储库的完整路径。例如 namespace/name | 字符串 |
path |
manifestref | 清单摘要 | string |
查询参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
query |
漏洞 | 包括漏洞信息 | 布尔值 |
响应
示例命令
curl -X GET \ -H "Authorization: Bearer <bearer_token>" \ -H "Accept: application/json" \ "https://quay-server.example.com/api/v1/repository/<namespace>/<repository>/manifest/<manifest_digest>/security?vulnerabilities=<true_or_false>"
$ curl -X GET \
-H "Authorization: Bearer <bearer_token>" \
-H "Accept: application/json" \
"https://quay-server.example.com/api/v1/repository/<namespace>/<repository>/manifest/<manifest_digest>/security?vulnerabilities=<true_or_false>"