> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OSS Licenses

> Identify and manage open source license compliance.

Open source software comes with different licenses that define how the software can be used, modified, and distributed. Managing license compliance is essential for organizations to avoid legal risks and ensure proper use of open source components.

For generating Notice reports for distribution and for license-centric views and editable license data, see [Licenses](https://docs.endorlabs.com/inventory-insights/licenses.md#generate-a-license-notice-report-for-a-project-beta).

## Policy templates for open source license detection

Endor Labs provides the following policy templates for detecting open source license usage.
See [Finding policies](https://docs.endorlabs.com/platform-administration/policies/finding-policies.md) for details on how to create policies from policy templates.




&#x20; \- Policy\_template: Permit only specified software licenses
&#x20; Description: Use this template to define an allowed list of software licenses permitted within your organization or a subset of projects. Endor Labs will raise findings when dependencies in packages or projects have licenses that are not on the allowed list.
&#x20; Severity: Medium

&#x20; \- Policy\_template: Restricted software licenses
&#x20; Description: Use this template to define a blocked list of software licenses that should be restricted from use or only used within specific contexts within your organization. Endor Labs will raise findings when dependencies in packages or projects have licenses that are on the blocked list.
&#x20; Severity: Medium

&#x20; \- Policy\_template: Restricted software license types
&#x20; Description: Use this template to create an organizational policy to restrict certain license types or limit a license type to specific contexts within an organization. This is useful to identify license risks and violations in third party open source packages. The license type classification in this policy follows the industry best practice rules defined by \[Google license types]\(https\://opensource.google/documentation/reference/thirdparty/licenses#types). If no license types are specified using the input parameter, only \`restricted\` and \`FORBIDDEN\` license types are flagged.
&#x20; Severity: Medium


&#x20;&#x20;

## License types

Endor Labs classifies licenses according to industry best practices:

* **Restricted**: Licenses with significant usage restrictions.
* **Reciprocal**: Licenses that require derivative works or linked code to be shared under compatible terms.
* **Copyleft**: Licenses that require derivative works to use the same license.
* **Notice**: Licenses that require attribution or notice when distributing the software.
* **Permissive**: Licenses that allow broad use with minimal restrictions.
* **Unencumbered**: Licenses that dedicate the work to the public domain or grant very broad rights with no material conditions.
* **Forbidden**: Licenses that should not be used in your organization.

## GPL-2.0 with the Classpath exception

When a license file contains GPL-2.0 text followed by the Classpath exception, Endor Labs reports the license as `GPL-2.0-with-classpath-exception`. This identifier is separate from `GPL-2.0-only` and `GPL-2.0-or-later`. It also differs from the SPDX expression `GPL-2.0-only WITH Classpath-exception-2.0`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.