All Products
Search
Document Center

Security Center:DescribeImageBaselineItemList

Last Updated:Nov 13, 2024

Queries baseline check results based on images.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribeImageBaselineItemListget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ImageUuidstringYes

The UUID of the image.

0b5c7193300da2070220038718ad****
StatusstringNo

The status of the baseline risk item. Valid values:

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

The key of the baseline type.

ak_leak
BaselineNameKeystringNo

The key of the baseline name.

AccessKey pair leak
PageSizeintegerNo

The number of entries to return on each page.

20
CurrentPageintegerNo

The number of the page to return.

1
LangstringNo

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

  • zh: Chinese
  • en: English
zh
ScanRangearrayNo

The types of the assets that are scanned.

stringNo

The type of the asset that is scanned. Valid values:

  • image
  • container
image,container
UuidsarrayNo

The UUIDs of images.

stringNo

The UUID of the image.

5b6d4072118f487094199cedf90c****,f6310b7976144639867beea2f346****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

24A20733-10A0-4AF6-BE6B-E3322413****
PageInfoobject

The pagination information.

CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page.

20
TotalCountinteger

The total number of entries returned.

253
Countinteger

The number of entries returned on the current page.

20
BaselineItemInfosarray<object>

An array that consists of baseline check items.

BaselineItemInfosobject

The information about the baseline check item.

Statusinteger

The status of the baseline risks. Valid values:

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

Indicates whether the baseline check item is added to the whitelist. Valid values:

  • 0: The baseline check item is not added to the whitelist.
  • 1: The baseline check item is added to the whitelist.
0
BaselineNameKeystring

The key of the baseline name.

ak_leak
BaselineItemAliasstring

The alias of the baseline check item.

AccessKey pair leak
BaselineClassKeystring

The key of the baseline type.

ak_leak
BaselineClassAliasstring

The alias of the baseline type.

AccessKey pair leak
BaselineNameAliasstring

The alias of the baseline.

AccessKey pair leak
BaselineItemKeystring

The key of the baseline check item.

ak_leak

Examples

Sample success responses

JSONformat

{
  "RequestId": "24A20733-10A0-4AF6-BE6B-E3322413****",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 253,
    "Count": 20
  },
  "BaselineItemInfos": [
    {
      "Status": 0,
      "WhiteList": 0,
      "BaselineNameKey": "ak_leak",
      "BaselineItemAlias": "AccessKey pair leak\n",
      "BaselineClassKey": "ak_leak",
      "BaselineClassAlias": "AccessKey pair leak\n",
      "BaselineNameAlias": "AccessKey pair leak\n",
      "BaselineItemKey": "ak_leak"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-09-25The Error code has changedView Change Details