Skip to main content

Change default branch for SCA agent-based scans

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

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.

Before you begin:

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

To complete this task:

  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, then select a project from the Project List table.

  4. Click Settings.

  5. Select a branch from the dropdown menu.

  6. Click Save.