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 |
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)
public HandleSimilarSecurityEventsRequest.Builder operationCode(String operationCode)
> You can call the [DescribeSecurityEventOperations](~~DescribeSecurityEventOperations~~) operation to query the operations.
public HandleSimilarSecurityEventsRequest.Builder operationParams(String operationParams)
> 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: > * **quaraFileByMd5andPath**: quarantines the source file of the process.
public HandleSimilarSecurityEventsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public HandleSimilarSecurityEventsRequest.Builder sourceIp(String sourceIp)
public HandleSimilarSecurityEventsRequest.Builder taskId(Long taskId)
> You can call the [CreateSimilarSecurityEventsQueryTask](~~CreateSimilarSecurityEventsQueryTask~~) operation to query the IDs of tasks.
public HandleSimilarSecurityEventsRequest build()
Copyright © 2023. All rights reserved.