# Classification policy - Use case

You can use the **Set Asset Class** action from the Policies view to classify the assets based on importance, where class A is the most important and class D is the least important.&#x20;

You can set the asset class based on:&#x20;

* the repository name &#x20;
* the asset tags

{% hint style="info" %}
Snyk Essentials identifies GitHub and GitLab topics as asset tags.
{% endhint %}

Use the classification policy to give business context to your application. When you set up a classification policy, all your assets are automatically classified.

If you just started using the classification policy, the recommendation is to focus first on the Class D assets, since they are the least important.

The following example filters the assets that contain `sandbox`, `test`, and `to-delete` in their names. In Snyk Essentials, GitHub and GitLab topics are pulled in from the SCM integration and applied to repository assets, so if topics like `PCI-Compliance` have been added to repos in the SCM, Snyk can take those tags in Snyk Essentials and classify those assets as Class A.

<figure><img src="https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2FxsryFRAGS2CFbz9qcRu1%2FCreate%20policy.png?alt=media&#x26;token=994c407a-7750-401b-ad29-b98a83636878" alt="AppRisk - Setting up filters for a classification policy"><figcaption><p>Assets Policy  - Setting up filters for a classification policy</p></figcaption></figure>

After you set up the filters, you need to apply a Class D asset classification to those assets.

<figure><img src="https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2FVbjZILzyPWsu0bSmDoIf%2FSet%20action.png?alt=media&#x26;token=384a51a8-2a41-41b1-952e-210936493d5e" alt="AppRisk - Setting up actions for a classification policy"><figcaption><p>Assets Policy - Setting up actions for a classification policy</p></figcaption></figure>

You can apply a similar pattern and create actions for Class A, B, and C assets, within the same policy.

<figure><img src="https://2533899886-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdwVZ6HOZriajCf5nXH%2Fuploads%2F36LsNaIc6qWtMFTqV2aP%2FSet%20Class.png?alt=media&#x26;token=bedd4535-7e3f-477e-ad2f-6d431fbcd434" alt="AppRisk - Setting up multiple actions for a classification policy"><figcaption><p>Assets Policy - Setting up multiple actions for a classification policy</p></figcaption></figure>
