CryptoAssessmentSummary¶
- class oci.data_safe.models.CryptoAssessmentSummary(**kwargs)¶
Bases:
objectThe summary of a crypto assessment.
Attributes:
A constant which can be used with the posture_category property of a CryptoAssessmentSummary.
A constant which can be used with the posture_category property of a CryptoAssessmentSummary.
A constant which can be used with the posture_category property of a CryptoAssessmentSummary.
[Required] Gets the compartment_id of this CryptoAssessmentSummary.
Gets the database_version of this CryptoAssessmentSummary.
Gets the defined_tags of this CryptoAssessmentSummary.
Gets the description of this CryptoAssessmentSummary.
Gets the display_name of this CryptoAssessmentSummary.
Gets the freeform_tags of this CryptoAssessmentSummary.
[Required] Gets the id of this CryptoAssessmentSummary.
Gets the is_assessment_scheduled of this CryptoAssessmentSummary.
Gets the issue_count of this CryptoAssessmentSummary.
Gets the lifecycle_details of this CryptoAssessmentSummary.
[Required] Gets the lifecycle_state of this CryptoAssessmentSummary.
Gets the posture_category of this CryptoAssessmentSummary.
Gets the schedule of this CryptoAssessmentSummary.
Gets the system_tags of this CryptoAssessmentSummary.
Gets the target_database_group_id of this CryptoAssessmentSummary.
Gets the target_id of this CryptoAssessmentSummary.
[Required] Gets the target_type of this CryptoAssessmentSummary.
Gets the targets_with_issues_count of this CryptoAssessmentSummary.
[Required] Gets the time_created of this CryptoAssessmentSummary.
Gets the time_last_assessed of this CryptoAssessmentSummary.
Gets the time_updated of this CryptoAssessmentSummary.
Gets the triggered_by of this CryptoAssessmentSummary.
Gets 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.
- property 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
- property 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
- property defined_tags¶
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))
- property description¶
Gets the description of this CryptoAssessmentSummary. The description of the crypto assessment.
- Returns
The description of this CryptoAssessmentSummary.
- Return type
str
- property 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
- property freeform_tags¶
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)
- property id¶
[Required] Gets the id of this CryptoAssessmentSummary. The OCID of the crypto assessment.
- Returns
The id of this CryptoAssessmentSummary.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property system_tags¶
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))
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property type¶
Gets the type of this CryptoAssessmentSummary. The type of this crypto assessment.
- Returns
The type of this CryptoAssessmentSummary.
- Return type
str