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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 0 additions & 38 deletions .github/workflows/build.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build_v5_screener_imgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
matrix:
# not all apps support node versions below, but at the very
# least they all build
apps: [express4,express5,fastify3,fastify4,koa2,koa3,hapi20,hapi21]
version: [18, 20, 22, 24]
apps: [express4,express5,fastify4,koa2,koa3,hapi20,hapi21]
version: [20, 22, 24, 26]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -35,5 +35,5 @@ jobs:
run: |
cd $APP_FOLDER
../scripts/copy-scripts.sh
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$NODE_VERSION --build-arg node_version=$NODE_VERSION -f ./Dockerfile-screener .
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:latest-$NODE_VERSION --build-arg node_version=$NODE_VERSION -f ./Dockerfile .
docker push -a $ECR_REGISTRY/$ECR_REPOSITORY
67 changes: 0 additions & 67 deletions .github/workflows/ci_build.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: [18, 20, 22, 24]
version: [20, 22, 24, 26]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ docker-compose.yml
!/scripts/docker-compose.yml
Dockerfile
!/scripts/Dockerfile
Dockerfile-screener
!/scripts/Dockerfile-screener
entry.sh
!/scripts/entry.sh
install-dynamodb-local.sh
Expand Down
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"!(loopback@4)/**/*.js": "eslint --fix",
"**/*.js": "eslint --fix",
"**/*.sh": "shellcheck"
}

204 changes: 1 addition & 203 deletions .secrets.baseline

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

12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ Contrast Security Node agent with various supported frameworks.
Vulnerabilities are implemented in a shared module, `test-bench-utils`, which is
then installed and used by each application.

## Applications
- [express4](express4)
- [express5](express5)
- [fastify4](fastify4)
- [hapi20](hapi20)
- [hapi21](hapi21)
- [koa2](koa2)
- [koa3](koa3)
- [test-bench-utils](test-bench-utils) (shared sinks, routes, and views)

## Using [`lerna`](https://lerna.js.org)
`lerna` is a tool for managing multiple packages within a single repository. We
use lerna to handle the installation and version management of
Expand All @@ -24,6 +34,6 @@ Outside of these two commands, development on each application or the

## Adding new sample app to lerna
* Add folder name in `lerna.json` and re-run `lerna bootstrap`
* Add the app(folder name) to `jobs.build-and-push.strategy.matrix.apps` .github/workflows/build.yml
* Add the app (folder name) to `jobs.build-and-push.strategy.matrix.apps` in [.github/workflows/build_v5_screener_imgs.yml](.github/workflows/build_v5_screener_imgs.yml)
* Add repository into ecr `aws ecr create-repository --repository-name <app>`

Loading
Loading