Diffs¶
-
class
oci.data_safe.models.
Diffs
(**kwargs)¶ Bases:
object
Results of the comparison of an item between two security assessments.
Attributes
SEVERITY_ADVISORY
A constant which can be used with the severity property of a Diffs. SEVERITY_DEFERRED
A constant which can be used with the severity property of a Diffs. SEVERITY_EVALUATE
A constant which can be used with the severity property of a Diffs. SEVERITY_HIGH
A constant which can be used with the severity property of a Diffs. SEVERITY_LOW
A constant which can be used with the severity property of a Diffs. SEVERITY_MEDIUM
A constant which can be used with the severity property of a Diffs. SEVERITY_PASS
A constant which can be used with the severity property of a Diffs. added_items
Gets the added_items of this Diffs. baseline
Gets the baseline of this Diffs. current
Gets the current of this Diffs. modified_items
Gets the modified_items of this Diffs. removed_items
Gets the removed_items of this Diffs. severity
Gets the severity of this Diffs. Methods
__init__
(**kwargs)Initializes a new Diffs object with values from keyword arguments. -
SEVERITY_ADVISORY
= 'ADVISORY'¶ A constant which can be used with the severity property of a Diffs. This constant has a value of “ADVISORY”
-
SEVERITY_DEFERRED
= 'DEFERRED'¶ A constant which can be used with the severity property of a Diffs. This constant has a value of “DEFERRED”
-
SEVERITY_EVALUATE
= 'EVALUATE'¶ A constant which can be used with the severity property of a Diffs. This constant has a value of “EVALUATE”
-
SEVERITY_HIGH
= 'HIGH'¶ A constant which can be used with the severity property of a Diffs. This constant has a value of “HIGH”
-
SEVERITY_LOW
= 'LOW'¶ A constant which can be used with the severity property of a Diffs. This constant has a value of “LOW”
-
SEVERITY_MEDIUM
= 'MEDIUM'¶ A constant which can be used with the severity property of a Diffs. This constant has a value of “MEDIUM”
-
SEVERITY_PASS
= 'PASS'¶ A constant which can be used with the severity property of a Diffs. This constant has a value of “PASS”
-
__init__
(**kwargs)¶ Initializes a new Diffs object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - current (oci.data_safe.models.Finding) – The value to assign to the current property of this Diffs.
- baseline (oci.data_safe.models.Finding) – The value to assign to the baseline property of this Diffs.
- removed_items (list[str]) – The value to assign to the removed_items property of this Diffs.
- added_items (list[str]) – The value to assign to the added_items property of this Diffs.
- modified_items (list[str]) – The value to assign to the modified_items property of this Diffs.
- severity (str) – The value to assign to the severity property of this Diffs. Allowed values for this property are: “HIGH”, “MEDIUM”, “LOW”, “EVALUATE”, “ADVISORY”, “PASS”, “DEFERRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
added_items
¶ Gets the added_items of this Diffs. This array identifies the items that are present in the current assessment, but are missing from the baseline.
Returns: The added_items of this Diffs. Return type: list[str]
-
baseline
¶ Gets the baseline of this Diffs.
Returns: The baseline of this Diffs. Return type: oci.data_safe.models.Finding
-
current
¶ Gets the current of this Diffs.
Returns: The current of this Diffs. Return type: oci.data_safe.models.Finding
-
modified_items
¶ Gets the modified_items of this Diffs. This array contains the items that are present in both the current assessment and the baseline, but are different in the two assessments.
Returns: The modified_items of this Diffs. Return type: list[str]
-
removed_items
¶ Gets the removed_items of this Diffs. This array identifies the items that are present in the baseline, but are missing from the current assessment.
Returns: The removed_items of this Diffs. Return type: list[str]
-
severity
¶ Gets the severity of this Diffs. The severity of this diff.
Allowed values for this property are: “HIGH”, “MEDIUM”, “LOW”, “EVALUATE”, “ADVISORY”, “PASS”, “DEFERRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The severity of this Diffs. Return type: str
-