Method: Utils::XCCDFScore#flat_score

Defined in:
lib/utilities/xccdf/xccdf_score.rb

#flat_scoreObject

urn:xccdf:scoring:flat

Returns:

  • ScoreType



19
20
21
22
# File 'lib/utilities/xccdf/xccdf_score.rb', line 19

def flat_score
  results = score_benchmark_with_weights(true)
  HappyMapperTools::Benchmark::ScoreType.new('urn:xccdf:scoring:flat', results[:max], results[:score])
end