ExportHostVulnerabilityCsvDetails

class oci.vulnerability_scanning.models.ExportHostVulnerabilityCsvDetails(**kwargs)

Bases: object

Details for a Host Vulnerability list export to CSV action

Methods:

__init__(**kwargs)

Initializes a new ExportHostVulnerabilityCsvDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this ExportHostVulnerabilityCsvDetails.

time_last_detected_greater_than_or_equal_to

[Required] Gets the time_last_detected_greater_than_or_equal_to of this ExportHostVulnerabilityCsvDetails.

time_last_detected_less_than_or_equal_to

[Required] Gets the time_last_detected_less_than_or_equal_to of this ExportHostVulnerabilityCsvDetails.

__init__(**kwargs)

Initializes a new ExportHostVulnerabilityCsvDetails 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 ExportHostVulnerabilityCsvDetails.

  • time_last_detected_greater_than_or_equal_to (datetime) – The value to assign to the time_last_detected_greater_than_or_equal_to property of this ExportHostVulnerabilityCsvDetails.

  • time_last_detected_less_than_or_equal_to (datetime) – The value to assign to the time_last_detected_less_than_or_equal_to property of this ExportHostVulnerabilityCsvDetails.

property compartment_id

[Required] Gets the compartment_id of this ExportHostVulnerabilityCsvDetails. The OCID of the compartment to list vulnerabilities in.

Returns

The compartment_id of this ExportHostVulnerabilityCsvDetails.

Return type

str

property time_last_detected_greater_than_or_equal_to

[Required] Gets the time_last_detected_greater_than_or_equal_to of this ExportHostVulnerabilityCsvDetails. Date and time on or after which this vulnerability was last detected, as described in RFC 3339

Returns

The time_last_detected_greater_than_or_equal_to of this ExportHostVulnerabilityCsvDetails.

Return type

datetime

property time_last_detected_less_than_or_equal_to

[Required] Gets the time_last_detected_less_than_or_equal_to of this ExportHostVulnerabilityCsvDetails. Date and time on or before which this vulnerability was last detected, as described in RFC 3339

Returns

The time_last_detected_less_than_or_equal_to of this ExportHostVulnerabilityCsvDetails.

Return type

datetime