: Add GitHub Server to Prisma Cloud Application Security
Focus
Focus

Add GitHub Server to Prisma Cloud Application Security

Table of Contents

Add GitHub Server to Prisma Cloud Application Security

Integrating Prisma Cloud with GitHub Server makes it possible for you to scan your Infrastructure-as-code files (Terraform and CloudFormation) and monitor configuration issues earlier in your development lifecycle.
To ensure network reachability between your GitHub Server environment and Prisma Cloud Application Security, as a prerequisite you are required to add the Prisma Cloud IP addresses and hostname for Application Security to an allow list, to enable access to the Prisma Cloud Console.
The hostname or IP address you provide must also be resolvable on the public DNS.
  1. Add the Github Server repository on Prisma Cloud
    1. Select
      Settings > Repositories > GitHub Server
      .
    2. Enter your GitHub Server domain, for example, github.my_company.com, to
      Register
      .
    3. Copy the
      Application Name
      ,
      Homepage URL
      and
      Authorization Callback URL
      to complete the registration process.
  2. Register Prisma Cloud in Github Server.
    1. Paste the copied values for Application Name, Homepage URL and Authorization Callback URL from the Register OAUTH app step and then select
      Register Application
      .
      The details of the new OAUTH app and Prisma CloudApplication Security opens in a new tab.
    2. Copy the
      Client ID
      and
      Client Secret
      values.
  3. Authorize Prisma Cloud.
    1. Paste the copied values of Client ID and Client Secret (from GitHub Server, as shown above) and
      Authorize
      .
    2. Authorize Prisma Cloud from the GitHub Server.
    3. Select the repositories to scan and then select
      Next
      to continue.
    4. A
      New account successfully configured
      message appears after you have successfully set up the configurations and then select
      Done
      .
      Your configured GitHub Server repositories will appear on the
      Repositories
      page. On your next GitHub Server scan, the scan results will include the new configured repositories. Access
      Application Security
      to view the scanned results and for remediation of issues see Suppress or Fix.

Recommended For You