public static final class HandleSimilarSecurityEventsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
HandleSimilarSecurityEventsRequest |
build() |
HandleSimilarSecurityEventsRequest.Builder |
markMissParam(String markMissParam)
The whitelist rule.
|
HandleSimilarSecurityEventsRequest.Builder |
operationCode(String operationCode)
The operation that you want to perform to handle the alert events.
|
HandleSimilarSecurityEventsRequest.Builder |
operationParams(String operationParams)
The configuration of the operation that you want to perform to handle the alert events.
|
HandleSimilarSecurityEventsRequest.Builder |
remark(String remark)
The remark of the operation.
|
HandleSimilarSecurityEventsRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
HandleSimilarSecurityEventsRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
HandleSimilarSecurityEventsRequest.Builder |
taskId(Long taskId)
The ID of the task that handles the alert events at a time.
|
public HandleSimilarSecurityEventsRequest.Builder markMissParam(String markMissParam)
The whitelist rule. For example, if you want to add a file that contains the string a to the whitelist based on the MD5 hash value, set this parameter to {"field":"md5","operate":"contains","fieldValue":"aa"}.
example:{"field":"md5","operate":"contains","fieldValue":"aa"}
public HandleSimilarSecurityEventsRequest.Builder operationCode(String operationCode)
The operation that you want to perform to handle the alert events.
You can call the DescribeSecurityEventOperations operation to query the operations.
This parameter is required.
example:offline_handled
public HandleSimilarSecurityEventsRequest.Builder operationParams(String operationParams)
The configuration of the operation that you want to perform to handle the alert events. The value of this parameter is in the JSON format.
If you set OperationCode to kill_and_quara, block_ip, or virus_quara, you must specify OperationParams. If you set OperationCode to other values, you can leave OperationParams empty. If you set OperationCode to block_ip, the value of OperationParams must consist of the following fields:
- expireTime: the end time of locking. Unit: milliseconds.
If you set OperationCode to kill_and_quara, the value of OperationParams must consist of the following fields:
- subOperation: the method of detection and removal. Valid values:
* **killAndQuaraFileByMd5andPath**: terminates the process and quarantines the source file of the process. * **killByMd5andPath**: terminates the running process.
If you set OperationCode to virus_quara, the value of OperationParams consists of the following fields:
- subOperation: the method of detection and removal. Valid values:
example:* **quaraFileByMd5andPath**: quarantines the source file of the process.
{"expireTime":1646208726195}
public HandleSimilarSecurityEventsRequest.Builder remark(String remark)
The remark of the operation.
example:remark test.
public HandleSimilarSecurityEventsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public HandleSimilarSecurityEventsRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:192.168.XX.XX
public HandleSimilarSecurityEventsRequest.Builder taskId(Long taskId)
The ID of the task that handles the alert events at a time.
You can call the CreateSimilarSecurityEventsQueryTask operation to query the IDs of tasks.
This parameter is required.
example:666038
public HandleSimilarSecurityEventsRequest build()
Copyright © 2026. All rights reserved.