-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable JSON output from Trim(), Query() to be indented using a user-s…
…upplied number of space characters (#66) * Allow Trim() JSON output to format using a user-supplied number of space chars. Signed-off-by: Matt Rutkowski <[email protected]> * Support --indent flag on Query() command Signed-off-by: Matt Rutkowski <[email protected]> * Support --indent flag on Query() command Signed-off-by: Matt Rutkowski <[email protected]> * Document the --indent flag Signed-off-by: Matt Rutkowski <[email protected]> * Add more Trim validation tests Signed-off-by: Matt Rutkowski <[email protected]> * Enable Query() testing for common function that buffers/writes temp output Signed-off-by: Matt Rutkowski <[email protected]> * Add Query() test that outputs to a temp. file Signed-off-by: Matt Rutkowski <[email protected]> * Use new standardized JSON writer/encoder for all commands that suppor --format json Signed-off-by: Matt Rutkowski <[email protected]> * Fix test initialization for new indent flag Signed-off-by: Matt Rutkowski <[email protected]> * Simplify vuln. test initialization options Signed-off-by: Matt Rutkowski <[email protected]> * Simplify resource test initialization options Signed-off-by: Matt Rutkowski <[email protected]> * Simplify trace logging using new JSON encoder methods Signed-off-by: Matt Rutkowski <[email protected]> * Simplify trace logging using new JSON encoder methods Signed-off-by: Matt Rutkowski <[email protected]> * change help references from SBOM to just BOM Signed-off-by: Matt Rutkowski <[email protected]> * change help references from SBOM to just BOM Signed-off-by: Matt Rutkowski <[email protected]> * Cleanup comments Signed-off-by: Matt Rutkowski <[email protected]> * small help changes for trim Signed-off-by: Matt Rutkowski <[email protected]> * Cleanup comments Signed-off-by: Matt Rutkowski <[email protected]> --------- Signed-off-by: Matt Rutkowski <[email protected]>
- Loading branch information
Showing
31 changed files
with
599 additions
and
431 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.