| Package | Description |
|---|---|
| com.tencentcloudapi.teo.v20220901.models |
| Modifier and Type | Method and Description |
|---|---|
SecurityAction |
ManagedRuleAction.getAction()
Get RuleId 中指定托管规则项的处置动作。 SecurityAction 的 Name 取值支持:Deny:拦截,响应拦截页面;Monitor:观察,不处理请求记录安全事件到日志中;Disabled:未启用,不扫描请求跳过该规则。
|
SecurityAction |
CustomRule.getAction()
Get 自定义规则的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;ReturnCustomPage:使用指定页面拦截;Redirect:重定向至 URL;BlockIP:IP 封禁;JSChallenge:JavaScript 挑战;ManagedChallenge:托管挑战;Allow:放行。
|
SecurityAction |
ManagedRuleGroup.getAction()
Get 托管规则组的处置动作。SecurityAction 的 Name 取值支持:Deny:拦截,响应拦截页面;Monitor:观察,不处理请求记录安全事件到日志中;Disabled:未启用,不扫描请求跳过该规则。
|
| Modifier and Type | Method and Description |
|---|---|
void |
ManagedRuleAction.setAction(SecurityAction Action)
Set RuleId 中指定托管规则项的处置动作。 SecurityAction 的 Name 取值支持:Deny:拦截,响应拦截页面;Monitor:观察,不处理请求记录安全事件到日志中;Disabled:未启用,不扫描请求跳过该规则。
|
void |
CustomRule.setAction(SecurityAction Action)
Set 自定义规则的执行动作。 SecurityAction 的 Name 取值支持:Deny:拦截;Monitor:观察;ReturnCustomPage:使用指定页面拦截;Redirect:重定向至 URL;BlockIP:IP 封禁;JSChallenge:JavaScript 挑战;ManagedChallenge:托管挑战;Allow:放行。
|
void |
ManagedRuleGroup.setAction(SecurityAction Action)
Set 托管规则组的处置动作。SecurityAction 的 Name 取值支持:Deny:拦截,响应拦截页面;Monitor:观察,不处理请求记录安全事件到日志中;Disabled:未启用,不扫描请求跳过该规则。
|
| Constructor and Description |
|---|
SecurityAction(SecurityAction 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.
|
Copyright © 2025. All rights reserved.