Harrison Peters activity https://gitlab.com/hptrs 2026-03-17T12:57:14Z tag:gitlab.com,2026-03-17:5212747522 Harrison Peters commented on issue #570519 at GitLab.org / GitLab 2026-03-17T12:57:14Z hptrs Harrison Peters

This is live on production (18.10 release)

Screenshot 2026-03-17 at 6.55.48 AM.png

CC: @mclausen35 @ajbiton @cbazan1

tag:gitlab.com,2026-03-17:5210916026 Harrison Peters commented on merge request !226694 at GitLab.org / GitLab 2026-03-17T04:38:50Z hptrs Harrison Peters

@sming-gitlab Absolutely! This LGTM 👍

tag:gitlab.com,2026-03-17:5210915748 Harrison Peters approved merge request !226694: Update mr_reports_tab FF actor to project at GitLab.org / GitLab 2026-03-17T04:38:40Z hptrs Harrison Peters

What does this MR do and why?

This MR updates the actor for all mr_reports_tab FF reference to be project instead of current_user.

There is no UI/UX changes, everything continues to work expected:

mr_reports_tab true mr_reports_tab false
image image

mr_reports_tab true

  • Has "Reports" tab
  • Display "View reports"
  • Widget is not expandable

mr_reports_tab false

  • No "Reports" tab
  • Widget is expandable

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Clone this repo and create a MR similar to this: gitlab-org/govern/threat-insights-demos/frontend/mr-reports-tab!1
  2. Trigger a pipeline and it will create some findings

Enable and disable FF:

http://gdk.test:3000/rails/features/mr_reports_tab

MR acceptance checklist

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

Related to #592500

tag:gitlab.com,2026-03-17:5210895685 Harrison Peters commented on merge request !227358 at GitLab.org / GitLab 2026-03-17T04:27:24Z hptrs Harrison Peters

Thought (non-blocking): It seems like we use "20" as a pretty standard spacing throughout these files- might be nice to put it in a constant at some point?

tag:gitlab.com,2026-03-17:5210895666 Harrison Peters approved merge request !227358: [Backend] Draw vulnerabilities by age in the exported PDF at GitLab.org / GitLab 2026-03-17T04:27:23Z hptrs Harrison Peters

What does this MR do and why?

Adds support for rendering a vulnerabilities by age chart in PDF vulnerability export reports. This enables users to visualize the distribution of vulnerabilities by their age when exporting security reports.

References

Screenshots or screen recordings

Before After
Screenshot 2026-03-13 at 7.33.16 PM.png Screenshot 2026-03-13 at 7.32.59 PM.png

How to set up and validate locally

  1. Create a group with vulnerabilities
    • Create a group and add a project with vulnerabilities
    • Navigate to the group's Security Dashboard
    • Click Export and verify the vulnerabilities by age chart is present in the PDF
  2. Verify project-level export excludes the chart
    • Navigate to the same project's Security Dashboard
    • Click Export and verify the vulnerabilities by age chart is NOT present in the PDF (only available at group level)

MR acceptance checklist

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

Related to #593068

tag:gitlab.com,2026-03-17:5210895650 Harrison Peters commented on merge request !227358 at GitLab.org / GitLab 2026-03-17T04:27:22Z hptrs Harrison Peters

Sorry @bryan_valdiviezo - I had this review written but never published it 🤦

I don't have much to suggest from my side. Rendering looks good 👍

image.png

tag:gitlab.com,2026-03-17:5210895647 Harrison Peters commented on merge request !227358 at GitLab.org / GitLab 2026-03-17T04:27:22Z hptrs Harrison Peters
        # We use the aspect ratio to fit it within the available space without distortion.
tag:gitlab.com,2026-03-16:5209707111 Harrison Peters commented on merge request !223073 at GitLab.org / GitLab 2026-03-16T18:52:16Z hptrs Harrison Peters

Thanks @bwill! I applied your suggestions- WDYT?

tag:gitlab.com,2026-03-16:5209697920 Harrison Peters commented on merge request !223073 at GitLab.org / GitLab 2026-03-16T18:49:39Z hptrs Harrison Peters

Updated this 👍

tag:gitlab.com,2026-03-16:5209696586 Harrison Peters commented on merge request !223073 at GitLab.org / GitLab 2026-03-16T18:49:18Z hptrs Harrison Peters

Made this change

tag:gitlab.com,2026-03-16:5209691447 Harrison Peters pushed to project branch 570519-no-longer-detected-exposed-secrets at GitLab.org / GitLab 2026-03-16T18:47:37Z hptrs Harrison Peters

Harrison Peters (8b06b990) at 16 Mar 18:47

Improve single responsibility in marked_as_resolved service

... and 1 more commit

tag:gitlab.com,2026-03-16:5209281672 Harrison Peters pushed to project branch 570519-no-longer-detected-exposed-secrets at GitLab.org / GitLab 2026-03-16T16:47:45Z hptrs Harrison Peters

Harrison Peters (e13c3765) at 16 Mar 16:47

Apply 1 suggestion(s) to 1 file(s)

tag:gitlab.com,2026-03-16:5209276626 Harrison Peters commented on merge request !223073 at GitLab.org / GitLab 2026-03-16T16:46:31Z hptrs Harrison Peters

Totally agree! Happy to address this 👍

tag:gitlab.com,2026-03-13:5202739875 Harrison Peters approved merge request !227283: [Backend] Draw vulnerabilities over time chart in the exported PDF at GitLab.org / GitLab 2026-03-13T19:35:33Z hptrs Harrison Peters

What does this MR do and why?

Adds support for rendering a vulnerabilities over time chart in PDF vulnerability export reports.

References

Screenshots or screen recordings

Before After
Screenshot 2026-03-13 at 1.53.18 PM.png Screenshot 2026-03-13 at 1.52.57 PM.png

How to set up and validate locally

For Group:

  1. Set up test data:
    • Create a group with at least one project
    • Ensure the project has vulnerabilities (you can create test vulnerabilities or run security scans)
  2. Export the PDF:
    • Navigate to the Security Dashboard for the group or project
    • Click the Export button
  3. Validate:
    • Download the exported PDF
    • Verify that the vulnerabilities over time is rendered correctly
    • Check that the chart displays the correct data and formatting

For Project:

  1. Set up test data:
    • Create a project with vulnerabilities
  2. Export the PDF:
    • Navigate to the Security Dashboard for the project
    • Click the Export button
  3. Validate:
    • Download the exported PDF
    • Verify that the vulnerabilities over time is rendered correctly and that total is score is not present
    • Check that the chart displays the correct data and formatting

MR acceptance checklist

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

Related to #592952

tag:gitlab.com,2026-03-13:5202723735 Harrison Peters commented on merge request !227283 at GitLab.org / GitLab 2026-03-13T19:28:51Z hptrs Harrison Peters

@bryan_valdiviezo On my local it's rendering a little funky again but overall LGTM!

I checked out Ugo's points from the previous MR and I think they're all addressed here as well 👍

tag:gitlab.com,2026-03-13:5202721904 Harrison Peters commented on merge request !227283 at GitLab.org / GitLab 2026-03-13T19:28:05Z hptrs Harrison Peters

Looks good! The graph out of bounds from it's grey background again though 🤔

I can see in the example this is not the case so perhaps it's another local issue?

Screenshot 2026-03-13 at 1.23.07 PM.png

tag:gitlab.com,2026-03-13:5202180212 Harrison Peters pushed to project branch 570519-no-longer-detected-exposed-secrets at GitLab.org / GitLab 2026-03-13T16:24:31Z hptrs Harrison Peters

Harrison Peters (46dbfcb4) at 13 Mar 16:24

Fix undercoverage warnings

tag:gitlab.com,2026-03-13:5201680215 Harrison Peters commented on merge request !223073 at GitLab.org / GitLab 2026-03-13T14:26:12Z hptrs Harrison Peters

@bwill @subashis The field is now only exposed on the VulnerabilityType

tag:gitlab.com,2026-03-13:5201665146 Harrison Peters commented on merge request !223073 at GitLab.org / GitLab 2026-03-13T14:22:35Z hptrs Harrison Peters

This isn't a new query- I just moved it into a separate method

tag:gitlab.com,2026-03-13:5201652455 Harrison Peters pushed to project branch 570519-no-longer-detected-exposed-secrets at GitLab.org / GitLab 2026-03-13T14:19:40Z hptrs Harrison Peters

Harrison Peters (18cb0a9e) at 13 Mar 14:19

Remove missed spec