Skip to content

Latest commit

 

History

History
127 lines (121 loc) · 8.48 KB

File metadata and controls

127 lines (121 loc) · 8.48 KB

GH_Organization

General Information

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.

Properties

Property Type Description
name string The node name used for matching and display.
displayname string The human-readable display name.
environmentid string The identifier of the GitHub environment where this node was collected.
last_seen datetime The timestamp when this node was last observed during collection.
node_id string The stable identifier used as the OpenGraph node ID; this is the native GitHub node ID where available.
database_id integer The organization's numeric GitHub database ID used in immutable OIDC subjects.
login string The organization's login handle (URL slug).
org_name string The organization's display name (from the name field in the GitHub API).
description string The organization's description.
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 string When the organization was created.
updated_at string 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.
environment_name string The name of the environment (GitHub 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 boolean 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 string 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.
self_hosted_runners_enabled_repositories string Which repositories may use self-hosted runners: all, selected, or none.
default_workflow_permissions string The default workflow permissions property.
can_approve_pull_request_reviews boolean The can approve pull request reviews property.
query_organization_roles string Query for organization roles.
query_users string Query for users.
query_teams string Query for teams.
query_repositories string Query for repositories.
query_personal_access_tokens string Query for personal access tokens.
query_secret_scanning_alerts string Query for secret scanning alerts.
query_identity_provider string Query for identity provider.
query_app_installations string Query for app installations.
query_organization_secrets string Query for organization secrets.
collected boolean The collected property.

Diagram

graph LR
    n0["GH_Enterprise"]
    n1["GH_Organization"]
    n2["GH_EnterpriseTeam"]
    n3["GH_OrgRole"]
    n4["GH_AppInstallation"]
    n5["GH_OrgRunnerGroup"]
    n6["GH_OrgSecret"]
    n7["GH_OrgVariable"]
    n8["GH_PersonalAccessToken"]
    n9["GH_PersonalAccessTokenRequest"]
    n10["GH_Repository"]
    n11["GH_SamlIdentityProvider"]
    n12["GH_SecretScanningAlert"]
    n0 -.->|GH_Contains| n1
    n2 -.->|GH_AssignedTo| n1
    n3 -.->|GH_AddCollaborator| n1
    n3 -.->|GH_CanCreateInternalRepositories| n1
    n3 -.->|GH_CanCreatePrivateRepositories| n1
    n3 -.->|GH_CanCreatePublicRepositories| n1
    n3 -.->|GH_CanCreateRepositories| n1
    n3 -.->|GH_CreateTeam| n1
    n3 -.->|GH_InviteMember| n1
    n3 -.->|GH_ResolveSecretScanningAlerts| n1
    n3 -.->|GH_TransferRepository| n1
    n3 -.->|GH_ViewSecretScanningAlerts| n1
    n1 -.->|GH_Contains| n4
    n1 -.->|GH_Contains| n3
    n1 -.->|GH_Contains| n5
    n1 -.->|GH_Contains| n6
    n1 -.->|GH_Contains| n7
    n1 -.->|GH_Contains| n8
    n1 -.->|GH_Contains| n9
    n1 -->|GH_Owns| n10
    n1 -.->|GH_HasSamlIdentityProvider| n11
    n1 -.->|GH_Contains| n12
    n8 -.->|GH_CanAccess| n1
Loading