Skip to content

Commit

Permalink
chore: 🤖 bump node version (ministryofjustice#110)
Browse files Browse the repository at this point in the history
chore: 🤖 add trivy ignore
  • Loading branch information
Jaskaran Sarkaria authored Nov 14, 2022
1 parent e9c692b commit e622c13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.12.0
16.18.1
3 changes: 3 additions & 0 deletions scripts/.trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# loader-utils pkg has a vulnerability in which hasn't been fixed in v16.18.1 wait for it to be updated upstream
CVE-2022-37601

1 change: 1 addition & 0 deletions scripts/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ fi
## Run Trivy scan
TRIVY_CACHE_DIR=trivy trivy image \
--exit-code 1 \
--ignorefile scripts/.trivyignore \
--severity "CRITICAL" \
--skip-update "ui:latest" # we have the most recent db pulled locally

Expand Down

0 comments on commit e622c13

Please sign in to comment.