> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage GitHub Cloud App Pro on Endor Labs

> Learn how to manage your GitHub App integration in Endor Labs.

You can make changes to the GitHub App integrations or delete them. You can view the activity logs for the GitHub App and rescan your GitHub repositories on demand.

1. Select **User menu** > **Integrations** from the left sidebar.

2. Click **Manage** next to **GitHub** under **Source Control Managers**.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/cDcYvySJFrudaC_F/images/setup-deployment/scm-integrations/github/manage-github-app-pro.webp?fit=max&auto=format&n=cDcYvySJFrudaC_F&q=85&s=e57cc8be39ea02ccfdbc85726e948cc0" alt="Manage GitHub App" style={{width: '80%'}} width="1886" height="592" data-path="images/setup-deployment/scm-integrations/github/manage-github-app-pro.webp" />

3. Click the three vertical dots next to the integration.

   You can choose from the following options:

   * [**Edit Integration**](#edit-github-app-integration)
   * [**Delete Integration**](#delete-endor-labs-github-app)
   * [**View Sync Logs**](#view-sync-logs)
   * [**Migrate to Standard App**](#migrate-to-standard-github-app)

### Edit GitHub App integration

To edit the GitHub App integration:

1. Click the three vertical dots next to the integration, and select **Edit Integration**.

2. Select the scan types to enable in **Scanners**.

   <img src="https://mintcdn.com/endorlabs-b4795f4f/cDcYvySJFrudaC_F/images/setup-deployment/scm-integrations/github/github-app-edit-integration.png?fit=max&auto=format&n=cDcYvySJFrudaC_F&q=85&s=275406b3ae06297a413084d88a024252" alt="Edit your GitHub Integration showing scanners, Pull Request Settings, and Start Scanning Repositories" style={{ width: '60%' }} width="717" height="1024" data-path="images/setup-deployment/scm-integrations/github/github-app-edit-integration.png" />

3. Select **Pull Request Settings** to edit the PR scans configuration.

   See [GitHub App PR scans](/setup-deployment/scm-integrations/github-app-pro/#configure-pr-scans-for-existing-github-app-pro-integrations) for more information.

4. Click **Start Scanning Repositories**.

   The changes are applied from the next scanning cycle.

   <Note>
     Click **Rescan Org** after editing the integration to apply changes immediately instead of waiting for the next scheduled scan.
   </Note>

### Delete Endor Labs GitHub App

To delete a GitHub App integration, click the three vertical dots next to the integration, and select **Delete Integration**.

Deleting the integration deletes all child namespaces, projects, and references associated with the auto-generated root group namespace. It also deletes any manually created namespaces and projects under that namespace.

### View sync logs

To view sync logs, click the three vertical dots next to the integration, and select **View Sync Logs**.

The sync logs display details of synchronization attempts, including timestamps, error types, and diagnostic messages. These logs help identify issues such as authentication failures or configuration problems.

<img src="https://mintcdn.com/endorlabs-b4795f4f/WValpCeFuCmyj4QD/images/setup-deployment/scm-integrations/sync-logs-github.webp?fit=max&auto=format&n=WValpCeFuCmyj4QD&q=85&s=e412e8b361b04aa2d0b65a6bc18c5f6f" alt="sync logs" width="1526" height="680" data-path="images/setup-deployment/scm-integrations/sync-logs-github.webp" />

### Migrate to Standard GitHub App

<Warning>
  You cannot have both GitHub App and GitHub Cloud App Pro simultaneously in your environment. When you migrate from one app to the other, select the same set of repositories as before to preserve the currently scanned projects and findings after the migration.
</Warning>

To migrate from GitHub Cloud App Pro to standard GitHub App:

1. Click the three vertical dots on the right side of the integration that you want to edit, and select **Migrate to Standard App**.

2. Click **Migrate**.

   You will be redirected to GitHub.

3. Click **Configure**.

4. Select a user to authorize the app.

5. Select **Configure** in the organization in which you want to migrate the app.

6. Select whether to install and authorize Endor Labs on all your repositories or select the specific repositories that you wish to scan.

7. Choose the namespace and click **Next**.
   <Warning>
     You must choose the same namespace as your existing GitHub App installation.
   </Warning>

8. Select and enable the scanners you require.

9. Select the preferences for scanning pull requests, if required.

10. Click **Continue**.

<Note>
  **Old installation cleanup**

  After migration is successful, delete the old installation from your GitHub organization.
</Note>

<Warning>
  **Branch protection rules**

  When you migrate from one app to another, you must manually update your branch protection rules in GitHub. Branch protection rules that reference the old GitHub Cloud App Pro ID will become inactive and will not function until reconfigured with the new app. Refer to [Branch protection rules](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule#creating-a-branch-protection-rule) to learn more.
</Warning>

### Manually rescan GitHub repositories

GitHub App scans your repositories every 24 hours. Click **Rescan Org** to manually trigger a scan outside the 24-hour period.

### Add more GitHub repositories to scan

Click **Scan More Repositories** to go to **Projects**, where you can add more repositories to scan through the GitHub App.
