Add source of discovery selection for internal vulnerabilities - #1776
Open
heyiamwahab236 wants to merge 1 commit into
Open
Add source of discovery selection for internal vulnerabilities#1776heyiamwahab236 wants to merge 1 commit into
heyiamwahab236 wants to merge 1 commit into
Conversation
Adds a Customization admin page with a Source of Discovery tab for managing a configurable list of discovery sources (penetration test, bug bounty, ...). When the feature is enabled, the create and edit forms offer a Source of Discovery dropdown populated from that list, and the vulnerability page shows the recorded source as a badge. Settings are cached by a new customization plugin and loaded once after authentication. The feature is off by default; when disabled, all forms and pages are unchanged. Signed-off-by: Abdul wahab Shah <214828401+heyiamwahab236@users.noreply.github.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
This was referenced Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a Customization admin page with a Source of Discovery tab for managing a
configurable list of discovery sources (penetration test, bug bounty, ...). When the
feature is enabled, the create and edit forms offer a Source of Discovery dropdown
populated from that list, and the vulnerability page shows the recorded source as a
badge.
Settings are cached by a new customization plugin and loaded once after
authentication. The feature is off by default; when disabled, all forms and pages are
unchanged.
Addressed Issue
Part of DependencyTrack/dependency-track#7115
Additional Details
(Add admin UI for custom vulnerability ID generation #1660, and the sibling text-placeholders PR) can each contribute their own tab;
whichever lands later will be rebased to add its tab to the shared page.
Checklist
This PR fixes a defect, and I have provided tests to verify that the fix is effectiveThis PR introduces changes to the database model, and I have updated the migration changelog accordinglyThis PR introduces new or alters existing behavior, and I have updated the [documentation] accordinglyThis PR is a substantial change (per the ADR criteria), and I have added an [ADR] underdocs/adr/