MCPcopy Create free account

hub / github.com/crashappsec/github-analyzer / functions

Functions55 in github.com/crashappsec/github-analyzer

↓ 9 callersFunctionGetPaginatedResult
( ctx context.Context, globalBackoff *backoff.Backoff, callOpts *github.ListOptions, githubCall func(opts
pkg/github/utils/utils.go:91
↓ 6 callersFunctionSerializeFile
(raw interface{}, writeLoc string)
pkg/futils/futils.go:41
↓ 4 callersFunctionCreateDir
(path string)
pkg/futils/futils.go:29
↓ 2 callersMethodGetCollaborators
GetCollaborators returns the outside collaborators for a given org. Upon first call, it lazily updates the Organization with the user information
pkg/github/org/org.go:253
↓ 2 callersFunctiongetVersion
()
cmd/github-analyzer/main.go:27
↓ 2 callersFunctionnormalizeLinks
normalizeLinks converts any raw http links to hrefs
pkg/output/html/html.go:48
↓ 1 callersFunctionApplicationRestrictionsDisabled
(org string)
pkg/issue/issue.go:192
↓ 1 callersMethodAudit
( ctx context.Context, enableUserPermissionStats bool, )
pkg/github/org/org.go:623
↓ 1 callersMethodAuditOrg
AuditOrg runs a series of checks on a given organization and returns the issues found, execution state for each check run (whether it was successful o
pkg/github/auditor/auditor.go:50
↓ 1 callersFunctionAuditScraping
( username, password, otpseed, org string, )
pkg/scraping/scraping.go:14
↓ 1 callersFunctionCollaboratorsWithout2FA
( usersLacking2FA []string, resources []resource.Resource, )
pkg/issue/issue.go:90
↓ 1 callersMethodGetActionRunners
( ctx context.Context)
pkg/github/org/org.go:156
↓ 1 callersMethodGetInstalls
( ctx context.Context)
pkg/github/org/org.go:119
↓ 1 callersMethodGetRepositories
GetRepositories returns the repositories for a given org. Upon first call, it lazily updates the Organization with the repository information
pkg/github/org/org.go:316
↓ 1 callersMethodGetUsers
GetUsers returns the users for a given org. Upon first call, it lazily updates the Organization with the user information
pkg/github/org/org.go:192
↓ 1 callersMethodGetWebhooks
GetWebhook returns the webhooks for a given org. Upon first call, it lazily updates the Organization with the webhook information
pkg/github/org/org.go:86
↓ 1 callersFunctionInit
()
pkg/futils/futils.go:16
↓ 1 callersFunctionInsecureWebhookPayloadURL
(url string)
pkg/issue/issue.go:109
↓ 1 callersFunctionNewRepository
( ctx context.Context, client *github.Client, backoff *backoff.Backoff, raw *github.Repository)
pkg/github/repo/repo.go:26
↓ 1 callersFunctionNewRootCommand
()
cmd/github-analyzer/main.go:150
↓ 1 callersFunctionOAuthStats
(org string, appinfo []string)
pkg/issue/issue.go:212
↓ 1 callersFunctionOrg2FADisabled
(org string)
pkg/issue/issue.go:51
↓ 1 callersFunctionOrgAdvancedSecurityDisabled
(org string)
pkg/issue/issue.go:127
↓ 1 callersFunctionOrgSecretScanningDisabledForNewRepos
(org string)
pkg/issue/issue.go:149
↓ 1 callersFunctionServe
( orgName, orgStatsPath, permissionsPath, oauthAppPath, execStatusPath, issuesPath string, htmlDir string,
pkg/output/html/html.go:266
↓ 1 callersMethodString
()
pkg/issue/severity/severity.go:14
↓ 1 callersMethodSummarize
Summarize provides generic statistics for a given org and serializes them to disc
pkg/github/org/org.go:523
↓ 1 callersFunctionUserPermissionStats
(user string, permissions []string)
pkg/issue/issue.go:171
↓ 1 callersFunctionUsersWithout2FA
( usersLacking2FA []string, resources []resource.Resource, )
pkg/issue/issue.go:71
↓ 1 callersFunctionbindFlags
bindFlags binds cobra flags to viper environment variables
cmd/github-analyzer/main.go:228
↓ 1 callersFunctiongetOauthAppState
(s int)
pkg/output/html/html.go:77
↓ 1 callersFunctiongetSeverity
(sev string)
pkg/output/html/html.go:61
↓ 1 callersFunctioninitLogger
(enableStackTrace bool)
pkg/log/logger.go:13
↓ 1 callersFunctioninitializeConfig
(cmd *cobra.Command)
cmd/github-analyzer/main.go:208
↓ 1 callersFunctionparseIssues
( execStatusPath, issuesPath string, )
pkg/output/html/html.go:193
↓ 1 callersFunctionparseOauthApps
(appJson string)
pkg/output/html/html.go:120
↓ 1 callersFunctionparsePermissions
( permJson string, )
pkg/output/html/html.go:142
↓ 1 callersFunctionparseStats
(statsJson string)
pkg/output/html/html.go:90
↓ 1 callersFunctionrunCmd
()
cmd/github-analyzer/main.go:49
MethodAudit2FA
( ctx context.Context)
pkg/github/org/org.go:377
MethodAuditCoreStats
( ctx context.Context)
pkg/github/org/org.go:488
MethodAuditMemberPermissions
( ctx context.Context)
pkg/github/org/org.go:541
MethodAuditWebhooks
( ctx context.Context)
pkg/github/org/org.go:457
MethodGetCollaborators
GetCollaborators returns the outside collaborators for a given org. Upon first call, it lazily updates the Organization with the user information
pkg/github/repo/repo.go:106
MethodGetWebhooks
( ctx context.Context)
pkg/github/repo/repo.go:45
MethodGetWorkflows
( ctx context.Context)
pkg/github/repo/repo.go:74
FunctionInstallsAggregator
( installs *github.OrganizationInstallations, )
pkg/github/utils/utils.go:32
FunctionNewGithubAuditor
(token string)
pkg/github/auditor/auditor.go:20
FunctionNewOrganization
( ctx context.Context, client *github.Client, backoff *backoff.Backoff, name string)
pkg/github/org/org.go:47
FunctionRunnersAggregator
(runners *github.Runners)
pkg/github/utils/utils.go:18
FunctionTestSampleOrg
(t *testing.T)
pkg/github/auditor/auditor_test.go:37
FunctionWebhooksAggregator
(hooks []*github.Hook)
pkg/github/utils/utils.go:58
FunctionWorkflowsAggregator
(workflows *github.Workflows)
pkg/github/utils/utils.go:76
Functioninit
()
pkg/github/auditor/auditor_test.go:24
Functionmain
()
cmd/github-analyzer/main.go:42