ThreatFeedAction

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

Bases: object

The action to take for a request that has been determined to be potentially malicious.

ACTION_BLOCK = 'BLOCK'

A constant which can be used with the action property of a ThreatFeedAction. This constant has a value of "BLOCK"

ACTION_DETECT = 'DETECT'

A constant which can be used with the action property of a ThreatFeedAction. This constant has a value of "DETECT"

ACTION_OFF = 'OFF'

A constant which can be used with the action property of a ThreatFeedAction. This constant has a value of "OFF"

__init__(**kwargs)

Initializes a new ThreatFeedAction 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 ThreatFeedAction.
  • action (str) -- The value to assign to the action property of this ThreatFeedAction. Allowed values for this property are: "OFF", "DETECT", "BLOCK"
action

[Required] Gets the action of this ThreatFeedAction. The selected action. If unspecified, defaults to OFF.

Allowed values for this property are: "OFF", "DETECT", "BLOCK"

Returns:The action of this ThreatFeedAction.
Return type:str
key

[Required] Gets the key of this ThreatFeedAction. The unique key of the object for which the action applies.

Returns:The key of this ThreatFeedAction.
Return type:str