Export findings to GitHub Advanced Security
Learn how to export findings to GitHub Advanced Security.
Endor Labs GitHub App (Pro) is an enhanced version of the Endor Labs GitHub App that supports PR remediation to fix vulnerabilities. See PR remediation for more information.
You can also make the findings generated by Endor Labs available to GitHub Advanced Security so that you can view the findings in the GitHub Advanced Security. Endor Labs exports the findings in the SARIF format and uploads them to GitHub. You can view the findings under Security > Vulnerability Alerts > Code Scanning in GitHub. See Export findings to GitHub Advanced Security for more information.
Before installing and scanning projects with Endor Labs GitHub App (Pro), make sure you have:
endorctl
, while you wait for the approval.To automatically scan repositories using the GitHub App and create automatic PRs to fix vulnerabilities:
Sign in to Endor Labs.
From the left sidebar, choose Projects and click Add Project.
From GITHUB, choose GitHub App
Select Enable Automated Pull Requests.
Click Install GitHub App (Pro).
You will be redirected to GitHub to install the Endor Labs App (Pro).
Click Install.
Select a user to authorize the app.
Select the organization in which you want to install the app.
Select whether to install and authorize Endor Labs on all your repositories or select the specific repositories that you wish to scan.
Review the permissions required for Endor Labs and click Install and Authorize.
Choose a namespace and click Next.
Based on your license, select and enable the scanners.
The following scanners are available:
Select PULL REQUEST SCANS to set preferences for scanning pull requests submitted by users.
Select Pull Request Comments to enable GitHub Actions to comment on PRs for policy violations.
Select Include Archived Repositories to scan your archived repositories. By default, the GitHub archived repositories aren’t scanned.
In Define Scanning Preferences, select either:
Quick Scan to gain rapid visibility into your software composition. It performs dependency resolution but does not conduct reachability analysis to prioritize vulnerabilities. The quick scan enables users to swiftly identify potential vulnerabilities in dependencies, ensuring a smoother and more secure merge into the main branch.
Full Scan to perform dependency resolution, reachability analysis, and generate call graphs for supported languages and ecosystems. This scan enables users to get complete visibility and identifies all issues dependencies, call graph generation before merging into the main branch. Full scans may take longer to complete, potentially delaying PR merges.
See GitHub scan options for more information on the scans that you can do with the GitHub App.
Click Continue. You have successfully installed the GitHub App (Pro).
Endor Labs GitHub App (Pro) scans your repositories every 24 hours and reports any new findings or changes to release versions of your code. It can also raise a PR with a fix based on your remediation policy. Ensure that you configure automated PR scans in your environment. See Automated PR scans for more information.
You can edit or delete the GitHub App integrations.
To edit the GitHub App integration:
You can migrate your GitHub App (Pro) to standard GitHub App (or from standard to Pro).
Sign in to Endor Labs.
Select Manage > Integrations from the left sidebar.
Click Manage next to GitHub under Source Control Managers.
Click the three vertical dots on the right side of the GitHub App (Pro) that you want to edit, and select Migrate To Standard App.
Click Migrate.
You will be redirected to GitHub.
Click Configure.
Select a user to authorize the app.
Select Configure in the organization in which you want to migrate the app.
Select whether to install and authorize Endor Labs on all your repositories or select the specific repositories that you wish to scan.
Choose the namespace and click Next.
Select and enable the scanners you require.
Select the preferences for scanning pull requests, if required.
Click Continue.
To delete a GitHub App integration, click the three vertical dots on the right side, and select Delete Integration.
You are to taken to the GitHub App page, where you can uninstall the app from your GitHub organization.
To manually trigger a scan, click Rescan Org. Endor Labs GitHub App scans your repositories every 24 hours, use Rescan Org to manually schedule outside the 24-hour period.
Click Scan More Repositories to go to Projects page, from which you can add more repositories to scan through the GitHub App.
You can improve your experience with the GitHub App by setting up package repositories. This will help you create a complete bill of materials and perform static analysis. Without setting package repositories, you may not be able to get an accurate bill of materials. See Set up package manager integration for more information.
The Endor Labs GitHub App (Pro) has the same limitations as the GitHub App. See Limitations for more information.
Learn how to export findings to GitHub Advanced Security.
Was this page helpful?
Thanks for the feedback. Write to us at support@endor.ai to tell us more.
Thanks for the feedback. Write to us at support@endor.ai to tell us more.