# Policies

{% hint style="info" %}
**Policies** are available to customers on [**Premium**](https://www.secoda.co/pricing) **plan.** Interested in upgrade options? Click on the "Upgrade" button on the Policies page or reach out to the Customer team (<support@secoda.co>).
{% endhint %}

Policies in Secoda help organizations enforce data governance rules and maintain compliance across their data stack. With policies, teams can monitor, validate, and enforce data standards systematically.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/742b6056-24f3-42fc-b9ae-b52753f9c4e9.png" alt="" width="563"><figcaption></figcaption></figure>

### Overview

Policies provide a structured way to:

* Define and enforce data governance rules
* Monitor compliance across your data resources
* Track and remediate policy violations
* Ensure data quality and security standards

### Examples of Policies

1. **Classification Tagging**\
   Ensures all resources are labeled with a sensitivity classification (e.g., PII, PHI, Confidential) to support data governance, access control, and compliance.
2. **Retention Period Enforcement**\
   Requires that sensitive data assets (like PII or Confidential data) have a defined retention period to manage data lifecycle and meet regulatory requirements.
3. **Encryption of Sensitive Data**\
   Mandates that tables containing sensitive or classified data are encrypted to protect against unauthorized access and align with security standards.

### Creating Policies

To create a new policy:

1. Navigate to the Policies page
2. Click the "Add Policy" button
3. Define your policy details:
   * Name: Give your policy a descriptive name
   * Icon: Choose an icon to represent your policy (optional)
   * Description: Explain the purpose and requirements of your policy
4. Add filters for resources that are governed by the policy, e.g., Snowflake production table
5. Add conditions that must be met by the resources, e.g., Has owner

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/234b8ca6-b78f-420f-b1b9-c95566843302.png" alt="" width="375"><figcaption></figcaption></figure>

### Managing Issues

Policy issues are flagged resources that do not meet the conditions defined in your policies. For example, if you have a policy requiring all tables with PII to be encrypted and a table is not encrypted, Secoda will surface that as a policy issue. These issues help you identify gaps in governance, security, or documentation so you can take corrective action.

#### How to Manage Policy Issues

1. **View Issues**\
   Each policy has an "Issues" tab that lists all non-compliant resources. You can filter and sort these to focus on specific teams, systems, or classifications.
2. **Investigate Context**\
   Click into an issue to view detailed metadata, related documentation, lineage, and ownership. This helps you understand why the issue exists and what needs to be fixed.
3. **Remediate or Assign**
   * Update metadata directly in Secoda (e.g., add a missing classification or owner).
   * Assign the issue to the correct stakeholder for follow-up.
   * Link the issue to external system such as Jira ticket or external task for tracking.
4. **Mark as Resolved**\
   Once the resource complies with the policy, the issue is automatically removed from the active list. No manual resolution steps are needed.

### Automations with Policies

\
[Automations](/features/automations.md) in Secoda allow you to automatically remediate policy issues by updating metadata directly when certain conditions are met. When a policy is tied to metadata—such as classification, owner, or retention period—you can use automations to bring non-compliant resources back into alignment without manual intervention.

When a policy is associated with structured metadata—such as classifications, owners, or descriptions—Secoda allows you to create an automation directly from the policy screen. This helps streamline setup by pre-filling relevant conditions and actions based on the policy definition.

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/f6473a57-3353-4ca0-9b22-d9909ff0aad9.png" alt=""><figcaption></figcaption></figure>

### Policy Page

<figure><img src="https://secoda-public-media-assets.s3.amazonaws.com/9bf579be-d152-48f9-bd6a-4b0553ee188a.png" alt=""><figcaption></figcaption></figure>

#### Overview Tab

The overview tab contains the primary policy configuration and details:

* Description
* Frameworks
* Severity (Low, Medium, High)
* Governed resources
* Policy conditions

#### Issues Tab

Monitor and manage policy violations:

* View current policy violations
* Remediation steps
* Manage issue resolution


---

# 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://docs.secoda.co/features/policies.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.
