ContainerDefenseRuleProps
Properties for defining a ContainerDefenseRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-containerdefenserule
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
&alicloudroscdkthreatdetection.ContainerDefenseRuleProps {
Description: interface{},
RuleAction: interface{},
RuleId: interface{},
RuleName: interface{},
RuleSwitch: interface{},
RuleType: interface{},
Scope: interface{},
Whitelist: interface{},
WhitelistHash: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Description | interface{} | Property description: Rule description. |
RuleAction | interface{} | Property ruleAction: The action that is performed when the rule is hit. |
RuleId | interface{} | Property ruleId: Rule Id. |
RuleName | interface{} | Property ruleName: The name of the rule. |
RuleSwitch | interface{} | Property ruleSwitch: The switch of the rule. |
RuleType | interface{} | Property ruleType: The rule type. |
Scope | interface{} | Property scope: Rule scope. |
Whitelist | interface{} | Property whitelist: The whitelist of rule. |
WhitelistHash | interface{} | Property whitelistHash: The whitelist Hash. |
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: Rule description.
RuleActionOptional
RuleAction interface{}
- Type: interface{}
Property ruleAction: The action that is performed when the rule is hit.
Valid values:
- 1: alert
- 2: block.
RuleIdOptional
RuleId interface{}
- Type: interface{}
Property ruleId: Rule Id.
RuleNameOptional
RuleName interface{}
- Type: interface{}
Property ruleName: The name of the rule.
RuleSwitchOptional
RuleSwitch interface{}
- Type: interface{}
Property ruleSwitch: The switch of the rule.
Valid values:
- 0: off.
- 1: on.
RuleTypeOptional
RuleType interface{}
- Type: interface{}
Property ruleType: The rule type.
Value:
- 2: User Rules
ScopeOptional
Scope interface{}
- Type: interface{}
Property scope: Rule scope.
WhitelistOptional
Whitelist interface{}
- Type: interface{}
Property whitelist: The whitelist of rule.
WhitelistHashOptional
WhitelistHash interface{}
- Type: interface{}
Property whitelistHash: The whitelist Hash.