public static final class HandleSecurityEventsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
HandleSecurityEventsRequest |
build() |
HandleSecurityEventsRequest.Builder |
markBatch(String markBatch)
Specifies whether to add multiple alert events to the whitelist at a time.
|
HandleSecurityEventsRequest.Builder |
markMissParam(String markMissParam)
The whitelist rule.
|
HandleSecurityEventsRequest.Builder |
operationCode(String operationCode)
The operation that you want to perform to handle the alert events.
|
HandleSecurityEventsRequest.Builder |
operationParams(String operationParams)
The configuration of the operation that you want to perform to handle the alert events.
|
HandleSecurityEventsRequest.Builder |
securityEventIds(List<String> securityEventIds)
The IDs of the alert events.
|
HandleSecurityEventsRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
public HandleSecurityEventsRequest.Builder markBatch(String markBatch)
* **true**: yes * **false**: no
public HandleSecurityEventsRequest.Builder markMissParam(String markMissParam)
* **field**: The field based on which alert events are added to the whitelist. * **operate**: The method that is used to added alert events to the whitelist. Valid values: * **notContains**: does not contain * **contains**: contains * **regex**: matches by regular expression * **strEqual**: equals * **strNotEqual**: does not equal * **fieldValue**: The value of the field based on which alert events are added to the whitelist. * **uuid**: The application scope of the whitelist rule. Valid values: * **part**: the current asset * **ALL**: all assets > You can call the [DescribeSecurityEventOperations](~~DescribeSecurityEventOperations~~) operation to obtain the fields that you can specify for **field**.
public HandleSecurityEventsRequest.Builder operationCode(String operationCode)
* **block_ip**: blocks the source IP address. * **advance\_mark\_mis_info**: adds the alert events to the whitelist. * **ignore**: ignores the alert events. * **manual_handled**: marks the alert events as manually handled. * **kill_process**: terminates the malicious process. * **cleanup**: performs in-depth virus detection and removal. * **kill\_and_quara**: kills the malicious processes and quarantines the source file. * **disable\_malicious_defense**: stops the container on which the alerting files or processes exist. * **client\_problem_check**: performs troubleshooting. * **quara**: quarantines the source file of the malicious process.
public HandleSecurityEventsRequest.Builder operationParams(String operationParams)
> If you set OperationCode to `kill_and_quara` or `block_ip`, you must specify OperationParams. If you set OperationCode to other values, you can leave OperationParams empty.
public HandleSecurityEventsRequest.Builder securityEventIds(List<String> securityEventIds)
public HandleSecurityEventsRequest.Builder sourceIp(String sourceIp)
public HandleSecurityEventsRequest build()
Copyright © 2023. All rights reserved.