Modifies multiple alert whitelist rules of sensitive files that are detected by using the agentless detection feature at a time.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ConfigList | object [] | No | The whitelist rules. | |
ConfigId | long | No | The ID of the whitelist rule. If you do not specify this parameter, a whitelist rule is created. | 1 |
EventName | string | No | The name of the alert.
| ALL |
Field | string | No | The field that you want to use in the whitelist rule. | fileMd5 |
Operator | string | No | The logical operator that you want to use in the whitelist rule.
| strEqual |
FieldValue | string | No | The value of the field that you want to use in the whitelist rule. | b2cf9747ee49d8d9b105cf16e078cc16 |
TargetType | string | No | The type of the assets on which you want the whitelist rule to take effect. Valid values:
| ALL |
TargetValue | string | No | The assets on which you want the whitelist rule to take effect. Valid values:
| ALL |
Source | string | No | The feature to which this operation belongs.
| agentless |
Response parameters
Examples
Sample success responses
JSON
format
{
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "7532B7EE-7CE7-5F4D-BF04-B12447DDCAE1",
"HttpStatusCode": 200
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | NoPermission | no permission | - |
400 | UnknownError | UnknownError | - |
400 | DuplicateRule | Duplicated rule, please check whether the same rule already exists. | - |
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.