Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
425096f
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
ebb156c
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
8d2d857
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
5768522
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
08eaf61
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
ed0e6ee
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
7e531f6
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
14f92ad
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
c8eee87
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
7ce24d4
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
df207f5
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
edba682
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
db2470c
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
4ba0dd3
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
46bb319
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
aa8c0e8
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
d723e62
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
786957d
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
49582b1
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
94f943e
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
190c28c
Update Node CVE scanning workflow (#1764)
stonesmi Sep 23, 2025
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
52 changes: 41 additions & 11 deletions .github/workflows/cve-scanning-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,51 @@ on:
paths:
- "**/package.json"
- ".github/workflows/cve-scanning-node.yml"
- "vuu-ui/allow-list.json"
- "vuu-ui/allow-list.xml"

jobs:
scan-packages:

node-modules-scan:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]

env:
OSS_INDEX_USERNAME: ${{ secrets.OSS_INDEX_USERNAME }}
OSS_INDEX_API_KEY: ${{ secrets.OSS_INDEX_API_KEY }}

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
- name: Checkout
uses: actions/checkout@v3

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install --production
working-directory: vuu-ui
- run: npx --yes auditjs ossi --whitelist allow-list.json
node-version: 20.x

- name: Build project with NPM
run: npm install --omit=dev
working-directory: vuu-ui

- name: Depcheck
if: ${{ env.OSS_INDEX_USERNAME != '' && env.OSS_INDEX_API_KEY != '' }}
uses: dependency-check/Dependency-Check_Action@1b5d19fd4a32ff0ff982e8c9d8e27dbf7ac8a46c
id: Depcheck
with:
project: 'vuu-ui'
path: 'vuu-ui'
format: 'HTML'
out: 'reports'
args: >
--ossIndexUsername ${{ env.OSS_INDEX_USERNAME }}
--ossIndexPassword ${{ env.OSS_INDEX_API_KEY }}
--suppression allow-list.xml
--nodeAuditSkipDevDependencies
--nodePackageSkipDevDependencies
--failOnCVSS 7
--enableRetired
- name: Upload Test results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: Depcheck report
path: ${{ github.workspace }}/reports
26 changes: 19 additions & 7 deletions .github/workflows/cve-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,37 @@ on:
- ".github/workflows/cve-scanning.yml"

jobs:

depchecktest:
runs-on: ubuntu-latest
name: depecheck_test

env:
OSS_INDEX_USERNAME: ${{ secrets.OSS_INDEX_USERNAME }}
OSS_INDEX_API_KEY: ${{ secrets.OSS_INDEX_API_KEY }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build project with Maven
run: mvn clean install
- name: Depcheck
uses: dependency-check/Dependency-Check_Action@78155aab85e9867e3c35f533e9ddad8ba7cdad7b # v2
run: mvn clean install -DskipTests

- name: Run OWASP Dependency-Check on Maven subprojects
if: ${{ env.OSS_INDEX_USERNAME != '' && env.OSS_INDEX_API_KEY != '' }}
uses: dependency-check/Dependency-Check_Action@1b5d19fd4a32ff0ff982e8c9d8e27dbf7ac8a46c
id: Depcheck
with:
project: "vuu"
path: "./vuu"
path: "vuu"
format: "HTML"
out: "reports" # this is the default, no need to specify unless you wish to override it
args: >
--failOnCVSS 5
args: >
--ossIndexUsername ${{ env.OSS_INDEX_USERNAME }}
--ossIndexPassword ${{ env.OSS_INDEX_API_KEY }}
--suppression allow-list.xml
--failOnCVSS 7
--enableRetired
- name: Upload Test results
if: ${{ always() }}
uses: actions/upload-artifact@v4
Expand Down
28 changes: 0 additions & 28 deletions vuu-ui/allow-list.json

This file was deleted.

4 changes: 4 additions & 0 deletions vuu-ui/allow-list.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">

</suppressions>
Loading