> ## Documentation Index
> Fetch the complete documentation index at: https://bloodhound.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GH_OrgRole

> The role a user has at the organization level (e.g., admin, member)

<img noZoom src="https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max&auto=format&n=tTIczgde9H07oLXf&q=85&s=ad49a576589f4d2a8081df77d07fdf56" alt="Applies to BloodHound Enterprise and CE" width="482" height="45" data-path="assets/enterprise-AND-community-edition-pill-tag.svg" />

Represents an organization-level role such as Owner, Member, or a custom organization role. Org roles define what permissions a user or team has at the organization level. The Owner and Member roles are default (built-in), while custom roles inherit from a base role and can have additional permissions.

## Edges

<Note>
  The tables below list edges defined by the GitHub extension only. Additional edges to or from this node may be created by other extensions.
</Note>

### Inbound Edges

| Edge Type                                                            | Source Node Types                                                                                                                                                                                                | Traversable |
| -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| [GH\_Contains](/opengraph/extensions/github/edges/gh_contains)       | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization), [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository), [GH\_Environment](/opengraph/extensions/github/nodes/gh_environment) | ❌           |
| [GH\_HasBaseRole](/opengraph/extensions/github/edges/gh_hasbaserole) | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole), [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole)                                                                                     | ✅           |
| [GH\_HasRole](/opengraph/extensions/github/edges/gh_hasrole)         | [GH\_User](/opengraph/extensions/github/nodes/gh_user), [GH\_Team](/opengraph/extensions/github/nodes/gh_team)                                                                                                   | ✅           |

### Outbound Edges

| Edge Type                                                                                                                                    | Destination Node Types                                                                                                                     | Traversable |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
| [GH\_AddCollaborator](/opengraph/extensions/github/edges/gh_addcollaborator)                                                                 | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_CanReadSecretScanningAlert](/opengraph/extensions/github/edges/gh_canreadsecretscanningalert)                                           | [GH\_SecretScanningAlert](/opengraph/extensions/github/nodes/gh_secretscanningalert)                                                       | ✅           |
| [GH\_CreateRepository](/opengraph/extensions/github/edges/gh_createrepository)                                                               | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_CreateTeam](/opengraph/extensions/github/edges/gh_createteam)                                                                           | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_HasBaseRole](/opengraph/extensions/github/edges/gh_hasbaserole)                                                                         | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole), [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole)               | ✅           |
| [GH\_InviteMember](/opengraph/extensions/github/edges/gh_invitemember)                                                                       | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_ManageOrganizationWebhooks](/opengraph/extensions/github/edges/gh_manageorganizationwebhooks)                                           | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_OrgBypassCodeScanningDismissalRequests](/opengraph/extensions/github/edges/gh_orgbypasscodescanningdismissalrequests)                   | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_OrgBypassSecretScanningClosureRequests](/opengraph/extensions/github/edges/gh_orgbypasssecretscanningclosurerequests)                   | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_OrgReviewAndManageSecretScanningBypassRequests](/opengraph/extensions/github/edges/gh_orgreviewandmanagesecretscanningbypassrequests)   | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_OrgReviewAndManageSecretScanningClosureRequests](/opengraph/extensions/github/edges/gh_orgreviewandmanagesecretscanningclosurerequests) | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_ReadOrganizationActionsUsageMetrics](/opengraph/extensions/github/edges/gh_readorganizationactionsusagemetrics)                         | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_ReadOrganizationCustomOrgRole](/opengraph/extensions/github/edges/gh_readorganizationcustomorgrole)                                     | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_ReadOrganizationCustomRepoRole](/opengraph/extensions/github/edges/gh_readorganizationcustomreporole)                                   | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_ResolveSecretScanningAlerts](/opengraph/extensions/github/edges/gh_resolvesecretscanningalerts)                                         | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_TransferRepository](/opengraph/extensions/github/edges/gh_transferrepository)                                                           | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_ViewSecretScanningAlerts](/opengraph/extensions/github/edges/gh_viewsecretscanningalerts)                                               | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization), [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository) | ❌           |
| [GH\_WriteOrganizationActionsSecrets](/opengraph/extensions/github/edges/gh_writeorganizationactionssecrets)                                 | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_WriteOrganizationActionsSettings](/opengraph/extensions/github/edges/gh_writeorganizationactionssettings)                               | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_WriteOrganizationActionsVariables](/opengraph/extensions/github/edges/gh_writeorganizationactionsvariables)                             | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_WriteOrganizationCustomOrgRole](/opengraph/extensions/github/edges/gh_writeorganizationcustomorgrole)                                   | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ✅           |
| [GH\_WriteOrganizationCustomRepoRole](/opengraph/extensions/github/edges/gh_writeorganizationcustomreporole)                                 | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |
| [GH\_WriteOrganizationNetworkConfigurations](/opengraph/extensions/github/edges/gh_writeorganizationnetworkconfigurations)                   | [GH\_Organization](/opengraph/extensions/github/nodes/gh_organization)                                                                     | ❌           |

## Properties

| Property Name     | Data Type | Description                                                                              |
| ----------------- | --------- | ---------------------------------------------------------------------------------------- |
| objectid          | string    | A deterministic ID derived from the organization ID and role name.                       |
| name              | string    | The fully qualified role name (e.g., `OrgName\Owners`).                                  |
| id                | string    | Same as objectid.                                                                        |
| short\_name       | string    | The short display name of the role (e.g., `Owners`, `Members`, or the custom role name). |
| type              | string    | `default` for built-in roles (Owner, Member) or `custom` for custom organization roles.  |
| environment\_name | string    | The name of the environment (GitHub organization).                                       |
| environmentid     | string    | The node\_id of the environment (GitHub organization).                                   |

## Diagram

```mermaid theme={null}
flowchart TD
    GH_OrgRole[fa:fa-user-tie GH_OrgRole]
    GH_User[fa:fa-user GH_User]
    GH_Team[fa:fa-user-group GH_Team]
    GH_Organization[fa:fa-building GH_Organization]
    GH_RepoRole[fa:fa-user-tie GH_RepoRole]
    GH_SecretScanningAlert[fa:fa-key GH_SecretScanningAlert]


    GH_User -->|GH_HasRole| GH_OrgRole
    GH_Team -->|GH_HasRole| GH_OrgRole
    GH_OrgRole -->|GH_HasBaseRole| GH_OrgRole
    GH_OrgRole -.->|GH_ManageOrganizationWebhooks| GH_Organization
    GH_OrgRole -.->|GH_OrgBypassCodeScanningDismissalRequests| GH_Organization
    GH_OrgRole -.->|GH_OrgBypassSecretScanningClosureRequests| GH_Organization
    GH_OrgRole -.->|GH_CreateRepository| GH_Organization
    GH_OrgRole -.->|GH_InviteMember| GH_Organization
    GH_OrgRole -.->|GH_AddCollaborator| GH_Organization
    GH_OrgRole -.->|GH_CreateTeam| GH_Organization
    GH_OrgRole -.->|GH_TransferRepository| GH_Organization
    GH_OrgRole -->|GH_HasBaseRole| GH_RepoRole
    GH_OrgRole -->|GH_CanReadSecretScanningAlert| GH_SecretScanningAlert
```
