ResourceRiskScoreAggregation

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

Bases: object

Risk score of a resource.

Attributes

RISK_LEVEL_CRITICAL A constant which can be used with the risk_level property of a ResourceRiskScoreAggregation.
RISK_LEVEL_HIGH A constant which can be used with the risk_level property of a ResourceRiskScoreAggregation.
RISK_LEVEL_LOW A constant which can be used with the risk_level property of a ResourceRiskScoreAggregation.
RISK_LEVEL_MEDIUM A constant which can be used with the risk_level property of a ResourceRiskScoreAggregation.
RISK_LEVEL_MINOR A constant which can be used with the risk_level property of a ResourceRiskScoreAggregation.
risk_level [Required] Gets the risk_level of this ResourceRiskScoreAggregation.
risk_score [Required] Gets the risk_score of this ResourceRiskScoreAggregation.
score_timestamp [Required] Gets the score_timestamp of this ResourceRiskScoreAggregation.
tactics [Required] Gets the tactics of this ResourceRiskScoreAggregation.

Methods

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

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

RISK_LEVEL_HIGH = 'HIGH'

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

RISK_LEVEL_LOW = 'LOW'

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

RISK_LEVEL_MEDIUM = 'MEDIUM'

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

RISK_LEVEL_MINOR = 'MINOR'

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

__init__(**kwargs)

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

Parameters:
  • tactics (list[str]) – The value to assign to the tactics property of this ResourceRiskScoreAggregation.
  • score_timestamp (float) – The value to assign to the score_timestamp property of this ResourceRiskScoreAggregation.
  • risk_score (float) – The value to assign to the risk_score property of this ResourceRiskScoreAggregation.
  • risk_level (str) – The value to assign to the risk_level property of this ResourceRiskScoreAggregation. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
risk_level

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

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

Returns:The risk_level of this ResourceRiskScoreAggregation.
Return type:str
risk_score

[Required] Gets the risk_score of this ResourceRiskScoreAggregation. Risk Score

Returns:The risk_score of this ResourceRiskScoreAggregation.
Return type:float
score_timestamp

[Required] Gets the score_timestamp of this ResourceRiskScoreAggregation. The date and time for which the score is calculated. Format defined by RFC3339.

Returns:The score_timestamp of this ResourceRiskScoreAggregation.
Return type:float
tactics

[Required] Gets the tactics of this ResourceRiskScoreAggregation. Tactics used for evaluating the risk scrore

Returns:The tactics of this ResourceRiskScoreAggregation.
Return type:list[str]