This is a plugin for Copacetic to support patching of Snyk CVE reports.
Learn more about Copacetic's scanner plugins here.
Clone the repository:
git clone https://github.com/rsashank/copa-snyk.git
cd copa-snykBuild the plugin binary using Make:
make buildAdd to path:
sudo mv copa-snyk /usr/local/bin/# Run Snyk on your project to produce a JSON report:
snyk container test $IMAGE --json > snyk-report.json
# Run copa-snyk to convert the report
# Use the plugin to parse the Snyk report and output Copa-compatible vulnerability data:
copa-snyk snyk-report.json > copa-snyk-report.json
# Run copa with scanner plugin and report file
copa patch -i $IMAGE -r copa-snyk-report.json --scanner snyk