mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
update
This commit is contained in:
parent
668906398d
commit
db6054d437
6 changed files with 53 additions and 2 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue