-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #808 from robmoffat/master
FINOS Security Scanning
- Loading branch information
Showing
12 changed files
with
150 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Node.js CVE Scanning | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'package.json' | ||
- 'toolbox/fdc3-workbench/package.json' | ||
- '.github/workflows/cve-scanning.yml' | ||
- 'website/package.json' | ||
push: | ||
paths: | ||
- 'package.json' | ||
- 'toolbox/fdc3-workbench/package.json' | ||
- '.github/workflows/cve-scanning.yml' | ||
- 'website/package.json' | ||
schedule: | ||
# Run every day at 5am and 5pm | ||
- cron: '0 5,17 * * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- run: npm install | ||
|
||
- run: npm install | ||
working-directory: toolbox/fdc3-workbench | ||
|
||
- run: npm install | ||
working-directory: website | ||
|
||
- run: npx --yes auditjs ossi --whitelist allow-list.json | ||
if: success() || failure() | ||
|
||
- run: npx --yes auditjs ossi --whitelist ../../allow-list.json | ||
working-directory: toolbox/fdc3-workbench | ||
if: success() || failure() | ||
|
||
- run: npx --yes auditjs ossi --whitelist ../allow-list.json | ||
working-directory: website | ||
if: success() || failure() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Static code analysis | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
semgrep: | ||
name: run-semgrep | ||
runs-on: ubuntu-20.04 | ||
container: | ||
image: returntocorp/semgrep | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: semgrep scan --error --config auto | ||
env: | ||
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
website/** | ||
|
||
# Just used for build so ignoring | ||
quicktypeUtil.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters