dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Support GitHub repository security advisories

Open antoinbo opened this issue 6 months ago • 3 comments

Current Behavior

GitHub Advisories can be mirrored from the global list. https://docs.github.com/en/rest/security-advisories/global-advisories?apiVersion=2022-11-28

However, repository security advisories are not aggregated in the global list. Instead, they have their own endpoints. https://docs.github.com/en/rest/security-advisories/repository-advisories?apiVersion=2022-11-28

Therefore, GHSA-p7w6-62rq-vrf9 is not referenced in the global list, but in the repository one of eclipse-threadx/threadx. https://github.com/advisories/GHSA-p7w6-62rq-vrf9 (not found) https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-p7w6-62rq-vrf9 (found)

Proposed Behavior

GithubMetaAnalyzer, GitHubAdvisoryMirrorTask or a dedicated module, can mirror the repository advisories.

Checklist

antoinbo avatar Jun 02 '25 12:06 antoinbo

I also started a GitHub Community discussion as it will be effort less to find all advisories in the global list :)

antoinbo avatar Jun 02 '25 13:06 antoinbo

Thanks for raising this, I wasn't aware of this distinction. And it seems very odd to have such a separation. I subscribed to the discussion you opened, let's see what GitHub has to say.

nscuro avatar Jun 02 '25 13:06 nscuro

I found the repository github/advisory-database. Therefore, I understand ThreadX is not part of supported ecosystems, as Dependency-Track ;)

antoinbo avatar Jun 03 '25 06:06 antoinbo