class Inspec::Reporters::Yaml
Public Instance Methods
render()
click to toggle source
# File lib/inspec/reporters/yaml.rb, line 5 def render output(Inspec::Reporters::Json.new({ run_data: run_data }).report.to_yaml, false) end
report()
click to toggle source
# File lib/inspec/reporters/yaml.rb, line 9 def report { platform: platform, profiles: profiles, statistics: { duration: run_data[:statistics][:duration], }, version: run_data[:version], } end