File tree Expand file tree Collapse file tree 12 files changed +11
-16
lines changed
Expand file tree Collapse file tree 12 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 5555 - name : Utility scripts
5656 run : |
5757 mkdir -p $SETUP_PATH/pre-scan-checks/
58- cp $SETUP_PATH/../../registry /scanners/boostsecurityio/trivy-fs/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
58+ cp $REGISTRY_PATH /scanners/boostsecurityio/trivy-fs/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
5959 - name : download trivy
6060 environment :
6161 VERSION : 0.67.2
Original file line number Diff line number Diff line change 1111 - name : Utility scripts
1212 run : |
1313 mkdir -p $SETUP_PATH/pre-scan-checks/
14- cp $SETUP_PATH/../../registry/scanners/boostsecurityio/bundler-audit /prescan_checks.sh $SETUP_PATH/pre-scan-checks/bundler
14+ cp $REGISTRY_MODULE_PATH /prescan_checks.sh $SETUP_PATH/pre-scan-checks/bundler
1515
1616config :
1717 support_diff_scan : true
Original file line number Diff line number Diff line change 5353 chmod +x gitleaks
5454 - name : Copy Boost Gitleaks Rules
5555 run : |
56- cp $SETUP_PATH/../../registry /scanners/boostsecurityio/gitleaks/boost.toml $SETUP_PATH/
56+ cp $REGISTRY_PATH /scanners/boostsecurityio/gitleaks/boost.toml $SETUP_PATH/
5757
5858steps :
5959 - scan :
Original file line number Diff line number Diff line change 5252 chmod +x gitleaks
5353 - name : Copy Boost Gitleaks Rules
5454 run : |
55- cp $SETUP_PATH/../../registry/scanners/boostsecurityio/gitleaks /boost.toml $SETUP_PATH/
55+ cp $REGISTRY_MODULE_PATH /boost.toml $SETUP_PATH/
5656
5757steps :
5858 - scan :
Original file line number Diff line number Diff line change 1616 - name : Utility scripts
1717 run : |
1818 mkdir -p $SETUP_PATH/pre-scan-checks/
19- cp $SETUP_PATH/../../registry/scanners/boostsecurityio/gosec /prescan_checks.sh $SETUP_PATH/pre-scan-checks/gosec
19+ cp $REGISTRY_MODULE_PATH /prescan_checks.sh $SETUP_PATH/pre-scan-checks/gosec
2020
2121steps :
2222 - run : $SETUP_PATH/pre-scan-checks/gosec
Original file line number Diff line number Diff line change 1616 - name : Utility scripts
1717 run : |
1818 mkdir -p $SETUP_PATH/pre-scan-checks/
19- cp $SETUP_PATH/../../registry/scanners/boostsecurityio/npm-audit /prescan_checks.sh $SETUP_PATH/pre-scan-checks/npm-audit
19+ cp $REGISTRY_MODULE_PATH /prescan_checks.sh $SETUP_PATH/pre-scan-checks/npm-audit
2020
2121steps :
2222 - run : $SETUP_PATH/pre-scan-checks/npm-audit
Original file line number Diff line number Diff line change 5656 - name : Utility scripts
5757 run : |
5858 mkdir -p $SETUP_PATH/pre-scan-checks/
59- cp $SETUP_PATH/../../registry/scanners/boostsecurityio/osv-scanner /prescan_checks.sh $SETUP_PATH/pre-scan-checks/osv-scanner
59+ cp $REGISTRY_MODULE_PATH /prescan_checks.sh $SETUP_PATH/pre-scan-checks/osv-scanner
6060
6161steps :
6262- run : $SETUP_PATH/pre-scan-checks/osv-scanner
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ while IFS= read -r line; do
55 then
66 exit 0
77 fi
8- done < $SETUP_PATH /../../registry/scanners/boostsecurityio/osv-scanner /filelist.txt
8+ done < $REGISTRY_MODULE_PATH /filelist.txt
99>&2 echo " Scan misconfiguration:"
1010>&2 echo " OSV-Scanner scan did not run because no supported files were detected"
1111>&2 echo " See documentation list of supported file types: https://google.github.io/osv-scanner/supported-languages-and-lockfiles/"
Original file line number Diff line number Diff line change 5555 - name : Utility scripts
5656 run : |
5757 mkdir -p $SETUP_PATH/pre-scan-checks/
58- cp $SETUP_PATH/../../registry/scanners/boostsecurityio/trivy-fs /prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
58+ cp $REGISTRY_MODULE_PATH /prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
5959 - name : download trivy
6060 environment :
6161 VERSION : 0.67.2
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [ "$(find . -name "$line" | wc -l)" != "0" ]
55then
66 exit 0
77fi
8- done < $SETUP_PATH /../../registry /scanners/boostsecurityio/trivy-fs/filelist.txt
8+ done < $REGISTRY_PATH /scanners/boostsecurityio/trivy-fs/filelist.txt
99>&2 echo " Scan misconfiguration:"
1010>&2 echo " Trivy scan did not run because no supported files were detected"
1111>&2 echo " See documentation list of supported file types: https://trivy.dev/v0.61/docs/coverage/language/"
You can’t perform that action at this time.
0 commit comments