WafConfigDetails¶
- class oci.waas.models.WafConfigDetails(**kwargs)¶
Bases:
objectThe Web Application Firewall configuration for the WAAS policy creation.
Methods:
__init__(**kwargs)Initializes a new WafConfigDetails object with values from keyword arguments.
Attributes:
Gets the access_rules of this WafConfigDetails.
Gets the address_rate_limiting of this WafConfigDetails.
Gets the caching_rules of this WafConfigDetails.
Gets the captchas of this WafConfigDetails.
Gets the custom_protection_rules of this WafConfigDetails.
Gets the device_fingerprint_challenge of this WafConfigDetails.
Gets the human_interaction_challenge of this WafConfigDetails.
Gets the js_challenge of this WafConfigDetails.
Gets the origin of this WafConfigDetails.
Gets the origin_groups of this WafConfigDetails.
Gets the protection_settings of this WafConfigDetails.
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[oci.waas.models.AccessRule]) – The value to assign to the access_rules property of this WafConfigDetails.
address_rate_limiting (oci.waas.models.AddressRateLimiting) – The value to assign to the address_rate_limiting property of this WafConfigDetails.
captchas (list[oci.waas.models.Captcha]) – The value to assign to the captchas property of this WafConfigDetails.
device_fingerprint_challenge (oci.waas.models.DeviceFingerprintChallenge) – The value to assign to the device_fingerprint_challenge property of this WafConfigDetails.
human_interaction_challenge (oci.waas.models.HumanInteractionChallenge) – The value to assign to the human_interaction_challenge property of this WafConfigDetails.
js_challenge (oci.waas.models.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[oci.waas.models.CachingRule]) – The value to assign to the caching_rules property of this WafConfigDetails.
custom_protection_rules (list[oci.waas.models.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 (oci.waas.models.ProtectionSettings) – The value to assign to the protection_settings property of this WafConfigDetails.
whitelists (list[oci.waas.models.Whitelist]) – The value to assign to the whitelists property of this WafConfigDetails.
- property 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
- property 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
- property 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
- property 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]
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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]
- property protection_settings¶
Gets the protection_settings of this WafConfigDetails. The settings applied to protection rules.
- Returns
The protection_settings of this WafConfigDetails.
- Return type
- property 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