Class SecurityRuleSummary
Summary for the Security Rule used in the firewall policy rules. Security Rules determine whether to block or allow a session based on traffic attributes, such as the source and destination IP address, protocol/port, and the HTTP(S) target URL.
Inherited Members
Namespace: Oci.NetworkfirewallService.Models
Assembly: OCI.DotNetSDK.Networkfirewall.dll
Syntax
public class SecurityRuleSummary
Properties
Action
Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TrafficActionType? Action { get; set; }
Property Value
Type | Description |
---|---|
TrafficActionType? | Types of Action on the Traffic flow.
|
Remarks
Required
Inspection
Declaration
[JsonProperty(PropertyName = "inspection")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TrafficInspectionType? Inspection { get; set; }
Property Value
Type | Description |
---|---|
TrafficInspectionType? | Type of inspection to affect the Traffic flow. This is only applicable if action is INSPECT.
|
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name for the Security rule, must be unique within the policy. |
Remarks
Required
ParentResourceId
Declaration
[Required(ErrorMessage = "ParentResourceId is required.")]
[JsonProperty(PropertyName = "parentResourceId")]
public string ParentResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the network firewall policy this security rule belongs to. |
Remarks
Required
PriorityOrder
Declaration
[Required(ErrorMessage = "PriorityOrder is required.")]
[JsonProperty(PropertyName = "priorityOrder")]
public long? PriorityOrder { get; set; }
Property Value
Type | Description |
---|---|
long? | The priority order in which this rule should be evaluated. |
Remarks
Required