Skip to content

Commit d16c73c

Browse files
committed
kept nvd.sh as a script to run locally when needed
1 parent 461c2ef commit d16c73c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/Assets/Plugins/.signature.p7s
22
/Assets/UnityXapiPublisher/Runtime/.vscode
3+
reports

nvd.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
docker run --rm \
2+
-v "$PWD:/src" -v "$PWD/reports:/reports" \
3+
owasp/dependency-check:latest \
4+
--project "unity-xapi-publisher" \
5+
--scan /src/packages.config \
6+
--format SARIF \
7+
--out /reports \
8+
--nvdApiKey "$NVD_API_KEY"

0 commit comments

Comments
 (0)