Security
查询仓库安全概览。Get repository security overview.
获取仓库安全问题概览,包括代码敏感信息、漏洞、Issue 和许可证等维度的统计。 Get repository security overview, including statistics on code sensitivity, vulnerabilities, issues, and licenses. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-security:r
get/{repo}/-/security/overview
Request
- Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
- URL: https://api.cnb.cool/{repo}/-/security/overview
- Auth: API key in header Authorization
Path parameters
repostring required
仓库名称。Repository name.
Query parameters
typesstring
类型:code_sensitive,code_vulnerability,code_issue,code_license;空=全部。Types: comma-sep;empty=all.
tabstring
查询类型下开启或忽略的各风险类型概览数量,可选值:open,ignore,all,默认all。Risk status filter: open, ignore, all; default all.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.