Understanding Direct and Transitive Dependencies
Transitive Dependencies
Most risk in software does not sit in the components you declare. It sits in the components those components bring with them. The Components tab on each asset now shows how every component entered your software, so you can see which components you depend on directly, which ones arrived through another component, and which direct dependency introduced them.
How it works
The Manifest Platform reads the dependency relationships in each software bill of materials (SBOM) when it processes the SBOM. The platform then gives each component one of three relationship labels:
- Direct: The software that the SBOM describes depends on this component directly.
- Transitive: Another component introduces this component. It sits one or more levels below a direct dependency.
- Unknown: The SBOM does not connect this component to the software that the SBOM describes.
NoteA dependency that is both direct and transitive is classified as direct, but will also show up in the components list separately as a transitive dependency.
The platform stores the full dependency graph for each asset. The Components tab shows two levels:
- The direct dependencies.
- Under each direct dependency, one flat list of all the transitive dependencies it introduces, at every depth.
The SBOM is the source of truth. The platform reads only the relationships that the SBOM declares. It does not look up, infer, or add relationships from other sources. Because of this, the feature works fully in self-hosted and air-gapped deployments.
Prerequisites
- An SBOM in CycloneDX or SPDX format that includes dependency data. The platform reads the dependency section of the SBOM.
- The SBOM was processed after this feature was released. The platform does not add relationship data to SBOMs that it processed before the release.
- Access to the asset. This feature adds no new roles or permissions. If you can view the Components tab of an asset, you can view its relationship data.
- For self-hosted and air-gapped deployments: self-hosted v3.1.0 or later, with the feature turned on. See Self-hosted and air-gapped deployments.
View dependency relationships
- Go to the Assets page.
- Select an asset.
- Select the Components tab.
- Look at the Relationship column. Each row shows Direct, Transitive, or Unknown.
- To see the transitive dependencies of a direct dependency, select the expand control on its row.
- Look at the Introduced by column on each transitive row. It shows the direct dependency that introduced the component.
New columns
| Column | What it shows |
|---|---|
| Relationship | The label of the component: Direct, Transitive, or Unknown. |
| Introduced by | For a transitive component, the direct dependency (or dependencies) that introduced it. If more than one direct dependency introduced it, the cell shows the first name and a "+N" count. Direct rows show "--". |
All existing columns stay the same, including on transitive rows. Use the column settings button next to the filter button to show or hide columns. Select a column header to sort. Sorting applies within each level of the table.
Filter by relationship
- Select the filter button next to the search box.
- Select Direct, Transitive, Unknown, or any combination.
The table keeps its two-level shape when you filter:
- Direct or Unknown: The table shows only those top-level rows. You can still expand direct dependencies.
- Transitive: The table shows transitive components under the direct dependencies that introduce them. The parent rows stay visible as context.
Search for a component
Enter a component name in the search box. Search checks all components of the asset, at every level.
- A transitive component that matches appears under each direct dependency that introduces it. The parent row stays visible, even if the parent does not match.
- A direct dependency that matches appears at the top level. Its expand control appears only if some of its transitive components also match.
- Branches with matches open automatically.
- The table hides components that do not match.
How the platform labels components
The platform applies these rules to each SBOM:
- A component can be both direct and transitive. The platform labels it Direct. It also appears in the expanded list of each direct dependency that introduces it.
- A transitive component can have more than one parent. It appears under each direct dependency that introduces it. In one expanded list, each component appears one time only.
- Components with no connection are Unknown. This includes components that appear in no relationship, and components in a part of the graph that the SBOM does not connect to the root.
- An SBOM with no dependency section shows all components as Unknown. The platform decides this from the content of the file, not from the tool that generated it.
- Nested components in CycloneDX are not dependencies. Nesting shows how software is packaged. The platform reads only the dependency section.
- There is no depth limit. Cycles, self-references, and duplicate links do not cause processing to fail.
Relationships are resolved within one SBOM at a time. The platform does not connect components across SBOMs that you upload separately.
Example
An SBOM for cinco_api 1.4.0 declares three direct dependencies: requests, fastapi, and pydantic. fastapi also depends on pydantic. idna is reached through both requests and fastapi. setuptools is in the SBOM but appears in no relationship.
The Components tab shows these top-level rows:
| Top-level row | Relationship | Expanded list |
|---|---|---|
requests | Direct | urllib3, idna |
fastapi | Direct | starlette, pydantic, anyio, idna |
pydantic | Direct | No expand control |
setuptools | Unknown | No expand control |
pydantic is Direct, and it also appears in the list for fastapi. idna appears under both requests and fastapi.
What to expect
- The count badge on the Components tab shows the count for all direct and transitive components. The count stays the same while a search is active.
- Assets processed before this release show all components as Unknown, with no expand controls. To get relationship labels, upload a new SBOM version for the asset.
These pages do not change and do not show relationship data:
- The organization-wide Components page
- The component details page
- The vulnerability details page
- Product pages
- Exports and reports
SBOM downloads do not change. The downloaded file already contains the relationships from the original SBOM.
To see components across separately uploaded SBOMs, group assets into products. See Creating a Product Hierarchy.
Self-hosted and air-gapped deployments
Self-hosted v3.1.0 is the first release that includes this feature. The feature makes no network calls, so it works fully in air-gapped deployments.
The feature is off by default on self-hosted installs. A platform admin must turn it on.
- Upgrade the install to self-hosted v3.1.0 or later. See Upgrade or Update an Air-Gapped Install.
- Sign in as a platform admin.
- In the Administration area, open Feature Flags.
- Create a flag named
transitive-dependencies. - Turn the flag on for the whole platform, or for specific organizations.
- Reload the Components tab of an asset.
You do not need to reprocess SBOMs. The platform writes relationship data for every SBOM that it processes on v3.1.0 or later, even when the flag is off.
To turn the feature off, switch the transitive-dependencies flag off. The Components tab returns to a flat list on the next page load.
Troubleshooting
Symptom: All components show Unknown.
- Cause: The platform processed the SBOM before this feature was available.
Fix: Upload a new SBOM version for the asset. - Cause: The SBOM has no dependency section.
Fix: Generate the SBOM with a tool that includes dependency data. Output from cdxgen and Trivy normally includes it. See Using Third-Party Generators.
Symptom: Some components show Unknown and others show Direct or Transitive.
- Cause: The SBOM does not connect those components to the software that the SBOM describes.
Fix: Check the dependency section of the SBOM. Regenerate the SBOM if relationships are missing.
Symptom: A direct dependency has no expand control.
- Cause: The direct dependency introduces no transitive components.
Fix: No action is necessary.
Symptom: No direct dependency on a very large asset has an expand control, and the Introduced by column is empty.
- Cause: The dependency graph is too large for the platform to calculate the Introduced by data. The labels are still complete.
Fix: Contact Manifest support.
Symptom: An expanded list does not load.
- Cause: The platform could not retrieve the transitive dependencies.
Fix: Select the retry option in the expanded row. The rest of the table stays usable.
Symptom: The Relationship and Introduced by columns do not appear on a self-hosted install.
- Cause: The install is earlier than v3.1.0, or the
transitive-dependenciesflag is off.
Fix: Upgrade the install, then turn on the flag. See Self-hosted and air-gapped deployments.
Symptom: The same component appears under more than one direct dependency.
- Cause: More than one direct dependency introduces the component.
Fix: No action is necessary. This is expected behavior.
Related docs
Updated 27 days ago
