镜像仓库查询镜像仓库详情

最近更新时间: 2024-09-03 18:49:49

1. 接口描述

接口请求域名: tcss.api3.cloud.sunhongs.com。

镜像仓库镜像仓库列表详情

默认接口请求频率限制:20次/秒。

接口更新时间:2023-11-10 10:21:13。

接口既验签名又鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数

参数名称 必选 允许NULL 类型 描述
Action String 公共参数,本接口取值:DescribeAssetImageRegistryDetail
Version String 公共参数,本接口取值:2020-11-01
Region String 公共参数,本接口不需要传递此参数。
Id Uint64 此参数对外不可见。
仓库列表id
ImageId String 此参数对外不可见。
镜像ID

3. 输出参数

参数名称 类型 描述
ImageDigest String 镜像Digest
ImageRepoAddress String 镜像地址
RegistryType String 镜像类型
ImageName String 仓库名称
ImageTag String 镜像版本
ScanTime String 扫描时间
ScanStatus String 扫描状态
VulCnt Uint64 安全漏洞数
VirusCnt Uint64 木马病毒数
RiskCnt Uint64 风险行为数
SentiveInfoCnt Uint64 敏感信息数
IsTrustImage Bool 是否可信镜像
OsName String 镜像系统
ScanVirusError String 木马扫描错误
ScanVulError String 漏洞扫描错误
LayerInfo String 层文件信息
InstanceId String 实例id
InstanceName String 实例名称
Namespace String 命名空间
ScanRiskError String 高危扫描错误
ScanVirusProgress Uint64 木马信息扫描进度
ScanVulProgress Uint64 漏洞扫描进度
ScanRiskProgress Uint64 敏感扫描进度
ScanRemainTime Uint64 剩余扫描时间秒
CveStatus String cve扫描状态
RiskStatus String 高危扫描状态
VirusStatus String 木马扫描状态
Progress Uint64 总进度
IsAuthorized Uint64 授权状态
ImageSize Uint64 镜像大小
ImageId String 镜像Id
RegistryRegion String 镜像区域
ImageCreateTime Datetime_iso 镜像创建的时间
SensitiveInfoCnt Uint64 敏感信息数
Id Uint64 Id
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码

错误码 描述
InvalidParameter
ResourceNotFound