OBLYTECH Logo
OBLYTECH Logo

Connect GitHub repositories to Application Vulnerability Response

The GitHub Application Vulnerability Integration must be installed and configured before it can import repository vulnerability data into Application Vulnerability Response. Choose authentication and organization scope, complete the connection records, test credentials, and import repository data before running finding integrations. Then verify integration runs and imported applications before relying on the results.

Prepare the GitHub application vulnerability integration

Start with access and dependencies rather than an import schedule. The integration is a separate subscription. Verify that Vulnerability Response and the GitHub Application Vulnerability Integration are installed and activated. Subscription Management > Subscriptions shows purchased subscriptions. Check entitlements for the integration and its dependent applications before requesting installation.

An admin downloads, installs, and activates applications and assigns roles. A GitHub administrator obtains credentials and generates tokens in the GitHub console. An admin sets up connections and alias records in the instance. The App-Sec Manager user group oversees integration configuration and verification; it inherits sn_vul_github_config_integration, which contains connection_admin and oauth_admin.

Have the Common Weakness Enumeration integration running before installing and configuring the GitHub integration. CWE is installed with Vulnerability Response by default. Establish this dependency alongside the wider Application Vulnerability Response configuration, so the repository connection has a prepared destination.

These settings follow Brazil behavior; check application compatibility and controls on your instance and release. If you are staying with Vulnerability Response rather than migrating to Unified Security Exposure Management, choose an integration version below v30.x. Record that decision before installation so a version choice does not redirect the implementation.

Install the integration before configuring imports

Installation requires admin. In the ServiceNow Store, locate GitHub Application Vulnerability Integration, verify the required entitlements, and select Request Install. Return to the destination instance and navigate to All > System Applications > All Available Applications > All. From the list, pick the release you want and start the install from there.

The installer lists any dependent applications it brings in. Close the dialog once it reports success. The application is then a starting point for configuration, not a finished integration. Installation alone does not supply GitHub credentials, select repository scope, or establish an import sequence.

Before continuing, agree which organization or enterprise the connection should cover. Write down a small acceptance sample of repositories and the finding types expected from them. This is a verification plan, not a product setting. It gives the team something concrete to compare with the first repository import and prevents a successful connection test from becoming the sole acceptance criterion.

Choose authentication and build the connection

Configuration uses the App-Sec Manager user group; OAuth setup requires sn_vul.app_sec_manager. Open All > Github Vulnerability Integration > Configuration and select Basic Authentication or OAuth for Authentication type. Decide this before building credentials because the authentication choice changes the available scope and setup records.

Use Basic Authentication for the selected API scope

For Basic Authentication, supply API URL and the API Token generated in GitHub. On-premise instances require a MID Server. API Type selects Organization or Enterprise. Organization limits imports to the named organization; Enterprise imports across organizations in the enterprise environment. Enter the corresponding Organisation Name or Enterprise Name.

Enterprise Name is not part of credential validation. A credential test therefore cannot prove that the enterprise name identifies the intended import scope. Compare the configured value with the GitHub environment and validate scope through the organization and repository imports.

Prepare GitHub Apps authentication with OAuth

The OAuth workflow supports GitHub Organization accounts, not Enterprise accounts. Create and install the GitHub App for the intended repositories. Creating the app in GitHub requires no instance role. Set repository permissions to Read-only for Code scanning, Contents, Custom properties, Dependabot alerts, and Metadata. If an existing app gains permissions, review and accept the permission changes.

Keep App ID, Client ID, client secret, installation identifier, and private key available through your approved credential handling process. Certificate generation and attachment require sn_vul.app_sec_manager. Attach the JKS certificate under All > System Definition > Certificates with Type set to Java Key Store, then select Validate Stores/Certificates and check for Valid key_store.

Creating the JWT signing key and JWT provider requires admin and sn_vul.app_sec_manager. Under System OAuth > JWT Keys, associate the certificate, leave Key Id blank, and retain RSA 256 for Signing Algorithm. Under System OAuth > JWT Providers, select that signing configuration and set the iss claim to the GitHub App ID; leave aud and sub blank.

