> For the complete documentation index, see [llms.txt](https://docs.prismacloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.prismacloud.io/admin-guide/33/configure/tags.md).

# Tags

Tags are predefined labels that can help you manage the vulnerabilities in your environment. They are centrally defined and can be set to vulnerabilities and as policy exceptions.

Tags are used as:

* Vulnerability labels. They provide a convenient way to categorize the vulnerabilities in your environment.
* Policy exceptions. They can be a part of your rules to have a specific effect on tagged vulnerabilities.

Tags are useful when you have large container deployments with multiple teams working in the same environment. For example, you might have different teams handling different types of vulnerabilities. Then you can set tags to define responsibilities over vulnerabilities. Other uses would be to set the status of fixing the vulnerability or to mark vulnerabilities to ignore when there are known problems that can’t be fixed in the near future.

For tags that are not used as policy exceptions, all user roles that can view the scan results and have the Collections and Tags permission, are allowed to assign these tags on CVEs. Assigning tags that are used as policy exceptions is allowed only for Admin, Operator, and Vulnerability Manager user roles. Custom roles aren’t allowed to set these tags, regardless of their other permissions.

## Tag definition

You can define as many tags as you like.

1. To define a new tag, navigate to **Manage > Collections and Tags > Tags**.

   Prisma Cloud ships with a predefined set of tags: Ignored, In progress, For review, and DevOps notes. The predefined tags are editable, and you can use them according to your needs.
2. Click **Add Tag**.
3. In the **Create new tag** dialog, enter a name and description.
4. Pick a color for easy visibility and differentiation.

   <figure><img src="/files/kwAsXwsPAm8HSoJR8aZx" alt="tags define tag"><figcaption></figcaption></figure>
5. Click **Save**.

## Tag assignment

You can assign tags to vulnerabilities, and specify their scope based on CVE ID, packages and resources. Alternatively, you can manually tag vulnerabilities from [scan reports](/admin-guide/33/vulnerability-management/scan-reports.md).

Note that a tag assignment is uniquely identified by a tag, CVE ID, package scope, and resource type, therefore, you can not create multiple tag assignments for the same tag, CVE ID, package scope, and resource type. To extend the scope of a tag applied to a CVE, edit its existing tag assignment to apply to more packages or resources.

For example, assign the tag *Ignored* to *CVE-2020-1971*, package *openssl*, and all *ubuntu* images as follows:

<figure><img src="/files/G4DmY7QtK7xKbKMI3kjP" alt="tags add tag assignment"><figcaption></figcaption></figure>

You can also adjust the scope of a tag assigned either from the tags management page or from scan reports. Click the **Edit** button to start editing the tag assignment. For example, extend the scope of the tag *Ignored* for *CVE-2020-1971* to all packages affected by this CVE by changing the **Package scope**:

<figure><img src="/files/Qii5CTXlq82t9M3YxsfT" alt="tags edit tag assignment"><figcaption></figcaption></figure>

As another example, after the *In progress* tag was assigned to *CVE-2019-14697* for specific *alpine* images from the scan reports, you can extend its scope so it will apply to all *alpine* images and their descendant images:

<figure><img src="/files/lS7GDvRSD7994LxbOZd4" alt="tags assigned from scan reports"><figcaption></figcaption></figure>

<figure><img src="/files/5ks9zWKPCA2U41dfKbQ7" alt="tags specific images"><figcaption></figcaption></figure>

<figure><img src="/files/Dyhws0m3xjNexFCBCXKH" alt="tags images with wildcard"><figcaption></figcaption></figure>

To easily navigate in multiple tag assignments, use the table filters on the **Tag assignment** table. Filter by CVE ID, tag, package scope, and resource type to quickly find all places a tag applies to.

<figure><img src="/files/ejQvMQObzs9xweSPw1bZ" alt="tags filters a"><figcaption></figcaption></figure>

<figure><img src="/files/YPJnYDzNH4gUQTrVRrBf" alt="tags filters b"><figcaption></figcaption></figure>

1. To assign a tag to a vulnerability, navigate to **Manage > Collections and Tags > Tags**.
2. Click **Assign Tag**.
3. In **Tag**, select the tag to assign.
4. In **CVE**, select the CVE ID to assign the tag for.
5. In **Package scope**, select the package to which the tag should apply. You can select **All packages** to apply the tag to all the packages affected by the CVE.
6. In **Resource type**, select the type of resources to assign the tag for. You can select **All resources** to apply the tag to all the resources across your environment.

   VMware Tanzu droplets and running applications are being referenced as **Images**.
7. Once a resource type is selected, specify the resources to which the tag should apply under **Images**, **Hosts**, **Functions**, or **Code repositories**. Wildcards are supported.
8. (Optional) For images, turn on the **Tag descendant images** toggle to let Prisma Cloud automatically tag this CVE in all images where the base image is one of the images specified in the **Images** field.

   For Prisma Cloud to be able to tag descendant images, first identify the [base images](/admin-guide/33/vulnerability-management/base-images.md) in your environment under **Defend > Vulnerabilities > Images > Base images**.
9. (Optional) In **Comment**, specify a comment for this tag assignment.
10. Click **Save**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.prismacloud.io/admin-guide/33/configure/tags.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
