查询镜像信息

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

1. 接口描述

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

查询镜像详细信息

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

接口更新时间:2023-11-20 19:28:07。

接口既验签名又鉴权。

2. 输入参数

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

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

3. 输出参数

参数名称 类型 描述
ImageID String 镜像ID
ImageName String 镜像名称
ImageDigest String 镜像摘要
CreateTime String 创建时间
Size Uint64 镜像大小
HostCnt Uint64 关联主机个数
ContainerCnt Uint64 关联容器个数
ScanTime String 最近扫描时间
VulCnt Uint64 漏洞个数
RiskCnt Uint64 风险行为数
SensitiveInfoCnt Uint64 敏感信息数
IsTrustImage Bool 是否信任镜像
OsName String 镜像系统
AgentError String agent镜像扫描错误
ScanError String 后端镜像扫描错误
Architecture String 系统架构
Author String 作者
BuildHistory String 构建历史
ScanVirusProgress Uint64 木马扫描进度
ScanVulProgress Uint64 漏洞扫进度
ScanRiskProgress Uint64 敏感信息扫描进度
ScanVirusError String 木马扫描错误
ScanVulError String 漏洞扫描错误
ScanRiskError String 敏感信息错误
ScanStatus String 镜像扫描状态
VirusCnt Uint64 木马病毒数
Status Uint64 镜像扫描状态
RemainScanTime Uint64 剩余扫描时间
IsAuthorized Int64 授权为:1,未授权为:0
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

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

错误码 描述
InvalidParameter
InternalError
ResourceNotFound
InvalidParameter.ParsingError
InternalError.MainDBFail