update
This commit is contained in:
7
scripts/scanner/syft-go.sh
Normal file
7
scripts/scanner/syft-go.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#%%MULTILINE_YAML_START
|
||||
#Syft scan for go
|
||||
|
||||
if [ -f "go.mod" ]; then
|
||||
syft go.mod -o cyclonedx-json=syft/${CI_PROJECT_NAME}.sbom.json
|
||||
fi
|
||||
Reference in New Issue
Block a user