HostAgentScanResultProblem

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

Bases: object

A problem found in a host agent scan

Attributes

SEVERITY_CRITICAL A constant which can be used with the severity property of a HostAgentScanResultProblem.
SEVERITY_HIGH A constant which can be used with the severity property of a HostAgentScanResultProblem.
SEVERITY_LOW A constant which can be used with the severity property of a HostAgentScanResultProblem.
SEVERITY_MEDIUM A constant which can be used with the severity property of a HostAgentScanResultProblem.
SEVERITY_NONE A constant which can be used with the severity property of a HostAgentScanResultProblem.
STATE_FIXED A constant which can be used with the state property of a HostAgentScanResultProblem.
STATE_NOT_APPLICABLE A constant which can be used with the state property of a HostAgentScanResultProblem.
STATE_OPEN A constant which can be used with the state property of a HostAgentScanResultProblem.
cve_reference Gets the cve_reference of this HostAgentScanResultProblem.
description Gets the description of this HostAgentScanResultProblem.
issue_id Gets the issue_id of this HostAgentScanResultProblem.
name [Required] Gets the name of this HostAgentScanResultProblem.
severity [Required] Gets the severity of this HostAgentScanResultProblem.
state Gets the state of this HostAgentScanResultProblem.
time_first_detected Gets the time_first_detected of this HostAgentScanResultProblem.
time_last_detected Gets the time_last_detected of this HostAgentScanResultProblem.
vulnerable_packages Gets the vulnerable_packages of this HostAgentScanResultProblem.

Methods

__init__(**kwargs) Initializes a new HostAgentScanResultProblem object with values from keyword arguments.
SEVERITY_CRITICAL = 'CRITICAL'

A constant which can be used with the severity property of a HostAgentScanResultProblem. This constant has a value of “CRITICAL”

SEVERITY_HIGH = 'HIGH'

A constant which can be used with the severity property of a HostAgentScanResultProblem. This constant has a value of “HIGH”

SEVERITY_LOW = 'LOW'

A constant which can be used with the severity property of a HostAgentScanResultProblem. This constant has a value of “LOW”

SEVERITY_MEDIUM = 'MEDIUM'

A constant which can be used with the severity property of a HostAgentScanResultProblem. This constant has a value of “MEDIUM”

SEVERITY_NONE = 'NONE'

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

STATE_FIXED = 'FIXED'

A constant which can be used with the state property of a HostAgentScanResultProblem. This constant has a value of “FIXED”

STATE_NOT_APPLICABLE = 'NOT_APPLICABLE'

A constant which can be used with the state property of a HostAgentScanResultProblem. This constant has a value of “NOT_APPLICABLE”

STATE_OPEN = 'OPEN'

A constant which can be used with the state property of a HostAgentScanResultProblem. This constant has a value of “OPEN”

__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this HostAgentScanResultProblem.
  • description (str) – The value to assign to the description property of this HostAgentScanResultProblem.
  • severity (str) – The value to assign to the severity property of this HostAgentScanResultProblem. Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • state (str) – The value to assign to the state property of this HostAgentScanResultProblem. Allowed values for this property are: “OPEN”, “FIXED”, “NOT_APPLICABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • cve_reference (str) – The value to assign to the cve_reference property of this HostAgentScanResultProblem.
  • issue_id (int) – The value to assign to the issue_id property of this HostAgentScanResultProblem.
  • time_first_detected (datetime) – The value to assign to the time_first_detected property of this HostAgentScanResultProblem.
  • time_last_detected (datetime) – The value to assign to the time_last_detected property of this HostAgentScanResultProblem.
  • vulnerable_packages (list[oci.vulnerability_scanning.models.Package]) – The value to assign to the vulnerable_packages property of this HostAgentScanResultProblem.
cve_reference

Gets the cve_reference of this HostAgentScanResultProblem. Reference to problem MITRE CVE ID

Returns:The cve_reference of this HostAgentScanResultProblem.
Return type:str
description

Gets the description of this HostAgentScanResultProblem. Problem description

Returns:The description of this HostAgentScanResultProblem.
Return type:str
issue_id

Gets the issue_id of this HostAgentScanResultProblem. Reference to problem issue ID

Returns:The issue_id of this HostAgentScanResultProblem.
Return type:int
name

[Required] Gets the name of this HostAgentScanResultProblem. Name of the problem

Returns:The name of this HostAgentScanResultProblem.
Return type:str
severity

[Required] Gets the severity of this HostAgentScanResultProblem. Problem severity

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

Returns:The severity of this HostAgentScanResultProblem.
Return type:str
state

Gets the state of this HostAgentScanResultProblem. State of the vulnerability

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

Returns:The state of this HostAgentScanResultProblem.
Return type:str
time_first_detected

Gets the time_first_detected of this HostAgentScanResultProblem. Date of scan result that first reported the vulnerability

Returns:The time_first_detected of this HostAgentScanResultProblem.
Return type:datetime
time_last_detected

Gets the time_last_detected of this HostAgentScanResultProblem. Date of scan result that most recently reported the vulnerability

Returns:The time_last_detected of this HostAgentScanResultProblem.
Return type:datetime
vulnerable_packages

Gets the vulnerable_packages of this HostAgentScanResultProblem. Packages in which the problem is detected

Returns:The vulnerable_packages of this HostAgentScanResultProblem.
Return type:list[oci.vulnerability_scanning.models.Package]