Configures proactive defense.


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

Request parameters

Parameter Type Required Example Description
Action String Yes OperateSuspiciousTargetConfig

The operation that you want to perform.

Set the value to OperateSuspiciousTargetConfig.

TargetOperations String Yes "[{\"targetType\":\"uuid\",\"target\":\"0585f81a-dd84-4ddf-9971-f59d12345678\",\"flag\":\"add\"},{\"targetType\":\"uuid\",\"target\":\"01acfd9d-e6a4-4e61-b9eb-aae012345678\",\"flag\":\"add\"},{\"targetType\":\"uuid\",\"target\":\"04a0e735-ad32-4835-b635-045812345678\",\"flag\":\"add\"}]"

The parameter required to configure proactive defense for your server. The parameter includes the following fields:

  • targetType: specifies the dimension on which proactive defense is configured. UUIDs are supported. Set the value to uuid.
  • target: specifies the UUID of the server for which you want to configure proactive defense.
  • flag: specifies whether to enable or disable proactive defense for your server. Valid values are add and del. The value add indicates that proactive defense will be enabled for your server. The value del indicates that proactive defense will be disabled for your server.
TargetType String Yes uuid

The dimension from which you manage proactive defense. Only server UUIDs are supported.

Set the value to uuid.

Type String Yes auto_breaking

The type of the proactive defense. Valid values:

  • auto_breaking: automatic blocking
  • webshell_cloud_breaking: webshell prevention
  • alinet: malicious behavior prevention
  • ransomware_breaking: ransomware capture
  • alisecguard: client protection
SourceIp String No 1.2.XX.XX

The source IP address of the request.

Lang String No zh

The natural language of the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

Parameter Type Example Description
RequestId String ABCD-PSD2-5256-1DSA-4222-JHBN

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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