SecurityScoreTrendAggregation

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

Bases: object

Provides the dimensions and their corresponding time and security score.

Attributes

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

Methods

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

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

SECURITY_RATING_FAIR = 'FAIR'

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

SECURITY_RATING_GOOD = 'GOOD'

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

SECURITY_RATING_NA = 'NA'

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

SECURITY_RATING_POOR = 'POOR'

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

__init__(**kwargs)

Initializes a new SecurityScoreTrendAggregation 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 SecurityScoreTrendAggregation.
  • start_timestamp (float) – The value to assign to the start_timestamp property of this SecurityScoreTrendAggregation.
  • duration_in_seconds (int) – The value to assign to the duration_in_seconds property of this SecurityScoreTrendAggregation.
  • security_rating (str) – The value to assign to the security_rating property of this SecurityScoreTrendAggregation. 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 SecurityScoreTrendAggregation.
dimensions_map

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

Returns:The dimensions_map of this SecurityScoreTrendAggregation.
Return type:dict(str, str)
duration_in_seconds

[Required] Gets the duration_in_seconds of this SecurityScoreTrendAggregation. Duration

Returns:The duration_in_seconds of this SecurityScoreTrendAggregation.
Return type:int
security_rating

[Required] Gets the security_rating of this SecurityScoreTrendAggregation. The security rating with given dimensions and time range

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 SecurityScoreTrendAggregation.
Return type:str
security_score

[Required] Gets the security_score of this SecurityScoreTrendAggregation. The security score with given dimensions and time range

Returns:The security_score of this SecurityScoreTrendAggregation.
Return type:int
start_timestamp

[Required] Gets the start_timestamp of this SecurityScoreTrendAggregation. Start time in epoch seconds

Returns:The start_timestamp of this SecurityScoreTrendAggregation.
Return type:float