ThreatFeed¶
- class oci.waas.models.ThreatFeed(**kwargs)¶
Bases:
objectThe settings of the threat intelligence feed. You can block requests from IP addresses based on their reputations with various commercial and open source threat feeds.
Attributes:
A constant which can be used with the action property of a ThreatFeed.
A constant which can be used with the action property of a ThreatFeed.
A constant which can be used with the action property of a ThreatFeed.
Gets the action of this ThreatFeed.
Gets the description of this ThreatFeed.
Gets the key of this ThreatFeed.
Gets the name of this ThreatFeed.
Methods:
__init__(**kwargs)Initializes a new ThreatFeed object with values from keyword arguments.
- ACTION_BLOCK = 'BLOCK'¶
A constant which can be used with the action property of a ThreatFeed. This constant has a value of “BLOCK”
- ACTION_DETECT = 'DETECT'¶
A constant which can be used with the action property of a ThreatFeed. This constant has a value of “DETECT”
- ACTION_OFF = 'OFF'¶
A constant which can be used with the action property of a ThreatFeed. This constant has a value of “OFF”
- __init__(**kwargs)¶
Initializes a new ThreatFeed object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
key (str) – The value to assign to the key property of this ThreatFeed.
name (str) – The value to assign to the name property of this ThreatFeed.
action (str) – The value to assign to the action property of this ThreatFeed. Allowed values for this property are: “OFF”, “DETECT”, “BLOCK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
description (str) – The value to assign to the description property of this ThreatFeed.
- property action¶
Gets the action of this ThreatFeed. The action to take when traffic is flagged as malicious by data from the threat intelligence feed. If unspecified, defaults to OFF.
Allowed values for this property are: “OFF”, “DETECT”, “BLOCK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The action of this ThreatFeed.
- Return type
str
- property description¶
Gets the description of this ThreatFeed. The description of the threat intelligence feed.
- Returns
The description of this ThreatFeed.
- Return type
str
- property key¶
Gets the key of this ThreatFeed. The unique key of the threat intelligence feed.
- Returns
The key of this ThreatFeed.
- Return type
str
- property name¶
Gets the name of this ThreatFeed. The name of the threat intelligence feed.
- Returns
The name of this ThreatFeed.
- Return type
str