divd-nl/CVE CNA Bot

A Bot that validates CVE records and (optionally) submits them to the CVE database.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 26, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: divd-nl/cna-bot@577a08d0f1cf420e9afea2b26222a1f1e9726037 # v1.8.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
cve-userCVE services user name (usually the email address)yes
cve-orgCVE services organisationyes
cve-api-keyCVE services api key (Please store this in a GitHub secret)yes
cve-environmentCVE services environment (defaults to test)yestest
publishSet to `true` to publish the records to the CVE servicesfalse
pathPath to check and submit.
ignoreComma separted list of checks to ignore.""
min-reservedMinimum number of reserved records for the current year0
reserveMinimum number of records to reserve in one go (0=do not make reservations)0
exclude-lockedExclude reservations listed in reservations.lock files from the min-reserved countfalse
prCreate a PR to bring local records in line with remote records.false
update-localUpdate local records/reservations to match remote state. Defaults to the value of `pr` when left empty, so set it to `true` to update local files without creating a PR.""
github-tokenGithub token, usually automatically provided via `secrets.GITHUB_TOKEN`, required when pr is set to `true`
github-branchName of the github branch to create the pull request from. Defaults to `cve_sumbit_pr`cve_submit_pr_${{ github.sha }}
github-pr-descriptiondescription of the github pull request. Defaults to `Automatic updates made by cve-rsus-validate-submit Github Action`Automatic updates made by cve-rsus-validate-submit Github Action
check-reservationsCheck reservations as well (default: true)true
reservations-pathPath where reservations are kept by default. (default: $path/reservations""
create-missingCreate files for missing records from the CVE database (default: true)true
expire-afterCreate PR to expire reservations this much time after the end of the year (e.g 4d, 3w, 2m or 1y)""
delete-rejectedDelete the local file of a rejected reservation instead of keeping it with state REJECTED (default: false)false
verboseVerbose outputfalse
quietMinimal output (wins over verbose)false
debugMost verbose outputfalse
skip-cve-lintSkip running cvelint validation (default: false)false

no outputs