Skip to content

Commit df4db3e

Browse files
committed
adding snyk scan
1 parent 7bf675e commit df4db3e

1 file changed

Lines changed: 20 additions & 2 deletions

File tree

.circleci/config.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,20 @@ orbs:
77

88
jobs:
99

10-
reversing-labs:
10+
snyk-scan:
11+
docker:
12+
- image: cimg/openjdk:21.0.2-node
13+
steps:
14+
- checkout
15+
- run: npm install
16+
- run: mvn clean install -Pci -Dlicense.skip=true -Dmaven.test.skip.exec=true -DskipITs
17+
- general-platform-helpers/step-run-snyk-monitor:
18+
scan-all-projects: false
19+
skip-unresolved: false
20+
run-on-non-main: true
21+
additional-arguments: "--maven-aggregate-project"
22+
23+
reversing-labs:
1124
docker:
1225
- image: cimg/openjdk:17.0.7
1326
steps:
@@ -58,7 +71,12 @@ workflows:
5871
name: "Scan with Semgrep"
5972
context:
6073
- static-analysis
61-
74+
- snyk-scan:
75+
name: execute-snyk
76+
requires:
77+
- jdk21
78+
context:
79+
- static-analysis
6280
"Malware Scanner":
6381
jobs:
6482
- reversing-labs:

0 commit comments

Comments
 (0)