Documentation ¶
Index ¶
- Variables
- func FinalizeArtifact(a *Artifact)
- func NewGCPMemberCache() gcpMemberCache
- type Artifact
- func GhostStaff(path string) (*Artifact, error)
- func GithubOrgMembers(path string) (*Artifact, error)
- func GoogleCloudIAMPolicy(project string, identityProject string, cache gcpMemberCache) (*Artifact, error)
- func GoogleWorkspaceAudit(path string) (*Artifact, error)
- func GoogleWorkspaceUsers(path string) (*Artifact, error)
- func KolideUsers(path string) (*Artifact, error)
- func SecureframePersonnel(path string) (*Artifact, error)
- func SlackMembers(path string) (*Artifact, error)
- func VercelMembers(path string) (*Artifact, error)
- func WebflowMembers(path string) (*Artifact, error)
- type Group
- type Membership
- type Source
- type User
Constants ¶
This section is empty.
Variables ¶
var GhostSteps = []string{
"Open the corporate Ghost blog",
"Click 'Settings'",
"Click 'Staff'",
"Zoom out so that all users are visible on one screen",
"Save this page (Complete)",
"Collect resulting .html file for analysis (the other files are not necessary)",
"Execute 'axsdump --ghost-staff-html=<path>'",
}
var GithubOrgSteps = []string{
"Open https://github.com/orgs/<org>/people",
"Click Export",
"Select 'CSV'",
"Download resulting CSV file for analysis",
"Execute 'axsdump --github-org-members-csv=<path>'",
}
var (
GoogleWorkspaceAuditSteps = []string{
"Open https://admin.google.com/ac/reporting/report/user/accounts",
"Click Download icon",
"Select All Columns",
"Click CSV",
"Download resulting CSV file for analysis",
"Execute 'axsdump --google-workspace-audit-csv=<path>'",
}
)
var GoogleWorkspaceUsersSteps = []string{
"Open https://admin.google.com/ac/users",
"Click Download users",
"Select 'All user info Columns'",
"Select 'Comma-separated values (.csv)'",
"Download resulting CSV file for analysis",
"Execute 'axsdump --google-workspace-users-csv=<path>'",
}
var KolideSteps = []string{
"Open https://k2.kolide.com/3361/settings/admin/users",
"Click CSV",
"Download resulting CSV file for analysis",
"Execute 'axsdump --kolide-users-csv=<path>'",
}
var SecureframeSteps = []string{
"Open https://app.secureframe.com/personnel",
"Deselect any active filters",
"Click Export...",
"Select 'Direct Download'",
"Download resulting CSV file for analysis",
"Execute 'axsdump --secureframe-personnel-csv=<path>'",
}
var SlackSteps = []string{
"Open Slack",
"Click <org name>▼",
"Select 'Settings & Administration'",
"Select 'Manage Members'",
"Select 'Export Member List'",
"Download resulting CSV file for analysis",
"Execute 'axsdump --slack-members-csv=<path>'",
}
var SourceDateFormat = "2006-01-02"
var VercelSteps = []string{
"Open https://vercel.com/",
"Select your company/team",
"Click 'Settings'",
"Click 'Members'",
"Save this page (Complete)",
"Collect resulting .html file for analysis (the other files are not necessary)",
"Execute 'axsdump --vercel-members-html=<path>'",
}
var WebflowSteps = []string{
"Open https://webflow.com/dashboard/sites/<site>/members",
"Save this page (Complete)",
"Collect resulting .html file for analysis (the other files are not necessary)",
"Execute 'axsdump --webflow-members-html=<path>'",
}
Functions ¶
func FinalizeArtifact ¶
func FinalizeArtifact(a *Artifact)
FinalizeArtifact does some final manipulation on an artifact for consistency.
func NewGCPMemberCache ¶
func NewGCPMemberCache() gcpMemberCache
NewGCPMemberCache returns a populated structure to be used for caching membership lookups.
Types ¶
type Artifact ¶
type Artifact struct { Metadata *Source UserCount int `yaml:"user_count"` Users []User BotCount int `yaml:"bot_count,omitempty"` Bots []User `yaml:",omitempty"` GroupCount int `yaml:"group_count,omitempty"` Groups []Group `yaml:"groups,omitempty"` RoleCount int `yaml:"role_count,omitempty"` Roles map[string][]string `yaml:"roles,omitempty"` PermissionCount int `yaml:"permission_count,omitempty"` Permissions map[string][]string `yaml:"permissions,omitempty"` }
func GhostStaff ¶
GhostStaffs parses the HTML output of the Ghost Staff page.
func GithubOrgMembers ¶
GithubOrgMembers parses the CSV file generated by the Github Members page.
func GoogleCloudIAMPolicy ¶
func GoogleCloudIAMPolicy(project string, identityProject string, cache gcpMemberCache) (*Artifact, error)
GoogleCloudIAMPolicy uses gcloud to generate a list of GCP members.
func GoogleWorkspaceAudit ¶
GoogleWorkspaceUserAudit parses the CSV file generated by the Google User Audit page.
func GoogleWorkspaceUsers ¶
GoogleWorkspaceUsers parses the CSV file generated by the users page.
func KolideUsers ¶
KolideUsers parses the CSV file generated by the Kolide Users page.
func SecureframePersonnel ¶
SecureframePersonnel parses the CSV file generated by the Secureframe Personnel page.
func SlackMembers ¶
SlackMembers parses the CSV file generated by the Slack Members page.
func VercelMembers ¶
VercelMembers parses the HTML output of the Vercel Members page.
func WebflowMembers ¶
WebflowMembers parses the HTML output of the Webflow Member page.