TargetResponderRecipe

class oci.cloud_guard.models.TargetResponderRecipe(**kwargs)

Bases: object

A TargetResponderRecipe resource contains a specific instance of one of the supported detector types (for example, activity, configuration, or threat) in which some settings can be modified specifically for a single target.

A TargetResponderRecipe resource: * Is effectively a copy of a ResponderRecipe resource in which users can make very limited changes if it’s Oracle-managed, and more changes if it’s user-managed. * Is visible on the Cloud Guard Targets, Target Details page. * Is located in a specific OCI compartment. * Can be modified by users, programmatically or through the UI. * Changes that can be made here override any settings in the corresponding ResponderRecipe, of which the TargetResponderRecipe resource is effectively a copy of the ResponderRecipe resource (effectively created when the detector recipe is attached to the target).

Attributes:

OWNER_CUSTOMER

A constant which can be used with the owner property of a TargetResponderRecipe.

OWNER_ORACLE

A constant which can be used with the owner property of a TargetResponderRecipe.

compartment_id

[Required] Gets the compartment_id of this TargetResponderRecipe.

description

[Required] Gets the description of this TargetResponderRecipe.

display_name

[Required] Gets the display_name of this TargetResponderRecipe.

effective_responder_rules

Gets the effective_responder_rules of this TargetResponderRecipe.

id

[Required] Gets the id of this TargetResponderRecipe.

locks

Gets the locks of this TargetResponderRecipe.

owner

[Required] Gets the owner of this TargetResponderRecipe.

responder_recipe_id

[Required] Gets the responder_recipe_id of this TargetResponderRecipe.

responder_rules

Gets the responder_rules of this TargetResponderRecipe.

time_created

Gets the time_created of this TargetResponderRecipe.

time_updated

Gets the time_updated of this TargetResponderRecipe.

Methods:

__init__(**kwargs)

Initializes a new TargetResponderRecipe object with values from keyword arguments.

OWNER_CUSTOMER = 'CUSTOMER'

A constant which can be used with the owner property of a TargetResponderRecipe. This constant has a value of “CUSTOMER”

OWNER_ORACLE = 'ORACLE'

A constant which can be used with the owner property of a TargetResponderRecipe. This constant has a value of “ORACLE”

__init__(**kwargs)

Initializes a new TargetResponderRecipe object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • id (str) – The value to assign to the id property of this TargetResponderRecipe.

  • responder_recipe_id (str) – The value to assign to the responder_recipe_id property of this TargetResponderRecipe.

  • compartment_id (str) – The value to assign to the compartment_id property of this TargetResponderRecipe.

  • display_name (str) – The value to assign to the display_name property of this TargetResponderRecipe.

  • description (str) – The value to assign to the description property of this TargetResponderRecipe.

  • owner (str) – The value to assign to the owner property of this TargetResponderRecipe. Allowed values for this property are: “CUSTOMER”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this TargetResponderRecipe.

  • time_updated (datetime) – The value to assign to the time_updated property of this TargetResponderRecipe.

  • responder_rules (list[oci.cloud_guard.models.TargetResponderRecipeResponderRule]) – The value to assign to the responder_rules property of this TargetResponderRecipe.

  • effective_responder_rules (list[oci.cloud_guard.models.TargetResponderRecipeResponderRule]) – The value to assign to the effective_responder_rules property of this TargetResponderRecipe.

  • locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this TargetResponderRecipe.

property compartment_id

[Required] Gets the compartment_id of this TargetResponderRecipe. Compartment OCID

Returns

The compartment_id of this TargetResponderRecipe.

Return type

str

property description

[Required] Gets the description of this TargetResponderRecipe. Target responder description

Returns

The description of this TargetResponderRecipe.

Return type

str

property display_name

[Required] Gets the display_name of this TargetResponderRecipe. Target responder recipe display name

Returns

The display_name of this TargetResponderRecipe.

Return type

str

property effective_responder_rules

Gets the effective_responder_rules of this TargetResponderRecipe. List of currently enabled responder rules for the responder type for recipe after applying defaults

Returns

The effective_responder_rules of this TargetResponderRecipe.

Return type

list[oci.cloud_guard.models.TargetResponderRecipeResponderRule]

property id

[Required] Gets the id of this TargetResponderRecipe. Unique identifier of target responder recipe that can’t be changed after creation

Returns

The id of this TargetResponderRecipe.

Return type

str

property locks

Gets the locks of this TargetResponderRecipe. Locks associated with this resource.

Returns

The locks of this TargetResponderRecipe.

Return type

list[oci.cloud_guard.models.ResourceLock]

property owner

[Required] Gets the owner of this TargetResponderRecipe. Owner of target responder recipe

Allowed values for this property are: “CUSTOMER”, “ORACLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The owner of this TargetResponderRecipe.

Return type

str

property responder_recipe_id

[Required] Gets the responder_recipe_id of this TargetResponderRecipe. Unique identifier for the Oracle-managed responder recipe from which this recipe was cloned

Returns

The responder_recipe_id of this TargetResponderRecipe.

Return type

str

property responder_rules

Gets the responder_rules of this TargetResponderRecipe. List of responder rules associated with the recipe - user input

Returns

The responder_rules of this TargetResponderRecipe.

Return type

list[oci.cloud_guard.models.TargetResponderRecipeResponderRule]

property time_created

Gets the time_created of this TargetResponderRecipe. The date and time the target responder recipe rule was created. Format defined by RFC3339.

Returns

The time_created of this TargetResponderRecipe.

Return type

datetime

property time_updated

Gets the time_updated of this TargetResponderRecipe. The date and time the target responder recipe rule was last updated. Format defined by RFC3339.

Returns

The time_updated of this TargetResponderRecipe.

Return type

datetime