> ## 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_Organization

> A GitHub Organization—top-level container for repositories, teams, and settings

<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 a GitHub organization. This is the root node of the graph and serves as the primary container for all other nodes. Organization-level settings such as default repository permissions, Actions configuration, and security features are captured as properties on this node.

## 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\_AddCollaborator](/opengraph/extensions/github/edges/gh_addcollaborator)                                                                 | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_CreateRepository](/opengraph/extensions/github/edges/gh_createrepository)                                                               | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_CreateTeam](/opengraph/extensions/github/edges/gh_createteam)                                                                           | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_InviteMember](/opengraph/extensions/github/edges/gh_invitemember)                                                                       | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_ManageOrganizationWebhooks](/opengraph/extensions/github/edges/gh_manageorganizationwebhooks)                                           | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_OrgBypassCodeScanningDismissalRequests](/opengraph/extensions/github/edges/gh_orgbypasscodescanningdismissalrequests)                   | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_OrgBypassSecretScanningClosureRequests](/opengraph/extensions/github/edges/gh_orgbypasssecretscanningclosurerequests)                   | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_OrgReviewAndManageSecretScanningBypassRequests](/opengraph/extensions/github/edges/gh_orgreviewandmanagesecretscanningbypassrequests)   | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_OrgReviewAndManageSecretScanningClosureRequests](/opengraph/extensions/github/edges/gh_orgreviewandmanagesecretscanningclosurerequests) | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_ReadOrganizationActionsUsageMetrics](/opengraph/extensions/github/edges/gh_readorganizationactionsusagemetrics)                         | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_ReadOrganizationCustomOrgRole](/opengraph/extensions/github/edges/gh_readorganizationcustomorgrole)                                     | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_ReadOrganizationCustomRepoRole](/opengraph/extensions/github/edges/gh_readorganizationcustomreporole)                                   | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_ResolveSecretScanningAlerts](/opengraph/extensions/github/edges/gh_resolvesecretscanningalerts)                                         | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_TransferRepository](/opengraph/extensions/github/edges/gh_transferrepository)                                                           | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_ViewSecretScanningAlerts](/opengraph/extensions/github/edges/gh_viewsecretscanningalerts)                                               | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole), [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole) | ❌           |
| [GH\_WriteOrganizationActionsSecrets](/opengraph/extensions/github/edges/gh_writeorganizationactionssecrets)                                 | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_WriteOrganizationActionsSettings](/opengraph/extensions/github/edges/gh_writeorganizationactionssettings)                               | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_WriteOrganizationActionsVariables](/opengraph/extensions/github/edges/gh_writeorganizationactionsvariables)                             | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_WriteOrganizationCustomOrgRole](/opengraph/extensions/github/edges/gh_writeorganizationcustomorgrole)                                   | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ✅           |
| [GH\_WriteOrganizationCustomRepoRole](/opengraph/extensions/github/edges/gh_writeorganizationcustomreporole)                                 | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |
| [GH\_WriteOrganizationNetworkConfigurations](/opengraph/extensions/github/edges/gh_writeorganizationnetworkconfigurations)                   | [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole)                                                                 | ❌           |

### Outbound Edges

| Edge Type                                                                                    | Destination Node Types                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | Traversable |
| -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| [GH\_Contains](/opengraph/extensions/github/edges/gh_contains)                               | [GH\_User](/opengraph/extensions/github/nodes/gh_user), [GH\_Team](/opengraph/extensions/github/nodes/gh_team), [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository), [GH\_OrgRole](/opengraph/extensions/github/nodes/gh_orgrole), [GH\_RepoRole](/opengraph/extensions/github/nodes/gh_reporole), [GH\_TeamRole](/opengraph/extensions/github/nodes/gh_teamrole), [GH\_OrgSecret](/opengraph/extensions/github/nodes/gh_orgsecret), [GH\_AppInstallation](/opengraph/extensions/github/nodes/gh_appinstallation), [GH\_PersonalAccessToken](/opengraph/extensions/github/nodes/gh_personalaccesstoken), [GH\_PersonalAccessTokenRequest](/opengraph/extensions/github/nodes/gh_personalaccesstokenrequest), [GH\_RepoSecret](/opengraph/extensions/github/nodes/gh_reposecret), [GH\_EnvironmentSecret](/opengraph/extensions/github/nodes/gh_environmentsecret), [GH\_SecretScanningAlert](/opengraph/extensions/github/nodes/gh_secretscanningalert) | ❌           |
| [GH\_HasSamlIdentityProvider](/opengraph/extensions/github/edges/gh_hassamlidentityprovider) | [GH\_SamlIdentityProvider](/opengraph/extensions/github/nodes/gh_samlidentityprovider)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | ❌           |
| [GH\_Owns](/opengraph/extensions/github/edges/gh_owns)                                       | [GH\_Repository](/opengraph/extensions/github/nodes/gh_repository)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | ✅           |

