This comprehensive guide will walk you through the complete setup process. Expected completion time: 5-10 minutes.
Cremit's GitHub integration allows you to scan your repositories for exposed credentials, API keys, and other sensitive information in real-time. This integration supports both GitHub.com (Official) and GitHub Enterprise Server (Self-hosted) instances.
Log in to your Cremit dashboard
Navigate to Configuration>Scan Sourcesin the left sidebar
Click theNeworCreatebutton
On the "Create Scan Source" page, configure the following:
1.**GitHub Instance:**Select your GitHub type -GitHub.com (Official)- For public GitHub (recommended for most users) -GitHub Enterprise Server (Self-hosted)- For self-hosted GitHub instances
2.**Label:**Enter a descriptive name for this scan source (e.g., "CremitHQ")
3.Description:(Optional) Add additional details about this scan source
4.Select GitHub Account:- Choose your connected GitHub account from the dropdown
You should see your account with "User" and "Installed" badges
If your account is not listed, clickRefresh Account List5. ClickCreateto complete the setup
After creating the scan source, you'll be redirected to the configuration page:Scan Settings:-**Scan Source Enabled:**Toggle ON to enable scanning for this source -**Auto-scan New Targets:**Toggle ON to automatically scan newly discovered repositories
In theTarget Managementsection:
1.**View All Repositories:**All accessible repositories will be listed automatically
2.**Repository Information:**Each repository shows:
Repository name (e.g., ben-cremit/awesome-cicd-attacks)
Visibility badge (🟢 public or 🔒 private)
Scan progress
Last scanned timestamp
Current status (Enabled/Disabled)
3.Bulk Actions:-**Enable All:**Enable scanning for all repositories at once -**Disable All:**Disable scanning for all repositories at once -**Refresh:**Update the repository list
4.**Individual Management:**Use checkboxes to select specific repositories for bulk operations
To verify successful integration:
Check that theEnabledbadge appears in the top right corner
Verify that your repositories are listed in the Target Management section
Confirm that the status shows as "Enabled" for active repositories
Monitor the scan progress to ensure scanning begins
✅Simple Setup:Integration completes in just a few clicks✅Automatic Discovery:Automatically detects all accessible repositories✅Flexible Control:Enable/disable scanning per repository or in bulk✅Real-time Monitoring:Continuous scanning for exposed credentials✅Support for Both Public and Private Repositories