Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyzeAndPrintPermissions ¶ added in v3.80.5
Types ¶
type Analyzer ¶ added in v3.80.5
func (Analyzer) Type ¶ added in v3.80.5
func (Analyzer) Type() analyzerpb.AnalyzerType
type BitbucketScope ¶
type ByCategoryAndName ¶
type ByCategoryAndName []BitbucketScope
func (ByCategoryAndName) Len ¶
func (a ByCategoryAndName) Len() int
func (ByCategoryAndName) Less ¶
func (a ByCategoryAndName) Less(i, j int) bool
func (ByCategoryAndName) Swap ¶
func (a ByCategoryAndName) Swap(i, j int)
type Repo ¶
type Repo struct { FullName string `json:"full_name"` RepoName string `json:"name"` Project struct { Name string `json:"name"` } `json:"project"` Workspace struct { Name string `json:"name"` } `json:"workspace"` IsPrivate bool `json:"is_private"` Owner struct { Username string `json:"username"` } `json:"owner"` Role string }
type SecretInfo ¶ added in v3.80.5
type SecretInfo struct { Type string OauthScopes []analyzers.Permission Repos []Repo }
func AnalyzePermissions ¶
func AnalyzePermissions(cfg *config.Config, key string) (*SecretInfo, error)
Click to show internal directories.
Click to hide internal directories.