mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
9 lines
208 B
Bash
9 lines
208 B
Bash
#!/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
|