# Prepare changes in a draft

> Create and change OpenCTI knowledge in a draft, separate from the knowledge base, review every change it holds, and approve it to send its content for ingestion.

- URL: https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/drafts/
- Products: OpenCTI 7.260309.0-lts.8
- OpenCTI line: 7.260309 LTS · 7.260309.0-lts.8
- For: CTI analysts, CTI team leads, administrators
- Type: How-to guide

A draft is a workspace where you create, change and delete knowledge without touching the knowledge base. You use it to check what an import found in a vendor report before your colleagues see it, to propose changes that a senior analyst approves, or to prepare a large update in one go. Everything done in it waits until someone approves the draft, which sends its changes for ingestion. This page shows how to work in a draft, review it and approve it. File imports and forms create drafts for you; you find every draft in **Data > Import**, tab **Drafts**.

## Before you start {#before-you-start}

- Your role has the **Create / Update knowledge** capability, to create a draft and change data in it.
- Your role has the **Delete knowledge** capability, and you can edit the draft, to approve or delete it.
- Your role has the **Import knowledge** capability, to import files inside a draft.
- An administrator can grant capabilities that only apply inside drafts, for example to let a junior analyst propose changes that someone else approves. See [Grant rights with roles](https://filigran.io/docs/lts/7.260309-lts/opencti/administer/roles/).

## How a draft works {#how-a-draft-works}

**Diagram: Changes from analysts, imports and forms collect in a draft and reach the knowledge base only when the draft is approved**

- Changes come from: Analysts (Work in draft mode), Imports and forms (Draft by default)
- Draft: Open draft (Separate from the knowledge base)
- Approval: Approve draft (A person decides)
- Knowledge: Knowledge base (Receives the changes)

Connections:

- Analysts → Open draft: create, update, delete
- Imports and forms → Open draft: objects found
- Open draft → Approve draft: review
- Approve draft → Knowledge base: ingestion

Inside a draft you see the whole platform as it is, plus the changes of the draft. The rules of the platform still apply:

1. **Your rights do not change.** Capabilities, [confidence levels](https://filigran.io/docs/lts/7.260309-lts/opencti/concepts/reliability-confidence/), [markings](https://filigran.io/docs/lts/7.260309-lts/opencti/administer/markings/) and [organization segregation](https://filigran.io/docs/lts/7.260309-lts/opencti/administer/organizations/) apply in a draft as they do outside it. Something shared with you after the draft was created stays hidden in that draft.
2. **Each change has an operation.** A draft records what it does to each object:

   | Operation | Meaning |
   | --- | --- |
   | Create | The object is new and exists only in the draft |
   | Update | The object exists in the knowledge base and the draft changes it |
   | Delete | The object exists in the knowledge base and the draft deletes it |
   | Update linked | The object is not changed, but something linked to it is, for example a new relationship to it or its addition to a container |
   | Delete linked | The object is not deleted, but it will be, because an object it depends on is |

3. **What does not change does not appear.** When an import brings an object that already exists, identical, the draft does not list it. The same object imported by another user appears, because its creators change.
4. **Approval sends only the changes.** Created objects are ingested whole. For updated objects, only the changes made in the draft are applied, so updates made meanwhile in the knowledge base are kept. Deleted objects are deleted; linked deletions are not applied.

## Create a draft and work in it {#create-a-draft-and-work-in-it}

1. Open **Data > Import**, tab **Drafts**, and click **Create Draft**.
2. Enter a **Name** and, if you want, a description, assignees, participants and an author. To restrict the draft to some people, set its authorized members. Click **Create**.
3. Click the draft in the list. You enter draft mode: a bar with the draft name stays at the top of every screen, as a reminder that what you do only changes this draft.

   ![In draft mode, a bar at the top of the screen shows the draft name, the processes running in it, and the Exit draft and Approve draft buttons.](https://filigran.io/docs/shots/73f9dbee94765a9f1fd6812f85b761962d48c7d52759e56fc24069a2b10e78b9.webp)

4. Work as usual: create an entity, an observable or a relationship, edit fields, add objects to containers, run enrichment connectors, import files. Every change goes to the draft.
5. Click **Exit draft** to return to the knowledge base. Click the draft name in the bar to come back to its overview.

To enter a draft from the list without opening it, open its actions menu (⋮), choose **Switch to Draft**, and confirm in **Switch to Draft Mode**. A draft that is no longer open, such as a validated draft, cannot be entered from this menu.

### Who works on a draft {#who-works-on-a-draft}

The draft's **Overview** shows its **Details**, its name and description, and its **Basic information**: the **Assignees** who must review it, the **Participants** who contribute, and its **Author**. Add people with **Add new assignees** and **Add new participants**, so that the team knows who reviews the draft. The edit button opens **Update a Draft**, to change its name and description. When the draft has authorized members, only they can open it.

### Other ways a draft is created {#other-ways-a-draft-is-created}

| From | What the draft holds |
| --- | --- |
| A [file import](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/files/), with the validation mode **Draft** | What the import connector found in the file |
| A [form](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/forms/) set to create a draft | The entities and relationships of the submission |
| An [analyst workbench](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/workbench/), with **Convert to draft** | The content of the workbench |
| The **Drafts** section of an entity's **Data** tab, with **Add** | Changes about that entity. After approval, OpenCTI opens the entity |

## Review a draft {#review-a-draft}

Open the draft from the list, or click its name in the draft bar. The overview counts the changes, and one tab per kind lists them with their operation: **Entities**, **Observables**, **Relationships**, **Sightings** and **Containers**. In the **Files** tab, you upload and import files that only exist in this draft: click **Import data**, and what the connector finds goes to this draft. Follow each run with **Show the imports**, where a failed run shows **Error**, as in [Import from files](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/files/#run-an-import-again).

The draft bar shows how many processes run in the draft, such as enrichments and background tasks. Click the count to see them in **Draft processes**, with their **Works** and **Tasks**.

## Approve a draft {#approve-a-draft}

1. Enter the draft and check that **No processes running** shows in the draft bar.
2. Click **Approve draft**. The button is available once the draft holds at least one change.
3. Confirm with **Approve**. OpenCTI warns you when processes still run: what they would have changed is lost.

The draft becomes read-only and its content is sent for ingestion. Open the draft from the list to follow the **Validation progress** and to see the changes it held.

**Example: Review new phishing indicators before they reach the SOC**

Your SOC blocks every indicator of the knowledge base with a score above 60. A junior analyst found new infrastructure of the Velvet Harbor phishing campaign and must not push it to the SOC before a senior analyst checks it.

1. **Create Draft** with the **Name** `Hotel IOC review` and the **Description** `New indicators of the hotel-booking phishing campaign, before they reach the knowledge base.`
2. In the draft, the junior analyst creates the IPv4 addresses `203.0.113.21` and `203.0.113.22` with a score of 70, and the indicator `frontdesk-booking-confirm.example` with a score of 85, all authored by Example CERT.
3. Still in the draft, the analyst opens the report "Velvet Harbor targets hotel booking systems", adds the new domain to its description and the label `under-review`.
4. The senior analyst opens the draft: its tabs list three objects with the operation Create and the report with Update. From version 7.260811, the **Review** tab also shows the new description of the report next to its **Original Value**.
5. The senior analyst finds that `203.0.113.22` belongs to a hotel booking provider, deletes it from the draft, and clicks **Approve draft**, then **Approve**.

Only the address `203.0.113.21`, the indicator and the change to the report reach the knowledge base, and the SOC starts blocking them. The provider's address never does.

## What a draft cannot do {#what-a-draft-cannot-do}

Some actions are not available in a draft, because they act beyond the data or have no draft version yet:

- running playbooks and inference rules, and enrolling entities in a playbook;
- sharing with organizations and changing authorized members of an entity;
- generating and downloading exports, and disseminating files;
- merging entities;
- creating an analyst workbench.

## Check that it works {#check-that-it-works}

After approval, the draft shows the status **Validated** and its validation progress completes. The created and changed objects appear in the knowledge base.

## What's next {#what-s-next}

- [Approve drafts step by step](https://filigran.io/docs/lts/7.260309-lts/opencti/use/automate/draft-workflow/), to control who can move a draft to approval.
- [Import from files](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/files/) and [Create knowledge with forms](https://filigran.io/docs/lts/7.260309-lts/opencti/use/ingest/forms/), which fill drafts.
- [Grant rights with roles](https://filigran.io/docs/lts/7.260309-lts/opencti/administer/roles/), for the capabilities granted only in drafts.
