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

Print table view when generating output file #46

Open
kzantow opened this issue Sep 16, 2021 · 3 comments
Open

Print table view when generating output file #46

kzantow opened this issue Sep 16, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@kzantow
Copy link
Contributor

kzantow commented Sep 16, 2021

There is currently no support in Syft for this but it can be accomplished by executing multiple times. This is less than ideal, as scans have the potential to be slow. Once Syft has some support, we can look at adding this to sbom-action.

See:

@kzantow kzantow added the enhancement New feature or request label Sep 16, 2021
@kzantow kzantow changed the title Allow multiple formats output Allow multiple output of different formats Sep 22, 2021
@wagoodman
Copy link
Contributor

From refinement:

  • Always output the syft json format, additionally allow other outputs (defaulting to today's behavior of outputting SPDX json). This will help to enable grype scanning (with high efficiency) between the sbom-action and the scan-action.

@jonasagx jonasagx self-assigned this Mar 3, 2022
@jonasagx
Copy link

jonasagx commented Mar 3, 2022

After a talk with @kzantow I learned this issue was made to allow the generation of syft json AND spdx files, the former meant for vulnerability scanning, the latter for publishing purposes. But currently vuln scanning can ingest either format, so the two files aren't required.
The use case where multiple outputs may be relevant, for SBOM action and CLI, is to generate a file while also printing SBOM as a table -- the table here is a visual helper to whoever ran the tool.

@jonasagx jonasagx changed the title Allow multiple output of different formats Print table view when generating output file Mar 7, 2022
@jonasagx
Copy link

jonasagx commented Apr 6, 2022

Depends on anchore/syft#563

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants