CryptoAssessmentSummary¶
-
class
oci.data_safe.models.CryptoAssessmentSummary(**kwargs)¶ Bases:
objectThe summary of a crypto assessment.
Attributes
POSTURE_CATEGORY_QUANTUM_CAPABLEA constant which can be used with the posture_category property of a CryptoAssessmentSummary. POSTURE_CATEGORY_QUANTUM_RESISTANTA constant which can be used with the posture_category property of a CryptoAssessmentSummary. POSTURE_CATEGORY_UPGRADE_RECOMMENDEDA constant which can be used with the posture_category property of a CryptoAssessmentSummary. compartment_id[Required] Gets the compartment_id of this CryptoAssessmentSummary. database_versionGets the database_version of this CryptoAssessmentSummary. defined_tagsGets the defined_tags of this CryptoAssessmentSummary. descriptionGets the description of this CryptoAssessmentSummary. display_nameGets the display_name of this CryptoAssessmentSummary. freeform_tagsGets the freeform_tags of this CryptoAssessmentSummary. id[Required] Gets the id of this CryptoAssessmentSummary. is_assessment_scheduledGets the is_assessment_scheduled of this CryptoAssessmentSummary. issue_countGets the issue_count of this CryptoAssessmentSummary. lifecycle_detailsGets the lifecycle_details of this CryptoAssessmentSummary. lifecycle_state[Required] Gets the lifecycle_state of this CryptoAssessmentSummary. posture_categoryGets the posture_category of this CryptoAssessmentSummary. scheduleGets the schedule of this CryptoAssessmentSummary. system_tagsGets the system_tags of this CryptoAssessmentSummary. target_database_group_idGets the target_database_group_id of this CryptoAssessmentSummary. target_idGets the target_id of this CryptoAssessmentSummary. target_type[Required] Gets the target_type of this CryptoAssessmentSummary. targets_with_issues_countGets the targets_with_issues_count of this CryptoAssessmentSummary. time_created[Required] Gets the time_created of this CryptoAssessmentSummary. time_last_assessedGets the time_last_assessed of this CryptoAssessmentSummary. time_updatedGets the time_updated of this CryptoAssessmentSummary. triggered_byGets the triggered_by of this CryptoAssessmentSummary. typeGets the type of this CryptoAssessmentSummary. Methods
__init__(**kwargs)Initializes a new CryptoAssessmentSummary object with values from keyword arguments. -
POSTURE_CATEGORY_QUANTUM_CAPABLE= 'QUANTUM_CAPABLE'¶ A constant which can be used with the posture_category property of a CryptoAssessmentSummary. This constant has a value of “QUANTUM_CAPABLE”
-
POSTURE_CATEGORY_QUANTUM_RESISTANT= 'QUANTUM_RESISTANT'¶ A constant which can be used with the posture_category property of a CryptoAssessmentSummary. This constant has a value of “QUANTUM_RESISTANT”
-
POSTURE_CATEGORY_UPGRADE_RECOMMENDED= 'UPGRADE_RECOMMENDED'¶ A constant which can be used with the posture_category property of a CryptoAssessmentSummary. This constant has a value of “UPGRADE_RECOMMENDED”
-
__init__(**kwargs)¶ Initializes a new CryptoAssessmentSummary 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 CryptoAssessmentSummary.
- display_name (str) – The value to assign to the display_name property of this CryptoAssessmentSummary.
- description (str) – The value to assign to the description property of this CryptoAssessmentSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this CryptoAssessmentSummary.
- time_created (datetime) – The value to assign to the time_created property of this CryptoAssessmentSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this CryptoAssessmentSummary.
- time_last_assessed (datetime) – The value to assign to the time_last_assessed property of this CryptoAssessmentSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this CryptoAssessmentSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this CryptoAssessmentSummary.
- type (str) – The value to assign to the type property of this CryptoAssessmentSummary.
- triggered_by (str) – The value to assign to the triggered_by property of this CryptoAssessmentSummary.
- target_type (str) – The value to assign to the target_type property of this CryptoAssessmentSummary.
- target_id (str) – The value to assign to the target_id property of this CryptoAssessmentSummary.
- target_database_group_id (str) – The value to assign to the target_database_group_id property of this CryptoAssessmentSummary.
- database_version (str) – The value to assign to the database_version property of this CryptoAssessmentSummary.
- posture_category (str) – The value to assign to the posture_category property of this CryptoAssessmentSummary. Allowed values for this property are: “QUANTUM_RESISTANT”, “QUANTUM_CAPABLE”, “UPGRADE_RECOMMENDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- schedule (str) – The value to assign to the schedule property of this CryptoAssessmentSummary.
- issue_count (int) – The value to assign to the issue_count property of this CryptoAssessmentSummary.
- targets_with_issues_count (int) – The value to assign to the targets_with_issues_count property of this CryptoAssessmentSummary.
- is_assessment_scheduled (bool) – The value to assign to the is_assessment_scheduled property of this CryptoAssessmentSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CryptoAssessmentSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CryptoAssessmentSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CryptoAssessmentSummary.
-
compartment_id¶ [Required] Gets the compartment_id of this CryptoAssessmentSummary. The OCID of the compartment that contains the crypto assessment.
Returns: The compartment_id of this CryptoAssessmentSummary. Return type: str
-
database_version¶ Gets the database_version of this CryptoAssessmentSummary. The version of the assessed target database.
Returns: The database_version of this CryptoAssessmentSummary. Return type: str
Gets the defined_tags of this CryptoAssessmentSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this CryptoAssessmentSummary. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CryptoAssessmentSummary. The description of the crypto assessment.
Returns: The description of this CryptoAssessmentSummary. Return type: str
-
display_name¶ Gets the display_name of this CryptoAssessmentSummary. The display name of the crypto assessment.
Returns: The display_name of this CryptoAssessmentSummary. Return type: str
Gets the freeform_tags of this CryptoAssessmentSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this CryptoAssessmentSummary. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this CryptoAssessmentSummary. The OCID of the crypto assessment.
Returns: The id of this CryptoAssessmentSummary. Return type: str
-
is_assessment_scheduled¶ Gets the is_assessment_scheduled of this CryptoAssessmentSummary. Indicates whether scheduled execution is active for this crypto assessment. When false, the schedule value is retained but scheduled execution is paused.
Returns: The is_assessment_scheduled of this CryptoAssessmentSummary. Return type: bool
-
issue_count¶ Gets the issue_count of this CryptoAssessmentSummary. Number of crypto issues detected in this assessment.
Returns: The issue_count of this CryptoAssessmentSummary. Return type: int
-
lifecycle_details¶ Gets the lifecycle_details of this CryptoAssessmentSummary. Details about the current lifecycle state of the crypto assessment.
Returns: The lifecycle_details of this CryptoAssessmentSummary. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this CryptoAssessmentSummary. The current lifecycle state of the crypto assessment.
Returns: The lifecycle_state of this CryptoAssessmentSummary. Return type: str
-
posture_category¶ Gets the posture_category of this CryptoAssessmentSummary. Overall posture category for the crypto assessment.
Allowed values for this property are: “QUANTUM_RESISTANT”, “QUANTUM_CAPABLE”, “UPGRADE_RECOMMENDED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The posture_category of this CryptoAssessmentSummary. Return type: str
-
schedule¶ Gets the schedule of this CryptoAssessmentSummary. The schedule used to run the crypto assessment periodically. The schedule uses the format: <version-string>;<version-specific-schedule>
For v1, the version-specific schedule format is: <ss> <mm> <hh> <day-of-week> <day-of-month>
Specify either day-of-week for weekly schedules or day-of-month for monthly schedules. Do not specify both. For monthly schedules, day-of-month must be between 1 and 28. If the service generates a default monthly schedule for an assessment created on day 29, 30, or 31 of a month, it uses day 28.
Returns: The schedule of this CryptoAssessmentSummary. Return type: str
Gets the system_tags of this CryptoAssessmentSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this CryptoAssessmentSummary. Return type: dict(str, dict(str, object))
-
target_database_group_id¶ Gets the target_database_group_id of this CryptoAssessmentSummary. The OCID of the target database group. This is returned when targetType is TARGET_DATABASE_GROUP.
Returns: The target_database_group_id of this CryptoAssessmentSummary. Return type: str
-
target_id¶ Gets the target_id of this CryptoAssessmentSummary. The OCID of the target database. This is returned when targetType is TARGET_DATABASE.
Returns: The target_id of this CryptoAssessmentSummary. Return type: str
-
target_type¶ [Required] Gets the target_type of this CryptoAssessmentSummary. Indicates whether this summary row is for a target database or a target database group.
Returns: The target_type of this CryptoAssessmentSummary. Return type: str
-
targets_with_issues_count¶ Gets the targets_with_issues_count of this CryptoAssessmentSummary. Number of assessed targets with one or more crypto issues. For a target database assessment, this value is 1 when the target has issues and 0 otherwise. For a target database group assessment, this value is the number of targets in the group that have issues.
Returns: The targets_with_issues_count of this CryptoAssessmentSummary. Return type: int
-
time_created¶ [Required] Gets the time_created of this CryptoAssessmentSummary. The date and time the crypto assessment was created, in RFC3339 format.
Returns: The time_created of this CryptoAssessmentSummary. Return type: datetime
-
time_last_assessed¶ Gets the time_last_assessed of this CryptoAssessmentSummary. The date and time the crypto posture was last assessed, in RFC3339 format.
Returns: The time_last_assessed of this CryptoAssessmentSummary. Return type: datetime
-
time_updated¶ Gets the time_updated of this CryptoAssessmentSummary. The date and time the crypto assessment was last updated, in RFC3339 format.
Returns: The time_updated of this CryptoAssessmentSummary. Return type: datetime
-
triggered_by¶ Gets the triggered_by of this CryptoAssessmentSummary. The actor that created the assessment.
Returns: The triggered_by of this CryptoAssessmentSummary. Return type: str
-
type¶ Gets the type of this CryptoAssessmentSummary. The type of this crypto assessment.
Returns: The type of this CryptoAssessmentSummary. Return type: str
-