Documentation ¶
Index ¶
Constants ¶
View Source
const (
SecurityIssueFoundErr = "issues were detected by Frogbot\n You can avoid marking the Frogbot scan as failed by setting failOnSecurityIssues to false in the " + utils.FrogbotConfigFile + " file"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScanAllPullRequestsCmd ¶
type ScanAllPullRequestsCmd struct { }
func (ScanAllPullRequestsCmd) Run ¶
func (cmd ScanAllPullRequestsCmd) Run(configAggregator utils.RepoAggregator, client vcsclient.VcsClient, frogbotRepoConnection *utils.UrlAccessChecker) error
type ScanPullRequestCmd ¶
type ScanPullRequestCmd struct{}
func (*ScanPullRequestCmd) Run ¶
func (cmd *ScanPullRequestCmd) Run(configAggregator utils.RepoAggregator, client vcsclient.VcsClient, frogbotRepoConnection *utils.UrlAccessChecker) (err error)
Run ScanPullRequest method only works for a single repository scan. Therefore, the first repository config represents the repository on which Frogbot runs, and it is the only one that matters.
Click to show internal directories.
Click to hide internal directories.