public static final class OperationSuspEventsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
OperationSuspEventsRequest |
build() |
OperationSuspEventsRequest.Builder |
from(String from)
The ID of the request source.
|
OperationSuspEventsRequest.Builder |
operation(String operation)
The operation that you want to perform on alerts.
|
OperationSuspEventsRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
OperationSuspEventsRequest.Builder |
subOperation(String subOperation)
The suboperation that you want to perform when you quarantine the source file of the malicious process.
|
OperationSuspEventsRequest.Builder |
suspiciousEventIds(String suspiciousEventIds)
The IDs of alert events.
|
OperationSuspEventsRequest.Builder |
warnType(String warnType)
The type of the exceptions.
|
public OperationSuspEventsRequest.Builder from(String from)
Set the value to **sas**, which indicates that the request is sent from Security Center.
public OperationSuspEventsRequest.Builder operation(String operation)
* **deal**: quarantines the source file of the malicious process. * **ignore**: ignores the alerts. * **mark\_mis_info**: marks the alerts as false positives by adding the alerts to the whitelist. * **rm\_mark\_mis_info**: cancels marking the alerts as false positives by removing the alerts from the whitelist. * **offline_handled**: marks the alerts as handled.
public OperationSuspEventsRequest.Builder sourceIp(String sourceIp)
public OperationSuspEventsRequest.Builder subOperation(String subOperation)
* **killAndQuaraFileByPidAndMd5andPath**: terminates the process based on its process ID (PID) and quarantines the source file of the process. * **quaraFileByMd5andPath**: quarantines the source file of the process. * **killAndQuaraFileByMd5andPath**: terminates the process and quarantines the source file of the process.
public OperationSuspEventsRequest.Builder suspiciousEventIds(String suspiciousEventIds)
> You can call the [DescribeAlarmEventList](~~DescribeAlarmEventList~~) operation to obtain the IDs of alert events from the SecurityEventIds response parameter.
public OperationSuspEventsRequest.Builder warnType(String warnType)
* **alarm**: alerts * **null**: exceptions
public OperationSuspEventsRequest build()
Copyright © 2023. All rights reserved.