Show / Hide Table of Contents

Class WafConfig

The Web Application Firewall configuration for the WAAS policy.

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

Properties

AccessRules

Declaration
[JsonProperty(PropertyName = "accessRules")]
public List<AccessRule> AccessRules { get; set; }
Property Value
Type Description
List<AccessRule>

The access rules applied to the Web Application Firewall. Used for defining custom access policies with the combination of ALLOW, DETECT, and BLOCK rules, based on different criteria.

AddressRateLimiting

Declaration
[JsonProperty(PropertyName = "addressRateLimiting")]
public AddressRateLimiting AddressRateLimiting { get; set; }
Property Value
Type Description
AddressRateLimiting

The IP address rate limiting settings used to limit the number of requests from an address.

CachingRules

Declaration
[JsonProperty(PropertyName = "cachingRules")]
public List<CachingRule> CachingRules { get; set; }
Property Value
Type Description
List<CachingRule>

A list of caching rules applied to the web application.

Captchas

Declaration
[JsonProperty(PropertyName = "captchas")]
public List<Captcha> Captchas { get; set; }
Property Value
Type Description
List<Captcha>

A list of CAPTCHA challenge settings. These are used to challenge requests with a CAPTCHA to block bots.

CustomProtectionRules

Declaration
[JsonProperty(PropertyName = "customProtectionRules")]
public List<CustomProtectionRuleSetting> CustomProtectionRules { get; set; }
Property Value
Type Description
List<CustomProtectionRuleSetting>

A list of the custom protection rule OCIDs and their actions.

DeviceFingerprintChallenge

Declaration
[JsonProperty(PropertyName = "deviceFingerprintChallenge")]
public DeviceFingerprintChallenge DeviceFingerprintChallenge { get; set; }
Property Value
Type Description
DeviceFingerprintChallenge

The device fingerprint challenge settings. Used to detect unique devices based on the device fingerprint information collected in order to block bots.

GoodBots

Declaration
[JsonProperty(PropertyName = "goodBots")]
public List<GoodBot> GoodBots { get; set; }
Property Value
Type Description
List<GoodBot>

A list of bots allowed to access the web application.

HumanInteractionChallenge

Declaration
[JsonProperty(PropertyName = "humanInteractionChallenge")]
public HumanInteractionChallenge HumanInteractionChallenge { get; set; }
Property Value
Type Description
HumanInteractionChallenge

The human interaction challenge settings. Used to look for natural human interactions such as mouse movements, time on site, and page scrolling to identify bots.

JsChallenge

Declaration
[JsonProperty(PropertyName = "jsChallenge")]
public JsChallenge JsChallenge { get; set; }
Property Value
Type Description
JsChallenge

The JavaScript challenge settings. Used to challenge requests with a JavaScript challenge and take the action if a browser has no JavaScript support in order to block bots.

Origin

Declaration
[JsonProperty(PropertyName = "origin")]
public string Origin { get; set; }
Property Value
Type Description
string

The key in the map of origins referencing the origin used for the Web Application Firewall. The origin must already be included in Origins. Required when creating the WafConfig resource, but not on update.

OriginGroups

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

The map of origin groups and their keys used to associate origins to the wafConfig. Origin groups allow you to apply weights to groups of origins for load balancing purposes. Origins with higher weights will receive larger proportions of client requests. To add additional origins to your WAAS policy, update the origins field of a UpdateWaasPolicy request.

ProtectionRules

Declaration
[JsonProperty(PropertyName = "protectionRules")]
public List<ProtectionRule> ProtectionRules { get; set; }
Property Value
Type Description
List<ProtectionRule>

A list of the protection rules and their details.

ProtectionSettings

Declaration
[JsonProperty(PropertyName = "protectionSettings")]
public ProtectionSettings ProtectionSettings { get; set; }
Property Value
Type Description
ProtectionSettings

The settings to apply to protection rules.

ThreatFeeds

Declaration
[JsonProperty(PropertyName = "threatFeeds")]
public List<ThreatFeed> ThreatFeeds { get; set; }
Property Value
Type Description
List<ThreatFeed>

A list of threat intelligence feeds and the actions to apply to known malicious traffic based on internet intelligence.

Whitelists

Declaration
[JsonProperty(PropertyName = "whitelists")]
public List<Whitelist> Whitelists { get; set; }
Property Value
Type Description
List<Whitelist>

A list of IP addresses that bypass the Web Application Firewall.

In this article
Back to top