HostScanAgentConfiguration

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

Bases: object

Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor.

Attributes

VENDOR_OCI A constant which can be used with the vendor property of a HostScanAgentConfiguration.
VENDOR_QUALYS A constant which can be used with the vendor property of a HostScanAgentConfiguration.
VENDOR_TYPE_OCI A constant which can be used with the vendor_type property of a HostScanAgentConfiguration.
VENDOR_TYPE_QUALYS A constant which can be used with the vendor_type property of a HostScanAgentConfiguration.
vendor [Required] Gets the vendor of this HostScanAgentConfiguration.
vendor_type Gets the vendor_type of this HostScanAgentConfiguration.

Methods

__init__(**kwargs) Initializes a new HostScanAgentConfiguration object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
VENDOR_OCI = 'OCI'

A constant which can be used with the vendor property of a HostScanAgentConfiguration. This constant has a value of “OCI”

VENDOR_QUALYS = 'QUALYS'

A constant which can be used with the vendor property of a HostScanAgentConfiguration. This constant has a value of “QUALYS”

VENDOR_TYPE_OCI = 'OCI'

A constant which can be used with the vendor_type property of a HostScanAgentConfiguration. This constant has a value of “OCI”

VENDOR_TYPE_QUALYS = 'QUALYS'

A constant which can be used with the vendor_type property of a HostScanAgentConfiguration. This constant has a value of “QUALYS”

__init__(**kwargs)

Initializes a new HostScanAgentConfiguration object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • vendor (str) – The value to assign to the vendor property of this HostScanAgentConfiguration. Allowed values for this property are: “OCI”, “QUALYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • vendor_type (str) – The value to assign to the vendor_type property of this HostScanAgentConfiguration. Allowed values for this property are: “OCI”, “QUALYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

vendor

[Required] Gets the vendor of this HostScanAgentConfiguration. Vendor to use for the host scan agent.

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

Returns:The vendor of this HostScanAgentConfiguration.
Return type:str
vendor_type

Gets the vendor_type of this HostScanAgentConfiguration. Vendor to use for the host scan agent.

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

Returns:The vendor_type of this HostScanAgentConfiguration.
Return type:str