public static final class SetSensitiveDefineRuleConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SetSensitiveDefineRuleConfigRequest |
build() |
SetSensitiveDefineRuleConfigRequest.Builder |
config(String config)
The configurations of the custom check rule.
|
SetSensitiveDefineRuleConfigRequest.Builder |
enableNewRule(Integer enableNewRule)
Specifies whether to enable the new ruled for automatic check only on agentless detection.
|
SetSensitiveDefineRuleConfigRequest.Builder |
source(String source)
The source of the check rules.
|
public SetSensitiveDefineRuleConfigRequest.Builder config(String config)
The configurations of the custom check rule. The value is in the JSON format. Valid values of keys:
[{"classKey": "password", "ruleList": ["huaweicloud_ak", "ak_leak"]}]
public SetSensitiveDefineRuleConfigRequest.Builder enableNewRule(Integer enableNewRule)
Specifies whether to enable the new ruled for automatic check only on agentless detection. Valid values:
1
public SetSensitiveDefineRuleConfigRequest.Builder source(String source)
The source of the check rules. Valid values:
agentless
public SetSensitiveDefineRuleConfigRequest build()
Copyright © 2026. All rights reserved.