Creating OAuth 2.0 credentials for GitHub Apps - JWT for the GitHub Application Vulnerability Integration
Perform the following steps to integrate your GitHub Apps using the JWT bearer token for the GitHub Application Vulnerability Integration.
- sn_vul.app_sec_manager and admin for records in your ServiceNow AI Platform.
- No instance role required for tasks in your GitHub account.
- For more information about the context of the steps for this setup, see OAuth 2.0 protocol.
Create and configure the GitHub app for the GitHub Application Vulnerability Integration
Create a custom GitHub App from your GitHub account to activate OAuth 2.0 authentication with your GitHub Application Vulnerability Integration in your instance.
始める前に
Role required: No instance role required
このタスクについて
Complete these steps from your GitHub account. See Building GitHub Apps on the GitHub Developer site for instructions on creating and configuring custom applications.
手順
Generate the JKS certificate for the GitHub Application Vulnerability Integration
Generate a JKS certificate for the JWT authentication for the GitHub Application Vulnerability Integration.
始める前に
You need to note the password that you use to generate the .jks file (KeyStore password).
Role required: sn_vul.app_sec_manager
手順
Attach the GitHub Java Key Store certificate to your instance for the GitHub Application Vulnerability Integration
Activate the JWT Bearer Grant token authentication by attaching the valid GitHub Java KeyStore (JKS) certificate to your instance.
始める前に
A valid Java KeyStore certificate.
Role required: sn_vul.app_sec_manager
手順
Create a JWT signing key for the GitHub JKS certificate for the GitHub Application Vulnerability Integration
Create a JSON Web Token (JWT) signing key to assign to your GitHub Java KeyStore certificate.
始める前に
- admin
- sn_vul.app_sec_manager
手順
Create a JWT provider for your GitHub signing key for the GitHub Application Vulnerability Integration
Add a JSON Web Token (JWT) provider to your ServiceNow instance for GitHub.
始める前に
- admin
- sn_vul.app_sec_manager
手順
Register GitHub as an OAuth Provider (JWT) for the GitHub Application Vulnerability Integration
Use the information generated during GitHub App account configuration to register GitHub as an OAuth provider and allow the instance to request OAuth 2.0 tokens.
始める前に
- admin
- sn_vul.app_sec_manager
手順
Create Credentials and Connections for the GitHub Application Vulnerability Integration
Create a credential record to the GitHub App provider previously created to authorize actions.
始める前に
- admin
- sn_vul.app_sec_manager