Allow collaborators to withdraw or reject CVE IDs
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 6
- Forks
- 2
- Ø Merge
- 9 Std. 7 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
Currently this bot can automatically assigns CVE IDs to GHSAs through the CVE API. However, sometimes a GHSA report is rejected by core developers or withdrawn by the reporter. In this case we need a way for the bot to be instructed to "withdraw" a CVE ID. Today that's done manually exclusively by CVE admins.
To enable any collaborators to reject a CVE ID (which is a
- Create a phrase that instructs the bot to reject the CVE ID (
@psrt-ghsa-bot reject <CVE ID>?) - Anyone in the collaborators list (
python/psrtandcollaborating_users, and_teams) can use the above phrase to trigger a CVE ID rejection. - Must not work if the CVE ID has been published or if the GHSA is still open.
This requires the bot to be able to get a list of comments in a GHSA to take commands.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Verarbeitung von GitHub-Kommentaren durch den Bot und seine Integration in die CVE/GHSA API zu lokalisieren. Verfolge, wie Collaborators, Teammitgliedschaft, Kommentarverlauf, Veröffentlichungsstatus und GHSA-Status derzeit dargestellt werden. Erledigt ist die Aufgabe, wenn ein autorisierter Collaborator den Ablehnungsbefehl nur für ein unveröffentlichtes CVE ausführen kann, das mit einer geschlossenen GHSA verknüpft ist, während nicht autorisierte, veröffentlichte oder offene Fälle sicher abgelehnt werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github, python
- Bereich
- security
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100