mozilla / foundation-security-advisories

Canonical source for Mozilla Foundation Security Advisories. http://www.mozilla.org/security/announce/
Mozilla Public License 2.0
20 stars 32 forks source link

Add scripts and workflow for publishing to CVE Services #122

Closed maltejur closed 1 year ago

maltejur commented 1 year ago

This pull request adds a new script publish_cve_advisories, which uses the cvelib wrapper around the new CVE Service API to automatically publish and update the CVE advisories in this repository. This script can be operated in two different ways.

If you still have any questions, concerns or feedback, let me know.

tomrittervg commented 1 year ago

We have a private repo where we stage advisories. It is a straight copy of this repo - can we add some logic to the Github Action to check the repo name, and only do something if it is this named repo?

maltejur commented 1 year ago

Yes, I am already doing that here. The false && in front of that same line will also disable the workflow entirely until we want it enabled on every push.