Queries the whitelist rules for a baseline check item.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CheckIds | array | No | The IDs of check items. | |
CheckId | long | No | The ID of the check item. Note
You can call the DescribeCheckWarningSummary operation to query the IDs of check items.
| 58 |
RecordIds | array | No | The IDs of the whitelist rules. | |
RecordId | long | No | The ID of the whitelist rule. | 496242 |
Source | string | No | The data source. If you leave this parameter empty, the default value is used. Valid values:
| agentless |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
CheckItemFuzzy | string | No | The name of the check item. Fuzzy match is supported. | redis |
CurrentPage | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"List": [
{
"RecordId": 79412,
"CheckId": 696,
"TargetType": "instance",
"Target": "HOST_BASELINE_WHITE_LIST_21",
"Reason": "AutoTest",
"Source": "agentless",
"Lang": "en",
"CheckItem": "Config the Event Audit policys",
"CheckType": "Security audit",
"CheckTypeDisName": "Security audit"
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 45,
"Count": 2
},
"RequestId": "9F4E6157-9600-5588-86B9-38F09067****"
}
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.