Skip to content

docs(asset-hierarchy): relationship types, and direct vs indirect vulnerabilities - #15672

Merged
devGregA merged 1 commit into
DefectDojo:devfrom
devGregA:docs/edge-semantics
Aug 15, 2026
Merged

docs(asset-hierarchy): relationship types, and direct vs indirect vulnerabilities#15672
devGregA merged 1 commit into
DefectDojo:devfrom
devGregA:docs/edge-semantics

Conversation

@devGregA

Copy link
Copy Markdown
Contributor

Documentation for the Pro asset-hierarchy edge-semantics work, shipping in the same batch and on the same release line as the Pro change.

Two things on the Asset Hierarchy page needed updating.

Relationship types. The page stated that parent is the only supported label. Two more now ship: contains (composition — and unlike parent, the same Asset can be contained by several others) and derived_from (lineage, as a container image is built from a base image). Added a short table giving each type's meaning and whether it aggregates upward, since that is the part with consequences: it drives both the indirect counts and the "Include child assets" option on metrics. derived_from deliberately does not aggregate — a base image's Findings are not the derived Asset's own exposure, and attributing them to every Asset built from it multiplies the same Finding across the estate.

Direct and indirect vulnerabilities. Hierarchy nodes and the Asset page now show the two counts, so there is a new section covering what each means, the two properties people will ask about (a Finding reachable by several paths is counted once, and nothing is stored — the counts follow the graph as it currently stands, so re-parenting changes them immediately and no Finding is ever copied onto another Asset), the permission behaviour (Assets you cannot view contribute nothing and show no counts rather than a zero), and how "direct" lines up with the Open Finding Severity total already on the Asset page.

Also extended two existing bullets in Notes rather than repeating the material: acyclicity is enforced per relationship type and in the database, and indirect attribution is computed on read.

No new page and no restatement of the hierarchy concepts already covered above these sections.

…nerabilities

The page said `parent` is the only supported label. Two more ship now, and which one you
pick changes what aggregates: contains rolls up, derived_from deliberately does not,
because a base image Findings are not the derived asset own exposure.

Also documents the direct/indirect counts on the hierarchy nodes and the asset page,
including the two properties people will ask about: a finding reachable by several paths
is counted once, and nothing is stored -- the counts follow the graph as it stands, and no
finding is ever copied onto another asset.
@github-actions github-actions Bot added the docs label Aug 14, 2026
@devGregA devGregA added this to the 3.3.0 milestone Aug 14, 2026
@devGregA
devGregA merged commit 52011d5 into DefectDojo:dev Aug 15, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant