Adds a check item of an image baseline to the whitelist, or removes a check item of an image baseline from the whitelist.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
BaselineItemKeyList | string | Yes | The keys of baseline check items. | hc.image.checklist.identify.hc_exploit_es_linux.item |
Operation | string | Yes | The operation that you want to perform on the check items. Valid values:
| add |
ImageUuid | string | No | The UUID of the image. | a5250ebca765dc9eb1a84b790b0e**** |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
ScanRange | array | No | The types of the assets that you want to scan. | |
string | No | The type of the asset that you want to scan. Valid values:
| image |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "75AD186B-B46A-56CC-BE35-987ADDF6****"
}
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