Register the OAuth provider with admin and sn_vul.app_sec_manager. Select OAuthGitHubJWTHandler for OAuth API script and JWT Bearer for Default Grant type, then associate the JWT provider with the OAuth entity profile. Accessing Module Access Policy records requires sn_kmf.admin, sn_kmf.cryptographic_manager, and sn_kmf.cryptographic_auditor unless logged in as admin (maint). Configure the handler policy and verify Result is Track.

Creating credentials and connections requires admin and sn_vul.app_sec_manager. Create OAuth 2.0 Credentials using the entity profile, then use Get OAuth Token and check the success message. Create a connection and credential alias and a connection record referencing the credential. Select the resulting Connection on the integration configuration.

For help planning this work, see ServiceNow implementation.

Test configuration and respect repository dependencies

Select Save and Test credentials after completing configuration. Before any integration runs, confirm that the Mark scantype to generic secret job has finished. Until it does, it fires every five minutes. Once it finishes, its run setting should read On Demand. If it is still on a timer, look for errors in the system logs.

  1. For Enterprise API Type, run GitHub Organizations Integration before the other integrations. It supplies the organization inventory needed for repository imports. The AVR scheduler handles this order automatically by default.
  2. Run GitHub Repos Integration next. For Organization API Type, start with Repos; Organizations can refresh metadata without being a prerequisite.
  3. After repository application data is imported, run the integrations for the required vulnerability and alert types.

GitHub Code Scanning Integration maps code scanning alerts to application vulnerable items. GitHub Dependabot Integration maps dependency alerts to application vulnerable items and their package records. The GitHub Secret Scanning Integration imports secrets, while the GitHub Secret Scanning Locations integration imports their locations and line numbers. Match your acceptance sample to the integrations actually selected.

Each integration starts enabled. To change its start time or turn it off, open its record from All > GitHub Vulnerability Integration > Integrations using the Name link. Chain one integration after another by naming the follow-on integration on the record, or use Execute Now for a manual run. Keep the run-as user at VR.System.

Verify imported repositories before accepting findings

Run verification requires sn_vul.app_sec_manager. Open the integration record and inspect the Vulnerability Integration Runs related list. Check that imports succeeded. On GitHub Repos Integration, open a run and review Imported items for the imported repository count. Compare that count and the resulting applications with the agreed sample and scope.

Repositories populate Discovered Applications [sn_vul_app_release]. A successful finding import depends on this application data being current. If expected findings are absent, inspect repository coverage before treating the result as an absence of vulnerabilities. A missing repository and a repository without alerts require different follow-up.

To inspect import processing, the same sn_vul.app_sec_manager role can open GitHub Vulnerability Integration > Import Set Tables. Select an integration record and use the related links for Import sets, Transform Maps, and Transform History. Network interruption and corrupted data during transformation can cause failed runs.

A 401 response warrants checking token expiry and scope. Missing repositories in Enterprise mode warrant checking token approval for the affected organizations. A 403 rate-limit response warrants staggering sub-integration schedules. Recheck the identified cause before using Execute Now again. For broader investigation, see the Vulnerability Response health check.

What the GitHub import does and does not change

Can source exceptions remain unchanged during import?

Yes. Deactivate Manage exceptions in ServiceNow to preserve imported source states. With this option on, findings that would normally land in Deferred are created as Open so the team can triage them. Align this choice with your remediation rules and exceptions before evaluating the imported backlog.

What changes when ServiceNow manages false positives?

With Manage false positives in ServiceNow activated, source False Positive or Potential False Positive findings normally mapped to Closed instead map to Open. Deactivating the option keeps the source states as they arrived. Turning off either checkbox also hides the Request exception and False Positive actions on AVIs, so confirm which actions the team needs before deciding.

Why are repository tags or custom properties absent?

Tags, topics, and custom properties are imported when configured in GitHub. Inspect Source additional info on Discovered Applications or Source additional info. on a discovered application record. Custom properties appear as key-value pairs; tags and topics appear as arrays.

Is NVD data required to install this integration?

No. You can install the GitHub integration without NVD data. NVD adds enrichment, so it is worth loading, but it is optional and separate from the CWE prerequisite. Keep this decision separate from the CWE prerequisite so optional enrichment does not obscure the required setup work.

How are generic secrets included?

Activate Manage generic secrets in ServiceNow to import them alongside normal secrets. Secret findings use scan type secret; generic secrets use generic_secret. If generic-secret findings are missing, inspect that option before waiting for the next Secret Scanning run.