All Products
Search
Document Center

Security Center:ModifyRiskSingleResultStatus

Last Updated:Feb 20, 2024

Modifies the status of a risk item that affects an asset. You can ignore the risk item or cancel ignoring the risk item.

Operation description

This operation is phased out. You can use the following operations:

-To ignore a risk item, use the AddCheckInstanceResultWhiteList operation.

-To cancel ignoring a risk item, use the RemoveCheckInstanceResultWhiteList operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

42.120.XX.XX
LangstringNo

The language of the content within the request and response. Valid values:

  • zh: Chinese
  • en: English
zh
StatusstringYes

The method to handle the risk item. Valid values:

  • ignored: ignores the risk item.
  • failed: cancels ignoring the risk item.
ignored
TaskIdlongYes

The ID of the check task to which the affected assets belong.

57
IdsarrayYes

The IDs of the affected assets.

stringYes

The ID of the affected asset.

540314398

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

3B3F3A90-46A5-4023-A2D8-D68B14262F96

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
400RiskItemResultNotExistsRiskItem result not exists.-
400NoPermissionno permission-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history