Git must be installed and available where
endorctl scan runs. If your pipeline does not include it, install it in your job or use a runner image that provides it. Refer to Git documentation for installation instructions.- endorctl CLI
- Scan with GitLab pipeline
- Scan with GitHub Actions
- Scan with Circle CI
- Scan with Jenkins
- Scan with Azure DevOps
- Scan with Bitbucket
- Scan with Google Cloud Build
endorctl is a command line utility designed to bring the functionality of Endor Labs into your software delivery workflows. endorctl has several command flags to help you facilitate operational and security risk monitoring. Developers can integrate Endor Labs into Continuous Integration Workflows using the endorctl scan.
endorctl scan- You can use endorctl scan to monitor your projects using Endor Labs, and you can update the scan information each time to keep monitoring the project for new findings. Theendorctl scancommand will scan a specific version of your repository, such as the default branch, a tagged release version, or a commit SHA.endorctl scan --pr- You can use theendorctl scan --prcommand to scan a specific version of your source code for security and operational risks as part of your continuous integration workflows or CI runs. Theendorctl scan --prcommand performs a one-time evaluation of your project, focusing on security and operational risks, rather than providing continuous monitoring. CI runs are shown in the Scan History section of each project and are stored for three weeks so that you can analyze and review them on the Endor Labs user interface. See PR scans for more information.
endorctl scan --pr command unless a scan is run on a created tag release, a push to the default or specific branch, or a commit SHA that will be deployed to production.
Clone depth
For scans to succeed, configure shallow clone in your CI job to include the ref and commit you intend to scan. Set
For scans to succeed, configure shallow clone in your CI job to include the ref and commit you intend to scan. Set
ENDOR_SCAN_SHALLOW_CLONE=true in your environment to use shallow clone when Endor Labs clones the repository.