public class ManagedRuleAction extends AbstractModel
header, skipSign
Constructor and Description |
---|
ManagedRuleAction() |
ManagedRuleAction(ManagedRuleAction source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
SecurityAction |
getAction()
Get RuleId 中指定托管规则项的处置动作。 SecurityAction 的 Name 取值支持:Deny:拦截,响应拦截页面;Monitor:观察,不处理请求记录安全事件到日志中;Disabled:未启用,不扫描请求跳过该规则。
|
String |
getRuleId()
Get 托管规则组下的具体项,用于改写此单条规则项配置的内容,具体参考产品文档。
|
void |
setAction(SecurityAction Action)
Set RuleId 中指定托管规则项的处置动作。 SecurityAction 的 Name 取值支持:Deny:拦截,响应拦截页面;Monitor:观察,不处理请求记录安全事件到日志中;Disabled:未启用,不扫描请求跳过该规则。
|
void |
setRuleId(String RuleId)
Set 托管规则组下的具体项,用于改写此单条规则项配置的内容,具体参考产品文档。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ManagedRuleAction()
public ManagedRuleAction(ManagedRuleAction source)
public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- 托管规则组下的具体项,用于改写此单条规则项配置的内容,具体参考产品文档。public SecurityAction getAction()
public void setAction(SecurityAction Action)
Action
- RuleId 中指定托管规则项的处置动作。 SecurityAction 的 Name 取值支持:Copyright © 2025. All rights reserved.