Skip to content
2 changes: 2 additions & 0 deletions scanners/boostsecurityio/osv-scanner/filelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mix.lock
go.mod
cabal.project.freeze
stack.yaml.lock
*.jar
buildscript-gradle.lockfile
gradle.lockfile
verification-metadata.xml
Expand All @@ -14,6 +15,7 @@ yarn.lock
bun.lock
deps.json
packages.config
*.csproj
packages.lock.json
composer.lock
Pipfile.lock
Expand Down
6 changes: 4 additions & 2 deletions scanners/boostsecurityio/osv-scanner/module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ config:
- cabal.project.freeze
- stack.yaml.lock
# Java
- "*.jar"
- buildscript-gradle.lockfile
- gradle.lockfile
- verification-metadata.xml
Expand All @@ -33,6 +34,7 @@ config:
- yarn.lock
- bun.lock
# .Net
- "*.csproj"
- deps.json
- packages.config
- packages.lock.json
Expand Down Expand Up @@ -66,9 +68,9 @@ steps:
- scan:
command:
docker:
image: public.ecr.aws/boostsecurityio/boost-scanner-osv:2778df1@sha256:73af9ca6458c5dd11dfc61dfa919a9b597f08946622f18628e26696c6e1565ce
image: public.ecr.aws/boostsecurityio/boost-scanner-osv:63fef86@sha256:ad3d944f0dfd99a2ed47d5235a83968c632ca8328eef10752ae1e114ec44db53
command: |
-c 'osv-scanner scan source --recursive --call-analysis=all --format json . 2> /dev/null; exit_code=$?; if [ $exit_code -gt 126 ]; then exit $exit_code; fi'
-c 'GOGC=50 osv-scanner scan source --recursive --call-analysis=all --experimental-plugins=lockfile,sbom,directory,java/archive,dotnet/csproj --format json . 2> /dev/null; exit_code=$?; if [ $exit_code -gt 126 ]; then exit $exit_code; fi'
workdir: /project
format: sarif
post-processor:
Expand Down
10 changes: 10 additions & 0 deletions scanners/boostsecurityio/osv-scanner/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,13 @@ tests:
source:
url: "https://github.com/openvinotoolkit/openvino.git"
ref: "2024.1.0"
- name: "SCA-jar" # java/archive
type: "source-code"
source:
url: "https://github.com/boost-sandbox/SCA-jar.git"
ref: "main"
- name: "SCA-csproj" # nuget/csproj
type: "source-code"
source:
url: "https://github.com/boost-sandbox/SCA-csproj.git"
ref: "main"
Loading