This commit is contained in:
2024-05-05 09:43:42 -05:00
parent 668906398d
commit db6054d437
6 changed files with 53 additions and 2 deletions

9
scripts/scanner/grype.sh Normal file
View 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