README.md in inspec_tools-2.0.7 vs README.md in inspec_tools-2.1.0

- old
+ new

@@ -68,11 +68,11 @@ Note that all of the above Docker commands will mount your current directory on the Docker container. Ensure that you have navigated to the directory you intend to convert files in before executing the command. ### generate_map -This command will generate a `mapping.xml` file that can be passed in to the `csv2inspec` command with the `--m` option. +This command will generate a `mapping.yml` file that can be passed in to the `csv2inspec` command with the `--m` option. ``` USAGE: inspec_tools generate_map ``` @@ -218,19 +218,21 @@ ## inspec2xccdf `inspec2xccdf` converts an InSpec profile in json format to a STIG XCCDF Document +See [examples documentation](./examples/inspec2xccdf/README.md) for additional guidance on usage including attribute details. + ``` USAGE: inspec_tools inspec2xccdf [OPTIONS] -j <inspec-json> -a <xccdf-attr-yml> -o <xccdf-xml> FLAGS: -j --inspec-json <inspec-json> : path to InSpec Json file created using command 'inspec json <profile> > example.json' - -a --attributes <xccdf-attr-yml> : path to yml file that provides the required attributes for the XCCDF Document. these attributes are parts of XCCDF document which do not fit into the InSpec schema - -o --output <xccdf-xml> : name or path to create the xccdf and title to give the xccdf - -V --verbose : verbose run [optional] + -a --attributes <xccdf-attr-yml> : path to yml file that provides the required attributes for the XCCDF document. These attributes are parts of XCCDF document which do not fit into the InSpec schema. + -o --output <xccdf-xml> : name or path to create the XCCDF and title to give the XCCDF + -m, [--metadata=METADATA] : path to json file with additional host metadata for the XCCDF file -example: inspec_tools inspec2xccdf -j example.json -a attributes.yml -o xccdf.xml +example: inspec_tools inspec2xccdf -j examples/sample_json/good_nginxresults.json -a lib/data/attributes.yml -o output.xccdf ``` ## csv2inspec `csv2inspec` converts a csv security control spreadsheet of STIG controls to an InSpec profile