Changes the status of an asset affected by a check item. You can ignore an asset or mark an asset as false positive.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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.

  • zh: Chinese
  • en: English
Ids.N RepeatList No 1

The ID of the affected asset.

Status String No ignored

The status of the affected asset. Valid values:

  • ignored: ignores the asset
  • failed: marks the asset as false positive

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.