RequestProtection

class oci.waf.models.RequestProtection(**kwargs)

Bases: object

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

Methods

__init__(**kwargs) Initializes a new RequestProtection object with values from keyword arguments.

Attributes

rules Gets the rules of this RequestProtection.
__init__(**kwargs)

Initializes a new RequestProtection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:rules (list[oci.waf.models.ProtectionRule]) – The value to assign to the rules property of this RequestProtection.
rules

Gets the rules of this RequestProtection. Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection cCapabilities of REQUEST_PROTECTION_CAPABILITY type.

Returns:The rules of this RequestProtection.
Return type:list[oci.waf.models.ProtectionRule]