Class ProtectionSettings
The settings used for protection rules.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class ProtectionSettings
Properties
AllowedHttpMethods
Declaration
[JsonProperty(PropertyName = "allowedHttpMethods", ItemConverterType = typeof(ResponseEnumConverter))]
public List<ProtectionSettings.AllowedHttpMethodsEnum> AllowedHttpMethods { get; set; }
Property Value
Type | Description |
---|---|
List<ProtectionSettings.AllowedHttpMethodsEnum> | The list of allowed HTTP methods. If unspecified, default to |
BlockAction
Declaration
[JsonProperty(PropertyName = "blockAction")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ProtectionSettings.BlockActionEnum? BlockAction { get; set; }
Property Value
Type | Description |
---|---|
ProtectionSettings.BlockActionEnum? | If |
BlockErrorPageCode
Declaration
[JsonProperty(PropertyName = "blockErrorPageCode")]
public string BlockErrorPageCode { get; set; }
Property Value
Type | Description |
---|---|
string | The error code to show on the error page when |
BlockErrorPageDescription
Declaration
[JsonProperty(PropertyName = "blockErrorPageDescription")]
public string BlockErrorPageDescription { get; set; }
Property Value
Type | Description |
---|---|
string | The description text to show on the error page when |
BlockErrorPageMessage
Declaration
[JsonProperty(PropertyName = "blockErrorPageMessage")]
public string BlockErrorPageMessage { get; set; }
Property Value
Type | Description |
---|---|
string | The message to show on the error page when |
BlockResponseCode
Declaration
[JsonProperty(PropertyName = "blockResponseCode")]
public int? BlockResponseCode { get; set; }
Property Value
Type | Description |
---|---|
int? | The response code returned when |
IsResponseInspected
Declaration
[JsonProperty(PropertyName = "isResponseInspected")]
public bool? IsResponseInspected { get; set; }
Property Value
Type | Description |
---|---|
bool? | Inspects the response body of origin responses. Can be used to detect leakage of sensitive data. If unspecified, defaults to |
MaxArgumentCount
Declaration
[JsonProperty(PropertyName = "maxArgumentCount")]
public int? MaxArgumentCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
MaxNameLengthPerArgument
Declaration
[JsonProperty(PropertyName = "maxNameLengthPerArgument")]
public int? MaxNameLengthPerArgument { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum length allowed for each argument name, in characters. Arguements are query parameters or body parameters in a PUT or POST request. If unspecified, defaults to |
MaxResponseSizeInKiB
Declaration
[JsonProperty(PropertyName = "maxResponseSizeInKiB")]
public int? MaxResponseSizeInKiB { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum response size to be fully inspected, in binary kilobytes (KiB). Anything over this limit will be partially inspected. If unspecified, defaults to |
MaxTotalNameLengthOfArguments
Declaration
[JsonProperty(PropertyName = "maxTotalNameLengthOfArguments")]
public int? MaxTotalNameLengthOfArguments { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum length allowed for the sum of the argument name and value, in characters. Arguements are query parameters or body parameters in a PUT or POST request. If unspecified, defaults to |
MediaTypes
Declaration
[JsonProperty(PropertyName = "mediaTypes")]
public List<string> MediaTypes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The list of media types to allow for inspection, if |
RecommendationsPeriodInDays
Declaration
[JsonProperty(PropertyName = "recommendationsPeriodInDays")]
public int? RecommendationsPeriodInDays { get; set; }
Property Value
Type | Description |
---|---|
int? | The length of time to analyze traffic traffic, in days. After the analysis period, |