Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

GO_VERSION: "1.15"
PYTHON_VERSION: "3.9"
NODE_VERSION: "14"
NODE_VERSION: "16"
NPM_VERSION: "7"

# ---- Docker Namespace ----
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

GO_VERSION: "1.15"
PYTHON_VERSION: "3.9"
NODE_VERSION: "14"
NODE_VERSION: "16"
NPM_VERSION: "7"

# ---- Docker Namespace ----
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
16
2 changes: 1 addition & 1 deletion .templates/new-scanner/parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY --chown=app:app ./parser.js ./parser.js
# Additional packages
# ARG namespace
# ARG baseImageTag
# FROM node:14-alpine as build
# FROM node:16-alpine as build
# RUN mkdir -p /home/app
# WORKDIR /home/app
# COPY package.json package-lock.json ./
Expand Down
4 changes: 2 additions & 2 deletions hook-sdk/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
#
# SPDX-License-Identifier: Apache-2.0

FROM node:14-alpine as build
FROM node:16-alpine as build
WORKDIR /home/app
COPY package.json package-lock.json ./
RUN npm ci --production

FROM node:14-alpine
FROM node:16-alpine
ARG NODE_ENV
RUN addgroup --system --gid 1001 app && adduser app --system --uid 1001 --ingroup app
WORKDIR /home/app/hook-wrapper/
Expand Down
4 changes: 2 additions & 2 deletions hooks/cascading-scans/hook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as install
FROM node:16-alpine as install
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
RUN npm ci --production

FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
14 changes: 7 additions & 7 deletions hooks/cascading-scans/hook/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hooks/cascading-scans/hook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"devDependencies": {
"@types/ip-address": "^7.0.0",
"@types/lodash": "^4.14.171",
"@types/node": "^14.17.5",
"@types/node": "^16.0.0",
"jest": "^27.0.6",
"typescript": "^4.3.5"
}
Expand Down
2 changes: 1 addition & 1 deletion hooks/finding-post-processing/hook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
2 changes: 1 addition & 1 deletion hooks/generic-webhook/hook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
4 changes: 2 additions & 2 deletions hooks/notification/hook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as install
FROM node:16-alpine as install
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
RUN npm ci --production

FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
14 changes: 7 additions & 7 deletions hooks/notification/hook/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hooks/notification/hook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.171",
"@types/mustache": "^4.1.2",
"@types/node": "^14.17.5",
"@types/node": "^16.0.0",
"@types/nodemailer": "^6.4.4",
"jest": "^27.0.6",
"ts-jest": "^27.0.3"
Expand Down
2 changes: 1 addition & 1 deletion hooks/persistence-elastic/hook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
2 changes: 1 addition & 1 deletion hooks/update-field/hook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/node": "^14.17.5",
"@types/node": "^16.0.0",
"eslint": "^7.31.0",
"eslint-config-oclif": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
Expand Down
4 changes: 2 additions & 2 deletions parser-sdk/nodejs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
#
# SPDX-License-Identifier: Apache-2.0

FROM node:14-alpine as build
FROM node:16-alpine as build
WORKDIR /home/app
COPY package.json package-lock.json ./
RUN npm ci --production

FROM node:14-alpine
FROM node:16-alpine
ARG NODE_ENV
RUN addgroup --system --gid 1001 app && adduser app --system --uid 1001 --ingroup app
WORKDIR /home/app/parser-wrapper/
Expand Down
2 changes: 1 addition & 1 deletion scanners/gitleaks/parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
2 changes: 1 addition & 1 deletion scanners/ncrack/parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
2 changes: 1 addition & 1 deletion scanners/nmap/parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
2 changes: 1 addition & 1 deletion scanners/sslyze/parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down
2 changes: 1 addition & 1 deletion scanners/zap/parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ARG namespace
ARG baseImageTag
FROM node:14-alpine as build
FROM node:16-alpine as build
RUN mkdir -p /home/app
WORKDIR /home/app
COPY package.json package-lock.json ./
Expand Down