Enterprise Software Supply Chain Manager (ESSCM)IntegrationsSource Code (SCM)
Source Code Management (SCM)
Generate SBOMs from source code repositories
Source Code Management (SCM)
Generate SBOMs directly from your source code repositories. Safeguard supports both public and private repositories across multiple SCM platforms.
Supported Platforms
| Platform | Description | Documentation |
|---|---|---|
| GitHub | Connect public and private GitHub repositories | View Guide |
| Bitbucket | Connect Bitbucket Cloud repositories | View Guide |
| GitLab | Self-hosted or cloud GitLab instances | View Guide |
| Git | Generic Git URL for any Git repository | View Guide |
Public vs Private Repositories
Public Repositories
For public repositories, you only need to provide the repository URL. No authentication is required.
Workflow:
- Click Connect on the SCM integration card
- Select Public tab
- Enter the repository URL
- Click Add then Next
- Review and configure project settings
- Click Connect
Private Repositories
Private repositories require authentication credentials to access the code.
Workflow:
- Click Connect on the SCM integration card
- Select Private tab
- Enter configuration name and credentials
- Click Verify Credentials
- Select workspace (if applicable) and repositories
- Configure project settings
- Click Connect
Credential Requirements
| Platform | Public | Private |
|---|---|---|
| GitHub | URL only | Personal Access Token |
| Bitbucket | URL only | Username + App Password |
| GitLab | URL only | Personal Access Token |
| Git | URL only | Username + Password/Token |
Best Practices
- Use dedicated service accounts - Create tokens specifically for Safeguard integration
- Minimum permissions - Grant only read access to repositories
- Token rotation - Regularly rotate access tokens
- Monitor access - Review connected repositories periodically
Credential security and access
- Removing a target clears its credentials. When you remove an integration, every stored credential on it (tokens, passwords, secret references) is cleared at the same time. The record stays for the audit trail, with an entry that names the cleared fields and never their values. Credentials on integrations removed earlier were cleared in the same way when this shipped.
- Credential keys are admin only. Viewing, rotating and re-encrypting the keys that protect stored credentials needs a tenant admin role on your signed-in session, for your own tenant. Every rotation, re-encryption and refused attempt is written to the audit log.
- Organization scope. Records and lists (SBOMs, products, integration configurations, projects) are limited to the organizations the signed-in user belongs to, also in a shared tenant (root-organization members and dedicated tenants are unchanged). A record in another organization is reported as not found.
- Logs. Scan request logs carry no credential values.