mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
Add docs per PR feedback.
Signed-off-by: Alexander Stein <astein@flexion.us>
This commit is contained in:
parent
351a943b35
commit
b315e5a5f0
1 changed files with 17 additions and 1 deletions
|
@ -101,7 +101,23 @@ This is the basic text base report. It includes details about which tests passed
|
|||
|
||||
### json
|
||||
|
||||
This reporter includes all information about the profiles and test results in standard json format.
|
||||
This reporter includes all information about the profiles and test results in standard json format. You may optionally allow pass through arbitrary structured JSON data via a json config with the `--config` parameter like the example below.
|
||||
|
||||
Example config:
|
||||
|
||||
```json
|
||||
{
|
||||
"reporter": {
|
||||
"json": {
|
||||
"stdout": true,
|
||||
"passthrough": {
|
||||
"a": 1,
|
||||
"b": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### json-min
|
||||
|
||||
|
|
Loading…
Reference in a new issue