-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[x-license] Expose license / license text for SBOM generators (like cyclonedx package) #22706
Copy link
Copy link
Open
Labels
scope: all componentsWidespread work has an impact on almost all components.Widespread work has an impact on almost all components.scope: x-licenseChanges related to @mui/x-license.Changes related to @mui/x-license.status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.These issues haven't been looked at yet by a maintainer.support: pro standardSupport request from a Pro standard plan user. https://mui.com/legal/technical-support-sla.Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla.
Metadata
Metadata
Assignees
Labels
scope: all componentsWidespread work has an impact on almost all components.Widespread work has an impact on almost all components.scope: x-licenseChanges related to @mui/x-license.Changes related to @mui/x-license.status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.These issues haven't been looked at yet by a maintainer.support: pro standardSupport request from a Pro standard plan user. https://mui.com/legal/technical-support-sla.Support request from a Pro standard plan user. https://mui.com/legal/technical-support-sla.
Fields
Give feedbackNo fields configured for issues without a type.
Steps to reproduce
Steps:
Current behavior
Currently it returns
Our sbom tool returns following warnings:
WARNING: The license text of component 'x-data-grid-pro' and license 'SEE LICENSE IN LICENSE' has no text.
WARNING: The license text of component 'x-license' and license 'SEE LICENSE IN LICENSE' has no text.
WARNING: The license text of component 'x-telemetry' and license 'SEE LICENSE IN LICENSE' has no text.
Expected behavior
It should use valid SPDX identifier (most probably with prefix LiceseRef) and should return properly the license text.
Context
We use command
cyclonedx-npm --package-lock-only --spec-version 1.6 --omit dev --short-PURLs --output-file sbom.cyclonedx.jsonand content of this command is then used in our sbom generate tool (which packs together all layers of the application).Your environment
npx @mui/envinfoSearch keywords: license sbom
Order ID: 44899