ThreatFeed

class oci.waas.models.ThreatFeed(**kwargs)

Bases: object

The 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

ACTION_BLOCK A constant which can be used with the action property of a ThreatFeed.
ACTION_DETECT A constant which can be used with the action property of a ThreatFeed.
ACTION_OFF A constant which can be used with the action property of a ThreatFeed.
action Gets the action of this ThreatFeed.
description Gets the description of this ThreatFeed.
key Gets the key of this ThreatFeed.
name 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.
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
description

Gets the description of this ThreatFeed. The description of the threat intelligence feed.

Returns:The description of this ThreatFeed.
Return type:str
key

Gets the key of this ThreatFeed. The unique key of the threat intelligence feed.

Returns:The key of this ThreatFeed.
Return type:str
name

Gets the name of this ThreatFeed. The name of the threat intelligence feed.

Returns:The name of this ThreatFeed.
Return type:str