Create a DLP policy
Create a DLP policy to group a set of rules and define the default action when no rule triggers a terminal action.
A policy consists of an ordered list of rules and a default action (pass or block). The policy is created as a draft. To activate it, publish it in a ruleset.
Permissions
info
This action requires the following DLP (Data Loss Prevention) role:
- rule_editor
- Console
- API
Console

- In the DLP console, click Policies in the sidebar.
- Click the Create policy button to open the policy editor.
General information
Fill in the policy information:
| Field | Example value | Description |
|---|---|---|
| Name | mistral-prod-policy | Name of the policy |
| Description | Production policy for Mistral | Description of the policy |
| Platform type | mistral-platform | Target platform type |
Rule selection
- Select the rules to include in the policy from the list of available rules;
- Order the rules by drag and drop — the order determines the evaluation sequence;
- Rules are evaluated from top to bottom. A
passorblockaction terminates the evaluation immediately.
Default action
Select the policy default action:
pass: allows the request if no rule triggers a terminal action;block: blocks the request if no rule triggers a terminal action.
Saving
Click Save to save the policy as a draft. The policy appears in the list with the "Draft" status.
The POST /api/v1/policies request creates a draft DLP policy.
Request example
{
"name": "mistral-prod-policy",
"description": "Production policy for Mistral",
"platform_type": "mistral-platform",
"rule_ids": [
"rule-550e8400",
"rule-a1b2c3d4"
],
"default_action": "block"
}
Response example
{
"id": "policy-9f8e7d6c",
"name": "mistral-prod-policy",
"description": "Production policy for Mistral",
"platform_type": "mistral-platform",
"rule_ids": [
"rule-550e8400",
"rule-a1b2c3d4"
],
"default_action": "block",
"draft": true,
"version": 1,
"created_at": "2026-08-27T10:00:00Z",
"updated_at": "2026-08-27T10:00:00Z"
}