Class WafSettings (1.11.1)

WafSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings specific to keys that can be used for WAF (Web Application Firewall).

Attributes

NameDescription
waf_service google.cloud.recaptchaenterprise_v1.types.WafSettings.WafService
Required. The WAF service that uses this key.
waf_feature google.cloud.recaptchaenterprise_v1.types.WafSettings.WafFeature
Required. The WAF feature for which this key is enabled.

Classes

WafFeature

WafFeature(value)

Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features.

Values: WAF_FEATURE_UNSPECIFIED (0): Undefined feature. CHALLENGE_PAGE (1): Redirects suspicious traffic to reCAPTCHA. SESSION_TOKEN (2): Use reCAPTCHA session-tokens to protect the whole user session on the site's domain. ACTION_TOKEN (3): Use reCAPTCHA action-tokens to protect user actions.

WafService

WafService(value)

Web Application Firewalls supported by reCAPTCHA Enterprise.

Values: WAF_SERVICE_UNSPECIFIED (0): Undefined WAF CA (1): Cloud Armor