advanced-security / dependabot-epss-action

Action to detect if any open :dependabot: Dependabot alert CVEs exceed an EPSS threshold and fail the workflow.
MIT License
2 stars 1 forks source link
dependabot epss

Action to detect if any open Dependabot alert CVEs exceed an EPSS threshold and fail the workflow.

image

Includes an Actions workflow summary:

image

Usage

name: 'Dependabot EPSS Action'
on: [push]

jobs:
  dependabot-epss-action:
    name: 'EPSS Compliance Check'
    runs-on: ubuntu-latest
    steps:
      - name: 'EPSS Policy'
        uses: advanced-security/dependabot-epss-action@v0
        with:
            token: ${{ secrets.DEPENDABOT_EPSS_GITHUB_TOKEN }}
            epss-threshold: "0.6"

Inputs

Attribution

See EPSS at https://www.first.org/epss. Jay Jacobs, Sasha Romanosky, Benjamin Edwards, Michael Roytman, Idris Adjerid, (2021), Exploit Prediction Scoring System, Digital Threats Research and Practice, 2(3)