MCPcopy Create free account
hub / github.com/crashappsec/github-analyzer / OAuthStats

Function OAuthStats

pkg/issue/issue.go:212–231  ·  view source on GitHub ↗
(org string, appinfo []string)

Source from the content-addressed store, hash-verified

210}
211
212func OAuthStats(org string, appinfo []string) Issue {
213 return Issue{
214 ID: STATS_OAUTH_PERMS,
215 Name: AvailableChecks[STATS_OAUTH_PERMS],
216 Severity: severity.Informational,
217 Category: category.LeastPrivilege,
218 Description: fmt.Sprintf(
219 "OAuth apps for '%s': %s",
220 org,
221 strings.Join(appinfo, ", "),
222 ),
223 Resources: []resource.Resource{
224 {
225 ID: org,
226 Kind: resource.Organization,
227 },
228 },
229 Remediation: "Please ensure the OAuth Apps installed in your organization meet your expectations",
230 }
231}

Callers 1

AuditScrapingFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected