VulnerabilityScanSummary¶
-
class
oci.dblm.models.
VulnerabilityScanSummary
(**kwargs)¶ Bases:
object
Summary information about a VulnerabilityScan.
Methods
__init__
(**kwargs)Initializes a new VulnerabilityScanSummary object with values from keyword arguments. Attributes
compartment_id
[Required] Gets the compartment_id of this VulnerabilityScanSummary. defined_tags
Gets the defined_tags of this VulnerabilityScanSummary. display_name
Gets the display_name of this VulnerabilityScanSummary. freeform_tags
Gets the freeform_tags of this VulnerabilityScanSummary. id
[Required] Gets the id of this VulnerabilityScanSummary. lifecycle_state
Gets the lifecycle_state of this VulnerabilityScanSummary. system_tags
Gets the system_tags of this VulnerabilityScanSummary. time_created
[Required] Gets the time_created of this VulnerabilityScanSummary. time_ended
[Required] Gets the time_ended of this VulnerabilityScanSummary. vulnerability_scan_message
[Required] Gets the vulnerability_scan_message of this VulnerabilityScanSummary. vulnerability_scan_status
[Required] Gets the vulnerability_scan_status of this VulnerabilityScanSummary. vulnerability_scan_type
[Required] Gets the vulnerability_scan_type of this VulnerabilityScanSummary. -
__init__
(**kwargs)¶ Initializes a new VulnerabilityScanSummary 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 VulnerabilityScanSummary.
- display_name (str) – The value to assign to the display_name property of this VulnerabilityScanSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this VulnerabilityScanSummary.
- vulnerability_scan_type (str) – The value to assign to the vulnerability_scan_type property of this VulnerabilityScanSummary.
- vulnerability_scan_status (str) – The value to assign to the vulnerability_scan_status property of this VulnerabilityScanSummary.
- vulnerability_scan_message (str) – The value to assign to the vulnerability_scan_message property of this VulnerabilityScanSummary.
- time_created (datetime) – The value to assign to the time_created property of this VulnerabilityScanSummary.
- time_ended (datetime) – The value to assign to the time_ended property of this VulnerabilityScanSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this VulnerabilityScanSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this VulnerabilityScanSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this VulnerabilityScanSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this VulnerabilityScanSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this VulnerabilityScanSummary. The OCID of the compartment.
Returns: The compartment_id of this VulnerabilityScanSummary. Return type: str
Gets the defined_tags of this VulnerabilityScanSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this VulnerabilityScanSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this VulnerabilityScanSummary. A user-friendly name. Does not have to be unique, and it’s changeable.
Returns: The display_name of this VulnerabilityScanSummary. Return type: str
Gets the freeform_tags of this VulnerabilityScanSummary. 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 VulnerabilityScanSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this VulnerabilityScanSummary. The OCID of the VulnerabilityScan.
Returns: The id of this VulnerabilityScanSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this VulnerabilityScanSummary. The current state of the PatchOperation.
Returns: The lifecycle_state of this VulnerabilityScanSummary. Return type: str
Gets the system_tags of this VulnerabilityScanSummary. 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 VulnerabilityScanSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this VulnerabilityScanSummary. The date and time the VulnerabilityScan was created, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this VulnerabilityScanSummary. Return type: datetime
-
time_ended
¶ [Required] Gets the time_ended of this VulnerabilityScanSummary. The date and time the VulnerabilityScan was updated, in the format defined by RFC 3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_ended of this VulnerabilityScanSummary. Return type: datetime
-
vulnerability_scan_message
¶ [Required] Gets the vulnerability_scan_message of this VulnerabilityScanSummary. The message of the scan status.
Returns: The vulnerability_scan_message of this VulnerabilityScanSummary. Return type: str
-
vulnerability_scan_status
¶ [Required] Gets the vulnerability_scan_status of this VulnerabilityScanSummary. The status of the scan.
Returns: The vulnerability_scan_status of this VulnerabilityScanSummary. Return type: str
-
vulnerability_scan_type
¶ [Required] Gets the vulnerability_scan_type of this VulnerabilityScanSummary. Vulnerability Scan Type.
Returns: The vulnerability_scan_type of this VulnerabilityScanSummary. Return type: str
-