> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anomalyarmor.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Tagging

> Classifying and organizing your assets

<div aria-hidden="true" style={{position:"absolute",width:"1px",height:"1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap"}}>For LLM agents: documentation index at <a href="/llms.txt" tabIndex={-1}>/llms.txt</a>, full text at <a href="/llms-full.txt" tabIndex={-1}>/llms-full.txt</a>. Append .md to any page URL for plain markdown.</div>
**Tagging** helps you classify and organize data assets for governance and compliance. Know which tables contain PII before your next audit asks.

<Frame>
  <img src="https://mintcdn.com/anomalyarmor/-pFpKEip0ftEEXe9/images/diagrams/tagging-workflow-light.svg?fit=max&auto=format&n=-pFpKEip0ftEEXe9&q=85&s=586c484a589095175d2f58d66859f79d" alt="Tagging workflow: Auto-classification for PII detection + Custom tags for organization" className="block dark:hidden" width="900" height="400" data-path="images/diagrams/tagging-workflow-light.svg" />

  <img src="https://mintcdn.com/anomalyarmor/CZXBGa_D1aE9spAI/images/diagrams/tagging-workflow-dark.svg?fit=max&auto=format&n=CZXBGa_D1aE9spAI&q=85&s=ba58971e23961546343e290312d44ef6" alt="Tagging workflow: Auto-classification for PII detection + Custom tags for organization" className="hidden dark:block" width="900" height="400" data-path="images/diagrams/tagging-workflow-dark.svg" />
</Frame>

AnomalyArmor supports two types of tags: auto-classification that detects PII patterns automatically, and custom tags you create to match your organization's needs.

## Tag Types

| Type                | What It Does                         | Use For                         |
| ------------------- | ------------------------------------ | ------------------------------- |
| Auto-classification | Detects PII patterns in column names | Compliance, PII tracking        |
| Custom tags         | Labels you define and apply          | Organization, ownership, status |

## Common Questions

### Does auto-classification read my actual data to detect PII?

No. Auto-classification runs pattern matching against column names, types, and AI-generated profiles - never row values. So a column named `user_email` is classified as PII-email from its name, not from a data scan. See [auto-classification](/data-classification/auto-classification) for the full detection model.

### How do I create a custom tag for something like 'team ownership'?

Create a tag set in **Settings → Tags** (e.g., `team:growth`, `team:platform`) then apply it to assets manually, via API, or as a rule (tag any asset in a specific schema with a specific team). See [custom tags](/data-classification/custom-tags).

### Can I use tags in alert rules to scope notifications?

Yes. Alert rules support tag-based filtering - route all `pii:email` asset alerts to the security channel, or page only on `tier:critical` tables. This is typically how teams avoid noisy alerting across heterogeneous data.

### Are auto-classification tags guaranteed accurate?

They're high-precision heuristics, not a substitute for your own review. Cases like columns with ambiguous names (`id`, `value`, `data`) are more likely to be missed or mis-tagged. Treat auto-tags as a starting point for compliance review, not the final word.

## Next Steps

<CardGroup cols={2}>
  <Card title="Create Custom Tags" icon="tag" href="/data-classification/custom-tags">
    Define labels for your organization
  </Card>

  <Card title="Auto-Classification" icon="wand-magic-sparkles" href="/data-classification/auto-classification">
    Set up automatic PII detection
  </Card>
</CardGroup>
