ContainerDefenseRuleProps
Properties for defining a ContainerDefenseRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-containerdefenserule
Initializer
using AlibabaCloud.SDK.ROS.CDK.Threatdetection;
new ContainerDefenseRuleProps {
object Description = null,
object RuleAction = null,
object RuleId = null,
object RuleName = null,
object RuleSwitch = null,
object RuleType = null,
object Scope = null,
object Whitelist = null,
object WhitelistHash = null
};
Properties
| Name | Type | Description |
|---|---|---|
Description | object | Property description: Rule description. |
RuleAction | object | Property ruleAction: The action that is performed when the rule is hit. |
RuleId | object | Property ruleId: Rule Id. |
RuleName | object | Property ruleName: The name of the rule. |
RuleSwitch | object | Property ruleSwitch: The switch of the rule. |
RuleType | object | Property ruleType: The rule type. |
Scope | object | Property scope: Rule scope. |
Whitelist | object | Property whitelist: The whitelist of rule. |
WhitelistHash | object | Property whitelistHash: The whitelist Hash. |
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: Rule description.
RuleActionOptional
public object RuleAction { get; set; }
- Type: object
Property ruleAction: The action that is performed when the rule is hit.
Valid values:
- 1: alert
- 2: block.
RuleIdOptional
public object RuleId { get; set; }
- Type: object
Property ruleId: Rule Id.
RuleNameOptional
public object RuleName { get; set; }
- Type: object
Property ruleName: The name of the rule.
RuleSwitchOptional
public object RuleSwitch { get; set; }
- Type: object
Property ruleSwitch: The switch of the rule.
Valid values:
- 0: off.
- 1: on.
RuleTypeOptional
public object RuleType { get; set; }
- Type: object
Property ruleType: The rule type.
Value:
- 2: User Rules
ScopeOptional
public object Scope { get; set; }
- Type: object
Property scope: Rule scope.
WhitelistOptional
public object Whitelist { get; set; }
- Type: object
Property whitelist: The whitelist of rule.
WhitelistHashOptional
public object WhitelistHash { get; set; }
- Type: object
Property whitelistHash: The whitelist Hash.