Modifies the alert handling rule for alerts that are added to the whitelist by asset.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| InsertMarkMissParam | string | No | The alert handling that you want to add. | [{\"field\":\"location\",\"operate\":\"contains\",\"eventType\":\"SIL_AI_ALERT\",\"eventName\":\"login_common_ip\",\"fieldValue\":\"xx\",\"uuids\":\"4296ee47-bf19-4fa4-a4a6-6bxxxxxxxxx\"}] |
| DeleteMarkMissParam | string | No | The alert handling rule that you want to delete. | [{\"field\":\"loginSourceIp\",\"operate\":\"contains\",\"eventType\":\"SIL_AI_ALERT\",\"eventName\":\"login_common_ip\",\"fieldValue\":\"10.12.XX.XX\",\"uuids\":\"\"}] |
| From | string | No | The ID of the request source. Set the value to sas. | sas |
| Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
| SourceIp | string | No | The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system. | 127.0.XX.XX |
Response parameters
Examples
Sample success responses
JSONformat
{
"Success": true,
"Code": 200,
"Message": "successful",
"RequestId": "A37B852F-E346-5FF2-82BD-D1F1DXXXXXX",
"HttpStatusCode": 200,
"TimeCost": 1
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | NoPermission | no permission | - |
| 400 | UnknownError | UnknownError | - |
| 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 |
|---|---|---|
| 2024-01-31 | The Error code has changed | View Change Details |
