# Edit a Contains Credit Card Check

Source: https://userguide.qualytics.io/data-quality-checks/contains-credit-card/how-tos/edit-a-check/

Step-by-step tutorial for changing an existing Contains Credit Card check: point it at another field, or adjust the filter, coverage, and organizational properties. For which values can and cannot change, see the [API](https://userguide.qualytics.io/data-quality-checks/contains-credit-card/api/) page's editable and immutable lists.

> **Note: Permission Required**
>
> You need the **Author** team permission on the datastore to edit an Active check, or **Drafter** to edit a Draft. See the [Permissions](https://userguide.qualytics.io/data-quality-checks/contains-credit-card/deep-dive/permissions/) page for the full matrix.

## What Happens to Existing Anomalies

Saving the edit changes only the check. The anomalies it already produced are not deleted, modified, or re-evaluated at save time.

The updated rule takes effect on the **next Scan** of the container: run one manually or wait for the scheduled operation. Until that scan runs, the anomaly list stays exactly as it was. On that scan:

- **New anomalies can appear.** Rows that violate the updated rule are flagged. When [Archive Duplicate Anomalies](https://userguide.qualytics.io/operations/scan/deep-dive/scan-settings/#archive-duplicate-anomalies) is on, a finding that matches an anomaly that is still open (same check, same fingerprint) is archived as **Duplicate** instead of opening a new one.
- **Old anomalies stay open.** Anomalies raised under the previous configuration keep their status until you triage them, or until a Full scan with [Auto Resolve](https://userguide.qualytics.io/operations/scan/deep-dive/read-strategies/#auto-resolve-on-full-scans) resolves what the updated rule no longer flags.

## Steps

**Step 1**: Select the source datastore from the left menu, then click the **Checks** tab.

**Step 2**: Locate the check you want to edit and click it, or open its **Settings menu**  and select **Edit** . The **Authored Check Details** form opens.

**Step 3**: Change the values you need in each section of the form. Each field is described in the create how-to's [Field reference](https://userguide.qualytics.io/data-quality-checks/contains-credit-card/how-tos/create-a-check/#field-reference).

- **Target**: the **Field** to evaluate, the **Filter Clause**, and the **Custom Anomaly Description** toggle.
- **Pass Criteria**: the **Coverage** slider.
- **Ownership**: the **Owner** and the **Anomaly Assignee**.
- **Metadata**: the **Description**, **Tags**, and **Additional Metadata**.

> **Info: Locked after creation**
>
> The table or file the check runs against and the **Rule Type** are locked once the check is saved. To change either, delete the check and create a new one.

**Step 4**: Click **Validate** to test the updated rule against the selected data without saving it. A success message confirms the rule can run on that data. If validation fails, see [Troubleshooting](https://userguide.qualytics.io/data-quality-checks/contains-credit-card/troubleshooting/#validation-fails-when-creating-the-check).

**Step 5**: Click **Update**. A success message confirms that the check was updated.

*Last updated: September 12, 2026.*
