Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace RequestProtection

Module that allows to enable OCI-managed protection capabilities for incoming HTTP requests.

Properties

Optional bodyInspectionSizeLimitExceededActionName

bodyInspectionSizeLimitExceededActionName: undefined | string

References action by name from actions defined in WebAppFirewallPolicy. Executed if HTTP message body size exceeds limit set in field {@code bodyInspectionSizeLimitInBytes}.

If this field is {@code null} HTTP message body will inspected up to {@code bodyInspectionSizeLimitInBytes} and the rest will not be inspected by Protection Capabilities.

Allowed action types: * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response.

Optional bodyInspectionSizeLimitInBytes

bodyInspectionSizeLimitInBytes: undefined | number

Maximum size of inspected HTTP message body in bytes. Actions to take if this limit is exceeded are defined in {@code bodyInspectionSizeLimitExceededActionName}.

Body inspection maximum size allowed is defined with per-tenancy limit: 8192 bytes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional rules

Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection Capabilities of REQUEST_PROTECTION_CAPABILITY type.

Functions

getDeserializedJsonObj

getJsonObj