Skip to content

docs: Pro set-based deduplication hash code fields for CWE/Vulnerability_Ids#15154

Merged
Maffooch merged 2 commits into
devfrom
feat/dedupe-set-match-docs
Jul 14, 2026
Merged

docs: Pro set-based deduplication hash code fields for CWE/Vulnerability_Ids#15154
Maffooch merged 2 commits into
devfrom
feat/dedupe-set-match-docs

Conversation

@valentijnscholten

@valentijnscholten valentijnscholten commented Jul 4, 2026

Copy link
Copy Markdown
Member

🔗 PR stack — CWE / vulnerability-ID consolidation (OSS)

Merge bottom-up:

  • #15145 — autodetected vulnerability-ID type + uniqueness constraint
    • #15143 — multiple CWEs per finding
      • #15154 — docs: Pro set-based dedup hash-code fields
      • #15155 — pluggable false-positive-history candidate filter

👉 This PR: #15154


Stacked docs PR — do not merge before its base.

Documentation for the DefectDojo Pro set-match deduplication fields (Pro Tuner). Adds a "Set-based Hash Code Fields" section to the Pro deduplication tuning page covering the vulnerability-ID and CWE set matchers (vulnerability_ids exact, vulnerability_ids_partial/_subset, cwes_partial/_subset), their empty-set behavior, and the configuration rules.

Stack (merge bottom-up)

  1. feat(finding): copy finding fix + autodetected vulnerability id type + uniqueness constraint #15145feat/vulnerability-id-type (autodetected vulnerability ID type + uniqueness) → dev
  2. feat(finding): multiple CWEs per finding #15143feat/cwe-vuln-id-consolidation (multiple CWEs per finding) → stacked on feat(finding): copy finding fix + autodetected vulnerability id type + uniqueness constraint #15145
  3. this PR — docs → stacked on feat(finding): multiple CWEs per finding #15143 (base: feat/cwe-vuln-id-consolidation)

The CWE matchers documented here rely on the Finding_CWE model from #15143, so this PR is based on that branch. It accompanies the DefectDojo Pro feat/dedupe-set-match-tokens PR (dojo-pro #1749), which implements the fields.

@github-actions github-actions Bot added the docs label Jul 4, 2026
@valentijnscholten valentijnscholten added this to the 3.2.0 milestone Jul 5, 2026
@valentijnscholten
valentijnscholten force-pushed the feat/dedupe-set-match-docs branch from 727b7cc to 1ca8895 Compare July 5, 2026 18:21
@valentijnscholten valentijnscholten changed the title docs: Pro set-based deduplication hash code fields (WIP) docs: Pro set-based deduplication hash code fields Jul 6, 2026
@valentijnscholten
valentijnscholten force-pushed the feat/dedupe-set-match-docs branch from 1ca8895 to 1bce7eb Compare July 6, 2026 13:54
@valentijnscholten valentijnscholten changed the title docs: Pro set-based deduplication hash code fields docs: Pro set-based deduplication hash code fields for CWE/Vulnerability_Ids Jul 7, 2026
@Maffooch
Maffooch force-pushed the feat/cwe-vuln-id-consolidation branch from 354058e to 518df6c Compare July 14, 2026 01:07
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions Bot added New Migration Adding a new migration file. Take care when merging. settings_changes Needs changes to settings.py based on changes in settings.dist.py included in this PR unittests ui parser labels Jul 14, 2026
@Maffooch
Maffooch force-pushed the feat/cwe-vuln-id-consolidation branch 2 times, most recently from 2f3a611 to 0b291ea Compare July 14, 2026 03:15
Base automatically changed from feat/cwe-vuln-id-consolidation to dev July 14, 2026 03:54
valentijnscholten and others added 2 commits July 13, 2026 21:56
…+ CWE matchers)

Document the Pro Tuner set-match hash-code fields: vulnerability_ids (exact),
vulnerability_ids_partial/_subset, and cwes_partial/_subset — what each matches, how
_partial/_subset are compared per pair rather than hashed, the empty-set behavior
(abstain when another hashed field gates the pair; no match when the matcher is the
sole field), and the config rules (a vulnerability IDs field may stand alone; CWE
fields may not be the only criteria).
The token table listed cwes_partial/cwes_subset but omitted the bare `cwes`
token (exact CWE set, folded into the hash like `vulnerability_ids`). Add the
row, note it in the exact-matching sentence, and include `cwes` in the
"CWE fields may not be the only criteria" rule.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Maffooch
Maffooch force-pushed the feat/dedupe-set-match-docs branch from 7b81cfb to 9354609 Compare July 14, 2026 03:56
@github-actions github-actions Bot removed New Migration Adding a new migration file. Take care when merging. settings_changes Needs changes to settings.py based on changes in settings.dist.py included in this PR unittests ui parser conflicts-detected labels Jul 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@Maffooch
Maffooch marked this pull request as ready for review July 14, 2026 04:02
@Maffooch
Maffooch merged commit a7cf2fa into dev Jul 14, 2026
150 checks passed
@Maffooch
Maffooch deleted the feat/dedupe-set-match-docs branch July 14, 2026 05:59
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.

3 participants