Add GitHub to Prisma Cloud Code Security

Integrating Github.com allows Prisma Cloud to:
  • Include your Infrastructure-as-Code files in daily scans.
  • Scan changed resources in Infrastructure-as-Code files for every new build generated, (before the branch is merged into the main branch) and provide an actionable view of the results via GitHub checks.
  • Open Pull Requests to Fix build-time issues detected in your branch.
As a prerequisite you are required to add the Prisma Cloud IP addresses and hostname for Code Security to an allow list, to enable access to the Prisma Cloud Console.
  1. Access GitHub on Prisma Cloud Code Security.
    1. Select
      Settings > Repositories > Add Repository
    2. Select
      GitHub
  2. Add your GitHub repository to Code Security.
    1. Configure your GitHub account on Prisma Cloud Code Security and then select
      Next
      .
    2. Review the permissions and authorize Prisma Cloud to access your GitHub organization.
    3. Select the repositories to scan and then select
      Next
      .
    4. A
      New account successfully configured
      message appears after you have successfully set up the configurations and then select
      Done
      .
      Your configured GitHub repositories will appear on the
      Repositories
      page. On your next GitHub scan, the scan results will include the new configured repositories. Access
      Code Security
      to view the scanned results.

Recommended For You