mirror of
https://github.com/inspec/inspec
synced 2024-12-21 02:23:13 +00:00
317a6d1953
* Adding YAML reporter * Updating yaml o/p * Removing comment * Adding UT for YAML reporter, adding missing reporters * This PR takes care of the following: - Fixes the YAML reporter UT - Adds the report method to YAML reporter to support code example as in #3085 - Disables the cyclomatic complexity Metric for reporter Signed-off-by: Noel Georgi <18496730+frezbo@users.noreply.github.com>
33 lines
819 B
YAML
33 lines
819 B
YAML
---
|
|
:platform:
|
|
:name: fedora
|
|
:release: '28'
|
|
:profiles:
|
|
- :name: tests from t.rb
|
|
:sha256: 9260af15d2b7568443df4d9d2556f773f425f92491c97eb1d201c535c7a9f5e0
|
|
:title: tests from t.rb
|
|
:supports: []
|
|
:attributes: []
|
|
:groups:
|
|
- :id: t.rb
|
|
:controls:
|
|
- "(generated from t.rb:1 0aa70d93be7b0cf41b97a1363bb5e8b8)"
|
|
:controls:
|
|
- :id: "(generated from t.rb:1 0aa70d93be7b0cf41b97a1363bb5e8b8)"
|
|
:title:
|
|
:desc:
|
|
:impact: 0.5
|
|
:refs: []
|
|
:tags: {}
|
|
:code: ''
|
|
:source_location:
|
|
:line: 89
|
|
:ref: "/home/frezbo/git/work/ruby/inspec/lib/inspec/control_eval_context.rb"
|
|
:results:
|
|
- :status: passed
|
|
:code_desc: File /tmp should exist
|
|
:run_time: 0.001313935
|
|
:start_time: '2018-05-31T16:22:19+05:30'
|
|
:statistics:
|
|
:duration: 0.002678506
|
|
:version: 2.1.83
|