Show / Hide Table of Contents

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.

Inheritance
object
SecurityRuleSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

  • ALLOW - Allows the traffic.
  • DROP - Silently drops the traffic, e.g. without sending a TCP reset.
  • REJECT - Rejects the traffic, sending a TCP reset to client and/or server as applicable.
  • INSPECT - Inspects traffic for vulnerability as specified in inspection, which may result in rejection.
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.

  • INTRUSION_DETECTION - Intrusion Detection.
  • INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in type.

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

In this article
Back to top