DependencyTrack / DependencyTrack/dependency-track

Support GitHub repository security advisories

Open
#5,013 3 comments 0 reactions 0 assignees View on GitHub
enhancement integration/github pending more information
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### 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

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.