DblmVulnerability¶
-
class
oci.dblm.models.
DblmVulnerability
(**kwargs)¶ Bases:
object
A Dblm Vulnerability is a description of a Dblm Vulnerability.
To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a DblmVulnerability. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a DblmVulnerability. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a DblmVulnerability. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a DblmVulnerability. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DblmVulnerability. LIFECYCLE_STATE_NEEDS_ATTENTION
A constant which can be used with the lifecycle_state property of a DblmVulnerability. compartment_id
[Required] Gets the compartment_id of this DblmVulnerability. freeform_tags
Gets the freeform_tags of this DblmVulnerability. lifecycle_state
Gets the lifecycle_state of this DblmVulnerability. message
Gets the message of this DblmVulnerability. patch_recommendations_summary
Gets the patch_recommendations_summary of this DblmVulnerability. resources
Gets the resources of this DblmVulnerability. resources_summary
Gets the resources_summary of this DblmVulnerability. system_tags
Gets the system_tags of this DblmVulnerability. time_enabled
Gets the time_enabled of this DblmVulnerability. vulnerabilities_summary
Gets the vulnerabilities_summary of this DblmVulnerability. Methods
__init__
(**kwargs)Initializes a new DblmVulnerability object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a DblmVulnerability. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a DblmVulnerability. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a DblmVulnerability. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a DblmVulnerability. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DblmVulnerability. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NEEDS_ATTENTION
= 'NEEDS_ATTENTION'¶ A constant which can be used with the lifecycle_state property of a DblmVulnerability. This constant has a value of “NEEDS_ATTENTION”
-
__init__
(**kwargs)¶ Initializes a new DblmVulnerability object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this DblmVulnerability.
- resources (list[oci.dblm.models.ResourceInfo]) – The value to assign to the resources property of this DblmVulnerability.
- message (str) – The value to assign to the message property of this DblmVulnerability.
- time_enabled (datetime) – The value to assign to the time_enabled property of this DblmVulnerability.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DblmVulnerability. Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- resources_summary (object) – The value to assign to the resources_summary property of this DblmVulnerability.
- vulnerabilities_summary (object) – The value to assign to the vulnerabilities_summary property of this DblmVulnerability.
- patch_recommendations_summary (object) – The value to assign to the patch_recommendations_summary property of this DblmVulnerability.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DblmVulnerability.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DblmVulnerability.
-
compartment_id
¶ [Required] Gets the compartment_id of this DblmVulnerability. Compartment Identifier.
Returns: The compartment_id of this DblmVulnerability. Return type: str
Gets the freeform_tags of this DblmVulnerability. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this DblmVulnerability. Return type: dict(str, str)
-
lifecycle_state
¶ Gets the lifecycle_state of this DblmVulnerability. The current state of the feature.
Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “NEEDS_ATTENTION”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DblmVulnerability. Return type: str
-
message
¶ Gets the message of this DblmVulnerability. A message describing the status of the feature’s state.
Returns: The message of this DblmVulnerability. Return type: str
-
patch_recommendations_summary
¶ Gets the patch_recommendations_summary of this DblmVulnerability. Summary of the patch recommendations for databases.
Returns: The patch_recommendations_summary of this DblmVulnerability. Return type: object
-
resources
¶ Gets the resources of this DblmVulnerability. Resources objects.
Returns: The resources of this DblmVulnerability. Return type: list[oci.dblm.models.ResourceInfo]
-
resources_summary
¶ Gets the resources_summary of this DblmVulnerability. Summary of dblm registered and unregistered resources.
Returns: The resources_summary of this DblmVulnerability. Return type: object
Gets the system_tags of this DblmVulnerability. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this DblmVulnerability. Return type: dict(str, dict(str, object))
-
time_enabled
¶ Gets the time_enabled of this DblmVulnerability. The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
Returns: The time_enabled of this DblmVulnerability. Return type: datetime
-
vulnerabilities_summary
¶ Gets the vulnerabilities_summary of this DblmVulnerability. Summary of vulnerabilities found in registered resources grouped by severity.
Returns: The vulnerabilities_summary of this DblmVulnerability. Return type: object
-