FolderToScan

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

Bases: object

Folder selected for scanning

Attributes

OPERATINGSYSTEM_LINUX A constant which can be used with the operatingsystem property of a FolderToScan.
OPERATINGSYSTEM_WINDOWS A constant which can be used with the operatingsystem property of a FolderToScan.
folder [Required] Gets the folder of this FolderToScan.
operatingsystem [Required] Gets the operatingsystem of this FolderToScan.

Methods

__init__(**kwargs) Initializes a new FolderToScan object with values from keyword arguments.
OPERATINGSYSTEM_LINUX = 'LINUX'

A constant which can be used with the operatingsystem property of a FolderToScan. This constant has a value of “LINUX”

OPERATINGSYSTEM_WINDOWS = 'WINDOWS'

A constant which can be used with the operatingsystem property of a FolderToScan. This constant has a value of “WINDOWS”

__init__(**kwargs)

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

Parameters:
  • operatingsystem (str) – The value to assign to the operatingsystem property of this FolderToScan. Allowed values for this property are: “LINUX”, “WINDOWS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • folder (str) – The value to assign to the folder property of this FolderToScan.
folder

[Required] Gets the folder of this FolderToScan. Folder to be scanned in the corresponding operating system

Returns:The folder of this FolderToScan.
Return type:str
operatingsystem

[Required] Gets the operatingsystem of this FolderToScan. Operating system type

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

Returns:The operatingsystem of this FolderToScan.
Return type:str