DetectorRecipeDetectorRule¶
- class oci.cloud_guard.models.DetectorRecipeDetectorRule(**kwargs)¶
Bases:
objectA DetectorRecipeDetectorRule resource defines a single recipe rule in the collection for a DetectorRecipe resource.
Attributes:
A constant which can be used with the detector property of a DetectorRecipeDetectorRule.
A constant which can be used with the detector property of a DetectorRecipeDetectorRule.
A constant which can be used with the detector property of a DetectorRecipeDetectorRule.
A constant which can be used with the detector property of a DetectorRecipeDetectorRule.
A constant which can be used with the detector property of a DetectorRecipeDetectorRule.
A constant which can be used with the detector property of a DetectorRecipeDetectorRule.
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule.
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule.
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule.
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule.
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule.
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule.
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
A constant which can be used with the managed_list_types property of a DetectorRecipeDetectorRule.
Gets the candidate_responder_rules of this DetectorRecipeDetectorRule.
Gets the data_source_id of this DetectorRecipeDetectorRule.
Gets the description of this DetectorRecipeDetectorRule.
Gets the details of this DetectorRecipeDetectorRule.
[Required] Gets the detector of this DetectorRecipeDetectorRule.
[Required] Gets the detector_rule_id of this DetectorRecipeDetectorRule.
Gets the display_name of this DetectorRecipeDetectorRule.
Gets the entities_mappings of this DetectorRecipeDetectorRule.
Gets the is_cloneable of this DetectorRecipeDetectorRule.
Gets the lifecycle_details of this DetectorRecipeDetectorRule.
Gets the lifecycle_state of this DetectorRecipeDetectorRule.
Gets the locks of this DetectorRecipeDetectorRule.
Gets the managed_list_types of this DetectorRecipeDetectorRule.
Gets the recommendation of this DetectorRecipeDetectorRule.
[Required] Gets the resource_type of this DetectorRecipeDetectorRule.
Gets the rule_type of this DetectorRecipeDetectorRule.
[Required] Gets the service_type of this DetectorRecipeDetectorRule.
Gets the time_created of this DetectorRecipeDetectorRule.
Gets the time_updated of this DetectorRecipeDetectorRule.
Methods:
__init__(**kwargs)Initializes a new DetectorRecipeDetectorRule 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule. This constant has a value of “USERS”
- __init__(**kwargs)¶
Initializes a new DetectorRecipeDetectorRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
detector_rule_id (str) – The value to assign to the detector_rule_id property of this DetectorRecipeDetectorRule.
display_name (str) – The value to assign to the display_name property of this DetectorRecipeDetectorRule.
description (str) – The value to assign to the description property of this DetectorRecipeDetectorRule.
recommendation (str) – The value to assign to the recommendation property of this DetectorRecipeDetectorRule.
detector (str) – The value to assign to the detector property of this DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule.
resource_type (str) – The value to assign to the resource_type property of this DetectorRecipeDetectorRule.
rule_type (list[oci.cloud_guard.models.RuleType]) – The value to assign to the rule_type property of this DetectorRecipeDetectorRule.
is_cloneable (bool) – The value to assign to the is_cloneable property of this DetectorRecipeDetectorRule.
details (oci.cloud_guard.models.DetectorDetails) – The value to assign to the details property of this DetectorRecipeDetectorRule.
managed_list_types (list[str]) – The value to assign to the managed_list_types property of this DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule.
time_created (datetime) – The value to assign to the time_created property of this DetectorRecipeDetectorRule.
time_updated (datetime) – The value to assign to the time_updated property of this DetectorRecipeDetectorRule.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule.
data_source_id (str) – The value to assign to the data_source_id property of this DetectorRecipeDetectorRule.
entities_mappings (list[oci.cloud_guard.models.EntitiesMapping]) – The value to assign to the entities_mappings property of this DetectorRecipeDetectorRule.
locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this DetectorRecipeDetectorRule.
- property candidate_responder_rules¶
Gets the candidate_responder_rules of this DetectorRecipeDetectorRule. List of responder rules that can be used to remediate this detector rule
- Returns
The candidate_responder_rules of this DetectorRecipeDetectorRule.
- Return type
- property data_source_id¶
Gets the data_source_id of this DetectorRecipeDetectorRule. The unique identifier of the attached data source
- Returns
The data_source_id of this DetectorRecipeDetectorRule.
- Return type
str
- property description¶
Gets the description of this DetectorRecipeDetectorRule. Description for DetectorRecipeDetectorRule resource
- Returns
The description of this DetectorRecipeDetectorRule.
- Return type
str
- property details¶
Gets the details of this DetectorRecipeDetectorRule.
- Returns
The details of this DetectorRecipeDetectorRule.
- Return type
- property detector¶
[Required] Gets the detector of this DetectorRecipeDetectorRule. Detector recipe for the rule
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 DetectorRecipeDetectorRule.
- Return type
str
- property detector_rule_id¶
[Required] Gets the detector_rule_id of this DetectorRecipeDetectorRule. The unique identifier of the detector rule.
- Returns
The detector_rule_id of this DetectorRecipeDetectorRule.
- Return type
str
- property display_name¶
Gets the display_name of this DetectorRecipeDetectorRule. Display name for DetectorRecipeDetectorRule resource
- Returns
The display_name of this DetectorRecipeDetectorRule.
- Return type
str
- property entities_mappings¶
Gets the entities_mappings of this DetectorRecipeDetectorRule. Data source entities mapping for the detector rule
- Returns
The entities_mappings of this DetectorRecipeDetectorRule.
- Return type
- property is_cloneable¶
Gets the is_cloneable of this DetectorRecipeDetectorRule. Is the rule cloneable?
- Returns
The is_cloneable of this DetectorRecipeDetectorRule.
- Return type
bool
- property lifecycle_details¶
Gets the lifecycle_details of this DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this DetectorRecipeDetectorRule. The current lifecycle state of the detector 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 DetectorRecipeDetectorRule.
- Return type
str
- property locks¶
Gets the locks of this DetectorRecipeDetectorRule. Locks associated with this resource.
- Returns
The locks of this DetectorRecipeDetectorRule.
- Return type
- property managed_list_types¶
Gets the managed_list_types of this DetectorRecipeDetectorRule. 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 DetectorRecipeDetectorRule.
- Return type
list[str]
- property recommendation¶
Gets the recommendation of this DetectorRecipeDetectorRule. Recommendation for DetectorRecipeDetectorRule resource
- Returns
The recommendation of this DetectorRecipeDetectorRule.
- Return type
str
- property resource_type¶
[Required] Gets the resource_type of this DetectorRecipeDetectorRule. Resource type of the configuration to which the rule is applied
- Returns
The resource_type of this DetectorRecipeDetectorRule.
- Return type
str
- property rule_type¶
Gets the rule_type of this DetectorRecipeDetectorRule. Detector rule type
- Returns
The rule_type of this DetectorRecipeDetectorRule.
- Return type
- property service_type¶
[Required] Gets the service_type of this DetectorRecipeDetectorRule. Service type of the configuration to which the rule is applied
- Returns
The service_type of this DetectorRecipeDetectorRule.
- Return type
str
- property time_created¶
Gets the time_created of this DetectorRecipeDetectorRule. The date and time the detector recipe rule was created. Format defined by RFC3339.
- Returns
The time_created of this DetectorRecipeDetectorRule.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this DetectorRecipeDetectorRule. The date and time the detector recipe rule was last updated. Format defined by RFC3339.
- Returns
The time_updated of this DetectorRecipeDetectorRule.
- Return type
datetime