update
This commit is contained in:
9
scripts/scanner/grype.sh
Normal file
9
scripts/scanner/grype.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#%%MULTILINE_YAML_START
|
||||
#grype scan sboms
|
||||
|
||||
for i in syft/*.sbom.json;
|
||||
do filename=${i%*.sbom.json};
|
||||
filename=${filename##/};
|
||||
grype syft/$i -o json --file syft/$filename.cve.json;
|
||||
done
|
||||
Reference in New Issue
Block a user