Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheSleekBoyCompany/AnsibleHound
/ functions
Functions
97 in github.com/TheSleekBoyCompany/AnsibleHound
⨍
Functions
97
◇
Types & classes
42
↓ 55 callers
Function
GenerateEdge
(edgeKind string, startId string, endId string)
core/opengraph/opengraph.go:32
↓ 36 callers
Function
AddEdge
(graph *gopengraph.OpenGraph, edge *edge.Edge)
core/opengraph/opengraph.go:25
↓ 30 callers
Function
HasAccessTo
(objectMap map[int]T, ID int)
core/gather/client.go:284
↓ 18 callers
Function
GatherObject
(installUUID string, client AHClient, target url.URL, endpoint string)
core/gather/client.go:235
↓ 15 callers
Method
GetID
()
core/ansible/base.go:44
↓ 14 callers
Function
define_icon
(url, token, icon_type, icon_name, icon_color)
scripts/import-icons.py:12
↓ 13 callers
Function
AddNodes
(graph *gopengraph.OpenGraph, nodes []*node.Node)
core/opengraph/opengraph.go:19
↓ 13 callers
Function
GenerateNodes
(objects map[int]T)
core/opengraph/opengraph.go:52
↓ 9 callers
Function
isInEndNodeKinds
(graph *gopengraph.OpenGraph, edge *edge.Edge, kind string)
core/opengraph/post_processing.go:13
↓ 4 callers
Function
identityCanControlPlaybook
(graph *gopengraph.OpenGraph, identity *edge.Edge)
core/opengraph/post_processing.go:29
↓ 4 callers
Function
runBoundedGather
(maxGatherWorkers int, items map[int]T, gather func(int, T))
core/gather/gather.go:12
↓ 3 callers
Method
Do
(req *http.Request)
core/gather/client.go:24
↓ 3 callers
Function
GenerateEdgeCustom
(edgeKind string, startId string, endId string, startMatchBy string, endMatchBy string, startNodeKind string,
core/opengraph/opengraph.go:42
↓ 2 callers
Method
GetPage
(url string, currentPage int)
core/gather/client.go:53
↓ 2 callers
Method
InitOID
(string)
core/ansible/base.go:46
↓ 2 callers
Method
ToBHNode
()
core/ansible/base.go:47
↓ 2 callers
Function
identityCanControlInventory
(graph *gopengraph.OpenGraph, identity *edge.Edge)
core/opengraph/post_processing.go:58
↓ 1 callers
Function
AuthenticateOnAnsibleInstance
(client AHClient, target url.URL, endpoint string)
core/gather/client.go:296
↓ 1 callers
Function
Connect
(ldapObject AHLdap)
core/gather/ldap.go:36
↓ 1 callers
Method
ExecuteReq
(req *http.Request)
core/gather/client.go:33
↓ 1 callers
Function
GatherAnsibleInstance
(client AHClient, target url.URL)
core/gather/client.go:254
↓ 1 callers
Function
GatherCredentialTypes
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:234
↓ 1 callers
Function
GatherCredentials
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:220
↓ 1 callers
Function
GatherGroups
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:89
↓ 1 callers
Function
GatherHosts
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:75
↓ 1 callers
Function
GatherInventories
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:189
↓ 1 callers
Function
GatherJobTemplates
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:131
↓ 1 callers
Function
GatherJobs
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:117
↓ 1 callers
Function
GatherOrganizations
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:204
↓ 1 callers
Function
GatherProjects
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:249
↓ 1 callers
Function
GatherTeams
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:264
↓ 1 callers
Function
GatherUsers
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:45
↓ 1 callers
Function
GatherWorkflowJobTemplateNodes
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:177
↓ 1 callers
Function
GatherWorkflowJobTemplates
(client AHClient, installUUID string, targetUrl url.URL)
core/gather/gather.go:165
↓ 1 callers
Function
InitClient
(proxyURL *url.URL, skipVerifySSL bool, workers int, username string, password string, token string)
core/gather/client.go:68
↓ 1 callers
Function
InitGraph
()
core/opengraph/opengraph.go:14
↓ 1 callers
Function
InitLdap
(dc_ip string, username string, password string, domain string, isLDAPS bool, skipVerifySSL bool)
core/gather/ldap.go:22
↓ 1 callers
Function
LinkAD
(graph *gopengraph.OpenGraph, ldap gather.AHLdap, users map[int]*ansible.User)
core/opengraph/link.go:371
↓ 1 callers
Function
LinkAdministrativeRights
(graph *gopengraph.OpenGraph, users map[int]*ansible.User, jobTemplates map[int]*ansible.JobTemplate, workfl
core/opengraph/link.go:286
↓ 1 callers
Function
LinkGitHub
(graph *gopengraph.OpenGraph, github bool, projects map[int]*ansible.Project, credentials map[int]*ansible.Cre
core/opengraph/link.go:399
↓ 1 callers
Function
LinkInventory
(graph *gopengraph.OpenGraph, inventories map[int]*ansible.Inventory, hosts map[int]*ansible.Host, groups map
core/opengraph/link.go:68
↓ 1 callers
Function
LinkJobTemplates
(graph *gopengraph.OpenGraph, jobTemplates map[int]*ansible.JobTemplate, jobs map[int]*ansible.Job, projects
core/opengraph/link.go:129
↓ 1 callers
Function
LinkOrganization
(graph *gopengraph.OpenGraph, instanceOID string, organizations map[int]*ansible.Organization, inventories m
core/opengraph/link.go:14
↓ 1 callers
Function
LinkTeamRoles
(graph *gopengraph.OpenGraph, users map[int]*ansible.User, organizations map[int]*ansible.Organization, inven
core/opengraph/link.go:235
↓ 1 callers
Function
LinkUserRoles
(graph *gopengraph.OpenGraph, users map[int]*ansible.User, organizations map[int]*ansible.Organization, inven
core/opengraph/link.go:184
↓ 1 callers
Function
LinkWorkflowJobTemplates
(graph *gopengraph.OpenGraph, workflowJobTemplates map[int]*ansible.WorkflowJobTemplate, workflowJobTemplateN
core/opengraph/link.go:99
↓ 1 callers
Function
Output
(graph *gopengraph.OpenGraph, outdir string)
core/opengraph/output.go:37
↓ 1 callers
Function
PostProcessingCredentials
(graph *gopengraph.OpenGraph)
core/opengraph/post_processing.go:108
↓ 1 callers
Function
Search
(conn *ldap.Conn, objectDN string)
core/gather/ldap.go:71
↓ 1 callers
Function
ValidateCredentials
(client AHClient, targetUrl url.URL)
core/gather/gather.go:40
↓ 1 callers
Function
calculateName
(objectType string)
core/opengraph/output.go:13
↓ 1 callers
Function
getInventoryMembers
(graph *gopengraph.OpenGraph, inv *node.Node)
core/opengraph/post_processing.go:72
↓ 1 callers
Function
identityCanControlJobTemplate
(graph *gopengraph.OpenGraph, identity *edge.Edge)
core/opengraph/post_processing.go:43
↓ 1 callers
Function
initReq
(url string, currentPage int)
core/gather/client.go:114
↓ 1 callers
Function
isInStartNodeKinds
(graph *gopengraph.OpenGraph, edge *edge.Edge, kind string)
core/opengraph/post_processing.go:21
↓ 1 callers
Function
launch
(client gather.AHClient, targetUrl *url.URL, outdir string, ldap gather.AHLdap, github bool)
collector/Main.go:15
↓ 1 callers
Function
sidBytesToString
(sidBytes []byte)
core/gather/ldap.go:96
↓ 1 callers
Function
writeToFile
(content []byte, filePath string)
core/opengraph/output.go:19
Function
Gather
( client AHClient, target url.URL, endpoint string, )
core/gather/client.go:127
Method
GetID
()
core/ansible/base.go:31
Method
GetOID
()
core/ansible/base.go:27
Method
GetOID
()
core/ansible/base.go:45
Method
InitOID
(installUUID string)
core/ansible/base.go:35
Method
MarshalJSON
()
core/ansible/workflow.go:37
Method
MarshalJSON
()
core/ansible/workflow.go:97
Method
MarshalJSON
()
core/ansible/inventory.go:28
Method
MarshalJSON
()
core/ansible/inventory.go:68
Method
MarshalJSON
()
core/ansible/inventory.go:102
Method
MarshalJSON
()
core/ansible/credential.go:25
Method
MarshalJSON
()
core/ansible/credential.go:82
Method
MarshalJSON
()
core/ansible/job.go:58
Method
MarshalJSON
()
core/ansible/base.go:62
Method
MarshalJSON
()
core/ansible/job_template.go:62
Method
MarshalJSON
()
core/ansible/project.go:39
Method
MarshalJSON
()
core/ansible/role.go:22
Method
MarshalJSON
()
core/ansible/role.go:40
Method
MarshalJSON
()
core/ansible/role.go:53
Method
MarshalJSON
()
core/ansible/role.go:66
Method
MarshalJSON
()
core/ansible/organization.go:18
Method
MarshalJSON
()
core/ansible/team.go:18
Method
MarshalJSON
()
core/ansible/user.go:25
Method
ToBHNode
()
core/ansible/workflow.go:42
Method
ToBHNode
()
core/ansible/workflow.go:102
Method
ToBHNode
()
core/ansible/inventory.go:33
Method
ToBHNode
()
core/ansible/inventory.go:73
Method
ToBHNode
()
core/ansible/inventory.go:107
Method
ToBHNode
()
core/ansible/credential.go:30
Method
ToBHNode
()
core/ansible/credential.go:87
Method
ToBHNode
()
core/ansible/job.go:63
Method
ToBHNode
()
core/ansible/base.go:67
Method
ToBHNode
()
core/ansible/job_template.go:67
Method
ToBHNode
()
core/ansible/project.go:44
Method
ToBHNode
()
core/ansible/role.go:27
Method
ToBHNode
()
core/ansible/organization.go:23
Method
ToBHNode
()
core/ansible/team.go:23
Method
ToBHNode
()
core/ansible/user.go:30
Function
main
()
collector/Main.go:239