Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubCommit ¶ added in v0.3.0
type GitHubCommit struct { GitHubRepo Committer GitHubUser `json:"committer" bigquery:"committer"` CommitID string `json:"commit_id" bigquery:"commit_id"` Branch string `json:"branch" bigquery:"branch"` Ref string `json:"ref" bigquery:"ref"` }
func (*GitHubCommit) Validate ¶ added in v0.3.0
func (x *GitHubCommit) Validate() error
type GitHubIssueComment ¶ added in v0.3.0
type GitHubMetadata ¶ added in v0.3.0
type GitHubMetadata struct { GitHubCommit PullRequest *GitHubPullRequest `json:"pull_request"` DefaultBranch string `json:"default_branch"` }
type GitHubPullRequest ¶ added in v0.3.0
type GitHubPullRequest struct { ID int64 `json:"id"` Number int `json:"number"` BaseBranch string `json:"base_branch"` BaseCommitID string `json:"base_commit_id"` User GitHubUser `json:"user"` }
type GitHubRepo ¶
type GitHubRepo struct { RepoID int64 `json:"repo_id" bigquery:"repo_id"` Owner string `json:"owner" bigquery:"owner"` RepoName string `json:"repo_name" bigquery:"repo_name"` }
func (*GitHubRepo) Validate ¶ added in v0.3.0
func (x *GitHubRepo) Validate() error
type GitHubUser ¶ added in v0.3.0
type Scan ¶ added in v0.3.0
type Scan struct { ID types.ScanID `bigquery:"id" firestore:"id" json:"id"` Timestamp time.Time `bigquery:"timestamp" firestore:"timestamp" json:"timestamp"` GitHub GitHubMetadata `bigquery:"github" firestore:"github" json:"github"` Report trivy.Report `bigquery:"report" firestore:"report" json:"report"` }
type ScanGitHubRepoInput ¶ added in v0.3.0
type ScanGitHubRepoInput struct { GitHubMetadata InstallID types.GitHubAppInstallID }
func (*ScanGitHubRepoInput) Validate ¶ added in v0.3.0
func (x *ScanGitHubRepoInput) Validate() error
type ScanRawRecord ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.