Show / Hide Table of Contents

Class ProtectionCapabilitySettings

Settings for protection capabilities

Inheritance
object
ProtectionCapabilitySettings
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WafService.Models
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
public class ProtectionCapabilitySettings

Properties

AllowedHttpMethods

Declaration
[JsonProperty(PropertyName = "allowedHttpMethods")]
public List<string> AllowedHttpMethods { get; set; }
Property Value
Type Description
List<string>

List of allowed HTTP methods. Each value as a RFC7230 formated token string. Used in protection capability 911100: Restrict HTTP Request Methods.

MaxHttpRequestHeaderLength

Declaration
[JsonProperty(PropertyName = "maxHttpRequestHeaderLength")]
public int? MaxHttpRequestHeaderLength { get; set; }
Property Value
Type Description
int?

Maximum allowed length of headers in an HTTP request. Used in protection capability: 9200024: Limit length of request header size.

MaxHttpRequestHeaders

Declaration
[JsonProperty(PropertyName = "maxHttpRequestHeaders")]
public int? MaxHttpRequestHeaders { get; set; }
Property Value
Type Description
int?

Maximum number of headers allowed in an HTTP request. Used in protection capability 9200014: Limit Number of Request Headers.

MaxNumberOfArguments

Declaration
[JsonProperty(PropertyName = "maxNumberOfArguments")]
public int? MaxNumberOfArguments { get; set; }
Property Value
Type Description
int?

Maximum number of arguments allowed. Used in protection capability 920380: Number of Arguments Limits.

MaxSingleArgumentLength

Declaration
[JsonProperty(PropertyName = "maxSingleArgumentLength")]
public int? MaxSingleArgumentLength { get; set; }
Property Value
Type Description
int?

Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length.

MaxTotalArgumentLength

Declaration
[JsonProperty(PropertyName = "maxTotalArgumentLength")]
public int? MaxTotalArgumentLength { get; set; }
Property Value
Type Description
int?

Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length.

In this article
Back to top