Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crashappsec/github-analyzer
/ functions
Functions
55 in github.com/crashappsec/github-analyzer
⨍
Functions
55
◇
Types & classes
25
↓ 9 callers
Function
GetPaginatedResult
( ctx context.Context, globalBackoff *backoff.Backoff, callOpts *github.ListOptions, githubCall func(opts
pkg/github/utils/utils.go:91
↓ 6 callers
Function
SerializeFile
(raw interface{}, writeLoc string)
pkg/futils/futils.go:41
↓ 4 callers
Function
CreateDir
(path string)
pkg/futils/futils.go:29
↓ 2 callers
Method
GetCollaborators
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 callers
Function
getVersion
()
cmd/github-analyzer/main.go:27
↓ 2 callers
Function
normalizeLinks
normalizeLinks converts any raw http links to hrefs
pkg/output/html/html.go:48
↓ 1 callers
Function
ApplicationRestrictionsDisabled
(org string)
pkg/issue/issue.go:192
↓ 1 callers
Method
Audit
( ctx context.Context, enableUserPermissionStats bool, )
pkg/github/org/org.go:623
↓ 1 callers
Method
AuditOrg
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 callers
Function
AuditScraping
( username, password, otpseed, org string, )
pkg/scraping/scraping.go:14
↓ 1 callers
Function
CollaboratorsWithout2FA
( usersLacking2FA []string, resources []resource.Resource, )
pkg/issue/issue.go:90
↓ 1 callers
Method
GetActionRunners
( ctx context.Context)
pkg/github/org/org.go:156
↓ 1 callers
Method
GetInstalls
( ctx context.Context)
pkg/github/org/org.go:119
↓ 1 callers
Method
GetRepositories
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 callers
Method
GetUsers
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 callers
Method
GetWebhooks
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 callers
Function
Init
()
pkg/futils/futils.go:16
↓ 1 callers
Function
InsecureWebhookPayloadURL
(url string)
pkg/issue/issue.go:109
↓ 1 callers
Function
NewRepository
( ctx context.Context, client *github.Client, backoff *backoff.Backoff, raw *github.Repository)
pkg/github/repo/repo.go:26
↓ 1 callers
Function
NewRootCommand
()
cmd/github-analyzer/main.go:150
↓ 1 callers
Function
OAuthStats
(org string, appinfo []string)
pkg/issue/issue.go:212
↓ 1 callers
Function
Org2FADisabled
(org string)
pkg/issue/issue.go:51
↓ 1 callers
Function
OrgAdvancedSecurityDisabled
(org string)
pkg/issue/issue.go:127
↓ 1 callers
Function
OrgSecretScanningDisabledForNewRepos
(org string)
pkg/issue/issue.go:149
↓ 1 callers
Function
Serve
( orgName, orgStatsPath, permissionsPath, oauthAppPath, execStatusPath, issuesPath string, htmlDir string,
pkg/output/html/html.go:266
↓ 1 callers
Method
String
()
pkg/issue/severity/severity.go:14
↓ 1 callers
Method
Summarize
Summarize provides generic statistics for a given org and serializes them to disc
pkg/github/org/org.go:523
↓ 1 callers
Function
UserPermissionStats
(user string, permissions []string)
pkg/issue/issue.go:171
↓ 1 callers
Function
UsersWithout2FA
( usersLacking2FA []string, resources []resource.Resource, )
pkg/issue/issue.go:71
↓ 1 callers
Function
bindFlags
bindFlags binds cobra flags to viper environment variables
cmd/github-analyzer/main.go:228
↓ 1 callers
Function
getOauthAppState
(s int)
pkg/output/html/html.go:77
↓ 1 callers
Function
getSeverity
(sev string)
pkg/output/html/html.go:61
↓ 1 callers
Function
initLogger
(enableStackTrace bool)
pkg/log/logger.go:13
↓ 1 callers
Function
initializeConfig
(cmd *cobra.Command)
cmd/github-analyzer/main.go:208
↓ 1 callers
Function
parseIssues
( execStatusPath, issuesPath string, )
pkg/output/html/html.go:193
↓ 1 callers
Function
parseOauthApps
(appJson string)
pkg/output/html/html.go:120
↓ 1 callers
Function
parsePermissions
( permJson string, )
pkg/output/html/html.go:142
↓ 1 callers
Function
parseStats
(statsJson string)
pkg/output/html/html.go:90
↓ 1 callers
Function
runCmd
()
cmd/github-analyzer/main.go:49
Method
Audit2FA
( ctx context.Context)
pkg/github/org/org.go:377
Method
AuditCoreStats
( ctx context.Context)
pkg/github/org/org.go:488
Method
AuditMemberPermissions
( ctx context.Context)
pkg/github/org/org.go:541
Method
AuditWebhooks
( ctx context.Context)
pkg/github/org/org.go:457
Method
GetCollaborators
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
Method
GetWebhooks
( ctx context.Context)
pkg/github/repo/repo.go:45
Method
GetWorkflows
( ctx context.Context)
pkg/github/repo/repo.go:74
Function
InstallsAggregator
( installs *github.OrganizationInstallations, )
pkg/github/utils/utils.go:32
Function
NewGithubAuditor
(token string)
pkg/github/auditor/auditor.go:20
Function
NewOrganization
( ctx context.Context, client *github.Client, backoff *backoff.Backoff, name string)
pkg/github/org/org.go:47
Function
RunnersAggregator
(runners *github.Runners)
pkg/github/utils/utils.go:18
Function
TestSampleOrg
(t *testing.T)
pkg/github/auditor/auditor_test.go:37
Function
WebhooksAggregator
(hooks []*github.Hook)
pkg/github/utils/utils.go:58
Function
WorkflowsAggregator
(workflows *github.Workflows)
pkg/github/utils/utils.go:76
Function
init
()
pkg/github/auditor/auditor_test.go:24
Function
main
()
cmd/github-analyzer/main.go:42