DetectorRecipeDetectorRuleSummary

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

Bases: object

Summary information for a DetectorRecipeDetectorRule resoource.

Attributes:

DETECTOR_IAAS_ACTIVITY_DETECTOR

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary.

DETECTOR_IAAS_CONFIGURATION_DETECTOR

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary.

DETECTOR_IAAS_CONTAINER_SECURITY_DETECTOR

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary.

DETECTOR_IAAS_INSTANCE_SECURITY_DETECTOR

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary.

DETECTOR_IAAS_LOG_INSIGHT_DETECTOR

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary.

DETECTOR_IAAS_THREAT_DETECTOR

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_CIDR_BLOCK

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_CITY

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_COUNTRY

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_FUSION_APPS_PERMISSION

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_FUSION_APPS_ROLE

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_GENERIC

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_GROUPS

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_IPV4_ADDRESS

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_IPV6_ADDRESS

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_NAMESPACE_SELECTOR

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_POD_RESOURCE_SELECTOR

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_REGION

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_RESOURCE_OCID

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_STATE

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_TAGS

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

MANAGED_LIST_TYPES_USERS

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary.

candidate_responder_rules

Gets the candidate_responder_rules of this DetectorRecipeDetectorRuleSummary.

data_source_id

Gets the data_source_id of this DetectorRecipeDetectorRuleSummary.

description

Gets the description of this DetectorRecipeDetectorRuleSummary.

detector

[Required] Gets the detector of this DetectorRecipeDetectorRuleSummary.

detector_details

Gets the detector_details of this DetectorRecipeDetectorRuleSummary.

display_name

Gets the display_name of this DetectorRecipeDetectorRuleSummary.

entities_mappings

Gets the entities_mappings of this DetectorRecipeDetectorRuleSummary.

id

[Required] Gets the id of this DetectorRecipeDetectorRuleSummary.

is_cloneable

Gets the is_cloneable of this DetectorRecipeDetectorRuleSummary.

lifecycle_details

Gets the lifecycle_details of this DetectorRecipeDetectorRuleSummary.

lifecycle_state

Gets the lifecycle_state of this DetectorRecipeDetectorRuleSummary.

managed_list_types

Gets the managed_list_types of this DetectorRecipeDetectorRuleSummary.

recommendation

Gets the recommendation of this DetectorRecipeDetectorRuleSummary.

resource_type

Gets the resource_type of this DetectorRecipeDetectorRuleSummary.

rule_type

Gets the rule_type of this DetectorRecipeDetectorRuleSummary.

service_type

Gets the service_type of this DetectorRecipeDetectorRuleSummary.

time_created

Gets the time_created of this DetectorRecipeDetectorRuleSummary.

time_updated

Gets the time_updated of this DetectorRecipeDetectorRuleSummary.

Methods:

__init__(**kwargs)

Initializes a new DetectorRecipeDetectorRuleSummary object with values from keyword arguments.

DETECTOR_IAAS_ACTIVITY_DETECTOR = 'IAAS_ACTIVITY_DETECTOR'

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IAAS_ACTIVITY_DETECTOR”

DETECTOR_IAAS_CONFIGURATION_DETECTOR = 'IAAS_CONFIGURATION_DETECTOR'

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IAAS_CONFIGURATION_DETECTOR”

DETECTOR_IAAS_CONTAINER_SECURITY_DETECTOR = 'IAAS_CONTAINER_SECURITY_DETECTOR'

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IAAS_CONTAINER_SECURITY_DETECTOR”

DETECTOR_IAAS_INSTANCE_SECURITY_DETECTOR = 'IAAS_INSTANCE_SECURITY_DETECTOR'

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IAAS_INSTANCE_SECURITY_DETECTOR”

DETECTOR_IAAS_LOG_INSIGHT_DETECTOR = 'IAAS_LOG_INSIGHT_DETECTOR'

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IAAS_LOG_INSIGHT_DETECTOR”

DETECTOR_IAAS_THREAT_DETECTOR = 'IAAS_THREAT_DETECTOR'

A constant which can be used with the detector property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IAAS_THREAT_DETECTOR”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “UPDATING”

MANAGED_LIST_TYPES_CIDR_BLOCK = 'CIDR_BLOCK'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “CIDR_BLOCK”

MANAGED_LIST_TYPES_CITY = 'CITY'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “CITY”

MANAGED_LIST_TYPES_COUNTRY = 'COUNTRY'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “COUNTRY”

MANAGED_LIST_TYPES_FUSION_APPS_PERMISSION = 'FUSION_APPS_PERMISSION'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “FUSION_APPS_PERMISSION”

MANAGED_LIST_TYPES_FUSION_APPS_ROLE = 'FUSION_APPS_ROLE'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “FUSION_APPS_ROLE”

MANAGED_LIST_TYPES_GENERIC = 'GENERIC'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “GENERIC”

MANAGED_LIST_TYPES_GROUPS = 'GROUPS'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “GROUPS”

MANAGED_LIST_TYPES_IPV4_ADDRESS = 'IPV4ADDRESS'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IPV4ADDRESS”

MANAGED_LIST_TYPES_IPV6_ADDRESS = 'IPV6ADDRESS'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “IPV6ADDRESS”

MANAGED_LIST_TYPES_NAMESPACE_SELECTOR = 'NAMESPACE_SELECTOR'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “NAMESPACE_SELECTOR”

MANAGED_LIST_TYPES_POD_RESOURCE_SELECTOR = 'POD_RESOURCE_SELECTOR'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “POD_RESOURCE_SELECTOR”

MANAGED_LIST_TYPES_REGION = 'REGION'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “REGION”

MANAGED_LIST_TYPES_RESOURCE_OCID = 'RESOURCE_OCID'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “RESOURCE_OCID”

MANAGED_LIST_TYPES_STATE = 'STATE'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “STATE”

MANAGED_LIST_TYPES_TAGS = 'TAGS'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “TAGS”

MANAGED_LIST_TYPES_USERS = 'USERS'

A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRuleSummary. This constant has a value of “USERS”

__init__(**kwargs)

Initializes a new DetectorRecipeDetectorRuleSummary 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 DetectorRecipeDetectorRuleSummary.

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

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

  • recommendation (str) – The value to assign to the recommendation property of this DetectorRecipeDetectorRuleSummary.

  • detector (str) – The value to assign to the detector property of this DetectorRecipeDetectorRuleSummary. Allowed values for this property are: “IAAS_ACTIVITY_DETECTOR”, “IAAS_CONFIGURATION_DETECTOR”, “IAAS_THREAT_DETECTOR”, “IAAS_LOG_INSIGHT_DETECTOR”, “IAAS_INSTANCE_SECURITY_DETECTOR”, “IAAS_CONTAINER_SECURITY_DETECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • service_type (str) – The value to assign to the service_type property of this DetectorRecipeDetectorRuleSummary.

  • resource_type (str) – The value to assign to the resource_type property of this DetectorRecipeDetectorRuleSummary.

  • rule_type (list[oci.cloud_guard.models.RuleType]) – The value to assign to the rule_type property of this DetectorRecipeDetectorRuleSummary.

  • is_cloneable (bool) – The value to assign to the is_cloneable property of this DetectorRecipeDetectorRuleSummary.

  • managed_list_types (list[str]) – The value to assign to the managed_list_types property of this DetectorRecipeDetectorRuleSummary. Allowed values for items in this list are: “CIDR_BLOCK”, “USERS”, “GROUPS”, “IPV4ADDRESS”, “IPV6ADDRESS”, “RESOURCE_OCID”, “REGION”, “COUNTRY”, “STATE”, “CITY”, “TAGS”, “GENERIC”, “FUSION_APPS_ROLE”, “FUSION_APPS_PERMISSION”, “NAMESPACE_SELECTOR”, “POD_RESOURCE_SELECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • candidate_responder_rules (list[oci.cloud_guard.models.CandidateResponderRule]) – The value to assign to the candidate_responder_rules property of this DetectorRecipeDetectorRuleSummary.

  • detector_details (oci.cloud_guard.models.DetectorDetails) – The value to assign to the detector_details property of this DetectorRecipeDetectorRuleSummary.

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

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

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DetectorRecipeDetectorRuleSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this DetectorRecipeDetectorRuleSummary.

  • data_source_id (str) – The value to assign to the data_source_id property of this DetectorRecipeDetectorRuleSummary.

  • entities_mappings (list[oci.cloud_guard.models.EntitiesMapping]) – The value to assign to the entities_mappings property of this DetectorRecipeDetectorRuleSummary.

property candidate_responder_rules

Gets the candidate_responder_rules of this DetectorRecipeDetectorRuleSummary. List of responder rules that can be used to remediate problems triggered by this detector rule

Returns

The candidate_responder_rules of this DetectorRecipeDetectorRuleSummary.

Return type

list[oci.cloud_guard.models.CandidateResponderRule]

property data_source_id

Gets the data_source_id of this DetectorRecipeDetectorRuleSummary. The ID of the attached data source

Returns

The data_source_id of this DetectorRecipeDetectorRuleSummary.

Return type

str

property description

Gets the description of this DetectorRecipeDetectorRuleSummary. Description of the detector rule

Returns

The description of this DetectorRecipeDetectorRuleSummary.

Return type

str

property detector

[Required] Gets the detector of this DetectorRecipeDetectorRuleSummary. Possible types of detectors

Allowed values for this property are: “IAAS_ACTIVITY_DETECTOR”, “IAAS_CONFIGURATION_DETECTOR”, “IAAS_THREAT_DETECTOR”, “IAAS_LOG_INSIGHT_DETECTOR”, “IAAS_INSTANCE_SECURITY_DETECTOR”, “IAAS_CONTAINER_SECURITY_DETECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The detector of this DetectorRecipeDetectorRuleSummary.

Return type

str

property detector_details

Gets the detector_details of this DetectorRecipeDetectorRuleSummary.

Returns

The detector_details of this DetectorRecipeDetectorRuleSummary.

Return type

oci.cloud_guard.models.DetectorDetails

property display_name

Gets the display_name of this DetectorRecipeDetectorRuleSummary. Display name of the detector rule

Returns

The display_name of this DetectorRecipeDetectorRuleSummary.

Return type

str

property entities_mappings

Gets the entities_mappings of this DetectorRecipeDetectorRuleSummary. Data source entities mapping for the detector rule

Returns

The entities_mappings of this DetectorRecipeDetectorRuleSummary.

Return type

list[oci.cloud_guard.models.EntitiesMapping]

property id

[Required] Gets the id of this DetectorRecipeDetectorRuleSummary. The unique identifier of the detector rule

Returns

The id of this DetectorRecipeDetectorRuleSummary.

Return type

str

property is_cloneable

Gets the is_cloneable of this DetectorRecipeDetectorRuleSummary. Is the rule cloneable?

Returns

The is_cloneable of this DetectorRecipeDetectorRuleSummary.

Return type

bool

property lifecycle_details

Gets the lifecycle_details of this DetectorRecipeDetectorRuleSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

Returns

The lifecycle_details of this DetectorRecipeDetectorRuleSummary.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this DetectorRecipeDetectorRuleSummary. The current lifecycle state of the detector recipe rule

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this DetectorRecipeDetectorRuleSummary.

Return type

str

property managed_list_types

Gets the managed_list_types of this DetectorRecipeDetectorRuleSummary. List of managed list types related to this rule

Allowed values for items in this list are: “CIDR_BLOCK”, “USERS”, “GROUPS”, “IPV4ADDRESS”, “IPV6ADDRESS”, “RESOURCE_OCID”, “REGION”, “COUNTRY”, “STATE”, “CITY”, “TAGS”, “GENERIC”, “FUSION_APPS_ROLE”, “FUSION_APPS_PERMISSION”, “NAMESPACE_SELECTOR”, “POD_RESOURCE_SELECTOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The managed_list_types of this DetectorRecipeDetectorRuleSummary.

Return type

list[str]

property recommendation

Gets the recommendation of this DetectorRecipeDetectorRuleSummary. Recommendation for the Display name of the detector rule

Returns

The recommendation of this DetectorRecipeDetectorRuleSummary.

Return type

str

property resource_type

Gets the resource_type of this DetectorRecipeDetectorRuleSummary. Resource type of the configuration to which the rule is applied

Returns

The resource_type of this DetectorRecipeDetectorRuleSummary.

Return type

str

property rule_type

Gets the rule_type of this DetectorRecipeDetectorRuleSummary. Rule type

Returns

The rule_type of this DetectorRecipeDetectorRuleSummary.

Return type

list[oci.cloud_guard.models.RuleType]

property service_type

Gets the service_type of this DetectorRecipeDetectorRuleSummary. Service type of the configuration to which the rule is applied

Returns

The service_type of this DetectorRecipeDetectorRuleSummary.

Return type

str

property time_created

Gets the time_created of this DetectorRecipeDetectorRuleSummary. The date and time the detector recipe rule was created. Format defined by RFC3339.

Returns

The time_created of this DetectorRecipeDetectorRuleSummary.

Return type

datetime

property time_updated

Gets the time_updated of this DetectorRecipeDetectorRuleSummary. The date and time the detector recipe rule was last updated. Format defined by RFC3339.

Returns

The time_updated of this DetectorRecipeDetectorRuleSummary.

Return type

datetime