Queries the image baseline risks that are detected.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeImageBaselineCheckSummary

The operation that you want to perform. Set the value to DescribeImageBaselineCheckSummary.

RiskLevel String No high

The severity of the image baseline risk. Separate multiple severities with commas (,). Valid values:

  • high
  • medium
  • low
Criteria String No Identity authentication

The condition that is used to query the image baseline risk.

CriteriaType String No BaselineNameAlias

The type of the condition that is used query the image baseline risk. Valid values:

  • BaselineNameAlias: baseline name
  • BaselineClassAlias: baseline category
PageSize Integer No 20

The number of entries to return on each page. Default value: 20.

CurrentPage Integer No 1

The number of the page to return. Pages start from page 1. Default value: 1.

Lang String No zh

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
RequestId String 5BD95679-D63A-4151-97D0-188432F4A57

The ID of the request, which is used to locate and troubleshoot issues.

PageInfo Object

The pagination information.

CurrentPage Integer 1

The page number of the returned page.

PageSize Integer 20

The number of entries returned per page. Default value: 20.

TotalCount Integer 3

The total number of entries returned.

Count Integer 3

The number of entries returned on the current page.

BaselineResultSummary Array of BaselineResultSummary

The details about image baseline risks.

Status Integer 0

Indicates whether the image baseline risk is fixed. Valid values:

  • 0: unfixed
  • 1: fixed
  • 2: pending verification
  • 3: fixing failed
MiddleRiskImage Integer 0

The number of images on which medium baseline risks are detected.

BaselineNameLevel String high

The severity of the image baseline risk. Valid values:

  • high
  • medium
  • low
LastScanTime Long 1626628760000

The timestamp when the last scan was performed. Unit: milliseconds.

HighRiskImage Integer 15

The number of images on which high baseline risks are detected.

BaselineNameKey String hc_image_exploit

The keyword of the baseline name.

BaselineClassKey String hc_image_exploit

The keyword of the baseline category.

BaselineNameAlias String Unauthorized access

The name of the baseline.

BaselineClassAlias String Unauthorized access

The category of the baseline.

FirstScanTime Long 1626628760000

The timestamp when the first scan was performed. Unit: milliseconds.

LowRiskImage Integer 0

The number of images on which low baseline risks are detected.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeImageBaselineCheckSummary
&RiskLevel=high
&Criteria=Identity authentication
&CriteriaType=BaselineNameAlias
&PageSize=20
&CurrentPage=1
&Lang=zh
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeImageBaselineCheckSummaryResponse>
    <RequestId>5BD95679-D63A-4151-97D0-188432F4A57</RequestId>
    <PageInfo>
        <CurrentPage>1</CurrentPage>
        <PageSize>20</PageSize>
        <TotalCount>3</TotalCount>
        <Count>3</Count>
    </PageInfo>
    <BaselineResultSummary>
        <Status>0</Status>
        <MiddleRiskImage>0</MiddleRiskImage>
        <BaselineNameLevel>high</BaselineNameLevel>
        <LastScanTime>1626628760000</LastScanTime>
        <HighRiskImage>15</HighRiskImage>
        <BaselineNameKey>hc_image_exploit</BaselineNameKey>
        <BaselineClassKey>hc_image_exploit</BaselineClassKey>
        <BaselineNameAlias>Unauthorized access</BaselineNameAlias>
        <BaselineClassAlias>Unauthorized access</BaselineClassAlias>
        <FirstScanTime>1626628760000</FirstScanTime>
        <LowRiskImage>0</LowRiskImage>
    </BaselineResultSummary>
</DescribeImageBaselineCheckSummaryResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "5BD95679-D63A-4151-97D0-188432F4A57",
  "PageInfo" : {
    "CurrentPage" : 1,
    "PageSize" : 20,
    "TotalCount" : 3,
    "Count" : 3
  },
  "BaselineResultSummary" : [ {
    "Status" : 0,
    "MiddleRiskImage" : 0,
    "BaselineNameLevel" : "high",
    "LastScanTime" : 1626628760000,
    "HighRiskImage" : 15,
    "BaselineNameKey" : "hc_image_exploit",
    "BaselineClassKey" : "hc_image_exploit",
    "BaselineNameAlias" : "Unauthorized access",
    "BaselineClassAlias" : "Unauthorized access",
    "FirstScanTime" : 1626628760000,
    "LowRiskImage" : 0
  } ]
}

Error codes

HTTP status code Error code Error message Description
500 ServerError ServerError The error message returned because a server error occurred.

For a list of error codes, visit the API Error Center.