Class: DatadogAPIClient::V2::ScorecardScoreAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/scorecard_score_attributes.rb

Overview

Attributes of a scorecard score.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 54

def additional_properties
  @additional_properties
end

#aggregationObject

Dimension to group scores by.



25
26
27
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 25

def aggregation
  @aggregation
end

#denominatorObject

The denominator used to compute the score ratio.



28
29
30
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 28

def denominator
  @denominator
end

#levelObject

The maturity level of the associated rule.



31
32
33
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 31

def level
  @level
end

#numeratorObject

The numerator used to compute the score ratio.



34
35
36
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 34

def numerator
  @numerator
end

#scoreObject

The computed score ratio (numerator/denominator), from 0 to 1.



37
38
39
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 37

def score
  @score
end

#total_entitiesObject

The total number of entities evaluated.



40
41
42
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 40

def total_entities
  @total_entities
end

#total_failObject

The number of rules that failed.



43
44
45
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 43

def total_fail
  @total_fail
end

#total_no_dataObject

The number of rules with no data.



46
47
48
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 46

def total_no_data
  @total_no_data
end

#total_passObject

The number of rules that passed.



49
50
51
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 49

def total_pass
  @total_pass
end

#total_skipObject

The number of rules that were skipped.



52
53
54
# File 'lib/datadog_api_client/v2/models/scorecard_score_attributes.rb', line 52

def total_skip
  @total_skip
end