ResponseProtection

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

Bases: object

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

Methods

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

Attributes

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

Initializes a new ResponseProtection 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 ResponseProtection.
rules

Gets the rules of this ResponseProtection. Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type.

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