[Yandex Cloud documentation](../../../index.md) > [Yandex Security Deck](../../index.md) > [Step-by-step guides](../index.md) > [Cloud Security Posture Management (CSPM)](index.md) > Running a workspace check

# Checking a workspace for compliance with control rules

{% note info %}

This feature is at the [Preview](../../../overview/concepts/launch-stages.md) stage.

{% endnote %}

The CSPM module's security control [rules](../../concepts/cspm.md#rules) are used in the Security Deck [workspaces](../../concepts/workspace.md). If you have no workspaces yet, [create](../workspaces/create.md) one.

The check for compliance with security control rules of the CSPM module is performed automatically every eight hours; however, users with the `cspm.editor` [role](../../security/cspm-roles.md#cspm-editor) or higher can run the check manually.

{% note info %}

You can run the check manually not more than four times every eight hours.

{% endnote %}

To initiate the procedure to check a workspace for compliance with security control rules:

{% list tabs group=instructions %}

- Security Deck UI {#cloud-sd}

  1. Go to [Yandex Security Deck](https://center.yandex.cloud/security/).
  1. In the left-hand panel, select ![file-text](../../../_assets/console-icons/file-text.svg) **Rules and exceptions**.
  1. At the top of the window, select the workspace you want to check.
  1. In the **Configuration** tab, click **Check environment for compliance with control rules**.
  1. In the window that opens, click **Run check**.
  1. Once the check is complete, you can view the results as a table or CSV file. To download a CSV file with the results of the check:

     1. Click ![file-arrow-down](../../../_assets/console-icons/file-arrow-down.svg) **Download check report**.
     1. In the window that opens, click **Download file**.

     {% note info %}
     
     The file can contain a maximum of 10,000 violation records.
     
     {% endnote %}

     Information about the detected security issues is also provided in the form of alerts and available by clicking ![alerts](../../../_assets/security-deck/alerts.svg) **Alerts** in the left-hand panel.

{% endlist %}