Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/boost-sca/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ setup:
- name: Utility scripts
run: |
mkdir -p $SETUP_PATH/pre-scan-checks/
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/trivy-fs/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
cp $REGISTRY_PATH/scanners/boostsecurityio/trivy-fs/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
- name: download trivy
environment:
VERSION: 0.67.2
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/bundler-audit/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ setup:
- name: Utility scripts
run: |
mkdir -p $SETUP_PATH/pre-scan-checks/
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/bundler-audit/prescan_checks.sh $SETUP_PATH/pre-scan-checks/bundler
cp $REGISTRY_MODULE_PATH/prescan_checks.sh $SETUP_PATH/pre-scan-checks/bundler

config:
support_diff_scan: true
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/gitleaks-full/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ setup:
chmod +x gitleaks
- name: Copy Boost Gitleaks Rules
run: |
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/gitleaks/boost.toml $SETUP_PATH/
cp $REGISTRY_PATH/scanners/boostsecurityio/gitleaks/boost.toml $SETUP_PATH/

steps:
- scan:
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/gitleaks/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ setup:
chmod +x gitleaks
- name: Copy Boost Gitleaks Rules
run: |
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/gitleaks/boost.toml $SETUP_PATH/
cp $REGISTRY_MODULE_PATH/boost.toml $SETUP_PATH/

steps:
- scan:
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/gosec/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ setup:
- name: Utility scripts
run: |
mkdir -p $SETUP_PATH/pre-scan-checks/
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/gosec/prescan_checks.sh $SETUP_PATH/pre-scan-checks/gosec
cp $REGISTRY_MODULE_PATH/prescan_checks.sh $SETUP_PATH/pre-scan-checks/gosec

steps:
- run: $SETUP_PATH/pre-scan-checks/gosec
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/npm-audit/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ setup:
- name: Utility scripts
run: |
mkdir -p $SETUP_PATH/pre-scan-checks/
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/npm-audit/prescan_checks.sh $SETUP_PATH/pre-scan-checks/npm-audit
cp $REGISTRY_MODULE_PATH/prescan_checks.sh $SETUP_PATH/pre-scan-checks/npm-audit

steps:
- run: $SETUP_PATH/pre-scan-checks/npm-audit
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/osv-scanner/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ setup:
- name: Utility scripts
run: |
mkdir -p $SETUP_PATH/pre-scan-checks/
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/osv-scanner/prescan_checks.sh $SETUP_PATH/pre-scan-checks/osv-scanner
cp $REGISTRY_MODULE_PATH/prescan_checks.sh $SETUP_PATH/pre-scan-checks/osv-scanner

steps:
- run: $SETUP_PATH/pre-scan-checks/osv-scanner
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/osv-scanner/prescan_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ while IFS= read -r line; do
then
exit 0
fi
done < $SETUP_PATH/../../registry/scanners/boostsecurityio/osv-scanner/filelist.txt
done < $REGISTRY_MODULE_PATH/filelist.txt
>&2 echo "Scan misconfiguration:"
>&2 echo " OSV-Scanner scan did not run because no supported files were detected"
>&2 echo " See documentation list of supported file types: https://google.github.io/osv-scanner/supported-languages-and-lockfiles/"
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/trivy-fs/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ setup:
- name: Utility scripts
run: |
mkdir -p $SETUP_PATH/pre-scan-checks/
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/trivy-fs/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
cp $REGISTRY_MODULE_PATH/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
- name: download trivy
environment:
VERSION: 0.67.2
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/trivy-fs/prescan_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "$(find . -name "$line" | wc -l)" != "0" ]
then
exit 0
fi
done < $SETUP_PATH/../../registry/scanners/boostsecurityio/trivy-fs/filelist.txt
done < $REGISTRY_PATH/scanners/boostsecurityio/trivy-fs/filelist.txt
>&2 echo "Scan misconfiguration:"
>&2 echo " Trivy scan did not run because no supported files were detected"
>&2 echo " See documentation list of supported file types: https://trivy.dev/v0.61/docs/coverage/language/"
Expand Down
2 changes: 1 addition & 1 deletion scanners/boostsecurityio/trivy-sbom/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ setup:
- name: Utility scripts
run: |
mkdir -p $SETUP_PATH/pre-scan-checks/
cp $SETUP_PATH/../../registry/scanners/boostsecurityio/trivy-fs/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
cp $REGISTRY_PATH/scanners/boostsecurityio/trivy-fs/prescan_checks.sh $SETUP_PATH/pre-scan-checks/trivy
- name: download trivy
environment:
VERSION: 0.67.2
Expand Down
5 changes: 0 additions & 5 deletions scanners/boostsecurityio/trivy-sbom/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ tests:
source:
url: "https://github.com/gitleaks/gitleaks.git"
ref: "v8.15.2"
- name: "osv-scanner"
type: "source-code"
source:
url: "https://github.com/google/osv-scanner.git"
ref: "main"
- name: "rclone"
type: "source-code"
source:
Expand Down
Loading