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:
A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison.
A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison.
A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison.
A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison.
A constant which can be used with the lifecycle_state property of a SecurityAssessmentComparison.
Gets the baseline_id of this SecurityAssessmentComparison.
Gets the id of this SecurityAssessmentComparison.
[Required] Gets the lifecycle_state of this SecurityAssessmentComparison.
Gets the targets of this SecurityAssessmentComparison.
[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.
- property 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
- property 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
- property 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
- property 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]