Skip to content

Commit 98a65f9

Browse files
steviemulGithub
andauthored
SCAN-5649 : Use version 2.0.0 of local scanner. (#12)
* SCAN-5649 : Use version 2.0.0 of local scanner. * [Auto] Image tag updated latest pushed version --------- Co-authored-by: Github <github@users.noreply.github.com>
1 parent d3f3dc3 commit 98a65f9

File tree

12 files changed

+926
-1927
lines changed

12 files changed

+926
-1927
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
node_modules
2+
target
3+
log
4+
results.sarif
5+
scan-summary.json
6+
.contrast-scan/
27
.vscode

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
FROM alpine:3.21.3
22

33
RUN apk upgrade && \
4-
apk add nodejs npm openjdk11-jre-headless tar zstd
4+
apk add nodejs npm openjdk21-jre-headless tar zstd
55

66
COPY package.json /contrast-local-scanner/package.json
77
RUN cd /contrast-local-scanner && npm i --production
88

9-
ENV ACTIONS_CACHE_SERVICE_V2 true
9+
ENV ACTIONS_CACHE_SERVICE_V2=true
1010

1111
COPY src /contrast-local-scanner/src
1212

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This GitHub action lets you use Contrast Local Scanner to detect vulnerabilities
44

55
## Local Scan Engine
66

7-
The github action uses Contrast local scan engine version 1.1.8.
7+
The github action uses Contrast local scan engine version 2.0.0.
88

99
Release notes for the local scan engine can be viewed here [Scan Release Notes](https://docs.contrastsecurity.com/en/scan-release-notes-and-archive.html)
1010

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ inputs:
7474
default: ${{ github.token }}
7575
runs:
7676
using: 'docker'
77-
image: 'docker://ghcr.io/contrast-security-oss/contrast-local-scan-action:sha-36c0964b99d83ad6157ae6b83b4cedf8c71444f3'
77+
image: 'docker://ghcr.io/contrast-security-oss/contrast-local-scan-action:sha-94cf969a1ec5eb5e18b9da1155f07553f8e568a6'

0 commit comments

Comments
 (0)