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