> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/scan-fix-and-prevent/prevent/policies/license-policies/create-a-license-policy-and-rules.md).

# Create a license policy and rules

How to create a Snyk license policy and its rules

{% hint style="info" %}
**Feature availability**

License policies are available only with Enterprise plans and apply only to Snyk Open Source scans. For more information, see [plans and pricing](https://snyk.io/plans/).
{% endhint %}

Customers can configure the following settings for each license:

* Level of severity: Values include `None`, `Low`, `Medium`, and `High`.
  * New licenses added by Snyk default to a severity of `None` and **do not inherit** the `Unknown` license severity.
  * When `None` is selected, instructions cannot be inserted since licenses marked with `None` **do not appear** in any Snyk test results.

## View and edit license policies

To update license severities under your License Policies:

Navigate to **Policies** > **Policy manager** > **License policies** > **Organization** and choose the policy you want to edit.

The **License policy** screen displays a list of licenses and their currently configured severities.

You can edit the license severities and instructions.

## Assign rules and severities for a license policy

1. In the **Policy manager**, navigate to **License policies** > **Organization**, and choose a policy link to open the **License policy** screen.
2. To set the severity for specific licenses, click the **Severity** selector on the **License policy** screen, and choose a **Severity** level to define which license issues you want to identify when Snyk tests run.\
   If you select a severity other than **None** and want additional instructions or fix recommendations to appear when that license issue is identified, select the instructions icon to the right of the **Severity** dropdown and enter the text for the license instruction.
3. Click **Add** or **Update** to confirm your changes.
4. Click **Submit** to save your policy.

The updated severities or instructions or both are automatically updated on Snyk servers. When the next scheduled test runs or when a user re-tests a Project, updated results are delivered according to these changes. See [License policy results](/scan-fix-and-prevent/prevent/policies/license-policies/license-policy-results.md) for details.

## Set severity for the Unknown license type

The `Unknown` license type indicates Snyk has not recognized a license for a given package version. You can set a severity level for `Unknown`, for example, to ensure these license issues are given a higher severity and so appear more prominently in results.

Scroll down the licenses list on the right of the policy you are editing, then select the Severity dropdown for the **Unknown** license type.

{% hint style="info" %}
When `None` is selected, instructions cannot be inserted since licenses marked with `None` do not appear in any Snyk test results.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.snyk.io/scan-fix-and-prevent/prevent/policies/license-policies/create-a-license-policy-and-rules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
