too much power to "Report a Vulnerability" #214493
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaCode quality Discussion DetailsHi, I'm trying to "Report a Vulnerability" for my project (so it gets flagged for Triage - my peers need to review it). But because I've got project superpowers, it seems I can only "Draft a new security advisory". Is there a way around this? |
Replies: 2 comments
|
Not really, that's by design. "Report a vulnerability" is meant for people outside the project. If you can already create advisories yourself (admin or security manager on the repo), GitHub gives you "Draft a new security advisory" instead. The draft is pretty much the triage step you're after though. Create it, then add your peers as collaborators on the advisory. They can see it, comment and edit before anything is published (adding a collaborator to a repository security advisory). Nothing goes public until someone hits publish. If you really want it to land as an incoming report, someone without those permissions would have to file it, but I wouldn't bother, the draft does the same job. |
|
Thanks for the background.
I might end up doing this. I see your point, and if this were a year ago, when problems just trickled in, I'd 100% agree. Unfortunately this is no longer the case. Oh, for happier times :-) thanks again |
Not really, that's by design. "Report a vulnerability" is meant for people outside the project. If you can already create advisories yourself (admin or security manager on the repo), GitHub gives you "Draft a new security advisory" instead.
The draft is pretty much the triage step you're after though. Create it, then add your peers as collaborators on the advisory. They can see it, comment and edit before anything is published (adding a collaborator to a repository security advisory). Nothing goes public until someone hits publish.
If you really want it to land as an incoming report, someone without those permissions would have to file it, but I wouldn't bother, the draft does the same job.