Skip to content

Vulnerability Scan #655

Vulnerability Scan

Vulnerability Scan #655

Workflow file for this run

name: Vulnerability Scan
on:
schedule:
- cron: "5 0 * * *"
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
environment: nvd
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup
uses: ./.github/workflows/shared-setup
with:
jdk: '11'
- name: Get Date
id: get-date
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Cache NVD Database
uses: actions/cache@v4
with:
path: /home/runner/.nvd-cache/
key: nvd-cache-we-are-happy-to-share-across-branches-${{ steps.get-date.outputs.date }}
- name: Run NVD Scanner
env:
NVD_API_TOKEN: ${{ secrets.NVD_API_TOKEN }}
run: bb nvd-scan