File tree Expand file tree Collapse file tree 5 files changed +56111
-0
lines changed
test/fixtures/npm/100k-vulns Expand file tree Collapse file tree 5 files changed +56111
-0
lines changed Original file line number Diff line number Diff line change 1+ node_modules
2+ npm-debug.log
3+ generate-files.js
4+ .git
5+ .gitignore
6+ README.md
7+
8+
9+
Original file line number Diff line number Diff line change 1+ FROM node:14
2+
3+ WORKDIR /app
4+
5+ COPY package.json package-lock.json ./
6+
7+ COPY server.js ./
8+
9+ EXPOSE 3000
10+
11+ CMD ["node" , "server.js" ]
12+
13+
14+
15+
Original file line number Diff line number Diff line change 1+ # 100K Vulnerability Path Test Container
2+
3+ This container is designed to test Snyk's 100k max vuln limit
4+
5+ ## Structure
6+
7+ - ** 4,000 packages**
8+ - ** 6 base dependencies** (each package depends on all 5):
9+ - ` --hiljson `
10+ - ` --legacy-peer-deps `
11+ - ` --no-audit `
12+ - ` -d3-ushape `
13+ - ` -gzip-ize `
14+ - ` -000webhost-admin `
15+
16+ ## Build and Run
17+
18+ ``` bash
19+ # Build the Docker image
20+ docker build -t 100k-vulns .
21+
22+ # Run the container
23+ docker run -p 3000:3000 100k-vulns
24+ ```
25+
26+ ## Scan with Snyk
27+
28+ ``` bash
29+ # Scan the container image
30+ snyk container test 100k-vulns
31+
32+ # Monitor the container
33+ snyk container monitor 100k-vulns
34+ ```
35+
36+
37+
38+
You can’t perform that action at this time.
0 commit comments