scanpullrequest

package
v2.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL