HostScanTargetErrorSummary

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

Bases: object

One of the error during scanning on instances associated with a host scan target (application of a host scan recipe to a compartment or list of hosts).

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary.
VENDOR_OCI A constant which can be used with the vendor property of a HostScanTargetErrorSummary.
VENDOR_QUALYS A constant which can be used with the vendor property of a HostScanTargetErrorSummary.
defined_tags Gets the defined_tags of this HostScanTargetErrorSummary.
error_code Gets the error_code of this HostScanTargetErrorSummary.
freeform_tags Gets the freeform_tags of this HostScanTargetErrorSummary.
instance_id [Required] Gets the instance_id of this HostScanTargetErrorSummary.
lifecycle_state [Required] Gets the lifecycle_state of this HostScanTargetErrorSummary.
message [Required] Gets the message of this HostScanTargetErrorSummary.
system_tags Gets the system_tags of this HostScanTargetErrorSummary.
task Gets the task of this HostScanTargetErrorSummary.
time_updated [Required] Gets the time_updated of this HostScanTargetErrorSummary.
vendor [Required] Gets the vendor of this HostScanTargetErrorSummary.

Methods

__init__(**kwargs) Initializes a new HostScanTargetErrorSummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a HostScanTargetErrorSummary. This constant has a value of “UPDATING”

VENDOR_OCI = 'OCI'

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

VENDOR_QUALYS = 'QUALYS'

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

__init__(**kwargs)

Initializes a new HostScanTargetErrorSummary object with values from keyword arguments. 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 HostScanTargetErrorSummary. 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’.
  • task (str) – The value to assign to the task property of this HostScanTargetErrorSummary.
  • message (str) – The value to assign to the message property of this HostScanTargetErrorSummary.
  • error_code (str) – The value to assign to the error_code property of this HostScanTargetErrorSummary.
  • instance_id (str) – The value to assign to the instance_id property of this HostScanTargetErrorSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this HostScanTargetErrorSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_updated (datetime) – The value to assign to the time_updated property of this HostScanTargetErrorSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this HostScanTargetErrorSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this HostScanTargetErrorSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this HostScanTargetErrorSummary.
defined_tags

Gets the defined_tags of this HostScanTargetErrorSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this HostScanTargetErrorSummary.
Return type:dict(str, dict(str, object))
error_code

Gets the error_code of this HostScanTargetErrorSummary. Error code of task failure.

Returns:The error_code of this HostScanTargetErrorSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this HostScanTargetErrorSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this HostScanTargetErrorSummary.
Return type:dict(str, str)
instance_id

[Required] Gets the instance_id of this HostScanTargetErrorSummary. OCID of the host instance where scan was done.

Returns:The instance_id of this HostScanTargetErrorSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this HostScanTargetErrorSummary. The current state of the config.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this HostScanTargetErrorSummary.
Return type:str
message

[Required] Gets the message of this HostScanTargetErrorSummary. Error message detailing task failure.

Returns:The message of this HostScanTargetErrorSummary.
Return type:str
system_tags

Gets the system_tags of this HostScanTargetErrorSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this HostScanTargetErrorSummary.
Return type:dict(str, dict(str, object))
task

Gets the task of this HostScanTargetErrorSummary. Task during scan which failed.

Returns:The task of this HostScanTargetErrorSummary.
Return type:str
time_updated

[Required] Gets the time_updated of this HostScanTargetErrorSummary. Date and time the error was updated, format as described in RFC 3339.

Returns:The time_updated of this HostScanTargetErrorSummary.
Return type:datetime
vendor

[Required] Gets the vendor of this HostScanTargetErrorSummary. Vendor which was used 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 HostScanTargetErrorSummary.
Return type:str