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 |
remark(String remark)
The remarks of the handling operation.
|
HandleSecurityEventsRequest.Builder |
resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
|
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)
Specifies whether to add multiple alert events to the whitelist at a time. Valid values:
true
public HandleSecurityEventsRequest.Builder markMissParam(String markMissParam)
The whitelist rule. The value of this parameter is in the JSON format and contains the following fields:
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:
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:
example:You can call the DescribeSecurityEventOperations operation to obtain the fields that you can specify for field.
[{"uuid":"part","field":"gmtModified","operate":"contains","fieldValue":"asd"},{"uuid":"part","field":"loginUser","operate":"contains","fieldValue":"vff"}]
public HandleSecurityEventsRequest.Builder operationCode(String operationCode)
The operation that you want to perform to handle the alert events. Valid values:
This parameter is required.
example:block_ip
public HandleSecurityEventsRequest.Builder operationParams(String operationParams)
The configuration of the operation that you want to perform to handle the alert events.
example:If you set OperationCode to
kill_and_quaraorblock_ip, you must specify OperationParams. If you set OperationCode to other values, you can leave OperationParams empty.
{}
public HandleSecurityEventsRequest.Builder remark(String remark)
The remarks of the handling operation.
example:remark test.
public HandleSecurityEventsRequest.Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
example:You can call the DescribeMonitorAccounts operation to obtain the IDs.
16670360956*****
public HandleSecurityEventsRequest.Builder securityEventIds(List<String> securityEventIds)
The IDs of the alert events.
This parameter is required.
example:["909361"]
public HandleSecurityEventsRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:1.2.XX.XX
public HandleSecurityEventsRequest build()
Copyright © 2026. All rights reserved.