ProblemSummary¶
-
class
oci.cloud_guard.models.ProblemSummary(**kwargs)¶ Bases:
objectSummary information for a problem.
Attributes
DETECTOR_ID_IAAS_ACTIVITY_DETECTORA constant which can be used with the detector_id property of a ProblemSummary. DETECTOR_ID_IAAS_CONFIGURATION_DETECTORA constant which can be used with the detector_id property of a ProblemSummary. DETECTOR_ID_IAAS_CONTAINER_SECURITY_DETECTORA constant which can be used with the detector_id property of a ProblemSummary. DETECTOR_ID_IAAS_INSTANCE_SECURITY_DETECTORA constant which can be used with the detector_id property of a ProblemSummary. DETECTOR_ID_IAAS_LOG_INSIGHT_DETECTORA constant which can be used with the detector_id property of a ProblemSummary. DETECTOR_ID_IAAS_THREAT_DETECTORA constant which can be used with the detector_id property of a ProblemSummary. LIFECYCLE_DETAIL_DELETEDA constant which can be used with the lifecycle_detail property of a ProblemSummary. LIFECYCLE_DETAIL_DISMISSEDA constant which can be used with the lifecycle_detail property of a ProblemSummary. LIFECYCLE_DETAIL_OPENA constant which can be used with the lifecycle_detail property of a ProblemSummary. LIFECYCLE_DETAIL_RESOLVEDA constant which can be used with the lifecycle_detail property of a ProblemSummary. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ProblemSummary. LIFECYCLE_STATE_INACTIVEA constant which can be used with the lifecycle_state property of a ProblemSummary. RISK_LEVEL_CRITICALA constant which can be used with the risk_level property of a ProblemSummary. RISK_LEVEL_HIGHA constant which can be used with the risk_level property of a ProblemSummary. RISK_LEVEL_LOWA constant which can be used with the risk_level property of a ProblemSummary. RISK_LEVEL_MEDIUMA constant which can be used with the risk_level property of a ProblemSummary. RISK_LEVEL_MINORA constant which can be used with the risk_level property of a ProblemSummary. compartment_id[Required] Gets the compartment_id of this ProblemSummary. detector_idGets the detector_id of this ProblemSummary. detector_rule_idGets the detector_rule_id of this ProblemSummary. id[Required] Gets the id of this ProblemSummary. labelsGets the labels of this ProblemSummary. lifecycle_detailGets the lifecycle_detail of this ProblemSummary. lifecycle_stateGets the lifecycle_state of this ProblemSummary. locksGets the locks of this ProblemSummary. regionGets the region of this ProblemSummary. regionsGets the regions of this ProblemSummary. resource_idGets the resource_id of this ProblemSummary. resource_nameGets the resource_name of this ProblemSummary. resource_typeGets the resource_type of this ProblemSummary. risk_levelGets the risk_level of this ProblemSummary. risk_scoreGets the risk_score of this ProblemSummary. target_idGets the target_id of this ProblemSummary. time_first_detectedGets the time_first_detected of this ProblemSummary. time_last_detectedGets the time_last_detected of this ProblemSummary. Methods
__init__(**kwargs)Initializes a new ProblemSummary object with values from keyword arguments. -
DETECTOR_ID_IAAS_ACTIVITY_DETECTOR= 'IAAS_ACTIVITY_DETECTOR'¶ A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_ACTIVITY_DETECTOR”
-
DETECTOR_ID_IAAS_CONFIGURATION_DETECTOR= 'IAAS_CONFIGURATION_DETECTOR'¶ A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_CONFIGURATION_DETECTOR”
-
DETECTOR_ID_IAAS_CONTAINER_SECURITY_DETECTOR= 'IAAS_CONTAINER_SECURITY_DETECTOR'¶ A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_CONTAINER_SECURITY_DETECTOR”
-
DETECTOR_ID_IAAS_INSTANCE_SECURITY_DETECTOR= 'IAAS_INSTANCE_SECURITY_DETECTOR'¶ A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_INSTANCE_SECURITY_DETECTOR”
-
DETECTOR_ID_IAAS_LOG_INSIGHT_DETECTOR= 'IAAS_LOG_INSIGHT_DETECTOR'¶ A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_LOG_INSIGHT_DETECTOR”
-
DETECTOR_ID_IAAS_THREAT_DETECTOR= 'IAAS_THREAT_DETECTOR'¶ A constant which can be used with the detector_id property of a ProblemSummary. This constant has a value of “IAAS_THREAT_DETECTOR”
-
LIFECYCLE_DETAIL_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_detail property of a ProblemSummary. This constant has a value of “DELETED”
-
LIFECYCLE_DETAIL_DISMISSED= 'DISMISSED'¶ A constant which can be used with the lifecycle_detail property of a ProblemSummary. This constant has a value of “DISMISSED”
-
LIFECYCLE_DETAIL_OPEN= 'OPEN'¶ A constant which can be used with the lifecycle_detail property of a ProblemSummary. This constant has a value of “OPEN”
-
LIFECYCLE_DETAIL_RESOLVED= 'RESOLVED'¶ A constant which can be used with the lifecycle_detail property of a ProblemSummary. This constant has a value of “RESOLVED”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ProblemSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a ProblemSummary. This constant has a value of “INACTIVE”
-
RISK_LEVEL_CRITICAL= 'CRITICAL'¶ A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “CRITICAL”
-
RISK_LEVEL_HIGH= 'HIGH'¶ A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “HIGH”
-
RISK_LEVEL_LOW= 'LOW'¶ A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “LOW”
-
RISK_LEVEL_MEDIUM= 'MEDIUM'¶ A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “MEDIUM”
-
RISK_LEVEL_MINOR= 'MINOR'¶ A constant which can be used with the risk_level property of a ProblemSummary. This constant has a value of “MINOR”
-
__init__(**kwargs)¶ Initializes a new ProblemSummary 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 ProblemSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ProblemSummary.
- detector_rule_id (str) – The value to assign to the detector_rule_id property of this ProblemSummary.
- risk_level (str) – The value to assign to the risk_level property of this ProblemSummary. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- risk_score (float) – The value to assign to the risk_score property of this ProblemSummary.
- resource_id (str) – The value to assign to the resource_id property of this ProblemSummary.
- resource_name (str) – The value to assign to the resource_name property of this ProblemSummary.
- resource_type (str) – The value to assign to the resource_type property of this ProblemSummary.
- labels (list[str]) – The value to assign to the labels property of this ProblemSummary.
- time_first_detected (datetime) – The value to assign to the time_first_detected property of this ProblemSummary.
- time_last_detected (datetime) – The value to assign to the time_last_detected property of this ProblemSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ProblemSummary. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_detail (str) – The value to assign to the lifecycle_detail property of this ProblemSummary. Allowed values for this property are: “OPEN”, “RESOLVED”, “DISMISSED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- detector_id (str) – The value to assign to the detector_id property of this ProblemSummary. 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’.
- region (str) – The value to assign to the region property of this ProblemSummary.
- regions (list[str]) – The value to assign to the regions property of this ProblemSummary.
- target_id (str) – The value to assign to the target_id property of this ProblemSummary.
- locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this ProblemSummary.
-
compartment_id¶ [Required] Gets the compartment_id of this ProblemSummary. Compartment OCID where the resource is created
Returns: The compartment_id of this ProblemSummary. Return type: str
-
detector_id¶ Gets the detector_id of this ProblemSummary. Unique identifier of the detector associated with the problem
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_id of this ProblemSummary. Return type: str
-
detector_rule_id¶ Gets the detector_rule_id of this ProblemSummary. Unique identifier of the detector rule
Returns: The detector_rule_id of this ProblemSummary. Return type: str
-
id¶ [Required] Gets the id of this ProblemSummary. Unique identifier that can’t be changed after creation
Returns: The id of this ProblemSummary. Return type: str
-
labels¶ Gets the labels of this ProblemSummary. User-defined labels on the problem
Returns: The labels of this ProblemSummary. Return type: list[str]
-
lifecycle_detail¶ Gets the lifecycle_detail of this ProblemSummary. Additional details on the substate of the lifecycle state
Allowed values for this property are: “OPEN”, “RESOLVED”, “DISMISSED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_detail of this ProblemSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this ProblemSummary. The current lifecycle state of the problem
Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ProblemSummary. Return type: str
-
locks¶ Gets the locks of this ProblemSummary. Locks associated with this resource.
Returns: The locks of this ProblemSummary. Return type: list[oci.cloud_guard.models.ResourceLock]
-
region¶ Gets the region of this ProblemSummary. DEPRECATED
Returns: The region of this ProblemSummary. Return type: str
-
regions¶ Gets the regions of this ProblemSummary. List of regions where the problem is found
Returns: The regions of this ProblemSummary. Return type: list[str]
-
resource_id¶ Gets the resource_id of this ProblemSummary. Unique identifier of the resource that’s impacted by the problem
Returns: The resource_id of this ProblemSummary. Return type: str
-
resource_name¶ Gets the resource_name of this ProblemSummary. Display name of the resource impacted by the problem
Returns: The resource_name of this ProblemSummary. Return type: str
-
resource_type¶ Gets the resource_type of this ProblemSummary. Type of the resource impacted by the problem
Returns: The resource_type of this ProblemSummary. Return type: str
-
risk_level¶ Gets the risk_level of this ProblemSummary. The risk level of the problem
Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The risk_level of this ProblemSummary. Return type: str
-
risk_score¶ Gets the risk_score of this ProblemSummary. The risk score for the problem
Returns: The risk_score of this ProblemSummary. Return type: float
-
target_id¶ Gets the target_id of this ProblemSummary. Unique target identifier associated with the problem
Returns: The target_id of this ProblemSummary. Return type: str
-
time_first_detected¶ Gets the time_first_detected of this ProblemSummary. The date and time the problem was first detected. Format defined by RFC3339.
Returns: The time_first_detected of this ProblemSummary. Return type: datetime
-
time_last_detected¶ Gets the time_last_detected of this ProblemSummary. The date and time the problem was last detected. Format defined by RFC3339.
Returns: The time_last_detected of this ProblemSummary. Return type: datetime
-