Manage Tags in your Applications, Projects, and Scans
Overview
Tags can be created and assigned to Applications, Projects, and Scans.
They are essentially custom fields that allow you to extend the list of identifiers of an entity such as an application or a scan. This is useful if you wish to uniquely identify the various entities in your organization and consume their metadata from an external platform (repository, docker image, source control etc.).
Tags vs. Labels
Unlike Labels, tags in the Mend Platform can be applied to Scans (in addition to applications and projects).
Unlike Labels, the concept of hierarchy does not apply to tags. For example: A tag added to an application will not be inherited by the projects in that application.
Labels are traditionally used as a grouping tool (one-to-many). For example: You can create a label called “customer-facing” to label all of your customer-facing applications and then perform bulk operations on them.
Labels are unique at the organization level. Tags are unique at the relevant entity level (application/project/scan).
Getting it done
Application and Project Tags
Adding Tags
Select the desired application or project from the list of Applications or Projects:
Now you’re on the Application/Project Summary page. Click the Tags widget:
Click the Manage Tags button:
Click the + Add Tag button:
Specify a Key and Value for your new tag. In the example below, we’re adding a tag that will help us find our applications in the Mend Platform based on their repo of origin.
Click OK when you’re done.
Once added, the following message will pop up at the lower-left corner of the screen:
Deleting Tags
To delete a tag, click the vertical Actions menu button of the relevant tag and then Delete:
Once deleted, the following message will pop up at the lower-left corner of the screen:
Searching and Finding Tags
Navigate to the Applications or Projects page, either from the top-bar menu (image A) or from the Administration menu (image B).
To view the tags of the Application or Project, click the numeric value in the Tags column:
You will now see the Tags table, listing the tags applicable to the selected Application or Project.
As with many other tables in the Mend Platform, the Tags table contains filtering and search options, allowing you to find tags quickly. You can search by Key or by Value:
Note that you can also get to the desired application or project’s tags table by clicking the Tags widget on the application or project’s Summary page (as explained in the Adding Tags section):
Scan Tags
Note: Unlike Application and Project tags, Scan tags cannot be added via the Mend Platform UI.
Navigate to General → Scans. This will get you to the Scans table, which lists all of the scans in the Application or Project.
The Scans table contains a Tags column.
Clicking the numeric value in the Tags column will lead you to the selected scan’s Tags table, which lists all the tags of that scan. You can also navigate to the scan’s Summary page, which contains a Tags section below the Overview section.
Searching and filtering scan tags works similarly to Application/Project tags, as explained here.