> 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/content-collections/data-security-posture-management/how-to-articles/assets-and-files/tag-assets-within-dig-security-using-keyvalue-tagging.md).

# Tag Assets in Prisma Cloud DSPM Using key:value Tagging

This article describes how to do the following:

* Create customized tag assets in Prisma Cloud DSPM using key:value tagging.
* Apply custom tags for various purposes such as ownership, business unit, organizational unit (OU), or any other business logic requirement.
* Search for tags in the inventory to enhance asset organization, risk assessment, and risk definitions.

### Create a DSPM tag

1. Navigate to the storage bucket where you want to create the custom Prisma Cloud DSPM tag.
   1. In Prisma Cloud DSPM, click Inventory.
   2. In Inventory, click the name of the specific storage bucket you want to add tags to.\
      ![](https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-2a50ac9624cc56748d52bcbdddc0a6deda0cf10a%2Fmedia_1eae9fb67f42f6ecdc1956420eefc2c940c8ccdfa.png?alt=media\&token=319f2ae0-e425-4863-bfe7-27ede46fd906)
2. In the left pane of the bucket window, scroll down to the Prisma Cloud DSPM Tags section.\
   ![](https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-859d321899411417b09fe3d2ffa7022acf63905a%2Fmedia_1ab7b1818fa5758be4a769de5fde48b23794ff5ac.png?alt=media\&token=a3030a81-fc45-4f64-aea2-c4275dbf60f6)
3. Click +
4. Enter a key:value.
5. On your keyboard press the Enter key or ↵ to apply the key:value.\
   ![](https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-69dd45741803f78fd1a0ee259407e41be69d8efc%2Fmedia_1c25bcc7f2ec368915efd6eb43cd15d828af46239.png?alt=media\&token=0d6de59e-1b3d-447c-b62c-08f14d8e79fb)

### Search for tags in the inventory

After you have created a custom Prisma Cloud DSPM Tag, the tag is searchable in the inventory and can be leveraged in custom risk definitions, enhancing asset organization, and risk assessment.

1. In the Prisma Cloud DSPM side menu, click Inventory.
2. In Inventory, apply the Prisma Cloud DSPM Tag extended filter.\
   ![](https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-d45f649ad082e5eb270c9e877d21b06644037208%2Fmedia_1910df78cfe1008d950113aaafb72a535a19cf029.png?alt=media\&token=ff3541fe-8042-4e7f-8233-3d86093c6477)
3. Enter the Prisma Cloud DSPM Tag’s Key and Value properties.\
   ![](https://3990409212-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyqPwsbMSaogAot23rTIu%2Fuploads%2Fgit-blob-bbb2ae67d914a87fa5b59ed0018391aff0c44f9f%2Fmedia_15de017c3d404b8e6ab7f7861596990e6912dc3bb.png?alt=media\&token=37d094d9-493e-4ac5-807a-bfeee00090fc)

### Create alerts and notifications

* In the Inventory tab, use the Prisma Cloud DSPM Tag filters to create an alert or notifications based on the conditions of the tag. For example, create an alert if HR data is displayed outside of Europe.
* In the Risks tab, use the Prisma Cloud DSPM Tag to create alerts or risks specific to certain assets.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.prismacloud.io/content-collections/data-security-posture-management/how-to-articles/assets-and-files/tag-assets-within-dig-security-using-keyvalue-tagging.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
