Add customizable placeholder texts for create and audit forms - #1777
Open
heyiamwahab236 wants to merge 1 commit into
Open
Add customizable placeholder texts for create and audit forms#1777heyiamwahab236 wants to merge 1 commit into
heyiamwahab236 wants to merge 1 commit into
Conversation
Adds a Customization admin page with a Text Placeholders tab for configuring guidance texts that are shown as placeholders on the create vulnerability form (description, detail, recommendation, references) and on the audit form (comment, analysis details instruction), so organizations can surface their own process guidance directly in the forms. Settings are cached by a new customization plugin and loaded once after authentication. The feature is off by default; when disabled, all forms 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. |
Open
3 tasks
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 Text Placeholders tab for configuring guidance
texts that are shown as placeholders on the create vulnerability form (description,
detail, recommendation, references) and on the audit form (comment, analysis details
instruction), so organizations can surface their own process guidance directly in the
forms.
Settings are cached by a new customization plugin and loaded once after
authentication. The feature is off by default; when disabled, all forms are unchanged.
Addressed Issue
Part of DependencyTrack/dependency-track#7116
Additional Details
(Add admin UI for custom vulnerability ID generation #1660, Add source of discovery selection for internal vulnerabilities #1776) 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/