# Override License Classifications

## Summary

Arnica can identify license risks and violations in 3rd party open source packages. By default, Arnica classifies the licenses according to [Google's open source documentation](https://opensource.google/documentation/reference/thirdparty/licenses#types), but also allows to override the licenses to fit each customer's needs. This page explains how to do it.

## Licenses policy

License classification risks can be modified and individual licenses can be overridden with forbidden or allowed classification.

{% hint style="warning" %}
The changes described in the sections below will be reflected the next time full source code scan is performed (daily on paid plans) or in the next event triggered by the [code risk policy](/arnica-documentation/code-risks/code-risk-policy-settings.md), such as a code push or a pull request.
{% endhint %}

### Modify license classification risk severity

1. Navigate to the [policies page](https://app.arnica.io/#/admin/policy-v2) and expand `Code Risks` and then `Licenses`.
2. Change the risk severity any of the classification levels by clicking on the preferred risk severity chip.

<div align="left"><figure><img src="/files/6H4nQ8AxRgKZeIBpDcDF" alt=""><figcaption><p>License classification policy in Arnica</p></figcaption></figure></div>

3. Click on `Save` in the bottom of the policy section.

### Override forbidden & approved licenses

1. Navigate to the [policies page](https://app.arnica.io/#/admin/policy-v2) and expand `Code Risks` and then `Licenses`.
2. Click on the `+` next to the license that needs to be explicitly forbidden or approved.
3. Select the license by browsing through all licenses or searching at the top of the message box.

<div align="left"><figure><img src="/files/WPikbBSbzHpGb1Fx24Ft" alt=""><figcaption><p>License override search</p></figcaption></figure></div>

4. The selected licenses will appear in the overrides section. Validate the licenses and click on `Save` in the bottom of the policy section.

<figure><img src="/files/djsrbypvp41yN5q5BsEN" alt=""><figcaption><p>Overridden licenses</p></figcaption></figure>


---

# 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://docs.arnica.io/arnica-documentation/code-risks/3rd-party-package-licenses/override-license-classifications.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.
