Queries security information about a container image.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CurrentPage | integer | No | The number of the page to return. | 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 20. | 20 |
ClusterId | string | No | The ID of the container cluster. Note
You can call the DescribeGroupedContainerInstances operation to query the ID of the container cluster.
| c80f79959fd724a888e1187779b13**** |
Namespace | string | No | The name of the namespace to which the repository belongs. | kube-sy**** |
AppName | string | No | The name of the application. | e**** |
ImageName | string | No | The name of the image. | container-***:**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "050ACC7A-D4FD-55C6-B861-BA9569C1****",
"ImageRiskList": [
{
"RepoNamespace": "vultar***",
"RepoName": "scan_test",
"Tag": "0.1.0",
"RegionId": "cn-hangzhou",
"Digest": "3f8efc2184cf1d24936b49c27286a284714b77be34c80c9ee38ca6bf322445****",
"RepoId": "crr-bk2l746eyxca1****",
"RepoType": "PRIVATE",
"RegistryType": "harbor",
"Endpoints": "https://172.20.XXX.XXX/test",
"ImageId": "f922bfeb6960436fe3f0e7b62fc6b9a0b47980986669c367c22433269404****",
"TagImmutable": 0,
"Statistics": {
"baselineNum": 0,
"newSuspicious": 0,
"vul": 0
},
"ImageAccessType": "IN_SAS",
"Image": ".aliyuncs.com/sas_test/baseline:exploit",
"Uuid": "624778f3-5bf2-423c-ac0c-47a62c05****",
"EndPointList": [
{
"Domains": [
"****-registry-registry-intranet.cn-shenzhen.cr.aliyuncs.com"
],
"Type": "internet"
}
],
"InternetURLs": "****registry-registry.cn-shenzhen-finance-1.cr.aliyuncs.com/xxxx/docker-****",
"VpcURLs": "****-registry-registry-vpc.cn-shenzhen-finance-1.cr.aliyuncs.com/xxxx/docker-****"
}
],
"PageInfo": {
"TotalCount": 23,
"Count": 3,
"PageSize": 20,
"CurrentPage": 1
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history