Closed aaronlippold closed 4 years ago
You have to pass the -c
flag in order to get summary to print to the CLI. Without it you will see this behavior with or without Docker.
➜ inspec_tools git:(master) inspec_tools summary -j examples/sample_json/single_control_results.json -c
Overall compliance: 100.0%
failed
total : 0
critical : 0
high : 0
medium : 0
low : 0
passed
total : 1
critical : 0
high : 0
medium : 1
low : 0
no_impact
total : 0
critical : 0
high : 0
medium : 0
low : 0
skipped
total : 0
critical : 0
high : 0
medium : 0
low : 0
error
total : 0
critical : 0
high : 0
medium : 0
low : 0
➜ inspec_tools git:(master) docker run -it -v$(pwd):/share mitre/inspec_tools summary -j examples/sample_json/single_control_results.json -c
+---------------------------------------------+
✔ 1 product license accepted.
+---------------------------------------------+
Overall compliance: 100.0%
failed
total : 0
critical : 0
high : 0
medium : 0
low : 0
passed
total : 1
critical : 0
high : 0
medium : 1
low : 0
no_impact
total : 0
critical : 0
high : 0
medium : 0
low : 0
skipped
total : 0
critical : 0
high : 0
medium : 0
low : 0
error
total : 0
critical : 0
high : 0
medium : 0
low : 0