You can call this operation to change the status of an asset where risks are detected based on the check items. 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.

Ids.N RepeatList No 1

The ID of the detected asset.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
SourceIp String No 1.2.3.4

The IP address of the request.

Status String No ignored

The status to which you want to set the asset.

  • ignored: The asset is ignored.
  • failed: The asset labeled as a false positive.
TaskId Long No 57

The ID of the check task to which the detected asset belongs.

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

<ModifyRiskSingleResultStatus>
  <RequestId>3B3F3A90-46A5-4023-A2D8-D68B14262F96</RequestId>
</ModifyRiskSingleResultStatus>

JSON format

{
	"RequestId":"3B3F3A90-46A5-4023-A2D8-D68B14262F96"
}

Error codes

For a list of error codes, visit the API Error Center.