public class SecurityConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
SecurityConfig() |
SecurityConfig(SecurityConfig 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 |
---|---|
AclConfig |
getAclConfig()
Get Custom rule.
|
BotConfig |
getBotConfig()
Get Bot configuration.
|
DropPageConfig |
getDropPageConfig()
Get Custom block page settings.
|
ExceptConfig |
getExceptConfig()
Get Exception rule configuration.
|
IpTableConfig |
getIpTableConfig()
Get Basic access control.
|
RateLimitConfig |
getRateLimitConfig()
Get Rate limiting.
|
SlowPostConfig |
getSlowPostConfig()
Get Settings for slow attack defense.
|
SwitchConfig |
getSwitchConfig()
Get Switch setting of the 7-layer protection.
|
TemplateConfig |
getTemplateConfig()
Get Security template settings
Note: This field may return `null`, indicating that no valid value can be obtained.
|
WafConfig |
getWafConfig()
Get Managed rule.
|
void |
setAclConfig(AclConfig AclConfig)
Set Custom rule.
|
void |
setBotConfig(BotConfig BotConfig)
Set Bot configuration.
|
void |
setDropPageConfig(DropPageConfig DropPageConfig)
Set Custom block page settings.
|
void |
setExceptConfig(ExceptConfig ExceptConfig)
Set Exception rule configuration.
|
void |
setIpTableConfig(IpTableConfig IpTableConfig)
Set Basic access control.
|
void |
setRateLimitConfig(RateLimitConfig RateLimitConfig)
Set Rate limiting.
|
void |
setSlowPostConfig(SlowPostConfig SlowPostConfig)
Set Settings for slow attack defense.
|
void |
setSwitchConfig(SwitchConfig SwitchConfig)
Set Switch setting of the 7-layer protection.
|
void |
setTemplateConfig(TemplateConfig TemplateConfig)
Set Security template settings
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setWafConfig(WafConfig WafConfig)
Set Managed rule.
|
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 SecurityConfig()
public SecurityConfig(SecurityConfig source)
public WafConfig getWafConfig()
public void setWafConfig(WafConfig WafConfig)
WafConfig
- Managed rule. If the parameter is null or not filled, the configuration last set will be used by default.
Note: This field may return null, indicating that no valid value can be obtained.public RateLimitConfig getRateLimitConfig()
public void setRateLimitConfig(RateLimitConfig RateLimitConfig)
RateLimitConfig
- Rate limiting. If the parameter is null or not filled, the configuration last set will be used by default.
Note: This field may return null, indicating that no valid value can be obtained.public AclConfig getAclConfig()
public void setAclConfig(AclConfig AclConfig)
AclConfig
- Custom rule. If the parameter is null or not filled, the configuration last set will be used by default.
Note: This field may return null, indicating that no valid value can be obtained.public BotConfig getBotConfig()
public void setBotConfig(BotConfig BotConfig)
BotConfig
- Bot configuration. If the parameter is null or not filled, the configuration last set will be used by default.
Note: This field may return null, indicating that no valid value can be obtained.public SwitchConfig getSwitchConfig()
public void setSwitchConfig(SwitchConfig SwitchConfig)
SwitchConfig
- Switch setting of the 7-layer protection. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained.public IpTableConfig getIpTableConfig()
public void setIpTableConfig(IpTableConfig IpTableConfig)
IpTableConfig
- Basic access control. If the parameter is null or not filled, the configuration last set will be used by default.
Note: This field may return null, indicating that no valid value can be obtained.public ExceptConfig getExceptConfig()
public void setExceptConfig(ExceptConfig ExceptConfig)
ExceptConfig
- Exception rule configuration. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained.public DropPageConfig getDropPageConfig()
public void setDropPageConfig(DropPageConfig DropPageConfig)
DropPageConfig
- Custom block page settings. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained.public TemplateConfig getTemplateConfig()
public void setTemplateConfig(TemplateConfig TemplateConfig)
TemplateConfig
- Security template settings
Note: This field may return `null`, indicating that no valid value can be obtained.public SlowPostConfig getSlowPostConfig()
public void setSlowPostConfig(SlowPostConfig SlowPostConfig)
SlowPostConfig
- Settings for slow attack defense. If the parameter is null or not filled, the configuration last set will be used by default.Note: This field may return null, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.