## Properties

| Property Name                                                       | Data Type | Description                                                                                                                                                                                   |
| ------------------------------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| objectid                                                            | string    | The GitHub `node_id` of the organization, used as the unique graph identifier.                                                                                                                |
| id                                                                  | integer   | The numeric GitHub ID of the organization.                                                                                                                                                    |
| name                                                                | string    | The organization's login handle, used as the display name.                                                                                                                                    |
| login                                                               | string    | The organization's login handle (URL slug).                                                                                                                                                   |
| node\_id                                                            | string    | The GitHub GraphQL node ID. Redundant with objectid.                                                                                                                                          |
| description                                                         | string    | The organization's description.                                                                                                                                                               |
| org\_name                                                           | string    | The organization's display name (from the `name` field in the GitHub API).                                                                                                                    |
| company                                                             | string    | The company associated with the organization.                                                                                                                                                 |
| blog                                                                | string    | The organization's blog URL.                                                                                                                                                                  |
| location                                                            | string    | The organization's location.                                                                                                                                                                  |
| email                                                               | string    | The organization's public email address.                                                                                                                                                      |
| is\_verified                                                        | boolean   | Whether the organization's domain is verified by GitHub.                                                                                                                                      |
| has\_organization\_projects                                         | boolean   | Whether the organization has projects enabled.                                                                                                                                                |
| has\_repository\_projects                                           | boolean   | Whether repository projects are enabled.                                                                                                                                                      |
| public\_repos                                                       | integer   | Number of public repositories in the organization.                                                                                                                                            |
| public\_gists                                                       | integer   | Number of public gists.                                                                                                                                                                       |
| followers                                                           | integer   | Number of followers the organization has.                                                                                                                                                     |
| following                                                           | integer   | Number of accounts the organization is following.                                                                                                                                             |
| html\_url                                                           | string    | URL to the organization's GitHub profile page.                                                                                                                                                |
| created\_at                                                         | datetime  | When the organization was created.                                                                                                                                                            |
| updated\_at                                                         | datetime  | When the organization was last updated.                                                                                                                                                       |
| type                                                                | string    | The account type (e.g., `Organization`).                                                                                                                                                      |
| total\_private\_repos                                               | integer   | Total number of private repositories.                                                                                                                                                         |
| owned\_private\_repos                                               | integer   | Number of private repositories owned directly by the organization.                                                                                                                            |
| private\_gists                                                      | integer   | Number of private gists.                                                                                                                                                                      |
| collaborators                                                       | integer   | Number of outside collaborators across the organization.                                                                                                                                      |
| default\_repository\_permission                                     | string    | Default permission level granted to members on all repositories (e.g., `read`, `write`, `admin`, `none`). Used to associate the Members org role with the appropriate `all_repo_*` role node. |
| members\_can\_create\_repositories                                  | boolean   | Whether members can create repositories.                                                                                                                                                      |
| two\_factor\_requirement\_enabled                                   | boolean   | Whether two-factor authentication is required for all members.                                                                                                                                |
| members\_can\_create\_public\_repositories                          | boolean   | Whether members can create public repositories.                                                                                                                                               |
| members\_can\_create\_private\_repositories                         | boolean   | Whether members can create private repositories.                                                                                                                                              |
| members\_can\_create\_internal\_repositories                        | boolean   | Whether members can create internal repositories.                                                                                                                                             |
| members\_can\_create\_pages                                         | boolean   | Whether members can create GitHub Pages sites.                                                                                                                                                |
| members\_can\_fork\_private\_repositories                           | boolean   | Whether members can fork private repositories.                                                                                                                                                |
| web\_commit\_signoff\_required                                      | boolean   | Whether web-based commits require sign-off.                                                                                                                                                   |
| deploy\_keys\_enabled\_for\_repositories                            | string    | Which repositories allow deploy keys.                                                                                                                                                         |
| members\_can\_delete\_repositories                                  | boolean   | Whether members can delete repositories.                                                                                                                                                      |
| members\_can\_change\_repo\_visibility                              | boolean   | Whether members can change repository visibility.                                                                                                                                             |
| members\_can\_invite\_outside\_collaborators                        | boolean   | Whether members can invite outside collaborators.                                                                                                                                             |
| members\_can\_delete\_issues                                        | boolean   | Whether members can delete issues.                                                                                                                                                            |
| display\_commenter\_full\_name\_setting\_enabled                    | boolean   | Whether commenter full names are displayed.                                                                                                                                                   |
| readers\_can\_create\_discussions                                   | boolean   | Whether readers can create discussions.                                                                                                                                                       |
| members\_can\_create\_teams                                         | boolean   | Whether members can create teams.                                                                                                                                                             |
| members\_can\_view\_dependency\_insights                            | boolean   | Whether members can view dependency insights.                                                                                                                                                 |
| default\_repository\_branch                                         | string    | The default branch name for new repositories.                                                                                                                                                 |
| members\_can\_create\_public\_pages                                 | boolean   | Whether members can create public GitHub Pages sites.                                                                                                                                         |
| members\_can\_create\_private\_pages                                | boolean   | Whether members can create private GitHub Pages sites.                                                                                                                                        |
| advanced\_security\_enabled\_for\_new\_repositories                 | boolean   | Whether GitHub Advanced Security is automatically enabled for new repositories.                                                                                                               |
| dependabot\_alerts\_enabled\_for\_new\_repositories                 | boolean   | Whether Dependabot alerts are enabled for new repositories.                                                                                                                                   |
| dependabot\_security\_updates\_enabled\_for\_new\_repositories      | boolean   | Whether Dependabot security updates are enabled for new repositories.                                                                                                                         |
| dependency\_graph\_enabled\_for\_new\_repositories                  | boolean   | Whether the dependency graph is enabled for new repositories.                                                                                                                                 |
| secret\_scanning\_enabled\_for\_new\_repositories                   | boolean   | Whether secret scanning is enabled for new repositories.                                                                                                                                      |
| secret\_scanning\_push\_protection\_enabled\_for\_new\_repositories | boolean   | Whether secret scanning push protection is enabled for new repositories.                                                                                                                      |
| secret\_scanning\_push\_protection\_custom\_link\_enabled           | boolean   | Whether a custom link is enabled for secret scanning push protection.                                                                                                                         |
| secret\_scanning\_push\_protection\_custom\_link                    | boolean   | The custom link for secret scanning push protection.                                                                                                                                          |
| secret\_scanning\_validity\_checks\_enabled                         | boolean   | Whether secret scanning validity checks are enabled.                                                                                                                                          |
| actions\_enabled\_repositories                                      | string    | Which repositories have GitHub Actions enabled: `all`, `selected`, or `none`.                                                                                                                 |
| actions\_allowed\_actions                                           | string    | Which Actions are allowed to run: `all`, `local_only`, or `selected`.                                                                                                                         |
| actions\_sha\_pinning\_required                                     | boolean   | Whether SHA pinning is required for GitHub Actions.                                                                                                                                           |

## Diagram

```mermaid theme={null}
flowchart TD
    GH_Organization[fa:fa-building GH_Organization]
    GH_Repository[fa:fa-box-archive GH_Repository]
    GH_OrgSecret[fa:fa-lock GH_OrgSecret]
    GH_SamlIdentityProvider[fa:fa-id-badge GH_SamlIdentityProvider]
    GH_OrgRole[fa:fa-user-tie GH_OrgRole]


    GH_Organization -.->|GH_Owns| GH_Repository
    GH_PersonalAccessToken[fa:fa-key GH_PersonalAccessToken]
    GH_PersonalAccessTokenRequest[fa:fa-key GH_PersonalAccessTokenRequest]


    GH_Organization -.->|GH_Contains| GH_OrgSecret
    GH_Organization -.->|GH_HasSamlIdentityProvider| GH_SamlIdentityProvider
    GH_Organization -.->|GH_Contains| GH_PersonalAccessToken
    GH_Organization -.->|GH_Contains| GH_PersonalAccessTokenRequest
    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
```
