I ran this command:
syft e06d2a3720ac --output syft-json --file sbom.json
but I get the warning:
Flag --file has been deprecated, use: output
but I am using output and if I try to attach a .json
file extension like:
syft e06d2a3720ac --output syft-json.json
I get the error:
1 error occurred:
* unsupported output format "syft-json.json", supported formats are:
Available formats:
- cyclonedx-json @ 1.2, 1.3, 1.4, 1.5, 1.6
- cyclonedx-xml @ 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
- github-json
- spdx-json @ 2.2, 2.3
- spdx-tag-value @ 2.1, 2.2, 2.3
- syft-json
- syft-table
- syft-text
So, how do I use --output
to create a file that I can then pass into grype
?