HostScanAgentConfigurationQualys

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

Bases: HostScanAgentConfiguration

Agent configuration options for vendor Qualys.

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.

should_un_install

[Required] Gets the should_un_install of this HostScanAgentConfigurationQualys.

vault_secret_id

[Required] Gets the vault_secret_id of this HostScanAgentConfigurationQualys.

vendor

[Required] Gets the vendor of this HostScanAgentConfiguration.

vendor_type

Gets the vendor_type of this HostScanAgentConfiguration.

Methods:

__init__(**kwargs)

Initializes a new HostScanAgentConfigurationQualys 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 HostScanAgentConfigurationQualys object with values from keyword arguments. The default value of the vendor attribute of this class is QUALYS and it should not be changed. 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 HostScanAgentConfigurationQualys. Allowed values for this property are: “OCI”, “QUALYS”

  • vendor_type (str) – The value to assign to the vendor_type property of this HostScanAgentConfigurationQualys. Allowed values for this property are: “OCI”, “QUALYS”

  • vault_secret_id (str) – The value to assign to the vault_secret_id property of this HostScanAgentConfigurationQualys.

  • should_un_install (bool) – The value to assign to the should_un_install property of this HostScanAgentConfigurationQualys.

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.

property should_un_install

[Required] Gets the should_un_install of this HostScanAgentConfigurationQualys. Boolean flag letting agent know if it should un-install the Qualys agent when it is stopped.

Returns

The should_un_install of this HostScanAgentConfigurationQualys.

Return type

bool

property vault_secret_id

[Required] Gets the vault_secret_id of this HostScanAgentConfigurationQualys. Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer’s Qualys susbcription license.

Returns

The vault_secret_id of this HostScanAgentConfigurationQualys.

Return type

str

property 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

property 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