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 Action for the managed rule item specified by RuleId, the SecurityAction Name parameter supports: `Deny`: block and respond with an block page; `Monitor`: observe, do not process the request and record the security event in logs; `Disabled`: disabled, do not scan the request and skip this rule..
|
String |
getRuleId()
Get Specific items under ManagedRuleGroup, used to rewrite the configuration of this individual rule item, refer to product documentation for details.
|
void |
setAction(SecurityAction Action)
Set Action for the managed rule item specified by RuleId, the SecurityAction Name parameter supports: `Deny`: block and respond with an block page; `Monitor`: observe, do not process the request and record the security event in logs; `Disabled`: disabled, do not scan the request and skip this rule..
|
void |
setRuleId(String RuleId)
Set Specific items under ManagedRuleGroup, used to rewrite the configuration of this individual rule item, refer to product documentation for details.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ManagedRuleAction()
public ManagedRuleAction(ManagedRuleAction source)
public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- Specific items under ManagedRuleGroup, used to rewrite the configuration of this individual rule item, refer to product documentation for details.public SecurityAction getAction()
public void setAction(SecurityAction Action)
Action
- Action for the managed rule item specified by RuleId, the SecurityAction Name parameter supports: Copyright © 2025. All rights reserved.