Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace 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.

Properties

action

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 {@code inspection}, which may result in rejection.

Optional inspection

inspection: model.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 {@code type}.

name

name: string

Name for the Security rule, must be unique within the policy.

parentResourceId

parentResourceId: string

OCID of the network firewall policy this security rule belongs to.

priorityOrder

priorityOrder: number

The priority order in which this rule should be evaluated. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj