ResourceVulnerabilitySummary

class oci.cloud_guard.models.ResourceVulnerabilitySummary(**kwargs)

Bases: object

Summary of CG vulnerability in the resourceView

Attributes

RISK_LEVEL_CRITICAL A constant which can be used with the risk_level property of a ResourceVulnerabilitySummary.
RISK_LEVEL_HIGH A constant which can be used with the risk_level property of a ResourceVulnerabilitySummary.
RISK_LEVEL_LOW A constant which can be used with the risk_level property of a ResourceVulnerabilitySummary.
RISK_LEVEL_MEDIUM A constant which can be used with the risk_level property of a ResourceVulnerabilitySummary.
RISK_LEVEL_MINOR A constant which can be used with the risk_level property of a ResourceVulnerabilitySummary.
RISK_LEVEL_NONE A constant which can be used with the risk_level property of a ResourceVulnerabilitySummary.
defined_tags Gets the defined_tags of this ResourceVulnerabilitySummary.
description [Required] Gets the description of this ResourceVulnerabilitySummary.
freeform_tags Gets the freeform_tags of this ResourceVulnerabilitySummary.
id [Required] Gets the id of this ResourceVulnerabilitySummary.
risk_level [Required] Gets the risk_level of this ResourceVulnerabilitySummary.
system_tags Gets the system_tags of this ResourceVulnerabilitySummary.

Methods

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

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

RISK_LEVEL_HIGH = 'HIGH'

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

RISK_LEVEL_LOW = 'LOW'

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

RISK_LEVEL_MEDIUM = 'MEDIUM'

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

RISK_LEVEL_MINOR = 'MINOR'

A constant which can be used with the risk_level property of a ResourceVulnerabilitySummary. This constant has a value of “MINOR”

RISK_LEVEL_NONE = 'NONE'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this ResourceVulnerabilitySummary.
  • description (str) – The value to assign to the description property of this ResourceVulnerabilitySummary.
  • risk_level (str) – The value to assign to the risk_level property of this ResourceVulnerabilitySummary. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ResourceVulnerabilitySummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ResourceVulnerabilitySummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ResourceVulnerabilitySummary.
defined_tags

Gets the defined_tags of this ResourceVulnerabilitySummary. 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 ResourceVulnerabilitySummary.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this ResourceVulnerabilitySummary. The description of the vulnerability

Returns:The description of this ResourceVulnerabilitySummary.
Return type:str
freeform_tags

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

Avoid entering confidential information.

Returns:The freeform_tags of this ResourceVulnerabilitySummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ResourceVulnerabilitySummary. The cve id of the vulnerability

Returns:The id of this ResourceVulnerabilitySummary.
Return type:str
risk_level

[Required] Gets the risk_level of this ResourceVulnerabilitySummary. The Risk Level

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

Returns:The risk_level of this ResourceVulnerabilitySummary.
Return type:str
system_tags

Gets the system_tags of this ResourceVulnerabilitySummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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