find_duplicate_analyses
Retrieve analyses of duplicate findings across a Dependency-Track project and other projects to reuse prior triage decisions. Filters by analysis state, active projects, and project tags.
Instructions
Find analyses of duplicates of a finding across DT.
Given one finding, returns three parallel lists of duplicates with their current analysis (state + comment history), intended for a triage loop that wants to reuse prior decisions:
aliases_in_project— other findings in the same project in the same alias cluster (CVE ↔ GHSA ↔ OSV of the same issue).same_vuln_other_components— same vulnerability uuid on other components/versions in the same project.other_projects— findings in other DT projects that share any id in the target's alias cluster; each entry carries its project uuid/name/version.
Each entry bundles {component, vulnerability, analysis}; entries
in other_projects also carry project. Read-only.
Filters (v0.4):
states— whitelist of analysis states (e.g.["NOT_AFFECTED","EXPLOITABLE"]) applied to all three output buckets.targetis never filtered.only_analyzed— shorthand for every state except NOT_SET. Ignored whenstatesis non-empty (stateswins).active_only(default True) — skip archived/inactive DT projects inother_projects. v0.4 default flip — existing callers that don't pass the flag stop seeing archived hits.project_tag— inother_projectsonly, keep projects carrying this tag (case-insensitive name equality).compact— strip bulky fields (description, CVSS vectors, analysis details, long comment bodies truncated to 200 chars). See SPEC §13.4.1 for the exact field list.
Args:
project_uuid: DT project UUID of the target finding.
component_uuid: DT component UUID of the target finding.
vulnerability_uuid: DT vulnerability UUID of the target finding.
states: Whitelist of analysis state strings, e.g.
["NOT_AFFECTED","EXPLOITABLE"].
only_analyzed: If true, keep only entries with a non-NOT_SET
analysis. Ignored when states is non-empty.
active_only: If true (default), skip archived projects in
other_projects.
project_tag: Optional DT tag name; restricts other_projects
to projects carrying this tag (case-insensitive).
compact: If true, strip bulky fields from the payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_uuid | Yes | ||
| component_uuid | Yes | ||
| vulnerability_uuid | Yes | ||
| states | No | ||
| only_analyzed | No | ||
| active_only | No | ||
| project_tag | No | ||
| compact | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||