Overriding Package Licenses

The package override feature for license data lets you override license information for specific packages in your Anchore Enterprise deployment. Overrides apply globally within the account — every asset that contains the targeted package surfaces the corrected license data, regardless of which app version or image it appears in.

License Summary Document

Anchore Enterprise provides a per-image license summary document that lists each package alongside its detected license data. Each package entry includes the package’s identity (name, version, type, PURL and CPEs) and the license identifiers detected at the time of analysis. When the identifier is a valid SPDX expression, additional fields are included: license name, text, header, URL, and copyright.

Retrieve the document with GET /v2/images/{image_digest}/content/licenses.

Any license override data is reflected in the license summary document.

Override License Data

Overrides target a specific package identified by its PURL. Any license field included in the override request is used in place of the upstream-reported license data. Create or update overrides by sending a POST or PUT to /exp/system/package-overrides/licenses.

An override may target one or more of the licenses that the package originally surfaced, or it may target specific license data such as the license text, header, URL, or copyright.

Any override applies globally to any image or asset that contains the specified package.

License Override RBAC Role

A dedicated RBAC role supports the license override feature. The license-override role can be conferred on any user — those users can then create, update, and delete license overrides. The role has a domain value of system and a resource value of license-overrides. The license-override role is not required to view the license summary document.

Users with the system-admin role also have permission to create, update, and delete license overrides.

Anchore Enterprise Experimental API

The license override feature is part of the Anchore Enterprise Experimental API.

Last modified November 6, 2026