Overview
Repository tags group repositories for shared scanner settings, access, and reporting. Open them from Settings, in the Security group, under Repository tags. The page lists your tags, lets you search them with Search tags… and add one with Create Tag. It is shown to organization admins and to members with the Manage Teams permission. Tags and teams also drive the repository filter in the top bar, described in Navigating ZeroPath. Open the page at zeropath.com/app/settings/tags.Who can manage tags
The Repository tags page and every tag change require the Manage Teams or the Edit SAST Configuration permission. Edit SAST Configuration can’t be granted through a team, so a member who is not an admin needs a team that grants Manage Teams. Without either permission, the page says “You do not have permission to view repository tags. Ask an organization admin for the Team Manage or SAST Configuration permission.” A tag that grants a team access to repositories can be edited or deleted only with Manage Teams, because changing it changes who can see those repositories. Members without these permissions can still pick existing tags wherever a page offers a tag selector, for example in the top-bar repository filter or a report’s scope.The tag list
Each tag in the list shows:- Its name, description and number of repositories.
- All repositories when it is a Default tag.
- Its custom property filters and its dynamic trigger, when it has them, or Manually assigned when it has neither and is not a Default tag.
Creating and editing a tag
Create Tag opens Create New Tag, and Edit tag opens Edit Tag. Both have the same fields:
Save with Create Tag or Update Tag.
How membership works
A repository belongs to a tag for one of these reasons:- You added it. A repository you pick in Repositories stays in the tag until you remove it, whatever its custom properties are.
- Its custom properties match. When a tag has custom property filters, every repository that has all of the selected properties joins it. A tag with no filters adds nothing on its own. Custom properties come from GitHub, so only GitHub repositories match filters.
- The tag is a Default tag. Every repository joins it.
Member chips in the editor
Repositories in the editor’s Repositories section that the tag’s filters select carry a label:- via custom property: the filters alone keep it in the tag. Click Pin to keep it in the tag even if its properties change later.
- Pinned: it is in the tag for another reason too, such as being added by hand or through a Default tag, so it stays whatever its properties are. Click Unpin to let the filters decide again.
Removing a repository
When you remove a repository that the tag’s filters or its Default setting would add back, the editor moves it to the Excluded list with the label Excluded manually (overrides custom property). It stays out until you click Undo next to it, and Undo lets the filters decide again. When you remove a repository that nothing else would keep, or change the filters so that they stop selecting a member, the repository appears under Not selected by this tag’s filters with Removed when you save. Click Keep to add it to the tag by hand instead. Some tags show repositories under Excluded with Pre-existing exclusion (overrides custom property). ZeroPath recorded these when it started tracking membership this way: the repository matched the tag’s filters but was not a member at the time, so it was kept out. Click Undo to let the filters add it.Keeping membership in line with custom properties
ZeroPath applies the same membership rules whenever something could change a tag:- when you save a tag,
- when a repository’s custom properties change in GitHub,
- when repositories are added to ZeroPath, from any source, and
- on a regular schedule.