GitHub
Visualize GitHub users, teams, repositories, pull requests, issues, code scanning alerts and more. Map GitHub users to employees and training, and monitor software development activities, installations of GitHub apps, and outside collaborators.
- Installation
- Authorization
- Data Model
- Types
- Release Notes
Installation
This integration ingests data from a single GitHub organization. You must have an organization in your GitHub account before configuring the integration; personal (user) accounts are not supported. Learn more about GitHub organizations.
GitHub Cloud & GitHub Enterprise Server Versions 3.3.3 and above have been verified as compatible with this integration. Other versions of GitHub Enterprise may work, but are not fully supported.
The integration supports four authentication methods, selected when you create the instance:
- GitHub Cloud (App) - Recommended — installs the JupiterOne-managed GitHub App into your organization. For long-lived organization integrations, GitHub recommends a GitHub App over a personal access token. Learn more about GitHub Apps and tokens.
- GitHub Cloud (PAT) — a personal access token (classic) issued by an Enterprise Owner. Choose this method if your enterprise has SAML Single Sign-On (SSO) configured at the enterprise level.
- GitHub Cloud (Fine-grained PAT) — a fine-grained personal access token scoped to a single organization. Enterprise-level data (IP allow list and enterprise SAML identities) is not available with this method.
- GitHub Enterprise Server — a GitHub App you create on your self-hosted GitHub Enterprise Server.
Prerequisites
- A GitHub organization to ingest. The integration rejects installations against non-organization accounts.
- For the GitHub Cloud (App) method, permission to install a GitHub App into your organization. The managed app requests read-only permissions to support ingestion of entities and relationships.
- For the GitHub Cloud (PAT) method, a personal access token (classic) issued by an Enterprise Owner, and an organization that uses enterprise-level SAML SSO. An organization policy can block classic PAT access and cause the integration to fail with a
403. - For the GitHub Cloud (Fine-grained PAT) method, a fine-grained token whose resource owner is the organization being ingested, with read-only permissions to the organization's resources.
- For the GitHub Enterprise Server method, a GitHub App you create on your server, from which you supply the Hostname, App ID, App Installation ID, and Private Key.
Create the credential
GitHub Cloud (App)
After you create the instance in JupiterOne, you are redirected to GitHub to install the JupiterOne GitHub App into your organization. The App's App ID, Private Key, and App Installation ID are supplied by the managed environment, so no credential fields appear for this method.
GitHub Cloud (PAT)
Create a personal access token (classic):
- In GitHub, click your profile picture, then navigate to Settings > Developer settings > Personal access tokens > Tokens (classic).
- Click Generate new token (classic).
- Set a Note, an Expiration, and select the scopes the integration requires.
- Click Generate token and copy the value.
- If your organization uses SAML SSO, authorize the token for SSO.
The token must be issued by an Enterprise Owner. You also need your Enterprise Slug — the short identifier in the URL https://github.com/enterprises/<your-slug> — and your Organization Name, found in the URL https://github.com/<your-organization>.
GitHub Cloud (Fine-grained PAT)
Create a fine-grained personal access token:
- In GitHub, click your profile picture, then navigate to Settings > Developer settings > Personal access tokens > Fine-grained tokens.
- Click Generate new token.
- Set a Token name and an Expiration.
- Set Resource owner to the organization being ingested.
- Select the Repository access and set Permissions to read-only for the organization's resources.
- Click Generate token and copy the value.
You also need your Organization Name, found in the URL https://github.com/<your-organization>.
GitHub Enterprise Server
Create a GitHub App on your GitHub Enterprise Server, install it into your organization, and generate a private key. You supply the Hostname, App ID, App Installation ID, and Private Key when you create the instance.
Configuration in JupiterOne
To install the GitHub integration in JupiterOne, navigate to the Integrations tab in JupiterOne and select GitHub. Click New Instance to begin configuring the integration.
This integration limits the ingestion of pull requests and issues to the 500 most recently created or modified since the last execution.
Creating an instance requires the following:
- The Account Name used to identify the GitHub account in JupiterOne. Ingested entities have this value stored in
tag.AccountNamewhen theAccountNametoggle is enabled. - A Description to assist in identifying the integration instance, if desired.
- A Polling Interval that fits your monitoring needs. You may leave this as
DISABLEDand manually execute the integration. - The authentication method, along with the credentials it requires:
- GitHub Cloud (App): no credential fields; you install the managed app on GitHub after creating the instance.
- GitHub Cloud (PAT): the Enterprise Slug, the Organization Name, and the Personal Access Token (classic) issued by an Enterprise Owner.
- GitHub Cloud (Fine-grained PAT): the Organization Name and the Fine-grained Personal Access Token whose resource owner is the organization being ingested.
- GitHub Enterprise Server: the Hostname, App ID, App Installation ID, and Private Key.
For the GitHub Cloud (App) method, after you create the instance you are re-directed to GitHub to install the JupiterOne GitHub App. The app requests read-only permissions to support ingestion of entities and relationships.
View GitHub permissions
Note
The Secrets API does not reveal the values of Secrets, only their names and creation dates.
Repository Permissions
- Actions: Read-only
- Administration: Read-only
- Contents: Read-only (Only CODEOWNERS file is read when that step is enabled)
- Dependabot alerts: Read-only
- Discussions: Read-only
- Environments: Read-only
- Issues: Read-only (enables both Issues and private-repo PRs)
- Metadata: Read-only
- Pages: Read-only
- Pull requests: Read-only
- Secrets: Read-only
- Secret scanning alerts: Read-only
- Webhooks: Read-only
Organization Permissions
- Administration: Read-only
- Members: Read-only
- Secrets: Read-only
- Events: Read-only
- Webhooks: Read-only
User Permissions
- None
Refer to GitHub's documentation on setting GitHub app permissions and permissions required for GitHub Apps.
Data Volume Configuration
Control how much data is ingested from GitHub to manage storage and processing.
Ingestion Windows
| Field | Description | Default | Options |
|---|---|---|---|
| Pull Requests Ingestion Window | Ingestion window for updated pull requests, in days ago. | 90 | 90, 180, 275, 365 |
| Issues Ingestion Window | Ingestion window for updated issues, in days ago. | 90 | 90, 180, 275, 365 |
| User Commit Activity Window | Ingestion window for user commit activity on the default branch, in days ago. Only applies when the GitHub User Commit Activity ingestion source is enabled. | 90 | 90, 180, 275, 365 |
How it affects data volume: Longer windows increase the number of pull requests and issues ingested. The integration limits ingestion to the 500 most recently created or modified items since the last execution.
Data Filtering Options
| Field | Description | Default | Options |
|---|---|---|---|
| States Filter | Limit ingestion to Dependabot alerts with the specified states. Not supported on GitHub Enterprise Server versions below 3.5. | Open | Open, Dismissed, Fixed |
| Severities Filter | Limit ingestion to Dependabot alerts with the specified severities. | Critical, High, Moderate, Low | Critical, High, Moderate, Low |
| Ingest Generic Secret Alerts | When enabled, ingest generic secret alerts, including default secret patterns and generic patterns. | Disabled | — |
How it affects data volume:
- Dependabot state filtering reduces alerts by excluding dismissed and fixed alerts. By default, only open alerts are ingested.
- Dependabot severity filtering limits alerts to selected severities. By default, all severity levels are included.
- Enabling Ingest Generic Secret Alerts increases the volume of secret scanning alerts by including generic patterns.
Hierarchy of data retrieval
This integration uses many steps to retrieve data. Some of the steps depend on others. If there is a crash or error, it might be helpful to understand the hierarchy of step dependency:
- The root step is
fetch-account. All other steps depend on it. - There are four steps that depend only on
fetch-accountthat could be considered primary steps. These are:fetch-appsfetch-reposfetch-usersfetch-teams
- Other steps logically require multiple primary steps to complete. Examples include:
fetch-collaboratorsfetch-team-membersfetch-team-repos
- Finally, some sophisticated steps require both primary steps and secondary steps before they can execute. For example,
fetch-prsneeds bothfetch-reposandfetch-collaboratorsin order to properly label reviewers and approvers.
Next steps
Now that your integration instance has been configured, it will begin running on the polling interval you provided, populating data within JupiterOne. Continue on to our Instance management guide to learn more about working with and editing integration instances.
Permissions
IAM permissions that must be granted to the integration principal for data ingestion.
Show Permissions (24)
Actions: Read-onlyAdministration: Read-onlyCode scanning alerts: Read-onlyContents: Read-onlyCustom organization roles: Read-onlyDependabot alerts: Read-onlyIssues: Read-onlyMembers: Read-onlyMetadata: Read-onlyOrganization administration: Read-onlyOrganization secrets: Read-onlyOrganization webhooks: Read-onlyPackages: Read-onlyPull requests: Read-onlySecret scanning alerts: Read-onlySecrets: Read-onlyWebhooks: Read-onlyadmin:orgadmin:org_hookread:orgread:packagesread:repo_hookreposecurity_events
Endpoints
API endpoints that the integration makes requests to.
Show Endpoints (21)
{githubApiBaseUrl}/graphql{githubApiBaseUrl}/orgs/{org}/actions/secrets{githubApiBaseUrl}/orgs/{org}/actions/secrets/{secret_name}/repositories{githubApiBaseUrl}/orgs/{org}/code-scanning/alerts{githubApiBaseUrl}/orgs/{org}/credential-authorizations{githubApiBaseUrl}/orgs/{org}/hooks{githubApiBaseUrl}/orgs/{org}/installations{githubApiBaseUrl}/orgs/{org}/organization-roles{githubApiBaseUrl}/orgs/{org}/organization-roles/{role_id}/teams{githubApiBaseUrl}/orgs/{org}/organization-roles/{role_id}/users{githubApiBaseUrl}/orgs/{org}/packages{githubApiBaseUrl}/orgs/{org}/packages/{package_type}/{package_name}/versions{githubApiBaseUrl}/orgs/{org}/secret-scanning/alerts{githubApiBaseUrl}/repos/{owner}/{repo}/actions/secrets{githubApiBaseUrl}/repos/{owner}/{repo}/code-scanning/alerts{githubApiBaseUrl}/repos/{owner}/{repo}/collaborators{githubApiBaseUrl}/repos/{owner}/{repo}/contents/{path}{githubApiBaseUrl}/repos/{owner}/{repo}/environments{githubApiBaseUrl}/repos/{owner}/{repo}/environments/{environment_name}/secrets{githubApiBaseUrl}/repos/{owner}/{repo}/hooks{githubApiBaseUrl}/repos/{owner}/{repo}/secret-scanning/alerts
Licenses
Product licenses or SKUs required in the target environment.
Show Licenses (2)
GitHub Advanced SecurityGitHub Enterprise Cloud with SAML single sign-on enabled
Documentation Links
Links to provider documentation relevant to setup and configuration.
Show Documentation Links (15)
- https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/orgs?apiVersion=2022-11-28#list-saml-sso-authorizations-for-an-organization
- https://docs.github.com/en/graphql/reference/dependabot
- https://docs.github.com/en/graphql/reference/security-advisories
- https://docs.github.com/en/rest/actions/secrets?apiVersion=2022-11-28
- https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens?apiVersion=2022-11-28
- https://docs.github.com/en/rest/code-scanning/code-scanning?apiVersion=2022-11-28
- https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28
- https://docs.github.com/en/rest/deployments/environments?apiVersion=2022-11-28
- https://docs.github.com/en/rest/orgs/organization-roles?apiVersion=2022-11-28
- https://docs.github.com/en/rest/orgs/orgs?apiVersion=2022-11-28
- https://docs.github.com/en/rest/orgs/webhooks?apiVersion=2022-11-28
- https://docs.github.com/en/rest/packages/packages?apiVersion=2022-11-28
- https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28
- https://docs.github.com/en/rest/repos/webhooks?apiVersion=2022-11-28
- https://docs.github.com/en/rest/secret-scanning/secret-scanning?apiVersion=2022-11-28
Per-Data-Source Breakdown
Authorization required by the steps that make up each data source. Steps that depend on a data source are listed in the Per-Step Breakdown; the complete lists are in the sections above.
Show all data sources (2)
| Data Source | Permissions | Endpoints | Licenses |
|---|---|---|---|
| GitHub Credential Authorizations | read:org | {githubApiBaseUrl}/orgs/{org}/credential-authorizations | GitHub Enterprise Cloud with SAML single sign-on enabled |
| GitHub Dependabot Vulnerability Alerts | Dependabot alerts: Read-only | {githubApiBaseUrl}/graphql | - |
Per-Step Breakdown
Detailed authorization requirements for each ingestion step.
Show all steps (8)
| Step | Permissions | Endpoints |
|---|---|---|
| Fetch Branch Protection Rules | Organization administration: Read-only, admin:org, read:org | {githubApiBaseUrl}/graphql |
| Fetch Environment Secrets | Secrets: Read-only, repo | {githubApiBaseUrl}/repos/{owner}/{repo}/environments/{environment_name}/secrets |
| Fetch Issues | Issues: Read-only, repo | {githubApiBaseUrl}/graphql |
| Fetch Organization Role Teams | Members: Read-only, admin:org | {githubApiBaseUrl}/orgs/{org}/organization-roles/{role_id}/teams |
| Fetch Organization Role Users | Members: Read-only, admin:org | {githubApiBaseUrl}/orgs/{org}/organization-roles/{role_id}/users |
| Fetch Pull Requests | Pull requests: Read-only, Issues: Read-only, repo | {githubApiBaseUrl}/graphql |
| Fetch Repo Secrets | Secrets: Read-only, repo | {githubApiBaseUrl}/repos/{owner}/{repo}/actions/secrets |
| Fetch Ruleset Rules | Administration: Read-only, repo, read:org | {githubApiBaseUrl}/graphql |
Entities
The following entities are created:
| Resources | Entity _type | Entity _class |
|---|---|---|
| Account | github_account | Account |
| Github App | github_app | Application, NHI |
| Github Branch Protection Rule | github_branch_protection_rule | Rule |
| GitHub Code Scanning Alerts | github_code_scanning_finding | Finding |
| GitHub Container Image | github_container_image | Image |
| GitHub Credential Authorization | github_credential_authorization | AccessKey, NHI |
| GitHub Env Secret | github_env_secret | Secret, NHI |
| Github Environment | github_environment | Configuration |
| GitHub IP Range | github_ip_range | IpRange |
| Github Issue | github_issue | Issue |
| Github Org Secret | github_org_secret | Secret, NHI |
| GitHub Organization Webhook | github_org_webhook | ApplicationEndpoint, NHI |
| GitHub Package | github_package | CodeModule |
| Github Pull Request | github_pullrequest | PR |
| Github Repo | github_repo | CodeRepo |
| Github Repo Secret | github_repo_secret | Secret, NHI |
| GitHub Repository Webhook | github_repo_webhook | ApplicationEndpoint, NHI |
| GitHub Secret Scanning Alert | github_secret_scanning_finding | Finding |
| Github Team | github_team | UserGroup |
| Github User | github_user | User |
| GitHub Vulnerability Alert | github_finding | Finding, Vulnerability |
| GitHub Vulnerability Alert | github_finding | Finding |
| GitHub Vulnerability Alert | github_finding | Finding, Weakness |
| Organization Role | github_org_role | AccessRole |
| Ruleset | github_ruleset | Ruleset |
| Ruleset Rule | github_ruleset_rule | Rule |
Relationships
The following relationships are created:
Source Entity _type | Relationship _class | Target Entity _type |
|---|---|---|
github_account | HAS | github_user |
github_account | OWNS | github_repo |
github_account | HAS | github_team |
github_account | INSTALLED | github_app |
github_account | HAS | github_org_secret |
github_account | MANAGES | github_ruleset |
github_account | MANAGES | github_org_role |
github_account | ALLOWS | github_ip_range |
github_account | HAS | github_package |
github_account | HAS | github_container_image |
github_account | HAS | github_org_webhook |
github_account | HAS | github_credential_authorization |
github_app | OVERRIDES | github_branch_protection_rule |
github_env_secret | OVERRIDES | github_org_secret |
github_env_secret | OVERRIDES | github_repo_secret |
github_environment | HAS | github_env_secret |
github_finding | HAS | github_pullrequest |
github_pullrequest | CONTAINS | github_pullrequest |
github_repo | HAS | github_code_scanning_finding |
github_repo | ALLOWS | github_user |
github_repo | HAS | github_pullrequest |
github_repo | HAS | github_issue |
github_repo | HAS | github_environment |
github_repo | USES | github_org_secret |
github_repo | HAS | github_repo_secret |
github_repo | USES | github_repo_secret |
github_repo | USES | github_env_secret |
github_repo | ALLOWS | github_team |
github_repo | HAS | github_finding |
github_repo | HAS | github_branch_protection_rule |
github_repo | HAS | github_secret_scanning_finding |
github_repo | HAS | github_package |
github_repo | HAS | github_container_image |
github_repo | HAS | github_repo_webhook |
github_repo_secret | OVERRIDES | github_org_secret |
github_ruleset | ENFORCES | github_repo |
github_ruleset | HAS | github_ruleset_rule |
github_team | HAS | github_user |
github_team | OVERRIDES | github_branch_protection_rule |
github_team | ASSIGNED | github_org_role |
github_team | MANAGES | github_repo |
github_user | MANAGES | github_account |
github_user | APPROVED | github_pullrequest |
github_user | OPENED | github_pullrequest |
github_user | REVIEWED | github_pullrequest |
github_user | UPDATED | github_pullrequest |
github_user | CREATED | github_issue |
github_user | ASSIGNED | github_issue |
github_user | MANAGES | github_team |
github_user | OVERRIDES | github_branch_protection_rule |
github_user | ASSIGNED | github_org_role |
github_user | MANAGES | github_repo |
github_user | UPDATED | github_repo |
Mapped Relationships
The following mapped relationships are created:
Source Entity _type | Relationship _class | Target Entity _type | Direction |
|---|---|---|---|
github_finding | IS | cve | FORWARD |
github_finding | EXPLOITS | cwe | FORWARD |
github_issue | CREATED | github_user | REVERSE |
github_issue | ASSIGNED | github_user | REVERSE |
github_pullrequest | OPENED | github_user | REVERSE |
github_pullrequest | REVIEWED | github_user | REVERSE |
github_pullrequest | APPROVED | github_user | REVERSE |
Github Account
github_account inherits from Account
| Property | Type | Description | Specifications |
|---|---|---|---|
accountId * | string | ||
accountType * | string | ||
databaseId * | number | ||
email * | string | ||
location * | string | ||
login * | string | ||
node * | string | ||
verified * | boolean | ||
websiteUrl * | string |
Github App
github_app inherits from Application, NHI
| Property | Type | Description | Specifications |
|---|---|---|---|
appId * | number | ||
appSlug * | string | ||
events * | array of strings | ||
hasMultipleSingleFiles * | boolean | ||
installationId * | number | ||
ownerLogin | string | GitHub login of the user or organization that owns (publishes) the GitHub App | |
ownerType | string | Owner type returned by the API: User or Organization | |
publisherUrl | string | URL of the publisher's GitHub profile (e.g. https://github.com/dependabot) | |
repositorySelection * | string | Any of: allselected | |
singleFileName * | string | ||
singleFilePaths * | array of strings | ||
suspendedBy | string | GitHub login of the user who suspended the installation, if suspended | |
suspendedOn | number | ||
targetId * | number | ||
targetType * | string |
Github Branch Protection Rule
github_branch_protection_rule inherits from Rule
| Property | Type | Description | Specifications |
|---|---|---|---|
allowDeletions * | boolean | ||
allowForcePushes * | boolean | ||
blockCreations * | boolean | ||
enforceAdmins * | boolean | ||
requireCodeOwnerReviews * | boolean | ||
requiredApprovingReviewCount * | number | null | ||
requiredConversationResolution * | boolean | ||
requiredLinearHistory * | boolean | ||
requiredSignatures * | boolean | ||
requiredStatusChecks * | array of strings |
Github Code Scanning Finding
github_code_scanning_finding inherits from Finding
| Property | Type | Description | Specifications |
|---|---|---|---|
alertSeverity | string | ||
cwe | array | null | ||
dismissedComment | string | null | ||
dismissedOn | number | ||
dismissedReason * | string | null | Any of: false positivewon't fixused in testsundefined | |
fixedOn | number | ||
number * | number | ||
path | string | ||
ruleTags | array | null | ||
state * | string | ||
toolName | string | ||
toolVersion | string | null | ||
weblink * | string |
Github Container Image
github_container_image inherits from Image
| Property | Type | Description | Specifications |
|---|---|---|---|
digest * | string | null | ||
fullName * | string | null | ||
id * | string | ||
packageId * | number | ||
packageName * | string | ||
packageType * | string | const: container | |
repositoryId * | number | null | ||
repositoryName * | string | null | ||
repositoryNodeId * | string | null | ||
tags * | array | null | ||
versionId * | number | ||
visibility * | string | Any of: publicprivateinternal |
Github Credential Authorization
github_credential_authorization inherits from AccessKey, NHI
| Property | Type | Description | Specifications |
|---|---|---|---|
accessedOn * | number | null | Timestamp (epoch milliseconds) the credential was last used; null if it has never been used. | |
authorizedCredentialId * | number | null | Identifier of the specific token or key that was authorized; null when not applicable. | |
authorizedCredentialNote * | string | null | User-supplied note describing the authorized credential; null when none was set. | |
authorizedCredentialTitle * | string | null | User-supplied title of the authorized credential; null when none was set. | |
credentialId * | number | GitHub-assigned identifier for the SSO credential authorization. | |
credentialType * | string | Kind of credential authorized for SSO, as labelled by GitHub: 'personal access token', 'SSH key', 'OAuth app token', or 'GitHub app token'. | |
login * | string | GitHub username of the account that owns the authorized credential. | |
scopes * | array | null | Scopes granted to the authorized credential; returned for personal access tokens (classic) only, null for other credential types. | |
tokenLastEight * | string | null | Last eight characters of the authorized token, used to identify it; null when unavailable. |
Github Env Secret
github_env_secret inherits from Secret, NHI
| Property | Type | Description | Specifications |
|---|---|---|---|
visibility * | string | const: selected |
Github Environment
github_environment inherits from Configuration
| Property | Type | Description | Specifications |
|---|---|---|---|
htmlUrl * | string | ||
nodeId * | string | ||
parentRepoDatabaseId * | string | ||
parentRepoKey * | string | ||
parentRepoName * | string | ||
protectionRulesExist * | boolean | ||
url * | string |
Github Finding
github_finding inherits from Finding, Vulnerability
| Property | Type | Description | Specifications |
|---|---|---|---|
alertTags | array | null | Labels GitHub shows under "Tags" on the Dependabot alert: "Runtime dependency" or "Development dependency", "Patch available", "Direct" or "Transitive". Null when none apply | |
databaseId | number | ||
dependencyRelationship | string | null | Whether the vulnerable dependency is a direct or transitive dependency of the repository. GitHub Cloud only; null on GitHub Enterprise Server | Any of: DIRECTTRANSITIVEINCONCLUSIVEUNKNOWNundefined |
dependencyScope | string | Any of: RUNTIMEDEVELOPMENT | |
dismissedOn | number | ||
dismisserLogin | string | ||
dismissReason | string | null | ||
epssPercentile | number | null | EPSS percentile (0-1) of the advisory relative to all scored CVEs, as returned by GitHub. GitHub Cloud and GHE Server 3.16+ | |
epssScore | number | null | EPSS score: probability (0-1) that the advisory is exploited in the next 30 days (GitHub field securityAdvisory.epss.percentage; GitHub shows it as a percent). GitHub Cloud and GHE Server 3.16+ | |
firstPatchedVersion | string | null | First version of the vulnerable package that contains a fix, if any | |
fixedOn | number | ||
ghsaId | string | ||
id * | string | ||
isPatchAvailable | boolean | null | True when GitHub reports a patched version of the vulnerable package (the "Patch available" tag in GitHub) | |
number | number | ||
origin | string | ||
securityAdvisoryPublishedOn | number | ||
securityAdvisoryUpdatedOn | number | ||
securityAdvisoryWithdrawnOn | number | ||
vulnerableManifestFilename * | string | ||
vulnerableManifestPath * | string | ||
vulnerablePackageEcosystem | string | ||
vulnerablePackageName | string | ||
vulnerableRequirements * | string | ||
vulnerableVersionRange | string | ||
weblink * | string |
Github Finding
github_finding inherits from Finding
| Property | Type | Description | Specifications |
|---|---|---|---|
alertTags | array | null | Labels GitHub shows under "Tags" on the Dependabot alert: "Runtime dependency" or "Development dependency", "Patch available", "Direct" or "Transitive". Null when none apply | |
databaseId | number | ||
dependencyRelationship | string | null | Whether the vulnerable dependency is a direct or transitive dependency of the repository. GitHub Cloud only; null on GitHub Enterprise Server | Any of: DIRECTTRANSITIVEINCONCLUSIVEUNKNOWNundefined |
dependencyScope | string | Any of: RUNTIMEDEVELOPMENT | |
dismissedOn | number | ||
dismisserLogin | string | ||
dismissReason | string | null | ||
epssPercentile | number | null | EPSS percentile (0-1) of the advisory relative to all scored CVEs, as returned by GitHub. GitHub Cloud and GHE Server 3.16+ | |
epssScore | number | null | EPSS score: probability (0-1) that the advisory is exploited in the next 30 days (GitHub field securityAdvisory.epss.percentage; GitHub shows it as a percent). GitHub Cloud and GHE Server 3.16+ | |
firstPatchedVersion | string | null | First version of the vulnerable package that contains a fix, if any | |
fixedOn | number | ||
ghsaId | string | ||
id * | string | ||
isPatchAvailable | boolean | null | True when GitHub reports a patched version of the vulnerable package (the "Patch available" tag in GitHub) | |
number | number | ||
origin | string | ||
securityAdvisoryPublishedOn | number | ||
securityAdvisoryUpdatedOn | number | ||
securityAdvisoryWithdrawnOn | number | ||
vulnerableManifestFilename * | string | ||
vulnerableManifestPath * | string | ||
vulnerablePackageEcosystem | string | ||
vulnerablePackageName | string | ||
vulnerableRequirements * | string | ||
vulnerableVersionRange | string | ||
weblink * | string |
Github Finding
github_finding inherits from Finding, Weakness
| Property | Type | Description | Specifications |
|---|---|---|---|
alertTags | array | null | Labels GitHub shows under "Tags" on the Dependabot alert: "Runtime dependency" or "Development dependency", "Patch available", "Direct" or "Transitive". Null when none apply | |
databaseId | number | ||
dependencyRelationship | string | null | Whether the vulnerable dependency is a direct or transitive dependency of the repository. GitHub Cloud only; null on GitHub Enterprise Server | Any of: DIRECTTRANSITIVEINCONCLUSIVEUNKNOWNundefined |
dependencyScope | string | Any of: RUNTIMEDEVELOPMENT | |
dismissedOn | number | ||
dismisserLogin | string | ||
dismissReason | string | null | ||
epssPercentile | number | null | EPSS percentile (0-1) of the advisory relative to all scored CVEs, as returned by GitHub. GitHub Cloud and GHE Server 3.16+ | |
epssScore | number | null | EPSS score: probability (0-1) that the advisory is exploited in the next 30 days (GitHub field securityAdvisory.epss.percentage; GitHub shows it as a percent). GitHub Cloud and GHE Server 3.16+ | |
firstPatchedVersion | string | null | First version of the vulnerable package that contains a fix, if any | |
fixedOn | number | ||
ghsaId | string | ||
id * | string | ||
isPatchAvailable | boolean | null | True when GitHub reports a patched version of the vulnerable package (the "Patch available" tag in GitHub) | |
number | number | ||
origin | string | ||
securityAdvisoryPublishedOn | number | ||
securityAdvisoryUpdatedOn | number | ||
securityAdvisoryWithdrawnOn | number | ||
vulnerableManifestFilename * | string | ||
vulnerableManifestPath * | string | ||
vulnerablePackageEcosystem | string | ||
vulnerablePackageName | string | ||
vulnerableRequirements * | string | ||
vulnerableVersionRange | string | ||
weblink * | string |
Github Ip Range
github_ip_range inherits from IpRange
| Property | Type | Description | Specifications |
|---|---|---|---|
id * | string | ||
name * | string |
Github Issue
github_issue inherits from Issue
| Property | Type | Description | Specifications |
|---|---|---|---|
activeLockReason | string | null | Any of: OFF_TOPICTOO_HEATEDRESOLVEDSPAMundefined | |
authorAssociation * | string | ||
body | string | ||
closed * | boolean | ||
closedOn | number | ||
createdViaEmail * | boolean | ||
databaseId * | number | ||
labels * | array of strings | ||
lastEditedOn | number | ||
locked * | boolean | ||
number * | number | ||
pinned * | boolean | ||
publishedOn | number | ||
resourcePath * | string | ||
state * | string | ||
title * | string | ||
url * | string |
Github Org Role
github_org_role inherits from AccessRole
| Property | Type | Description | Specifications |
|---|---|---|---|
baseRole | string | null | ||
permissions * | array of strings | ||
source | string | null | Any of: OrganizationEnterprisePredefinedundefined |
Github Org Secret
github_org_secret inherits from Secret, NHI
| Property | Type | Description | Specifications |
|---|---|---|---|
selectedRepositoriesLink | string | ||
visibility | string |
Github Org Webhook
github_org_webhook inherits from ApplicationEndpoint, NHI
| Property | Type | Description | Specifications |
|---|---|---|---|
active * | boolean | Whether the webhook sends deliveries. | |
contentType | string | Media type of the delivery payload (json or form). | |
events * | array of strings | Events that trigger the webhook. | |
hasSecret * | boolean | Whether a signing secret is configured. The secret itself is never ingested. | |
insecureSsl * | boolean | Whether SSL certificate verification is disabled for deliveries. | |
url | string | Scheme and host of the delivery URL. Path, query and credentials are dropped because they can hold tokens. | |
webhookId * | number | GitHub webhook id. |
Github Package
github_package inherits from CodeModule
| Property | Type | Description | Specifications |
|---|---|---|---|
packageId * | number | ||
packageType * | string | Examples: npm, maven, rubygems, nuget. | |
repositoryId * | number | null | ||
repositoryName * | string | null | ||
repositoryNodeId * | string | null | ||
versionCount * | number | null | ||
visibility * | string | Any of: publicprivateinternal |
Github Pullrequest
github_pullrequest inherits from PR
| Property | Type | Description | Specifications |
|---|---|---|---|
accountLogin * | string | ||
allCommitsApproved | boolean | Indicates whether all commits in the pull request are approved. Not available for private repositories. | |
approvalLastAt | number | ||
approvalsCount * | number | ||
approverLogins * | array of strings | ||
approvers | array of strings | ||
author * | string | ||
authorLogin * | string | ||
closedOn | number | ||
commitMessages | array of strings | Commit messages corresponding to each commit in the pull request. Not available for private repositories. | |
commits * | array of strings | List of commit hashes included in the pull request. Not available for private repositories. | |
commitsApproved | array of strings | List of commit hashes that have been approved. Not available for private repositories. | |
commitsByUnknownAuthor | array of strings | List of commit hashes authored by users not found in the graph. Not available for private repositories. | |
commitsCount * | number | Total number of commits in the pull request. Not available for private repositories. | |
commitsNotApproved * | array of strings | List of commit hashes that have not been approved. Not available for private repositories. | |
databaseId | number | ||
declined * | boolean | ||
filesChangedCount * | number | ||
id * | string | ||
labels * | array of strings | ||
mergeCommitHash | string | ||
merged * | boolean | ||
mergedBy | string | ||
mergedByLogin | string | ||
mergedOn | number | ||
node * | string | ||
number * | number | ||
pullRequestId * | string | ||
reviewDecision | string | null | Any of: APPROVEDCHANGES_REQUESTEDREVIEW_REQUIREDundefined | |
reviewerLogins * | array of strings | ||
reviewers * | array of strings | ||
sourceRefOid * | string | ||
targetRefOid * | string |
Github Repo
github_repo inherits from CodeRepo
| Property | Type | Description | Specifications |
|---|---|---|---|
archived | boolean | ||
autoMergeAllowed | boolean | ||
databaseId | number | ||
deleteBranchOnMerge | boolean | ||
disabled | boolean | ||
empty | boolean | ||
fork | boolean | ||
forkCount | number | ||
forkingAllowed | boolean | ||
fullName * | string | ||
homepageUrl * | string | ||
inOrganization | boolean | ||
locked | boolean | ||
lockReason * | string | ||
mergeCommitAllowed | boolean | ||
mirror | boolean | ||
node * | string | ||
pushedOn | number | ||
rebaseMergeAllowed | boolean | ||
securityPolicyEnabled | boolean | ||
template | boolean | ||
userConfigurationRepository | boolean | ||
visibility * | string | Any of: INTERNALPRIVATEPUBLIC |
Github Repo Secret
github_repo_secret inherits from Secret, NHI
| Property | Type | Description | Specifications |
|---|---|---|---|
visibility * | string | const: selected |
Github Repo Webhook
github_repo_webhook inherits from ApplicationEndpoint, NHI
| Property | Type | Description | Specifications |
|---|---|---|---|
active * | boolean | Whether the webhook sends deliveries. | |
contentType | string | Media type of the delivery payload (json or form). | |
events * | array of strings | Events that trigger the webhook. | |
hasSecret * | boolean | Whether a signing secret is configured. The secret itself is never ingested. | |
insecureSsl * | boolean | Whether SSL certificate verification is disabled for deliveries. | |
url | string | Scheme and host of the delivery URL. Path, query and credentials are dropped because they can hold tokens. | |
webhookId * | number | GitHub webhook id. |
Github Ruleset
github_ruleset inherits from Ruleset
| Property | Type | Description | Specifications |
|---|---|---|---|
enforcement * | string | Any of: DISABLEDACTIVEEVALUATE | |
source * | string | Any of: EnterpriseRepositoryOrganization | |
target | string | Any of: BRANCHTAGPUSHREPOSITORY |
Github Ruleset Rule
github_ruleset_rule inherits from Rule
| Property | Type | Description | Specifications |
|---|---|---|---|
allowedMergeMethods | array of strings | ||
checkResponseTimeoutMinutes | number | ||
codeScanningTools | array of strings | ||
dismissStaleReviewsOnPush | boolean | ||
doNotEnforceOnCreate | boolean | ||
groupingStrategy | string | Any of: ALLGREENHEADGREEN | |
maxEntriesToBuild | number | ||
maxEntriesToMerge | number | ||
maxFilePathLength | number | ||
maxFileSize | number | ||
mergeMethod | string | Any of: MERGESQUASHREBASE | |
minEntriesToMerge | number | ||
minEntriesToMergeWaitMinutes | number | ||
negate | boolean | ||
operator | string | ||
pattern | string | ||
requireCodeOwnerReview | boolean | ||
requiredApprovingReviewCount | number | ||
requiredDeploymentEnvironments | array of strings | ||
requiredReviewThreadResolution | boolean | ||
requireLastPushApproval | boolean | ||
restrictedFileExtensions | array of strings | ||
restrictedFilePaths | array of strings | ||
statusChecks | array of strings | ||
strictRequiredStatusChecksPolicy | boolean | ||
type * | string | Any of: AUTHORIZATIONBRANCH_NAME_PATTERNCODE_SCANNINGCOMMITTER_EMAIL_PATTERNCOMMIT_AUTHOR_EMAIL_PATTERNCOMMIT_MESSAGE_PATTERNCREATIONDELETIONFILE_EXTENSION_RESTRICTIONFILE_PATH_RESTRICTIONLOCK_BRANCHMAX_FILE_PATH_LENGTHMAX_FILE_SIZEMAX_REF_UPDATESMERGE_QUEUEMERGE_QUEUE_LOCKED_REFNON_FAST_FORWARDPULL_REQUESTREQUIRED_DEPLOYMENTSREQUIRED_LINEAR_HISTORYREQUIRED_REVIEW_THREAD_RESOLUTIONREQUIRED_SIGNATURESREQUIRED_STATUS_CHECKSREQUIRED_WORKFLOW_STATUS_CHECKSSECRET_SCANNINGTAG_NAME_PATTERNUPDATEWORKFLOWSWORKFLOW_UPDATES | |
updateAllowsFetchAndMerge | boolean | ||
workflows | array of strings |
Github Secret Scanning Finding
github_secret_scanning_finding inherits from Finding
| Property | Type | Description | Specifications |
|---|---|---|---|
firstLocationCommitSha | string | null | SHA of the commit where the secret was first detected, when the first location is a commit. | |
firstLocationPath | string | null | Path of the file where the secret was first detected, when the first location is a commit. | |
isMultiRepo | boolean | null | Whether the secret was detected in more than one repository. | |
isPubliclyLeaked | boolean | null | Whether the secret was publicly leaked. | |
number * | number | ||
pushProtectionBypassed | boolean | null | ||
pushProtectionBypassedBy | string | ||
pushProtectionBypassedOn | number | ||
resolution | string | null | Any of: false_positivewont_fixrevokedused_in_testsundefined | |
resolutionComment | string | null | ||
resolvedBy | string | ||
resolvedOn | number | ||
secretType | string | ||
secretTypeDisplayName | string | ||
state | string | Any of: openresolved | |
validity | string | null | Whether the detected secret is still valid: active, inactive or unknown. |
Github Team
github_team inherits from UserGroup
| Property | Type | Description | Specifications |
|---|---|---|---|
databaseId * | number | ||
fullName * | string | ||
node * | string | ||
privacy * | string |
Github User
github_user inherits from User
| Property | Type | Description | Specifications |
|---|---|---|---|
company * | string | ||
databaseId * | number | ||
employee * | boolean | ||
location * | string | ||
login * | string | ||
node * | string | ||
organizationId * | string | ||
role * | string | ||
siteAdmin * | boolean | ||
websiteUrl * | string |
Release Notes
-
2026-10-22 — Dependabot alerts now include EPSS score and percentile, indicating the probability of exploitation for the associated vulnerability.
-
2026-09-14 — Added ingestion of GitHub organization credential authorizations including SSH keys, personal access tokens, and OAuth tokens authorized for SAML SSO.
-
2026-07-22 — GitHub code scanning findings now include CWE identifiers extracted from the finding rule's security tags.
-
2026-06-01 — GitHub Apps now include owner login, publisher URL, and account type as queryable properties.
-
2026-05-29 — Added support for GitHub fine-grained personal access tokens as an authentication method, in addition to classic tokens and GitHub Apps.
-
2026-05-29 — GitHub integration now supports fine-grained personal access tokens as an authentication option, in addition to classic tokens and GitHub Apps.
-
2026-04-28 — GitHub users who have recently committed to a repository are now linked to that repository, enabling commit activity analysis.
-
2026-03-10 — Added webhook entity ingestion for both repositories and organizations, exposing webhook configurations as repository webhook and organization webhook entities.
-
2026-02-27 — Disambiguated GitHub repository to user access relationships by access source (direct, team, or outside collaborator), enabling more precise permission queries.
-
2026-01-14 — Added ingestion of repository CODEOWNERS file content and relationships to the owning users and teams.
-
2025-12-16 — Added ingestion of GitHub Packages and container images as package entities with repository relationships.
-
2025-10-29 — Added configuration option to limit the maximum number of repositories fetched during GitHub ingestion, useful for large organizations.
-
2025-09-03 — Added ability to ingest and query GitHub repository Custom Properties as entity properties.
-
2025-08-28 — Added finding to pull request relationships linking secret scanning and Dependabot findings to their associated pull requests.
-
2025-07-08 — Added ingestion of GitHub secret scanning generic alerts as secret alert entities.
-
2025-06-09 — Added configuration option to fetch collaborators via REST API as an alternative to GraphQL.
-
2025-05-19 — Added allowed IP addresses of the GitHub organization as a queryable property on GitHub organization entities.
-
2025-05-16 — Added user to pull request update relationship tracking PR update activity.
-
2025-04-09 — Added Jira user to issue assignment relationship (backport from Jira integration for cross-integration linking).