Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose compact JSON and XML format configuration #561

Closed
wagoodman opened this issue Oct 16, 2021 · 1 comment · Fixed by #2275
Closed

Expose compact JSON and XML format configuration #561

wagoodman opened this issue Oct 16, 2021 · 1 comment · Fixed by #2275
Assignees
Labels
enhancement New feature or request json Regarding JSON output
Milestone

Comments

@wagoodman
Copy link
Contributor

What would you like to be added:
Don't add indenting/spacing to any JSON output produced by syft (not just the syftjson format).

Why is this needed:
SBOM documents generated by syft can be very large (dozens of MB), there isn't much reason to include extra spacing for each entry, then we shouldn't. If a human-friendly output is needed then JQ can be used by the consumer.

@wagoodman wagoodman added the enhancement New feature or request label Oct 16, 2021
@wagoodman wagoodman added this to the Stabilize user surfaces milestone Oct 19, 2021
@wagoodman wagoodman added the json Regarding JSON output label May 23, 2023
@wagoodman wagoodman self-assigned this Oct 31, 2023
@wagoodman wagoodman changed the title Use compact JSON representation Expose compact JSON format configuration Oct 31, 2023
@wagoodman wagoodman changed the title Expose compact JSON format configuration Expose compact JSON and XML format configuration Oct 31, 2023
@wagoodman
Copy link
Contributor Author

Updating to include XML formats

@wagoodman wagoodman added changelog-ignore Don't include this issue in the release changelog and removed changelog-ignore Don't include this issue in the release changelog labels Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request json Regarding JSON output
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant