public static final class AddImageEventOperationRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddImageEventOperationRequest |
build() |
AddImageEventOperationRequest.Builder |
conditions(String conditions)
The rule conditions.
|
AddImageEventOperationRequest.Builder |
eventKey(String eventKey)
The keyword of the alert item.
|
AddImageEventOperationRequest.Builder |
eventName(String eventName)
The name of the alert item.
|
AddImageEventOperationRequest.Builder |
eventType(String eventType)
The alert type.
|
AddImageEventOperationRequest.Builder |
note(String note)
The remarks that you want to add.
|
AddImageEventOperationRequest.Builder |
operationCode(String operationCode)
The operation code.
|
AddImageEventOperationRequest.Builder |
scenarios(String scenarios)
The application scope of the rule.
|
AddImageEventOperationRequest.Builder |
source(String source)
The source of the whitelist.
|
public AddImageEventOperationRequest.Builder conditions(String conditions)
The rule conditions. The value is in the JSON format. Valid values of keys:
[{"condition": "MD5", "type": "equals", "value": "0083a31cc0083a31ccf7c10367a6e783e"}]
public AddImageEventOperationRequest.Builder eventKey(String eventKey)
The keyword of the alert item.
example:PEM
public AddImageEventOperationRequest.Builder eventName(String eventName)
The name of the alert item.
example:PEM
public AddImageEventOperationRequest.Builder eventType(String eventType)
The alert type.
sensitiveFile
public AddImageEventOperationRequest.Builder note(String note)
The remarks that you want to add.
example:test
public AddImageEventOperationRequest.Builder operationCode(String operationCode)
The operation code.
whitelist
public AddImageEventOperationRequest.Builder scenarios(String scenarios)
The application scope of the rule. The value is in the JSON format. Valid values of keys:
{"type": "repo", "value": "test-aaa/shenzhen-repo-01"}
public AddImageEventOperationRequest.Builder source(String source)
The source of the whitelist. Valid values:
agentless
public AddImageEventOperationRequest build()
Copyright © 2026. All rights reserved.