Use Case
View a component’s OSS licenses and modify license entries directly from the SBOM component tree.
This workflow helps you correct inaccurate license data and ensure accurate reporting and compliance within Xray.
Workflow Steps
Step 1: Open the SBOM Tab
- Navigate to Scans List.
- Select the desired artifact from the list.
- Open the SBOM tab.
- Switch to the Components Tree to explore the dependency graph.
Step 2: Select a Component
- In the tree, expand the relevant ecosystem.
- Select the component whose licenses you want to review.
Step 3: View the Component’s Licenses
The right pane displays:
- All detected licenses
- License grouping (Copyleft, Permissive, etc.)
- Source of the license (JFrog, Local File, Manual)
Example:
- GPL-2.0-or-later
- Apache-2.0
- MIT
- GPL-2.0 (Local File)
- ISC (Manual)
This helps identify incorrect or incomplete license attribution.
Step 4: Edit the Component’s Licenses
- Click Edit Licenses in the right pane.
- Use the search bar to locate licenses.
- Select or unselect licenses to update the component's license list.
- Click Update Licenses.
Any license change applies to all occurrences of that package in the SBOM.