SecurityScoreAggregation

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

Bases: object

Provides the dimensions and their corresponding count value.

Attributes

SECURITY_RATING_EXCELLENT A constant which can be used with the security_rating property of a SecurityScoreAggregation.
SECURITY_RATING_FAIR A constant which can be used with the security_rating property of a SecurityScoreAggregation.
SECURITY_RATING_GOOD A constant which can be used with the security_rating property of a SecurityScoreAggregation.
SECURITY_RATING_NA A constant which can be used with the security_rating property of a SecurityScoreAggregation.
SECURITY_RATING_POOR A constant which can be used with the security_rating property of a SecurityScoreAggregation.
dimensions_map [Required] Gets the dimensions_map of this SecurityScoreAggregation.
security_rating [Required] Gets the security_rating of this SecurityScoreAggregation.
security_score [Required] Gets the security_score of this SecurityScoreAggregation.

Methods

__init__(**kwargs) Initializes a new SecurityScoreAggregation object with values from keyword arguments.
SECURITY_RATING_EXCELLENT = 'EXCELLENT'

A constant which can be used with the security_rating property of a SecurityScoreAggregation. This constant has a value of “EXCELLENT”

SECURITY_RATING_FAIR = 'FAIR'

A constant which can be used with the security_rating property of a SecurityScoreAggregation. This constant has a value of “FAIR”

SECURITY_RATING_GOOD = 'GOOD'

A constant which can be used with the security_rating property of a SecurityScoreAggregation. This constant has a value of “GOOD”

SECURITY_RATING_NA = 'NA'

A constant which can be used with the security_rating property of a SecurityScoreAggregation. This constant has a value of “NA”

SECURITY_RATING_POOR = 'POOR'

A constant which can be used with the security_rating property of a SecurityScoreAggregation. This constant has a value of “POOR”

__init__(**kwargs)

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

Parameters:
  • dimensions_map (dict(str, str)) – The value to assign to the dimensions_map property of this SecurityScoreAggregation.
  • security_rating (str) – The value to assign to the security_rating property of this SecurityScoreAggregation. Allowed values for this property are: “EXCELLENT”, “GOOD”, “FAIR”, “POOR”, “NA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • security_score (int) – The value to assign to the security_score property of this SecurityScoreAggregation.
dimensions_map

[Required] Gets the dimensions_map of this SecurityScoreAggregation. The key-value pairs of dimensions and their names

Returns:The dimensions_map of this SecurityScoreAggregation.
Return type:dict(str, str)
security_rating

[Required] Gets the security_rating of this SecurityScoreAggregation. The security rating with given parameters

Allowed values for this property are: “EXCELLENT”, “GOOD”, “FAIR”, “POOR”, “NA”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The security_rating of this SecurityScoreAggregation.
Return type:str
security_score

[Required] Gets the security_score of this SecurityScoreAggregation. The security score with given parameters

Returns:The security_score of this SecurityScoreAggregation.
Return type:int