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:
-
In the Veracode Platform, go to Scans & Analysis > Software Composition Analysis > Agent-Based Scan.
-
Select a workspace.
-
Select Projects from the left menu, then select a project from the Project List table.
-
Select Settings.
-
Select a branch from the dropdown menu.
-
Select Save.