WafConfigDetails

class oci.waas.models.WafConfigDetails(**kwargs)

Bases: object

The Web Application Firewall configuration for the WAAS policy creation.

Methods

__init__(**kwargs) Initializes a new WafConfigDetails object with values from keyword arguments.

Attributes

access_rules Gets the access_rules of this WafConfigDetails.
address_rate_limiting Gets the address_rate_limiting of this WafConfigDetails.
caching_rules Gets the caching_rules of this WafConfigDetails.
captchas Gets the captchas of this WafConfigDetails.
custom_protection_rules Gets the custom_protection_rules of this WafConfigDetails.
device_fingerprint_challenge Gets the device_fingerprint_challenge of this WafConfigDetails.
human_interaction_challenge Gets the human_interaction_challenge of this WafConfigDetails.
js_challenge Gets the js_challenge of this WafConfigDetails.
origin Gets the origin of this WafConfigDetails.
origin_groups Gets the origin_groups of this WafConfigDetails.
protection_settings Gets the protection_settings of this WafConfigDetails.
whitelists Gets the whitelists of this WafConfigDetails.
__init__(**kwargs)

Initializes a new WafConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • access_rules (list[AccessRule]) – The value to assign to the access_rules property of this WafConfigDetails.
  • address_rate_limiting (AddressRateLimiting) – The value to assign to the address_rate_limiting property of this WafConfigDetails.
  • captchas (list[Captcha]) – The value to assign to the captchas property of this WafConfigDetails.
  • device_fingerprint_challenge (DeviceFingerprintChallenge) – The value to assign to the device_fingerprint_challenge property of this WafConfigDetails.
  • human_interaction_challenge (HumanInteractionChallenge) – The value to assign to the human_interaction_challenge property of this WafConfigDetails.
  • js_challenge (JsChallenge) – The value to assign to the js_challenge property of this WafConfigDetails.
  • origin (str) – The value to assign to the origin property of this WafConfigDetails.
  • caching_rules (list[CachingRule]) – The value to assign to the caching_rules property of this WafConfigDetails.
  • custom_protection_rules (list[CustomProtectionRuleSetting]) – The value to assign to the custom_protection_rules property of this WafConfigDetails.
  • origin_groups (list[str]) – The value to assign to the origin_groups property of this WafConfigDetails.
  • protection_settings (ProtectionSettings) – The value to assign to the protection_settings property of this WafConfigDetails.
  • whitelists (list[Whitelist]) – The value to assign to the whitelists property of this WafConfigDetails.
access_rules

Gets the access_rules of this WafConfigDetails. The access rules applied to the Web Application Firewall. Access rules allow custom content access policies to be defined and ALLOW, DETECT, or BLOCK actions to be taken on a request when specified criteria are met.

Returns:The access_rules of this WafConfigDetails.
Return type:list[AccessRule]
address_rate_limiting

Gets the address_rate_limiting of this WafConfigDetails. The settings used to limit the number of requests from an IP address.

Returns:The address_rate_limiting of this WafConfigDetails.
Return type:AddressRateLimiting
caching_rules

Gets the caching_rules of this WafConfigDetails. A list of caching rules applied to the web application.

Returns:The caching_rules of this WafConfigDetails.
Return type:list[CachingRule]
captchas

Gets the captchas of this WafConfigDetails. A list of CAPTCHA challenge settings. CAPTCHAs challenge requests to ensure a human is attempting to reach the specified URL and not a bot.

Returns:The captchas of this WafConfigDetails.
Return type:list[Captcha]
custom_protection_rules

Gets the custom_protection_rules of this WafConfigDetails. A list of the custom protection rule OCIDs and their actions.

Returns:The custom_protection_rules of this WafConfigDetails.
Return type:list[CustomProtectionRuleSetting]
device_fingerprint_challenge

Gets the device_fingerprint_challenge of this WafConfigDetails. The device fingerprint challenge settings. Blocks bots based on unique device fingerprint information.

Returns:The device_fingerprint_challenge of this WafConfigDetails.
Return type:DeviceFingerprintChallenge
human_interaction_challenge

Gets the human_interaction_challenge of this WafConfigDetails. The human interaction challenge settings. Detects natural human interactions such as mouse movements, time on site, and page scrolling to identify bots.

Returns:The human_interaction_challenge of this WafConfigDetails.
Return type:HumanInteractionChallenge
js_challenge

Gets the js_challenge of this WafConfigDetails. The JavaScript challenge settings. Blocks bots by challenging requests from browsers that have no JavaScript support.

Returns:The js_challenge of this WafConfigDetails.
Return type:JsChallenge
origin

Gets the origin of this WafConfigDetails. 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 is not required upon updating the configuration.

Returns:The origin of this WafConfigDetails.
Return type:str
origin_groups

Gets the origin_groups of this WafConfigDetails. 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.

Returns:The origin_groups of this WafConfigDetails.
Return type:list[str]
protection_settings

Gets the protection_settings of this WafConfigDetails. The settings applied to protection rules.

Returns:The protection_settings of this WafConfigDetails.
Return type:ProtectionSettings
whitelists

Gets the whitelists of this WafConfigDetails. A list of IP addresses that bypass the Web Application Firewall.

Returns:The whitelists of this WafConfigDetails.
Return type:list[Whitelist]