-
Notifications
You must be signed in to change notification settings - Fork 579
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
Multiple output files with templates #1409
Comments
As a workaround, if you need multiple templates, could you store the Syft JSON and then convert it? syft alpine -o json > alpine.syft.json
syft convert alpine.syft.json -o template -t f1.template1 > f1.json
syft convert alpine.syft.json -o template -t f2.template1 > f2.json |
Hey, sorry for the delayed response. Thanks for the tip. I've tried it but it seems that convert doesn't support the template? I get the |
This sounds like something we should be able to fix for the convert command! |
Great, thanks! |
Description
When running syft with multiple -o=template -t=templateFile parameters it takes the latest templateFile for every output file
Example
Input syft alpine -o template=f1.json -t f1.template -o template=f2.json -t f2.template
Output:
The text was updated successfully, but these errors were encountered: