WafRuleProps
Properties for defining a WafRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-wafrule
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
&alicloudroscdkesa.WafRuleProps {
Phase: interface{},
SiteId: interface{},
Config: interface{},
RulesetId: interface{},
Shared: interface{},
SiteVersion: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Phase | interface{} | Property phase: The version of the website. |
SiteId | interface{} | Property siteId: The website ID, which can be obtained by calling the ListSites operation. |
Config | interface{} | Property config: The configuration of the rule. |
RulesetId | interface{} | Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation. |
Shared | interface{} | Property shared: The configurations shared by multiple rules. |
SiteVersion | interface{} | Property siteVersion: The website ID, which can be obtained by calling the ListSites operation. |
PhaseRequired
Phase interface{}
- Type: interface{}
Property phase: The version of the website.
SiteIdRequired
SiteId interface{}
- Type: interface{}
Property siteId: The website ID, which can be obtained by calling the ListSites operation.
ConfigOptional
Config interface{}
- Type: interface{}
Property config: The configuration of the rule.
RulesetIdOptional
RulesetId interface{}
- Type: interface{}
Property rulesetId: The ID of the WAF ruleset, which can be obtained by calling the ListWafRulesets operation.
SharedOptional
Shared interface{}
- Type: interface{}
Property shared: The configurations shared by multiple rules.
SiteVersionOptional
SiteVersion interface{}
- Type: interface{}
Property siteVersion: The website ID, which can be obtained by calling the ListSites operation.