WafBlockedRequest¶
-
class
oci.waas.models.
WafBlockedRequest
(**kwargs)¶ Bases:
object
WafBlockedRequest model.
Attributes
WAF_FEATURE_ACCESS_RULES
A constant which can be used with the waf_feature property of a WafBlockedRequest. WAF_FEATURE_ADDRESS_RATE_LIMITING
A constant which can be used with the waf_feature property of a WafBlockedRequest. WAF_FEATURE_CAPTCHA
A constant which can be used with the waf_feature property of a WafBlockedRequest. WAF_FEATURE_DEVICE_FINGERPRINT_CHALLENGE
A constant which can be used with the waf_feature property of a WafBlockedRequest. WAF_FEATURE_HUMAN_INTERACTION_CHALLENGE
A constant which can be used with the waf_feature property of a WafBlockedRequest. WAF_FEATURE_JS_CHALLENGE
A constant which can be used with the waf_feature property of a WafBlockedRequest. WAF_FEATURE_PROTECTION_RULES
A constant which can be used with the waf_feature property of a WafBlockedRequest. WAF_FEATURE_THREAT_FEEDS
A constant which can be used with the waf_feature property of a WafBlockedRequest. count
Gets the count of this WafBlockedRequest. time_observed
Gets the time_observed of this WafBlockedRequest. time_range_in_seconds
Gets the time_range_in_seconds of this WafBlockedRequest. waf_feature
Gets the waf_feature of this WafBlockedRequest. Methods
__init__
(**kwargs)Initializes a new WafBlockedRequest object with values from keyword arguments. -
WAF_FEATURE_ACCESS_RULES
= 'ACCESS_RULES'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “ACCESS_RULES”
-
WAF_FEATURE_ADDRESS_RATE_LIMITING
= 'ADDRESS_RATE_LIMITING'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “ADDRESS_RATE_LIMITING”
-
WAF_FEATURE_CAPTCHA
= 'CAPTCHA'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “CAPTCHA”
-
WAF_FEATURE_DEVICE_FINGERPRINT_CHALLENGE
= 'DEVICE_FINGERPRINT_CHALLENGE'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “DEVICE_FINGERPRINT_CHALLENGE”
-
WAF_FEATURE_HUMAN_INTERACTION_CHALLENGE
= 'HUMAN_INTERACTION_CHALLENGE'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “HUMAN_INTERACTION_CHALLENGE”
-
WAF_FEATURE_JS_CHALLENGE
= 'JS_CHALLENGE'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “JS_CHALLENGE”
-
WAF_FEATURE_PROTECTION_RULES
= 'PROTECTION_RULES'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “PROTECTION_RULES”
-
WAF_FEATURE_THREAT_FEEDS
= 'THREAT_FEEDS'¶ A constant which can be used with the waf_feature property of a WafBlockedRequest. This constant has a value of “THREAT_FEEDS”
-
__init__
(**kwargs)¶ Initializes a new WafBlockedRequest object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - time_observed (datetime) – The value to assign to the time_observed property of this WafBlockedRequest.
- time_range_in_seconds (int) – The value to assign to the time_range_in_seconds property of this WafBlockedRequest.
- waf_feature (str) – The value to assign to the waf_feature property of this WafBlockedRequest. Allowed values for this property are: “PROTECTION_RULES”, “JS_CHALLENGE”, “ACCESS_RULES”, “THREAT_FEEDS”, “HUMAN_INTERACTION_CHALLENGE”, “DEVICE_FINGERPRINT_CHALLENGE”, “CAPTCHA”, “ADDRESS_RATE_LIMITING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- count (int) – The value to assign to the count property of this WafBlockedRequest.
-
count
¶ Gets the count of this WafBlockedRequest. The count of blocked requests.
Returns: The count of this WafBlockedRequest. Return type: int
-
time_observed
¶ Gets the time_observed of this WafBlockedRequest. The date and time the blocked requests were observed, expressed in RFC 3339 timestamp format.
Returns: The time_observed of this WafBlockedRequest. Return type: datetime
-
time_range_in_seconds
¶ Gets the time_range_in_seconds of this WafBlockedRequest. The number of seconds the data covers.
Returns: The time_range_in_seconds of this WafBlockedRequest. Return type: int
-
waf_feature
¶ Gets the waf_feature of this WafBlockedRequest. The specific Web Application Firewall feature that blocked the requests, such as JavaScript Challenge or Access Control.
Allowed values for this property are: “PROTECTION_RULES”, “JS_CHALLENGE”, “ACCESS_RULES”, “THREAT_FEEDS”, “HUMAN_INTERACTION_CHALLENGE”, “DEVICE_FINGERPRINT_CHALLENGE”, “CAPTCHA”, “ADDRESS_RATE_LIMITING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The waf_feature of this WafBlockedRequest. Return type: str
-