Class HumanInteractionChallenge
The human interaction challenge settings. The human interaction challenge checks various event listeners in the user's browser to determine if there is a human user making a request.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class HumanInteractionChallenge
Properties
Action
Declaration
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public HumanInteractionChallenge.ActionEnum? Action { get; set; }
Property Value
Type | Description |
---|---|
HumanInteractionChallenge.ActionEnum? | The action to take against requests from detected bots. If unspecified, defaults to |
ActionExpirationInSeconds
Declaration
[JsonProperty(PropertyName = "actionExpirationInSeconds")]
public int? ActionExpirationInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds between challenges for the same IP address. If unspecified, defaults to |
ChallengeSettings
Declaration
[JsonProperty(PropertyName = "challengeSettings")]
public BlockChallengeSettings ChallengeSettings { get; set; }
Property Value
Type | Description |
---|---|
BlockChallengeSettings |
FailureThreshold
Declaration
[JsonProperty(PropertyName = "failureThreshold")]
public int? FailureThreshold { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of failed requests before taking action. If unspecified, defaults to |
FailureThresholdExpirationInSeconds
Declaration
[JsonProperty(PropertyName = "failureThresholdExpirationInSeconds")]
public int? FailureThresholdExpirationInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds before the failure threshold resets. If unspecified, defaults to |
InteractionThreshold
Declaration
[JsonProperty(PropertyName = "interactionThreshold")]
public int? InteractionThreshold { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of interactions required to pass the challenge. If unspecified, defaults to |
IsEnabled
Declaration
[Required(ErrorMessage = "IsEnabled is required.")]
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Enables or disables the human interaction challenge Web Application Firewall feature. |
Remarks
Required
IsNatEnabled
Declaration
[JsonProperty(PropertyName = "isNatEnabled")]
public bool? IsNatEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses. |
RecordingPeriodInSeconds
Declaration
[JsonProperty(PropertyName = "recordingPeriodInSeconds")]
public int? RecordingPeriodInSeconds { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of seconds to record the interactions from the user. If unspecified, defaults to |
SetHttpHeader
Declaration
[JsonProperty(PropertyName = "setHttpHeader")]
public Header SetHttpHeader { get; set; }
Property Value
Type | Description |
---|---|
Header | Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the |