Documentation
¶
Overview ¶
Package repositories holds the github_repositories table.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Branches ¶
Branches returns the github_repository_branches table: the branches of each repository, with the protection of the protected ones in the protection column.
func DependabotAlerts ¶
DependabotAlerts returns the github_repository_dependabot_alerts table: one row per Dependabot alert of each repository, with no state or severity filter (GitHub's default set of alerts).
func DependabotSecrets ¶
DependabotSecrets returns the github_repository_dependabot_secrets table: one row per Dependabot secret of each repository (names and metadata only; GitHub never returns values).
func ReleaseAssets ¶
ReleaseAssets returns the github_release_assets table: the assets of each release.
func Releases ¶
Releases returns the github_releases table: the releases of each repository, drafts and prereleases included, with the release assets as a child table.
func Repositories ¶
Repositories returns the github_repositories table: one row per discovered repository. Discovery already fetched each repository, so the resolver makes no request.
func SBOMs ¶
SBOMs returns the github_repository_sboms table: the software bill of materials of each repository, from the dependency graph. The row is the inner SBOM object of the report.
The report is generated asynchronously (generate, then fetch until GitHub stops answering 202). A server without those endpoints (404 on generate) is asked for the legacy synchronous SBOM instead. A 404 from the legacy endpoint means the dependency graph is disabled, so it goes through client.SkipOnNoAccess (a skip with a warning), as a 404 does on the other children of github_repositories.
Types ¶
This section is empty.