Overview
Default branch filters control which branch refs appear when a table is scoped to the default ref view. They help teams focus default views on the branches that matter most for triage, reporting, and dependency review. The setting affects:- Vulnerability list view through the Ref scope filter, where the default option is Default branches.
- Manifests through the Ref scope filter, where the default option is Default refs.
- Repository overview widgets that use default reference scope.
Where To Configure
Default branch filters can be configured at multiple scopes:| Scope | Location |
|---|---|
| Workspace | Settings > References |
| Organization | Organization Settings |
| Repository | Repository Settings |
Options
The Default branch filter setting includes these controls:| Option | Purpose |
|---|---|
| Include default branch | Always include the repository’s default branch |
| Specific branches | Include exact branch names |
| Branch patterns | Include branch names that match wildcard patterns |
Branch Patterns
Branch patterns accept comma-separated values. Exact branch names also work in Branch patterns. Wildcard behavior:| Pattern character | Meaning |
|---|---|
* | Matches any sequence of characters |
? | Matches one character |
| Pattern | Matches |
|---|---|
release/* | Branches under release/ |
hotfix-* | Branches that start with hotfix- |
main | The branch named main |