Changes the status of an asset affected by a check item. You can ignore an asset or mark an asset as false positive.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyRiskSingleResultStatus |
The operation that you want to perform. Set the value to ModifyRiskSingleResultStatus. |
TaskId | Long | Yes | 57 |
The ID of the check task to which the affected asset belongs. |
SourceIp | String | No | 1.2.3.4 |
The source IP address of the request. |
Lang | String | No | zh |
The natural language of the request and response.
|
Ids.N | RepeatList | No | 1 |
The ID of the affected asset. |
Status | String | No | ignored |
The status of the affected asset. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 3B3F3A90-46A5-4023-A2D8-D68B14262F96 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyRiskSingleResultStatus
&Ids.1=4
&Status=ignored
&TaskId=57
&<Common request parameters>
Sample success responses
XML
format
<ModifyRiskSingleResultStatusResponse>
<RequestId>3B3F3A90-46A5-4023-A2D8-D68B14262F96</RequestId>
</ModifyRiskSingleResultStatusResponse>
JSON
format
{
"RequestId":"3B3F3A90-46A5-4023-A2D8-D68B14262F96"
}
Error codes
For a list of error codes, visit the API Error Center.