SecurityAssessmentComparison¶
-
class
oci.data_safe.models.SecurityAssessmentComparison(**kwargs)¶ Bases:
objectProvides a list of the differences in a comparison of the security assessment with the baseline value.
Attributes
LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. LIFECYCLE_STATE_SUCCEEDEDA constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. baseline_idGets the baseline_id of this SecurityAssessmentComparison. idGets the id of this SecurityAssessmentComparison. lifecycle_state[Required] Gets the lifecycle_state of this SecurityAssessmentComparison. targetsGets the targets of this SecurityAssessmentComparison. time_created[Required] Gets the time_created of this SecurityAssessmentComparison. Methods
__init__(**kwargs)Initializes a new SecurityAssessmentComparison object with values from keyword arguments. -
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_SUCCEEDED= 'SUCCEEDED'¶ A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison. This constant has a value of “SUCCEEDED”
-
__init__(**kwargs)¶ Initializes a new SecurityAssessmentComparison 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 SecurityAssessmentComparison.
- baseline_id (str) – The value to assign to the baseline_id property of this SecurityAssessmentComparison.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SecurityAssessmentComparison. Allowed values for this property are: “CREATING”, “SUCCEEDED”, “FAILED”, “DELETED”, “DELETING”, ‘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 SecurityAssessmentComparison.
- targets (list[oci.data_safe.models.SecurityAssessmentComparisonPerTarget]) – The value to assign to the targets property of this SecurityAssessmentComparison.
-
baseline_id¶ Gets the baseline_id of this SecurityAssessmentComparison. The OCID of the security assessment that is set as a baseline.
Returns: The baseline_id of this SecurityAssessmentComparison. Return type: str
-
id¶ Gets the id of this SecurityAssessmentComparison. The OCID of the security assessment that is being compared with a baseline security assessment.
Returns: The id of this SecurityAssessmentComparison. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this SecurityAssessmentComparison. The current state of the security assessment comparison.
Allowed values for this property are: “CREATING”, “SUCCEEDED”, “FAILED”, “DELETED”, “DELETING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this SecurityAssessmentComparison. Return type: str
-
targets¶ Gets the targets of this SecurityAssessmentComparison. A target-based comparison between two security assessments.
Returns: The targets of this SecurityAssessmentComparison. Return type: list[oci.data_safe.models.SecurityAssessmentComparisonPerTarget]
-