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

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[oci.waas.models.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:oci.waas.models.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[oci.waas.models.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[oci.waas.models.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[oci.waas.models.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:oci.waas.models.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:oci.waas.models.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:oci.waas.models.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:oci.waas.models.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[oci.waas.models.Whitelist]