Change Default Branch for SCA Agent-Based Scans

Veracode Software Composition Analysis

You can set a specific branch as the default branch for your project or use the most recently scanned branch or tag.

You have the Security Lead, Workspace Administrator, or Workspace Editor role.

For new projects, Veracode Software Composition Analysis automatically sets the default branch for agent-based scans to always update to the most recently scanned branch or tag. You can change the default to a specific branch, such as the main branch, in your project settings.

  1. In the Veracode Platform, go to Scans & Analysis > Software Composition Analysis > Agent-Based Scan.
  2. Select a workspace.
  3. Click Projects from the left menu and, then, select a project from the Project List table.
  4. Click Settings.

  5. Select a branch from the dropdown menu.
  6. Click Save.