Class RequestProtection
Module that allows to enable OCI-managed protection capabilities for incoming HTTP requests.
Inherited Members
Namespace: Oci.WafService.Models
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
public class RequestProtection
Properties
BodyInspectionSizeLimitExceededActionName
Declaration
[JsonProperty(PropertyName = "bodyInspectionSizeLimitExceededActionName")]
public string BodyInspectionSizeLimitExceededActionName { get; set; }
Property Value
Type | Description |
---|---|
string | References action by name from actions defined in WebAppFirewallPolicy. Executed if HTTP message
body size exceeds limit set in field
|
BodyInspectionSizeLimitInBytes
Declaration
[JsonProperty(PropertyName = "bodyInspectionSizeLimitInBytes")]
public int? BodyInspectionSizeLimitInBytes { get; set; }
Property Value
Type | Description |
---|---|
int? | Maximum size of inspected HTTP message body in bytes. Actions to take if this limit is exceeded are defined in |
Rules
Declaration
[JsonProperty(PropertyName = "rules")]
public List<ProtectionRule> Rules { get; set; }
Property Value
Type | Description |
---|---|
List<ProtectionRule> | 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. |