Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { GetVulnRecords(ctx *model.Context, repoID model.GitHubRepoID) (model.VulnRecords, error) PutVulnRecords(ctx *model.Context, vulns []model.VulnRecord) error }
type UseCase ¶
type UseCase interface { ValidateGitHubEvent(r *http.Request) ([]byte, error) ValidateGitHubIDToken(ctx *model.Context, token string) (*model.GitHubRepo, error) HandleIssueEvent(ctx *model.Context, event *github.IssueEvent) error HandleSarif(ctx *model.Context, report *sarif.Report) error HandleTrivy(ctx *model.Context, report *types.Report) error }
Click to show internal directories.
Click to hide internal directories.