# Attach a risk to a processing activity

## Adding a risk to a processing of data

To add a risk to a processing of data, go to the risks tab on the processing of data edit page.

<figure><img src="/files/HEDfSvZD8GNVJ8Ro6Qpb" alt=""><figcaption></figcaption></figure>

and click on the "Create a risk assessment" button.

<figure><img src="/files/SDtt19uEqhJ9T4mUki2p" alt=""><figcaption></figcaption></figure>

You will be taken to a risk edit page and you can start to fill in the information about the risk you have identified.

You can then find all the risks in your register in the risk repository.

<figure><img src="/files/Zwxyt1OzmQs6wNsKRuz4" alt=""><figcaption></figcaption></figure>

You can also attach a risk to a treatment directly from the risk management module.

To do this, simply go to the "Risks" tab and "create a risk assessment".

## Visualising the risks of a processing

To view the risks on processings, it is necessary to go to the Dastra Risks module.

<figure><img src="/files/1S19VHviIdLTu1aEGCA2" alt=""><figcaption></figcaption></figure>

You have to go to the "Risks" tab and you will have a visualization of all the risks sorted according to the elements related to each risk.

## Risk assessment

The risk level is calculated according to the following formula :

```
Risk level = probability value X impact value
```

In the dashboard, a risk module shows the number of risks, the processings with the highest risks, the overall risk and the level of the processing with the highest risk.

The overall risk is calculated according to the following formula:

```
sum (probability* impact ) / number of risks
```

The level of the processing with the highest risk is calculated according to the following formula:

```
((impact x probability) / 25)
```

## Go further

{% content-ref url="/pages/-Lw3hALWsjvX2sseOt14" %}
[Planning](/en/features/planifier.md)
{% endcontent-ref %}


---

# 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://doc.dastra.eu/en/features/risk-management/attach-a-risk-to-a-processing-activity.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.
