CreateVulnerabilityScanDetails¶
- class oci.dblm.models.CreateVulnerabilityScanDetails(**kwargs)¶
Bases:
objectThe data to create a VulnerabilityScan.
Methods:
__init__(**kwargs)Initializes a new CreateVulnerabilityScanDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateVulnerabilityScanDetails.
[Required] Gets the vulnerability_scan_type of this CreateVulnerabilityScanDetails.
- __init__(**kwargs)¶
Initializes a new CreateVulnerabilityScanDetails 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 CreateVulnerabilityScanDetails.
vulnerability_scan_type (str) – The value to assign to the vulnerability_scan_type property of this CreateVulnerabilityScanDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateVulnerabilityScanDetails. Compartment Identifier
- Returns
The compartment_id of this CreateVulnerabilityScanDetails.
- Return type
str
- property vulnerability_scan_type¶
[Required] Gets the vulnerability_scan_type of this CreateVulnerabilityScanDetails. Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
- Returns
The vulnerability_scan_type of this CreateVulnerabilityScanDetails.
- Return type
str