HostScanPortSettings

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

Bases: object

Port scan settings for a host scan

Attributes

SCAN_LEVEL_LIGHT A constant which can be used with the scan_level property of a HostScanPortSettings.
SCAN_LEVEL_NONE A constant which can be used with the scan_level property of a HostScanPortSettings.
SCAN_LEVEL_STANDARD A constant which can be used with the scan_level property of a HostScanPortSettings.
scan_level [Required] Gets the scan_level of this HostScanPortSettings.

Methods

__init__(**kwargs) Initializes a new HostScanPortSettings object with values from keyword arguments.
SCAN_LEVEL_LIGHT = 'LIGHT'

A constant which can be used with the scan_level property of a HostScanPortSettings. This constant has a value of “LIGHT”

SCAN_LEVEL_NONE = 'NONE'

A constant which can be used with the scan_level property of a HostScanPortSettings. This constant has a value of “NONE”

SCAN_LEVEL_STANDARD = 'STANDARD'

A constant which can be used with the scan_level property of a HostScanPortSettings. This constant has a value of “STANDARD”

__init__(**kwargs)

Initializes a new HostScanPortSettings object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:scan_level (str) – The value to assign to the scan_level property of this HostScanPortSettings. Allowed values for this property are: “NONE”, “LIGHT”, “STANDARD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
scan_level

[Required] Gets the scan_level of this HostScanPortSettings. The scan level

Allowed values for this property are: “NONE”, “LIGHT”, “STANDARD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The scan_level of this HostScanPortSettings.
Return type:str