> For the complete documentation index, see [llms.txt](https://docs.guardware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardware.com/documentation/management-console/data-governance/data-classification.md).

# Data Classification

Data Classifications allow you to group data types under labels that represent different levels of sensitivity. This helps you quickly identify which files contain the most critical information and need immediate attention.

GuardWare assigns a sensitivity level to each classification based on the order in which you create them. The first classification you create becomes Level 0 (least sensitive), the second becomes Level 1, the third becomes Level 2, and so on, up to Level 9 (most sensitive).

When GuardWare scans a file and detects multiple data types, it automatically assigns the file to the classification with the highest sensitivity level among all detected data types.

For example, if a document contains both "Employee Email Addresses" (classified as Internal, Level 1) and "Credit Card Numbers" (classified as Confidential, Level 3), GuardWare assigns the file to the Confidential classification because Level 3 is higher than Level 1.

The classification type is **Manual** by default. Plan your manual hierarchy from **least sensitive to most sensitive**.

## Classification type

Choose the classification type from **DATA GOVERNANCE** > **Data Classification**:

<div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2FRN7QzHBYkng3RQnqDGf9%2Fimage.png?alt=media&amp;token=30b0ffb2-16fb-45ae-9799-1229650ace5d" alt=""><figcaption></figcaption></figure></div>

* **Manual** lets you add and edit classifications.
* **Purview** lets you sync published Microsoft Purview sensitivity labels.

{% hint style="warning" %}
After you select **Purview**, you cannot change the classification type back to **Manual**. Purview classifications can only be synchronised.
{% endhint %}

## Manual Data Classifications

With **Manual** selected, you can add classifications, configure their visual labels, and edit them later. You must create at least one classification before assigning classifications to a data type or creating custom data types.

1. Navigate to **DATA GOVERNANCE** > **Data Classification** and click **+Add Classification**.<br>

   <div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2FFapEzFLSeKGwo3HBaexH%2Fimage.png?alt=media&amp;token=d7938c01-ade5-4ada-8417-afe38d2a2e4e" alt="" width="563"><figcaption></figcaption></figure></div>
2. Enter a **Classification Name** and a short **Description.**
3. In **Select Color**, choose a colour to identify the classification visually.<br>

   <div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2FdaQEEzuTEMqvOrvlGp3t%2Fimage.png?alt=media&amp;token=67a10ddc-1c59-4a42-942c-dcabab71010b" alt=""><figcaption></figcaption></figure></div>
4. At this point, click **Save** to create the classification. You can then add data types to it. To customise files where those data types are detected, configure the header, footer, and watermark.
   1. Configure **Header**:<br>

      <div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2FYzlGpx36pEvolXR1ei19%2Fimage.png?alt=media&amp;token=a04c4b5f-a515-46fe-b5a1-08056a16a540" alt="" width="563"><figcaption></figcaption></figure></div>

      1. Enable the **Header** toggle to add a header to classified documents.
      2. In **Header Text**, enter the text to display in the document header.
      3. From **Alignment**, select the header position.
   2. &#x20;Configure **Footer**:<br>

      <div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2F0J8QzdCjKdO5DwINoZpU%2Fimage.png?alt=media&amp;token=43e931d9-ee66-4f12-9156-b06cd1cef0c7" alt="" width="563"><figcaption></figcaption></figure></div>

      1. Enable the **Footer** toggle to add a footer to classified documents.
      2. In **Footer Text**, enter the text to display in the document footer.
      3. From **Alignment**, select the footer position.
   3. Configure **Watermark**:<br>

      <div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2FkQHZbjCk4tFgNhMzMbms%2Fimage.png?alt=media&amp;token=0e435474-a97e-4d59-b297-e359957c4c40" alt="" width="563"><figcaption></figcaption></figure></div>

      1. Enable the **Watermark** toggle to add a watermark to classified documents.
      2. In **Watermark Text**, enter the watermark text.
      3. From **Alignment**, select the watermark orientation or placement.
5. Click **Save** to create the classification. If you want to clear all entered values and restore default settings, click **Reset**.

## Purview Data Classifications

Select **Purview** as the classification type after connecting Microsoft 365. You can then sync Microsoft Purview Information Protection classifications with GuardWare. You cannot add manual classifications in this mode.

After synchronisation, use Purview labels to classify files discovered during scans. To sync classifications:

1. Navigate to **DATA GOVERNANCE** > **Data Classification**.
2. Select **Purview** as the classification type.<br>

   <div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2F5KkAXdMhC4of1nnDcp5E%2Fimage.png?alt=media&amp;token=db87488f-b40e-4bf2-9a9a-3f61df7af006" alt=""><figcaption></figcaption></figure></div>

GuardWare retrieves all published sensitivity labels from Microsoft Purview Information Protection.

Once complete, the synchronised labels appear in the classification list showing label name, sensitivity hierarchy (if applicable), description, and colour.

### Sync Classifications with Purview

Sync with Purview after the initial integration setup, whenever new labels are created, whenever existing classification labels are modified or updated, and periodically on an ongoing basis to keep GuardWare's label definitions current.

<div align="left"><figure><img src="https://3428346635-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBUWYzeE1fa6LGkJgqgik%2Fuploads%2FZlzSvTJmvpHa9x1Cv6ud%2Fimage.png?alt=media&amp;token=dd679c8b-f3dd-4dd8-b3d2-85bebd8e62c9" alt="" width="537"><figcaption></figcaption></figure></div>

1. Navigate to **DATA GOVERNANCE** > **Data Classification**.
2. Click **Sync** <i class="fa-arrows-rotate">:arrows-rotate:</i> .
3. Wait for the process to complete.


---

# 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.guardware.com/documentation/management-console/data-governance/data-classification.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.
