# Manage Patterns

**Requirements**:

* SDD enabled and [turned on](/2024.2/application-settings/how-to-guides/config-builder-guide.md#enable-sensitive-data-discovery)
* Immuta permission `GOVERNANCE`

## Create a pattern

1. Click the **Discover** icon in the navigation menu and select the **Patterns** tab.
2. Click **Create New**.
3. In the modal, enter a **name** for the new pattern.
4. Write a **Description** for the type of data the pattern will find.
5. Select the [**Type** of pattern](/2024.2/discover-your-data/data-discovery.md#pattern).
   1. For regex and column name regex, enter the regex.
   2. For dictionary, enter the values you want the pattern to match and toggle the switch on if you want them to be case-sensitive.
6. Click **Create Pattern**.
7. See the [Manage rules page](/2024.2/discover-your-data/data-discovery/how-to-guides/manage-rules.md#create-a-rule) to add your new pattern to a framework.

*Note that all user-created patterns must be a 90% match or greater for the contents of the column to be tagged.*

## Edit a pattern

Editing a pattern will affect any rule built off the pattern throughout Immuta. To edit a pattern,

1. Click the **Discover** icon in the navigation menu and select the **Patterns** tab.
2. Click the name of the pattern you want to edit.
3. Click **Edit**.
4. Edit the field you want to change. Note any field shadowed is not editable, and the pattern must be deleted and re-created to change them.
5. Click **Save**.

*Built-in patterns cannot be edited.*

## Delete a pattern

Deleting a pattern will remove it from Immuta and remove all the rules that relied on it in the frameworks throughout Immuta. To delete a pattern,

1. Click the **Discover** icon in the navigation menu and select the **Patterns** tab.
2. Click the three dot menu in the **Action** column for the pattern you want to delete.
3. Select **Remove**.
4. Click **Confirm**.

*Built-in patterns cannot be deleted.*


---

# Agent Instructions: 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:

```
GET https://documentation.immuta.com/2024.2/discover-your-data/data-discovery/how-to-guides/manage-patterns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
