You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command run: snyk test --unmanaged --json | npx snyk2spdx --output=spdx.json
Expected behaviour
Expected an spdx file to be generated.
Actual behaviour
snyk test --unmanaged --json | npx snyk2spdx --output=spdx.json
ERROR! Failed to convert to SPDX. Try running with `DEBUG=snyk* <command> for more info`.
ERROR: TypeError: Cannot read properties of undefined (reading 'filter')
Steps to reproduce
I'm using this on the aerospike asbackup and asbench repos so run the following.
git clone https://github.com/aerospike/aerospike-tools-backup
git submodule update --init
cd aerospike-tools-backup
snyk test --unmanaged --json | npx snyk2spdx --output=spdx.json
Debug log
output with debug
DEBUG=*snyk* test --unmanaged --json | npx snyk2spdx --output=spdx.json
test: unknown condition: --unmanaged
ERROR! Failed to convert to SPDX. Try running with `DEBUG=snyk* <command> for more info`.
ERROR: Error: Failed to parse input. ERROR: Unexpected end of JSON input
Thanks for producing the great tool! I've been using it to experiment with generating sbom reports for the Aerospike database tools. It might just be that --unmanaged is unsupported with this tool but it would be nice to be able to use it with C/C++.
Here is the output of `snyk test --unmanaged --json`
We came across snyk2spdx tool last week and tried to use it for our project. We faced the same issue and hence unable to use snyk2spdx.
Can we please get support on this? It will be greatly useful for us. Appreciate your response. Thanks.
node -v
: v19.4.0npm -v
: 9.2.0snyk test --unmanaged --json | npx snyk2spdx --output=spdx.json
Expected behaviour
Expected an spdx file to be generated.
Actual behaviour
Steps to reproduce
I'm using this on the aerospike asbackup and asbench repos so run the following.
Debug log
output with debug
Thanks for producing the great tool! I've been using it to experiment with generating sbom reports for the Aerospike database tools. It might just be that --unmanaged is unsupported with this tool but it would be nice to be able to use it with C/C++.
Here is the output of `snyk test --unmanaged --json`
The text was updated successfully, but these errors were encountered: