Skip to content
Snippets Groups Projects

Update false positive alert to have uniform text size

Merged Samantha Ming requested to merge 481961-fix-alert-anchor-text into master
All threads resolved!

What does this MR do and why?

Update false positive have uniform text size

Ensure doc link text in the false positive vulnerability alert has the same text size.

Issue: #481961 (closed)

Changelog: changed EE: true

References

Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image image

How to set up and validate locally

To create a false positive alert for a vulnerability:

Copy from !93605 (merged)

vuln = Vulnerability.find(<id>) # replace `<id>` with the ID of the vulnerability you want to mark as a false positive.
flag = Vulnerabilities::Flag.new(finding: vuln.finding, origin: "", description: "This is a false positive")
flag.save

Related to #481961 (closed)

Edited by Samantha Ming

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading