Safeguard Docs
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

PlatformDescriptionDocumentation
GitHubConnect public and private GitHub repositoriesView Guide
BitbucketConnect Bitbucket Cloud repositoriesView Guide
GitLabSelf-hosted or cloud GitLab instancesView Guide
GitGeneric Git URL for any Git repositoryView Guide

Public vs Private Repositories

Public Repositories

For public repositories, you only need to provide the repository URL. No authentication is required.

Workflow:

  1. Click Connect on the SCM integration card
  2. Select Public tab
  3. Enter the repository URL
  4. Click Add then Next
  5. Review and configure project settings
  6. Click Connect

Private Repositories

Private repositories require authentication credentials to access the code.

Workflow:

  1. Click Connect on the SCM integration card
  2. Select Private tab
  3. Enter configuration name and credentials
  4. Click Verify Credentials
  5. Select workspace (if applicable) and repositories
  6. Configure project settings
  7. Click Connect

Credential Requirements

PlatformPublicPrivate
GitHubURL onlyPersonal Access Token
BitbucketURL onlyUsername + App Password
GitLabURL onlyPersonal Access Token
GitURL onlyUsername + 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.

On this page