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.
- In the Veracode Platform, go to .
- Select a workspace.
- Click Projects from the left menu and, then, select a project from the Project List table.
- Select a branch from the dropdown menu.
- Click Save.