Alan (Maciej) Paruszewski activity https://gitlab.com/alan 2026-03-18T12:46:47Z tag:gitlab.com,2026-03-18:5217379531 Alan (Maciej) Paruszewski pushed to project branch 585963-severity-override-3-services-worker at GitLab.org / GitLab 2026-03-18T12:41:25Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (9975857b) at 18 Mar 12:41

Address MR comments

tag:gitlab.com,2026-03-18:5216897381 Alan (Maciej) Paruszewski commented on merge request !224324 at GitLab.org / GitLab 2026-03-18T10:52:47Z alan Alan (Maciej) Paruszewski [email protected]

Thanks a lot, I've also included changes for ee/app/services/security/findings/policy_severity_override_checker.rb; thanks for great review, @mcavoj! 🙇

tag:gitlab.com,2026-03-18:5216893277 Alan (Maciej) Paruszewski commented on merge request !224324 at GitLab.org / GitLab 2026-03-18T10:51:55Z alan Alan (Maciej) Paruszewski [email protected]

Good point, added! 🙇

tag:gitlab.com,2026-03-18:5216881459 Alan (Maciej) Paruszewski deleted project branch update-sp-dev-db-migrations at GitLab.org / Security Risk Management / Security Policies Group / Projects / ... 2026-03-18T10:49:18Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (f90b335e) at 18 Mar 10:49

tag:gitlab.com,2026-03-18:5216880907 Alan (Maciej) Paruszewski accepted merge request !1: Make sp-dev use rails g migration at GitLab.org / Security Risk Management / Security Policies Group / P... 2026-03-18T10:49:11Z alan Alan (Maciej) Paruszewski [email protected]

When the agent creates migrations it often generates a wrong timestamp. If we ask it to use rails g migration we make sure migrations are created correctly

tag:gitlab.com,2026-03-18:5216880904 Alan (Maciej) Paruszewski pushed to project branch main at GitLab.org / Security Risk Management / Security Policies Group / Projects / agent-kits 2026-03-18T10:49:11Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (ee8aff99) at 18 Mar 10:49

Merge branch 'update-sp-dev-db-migrations' into 'main'

... and 1 more commit

tag:gitlab.com,2026-03-18:5216880854 Alan (Maciej) Paruszewski commented on merge request !1 at GitLab.org / Security Risk Management / Security Policies Group / Projects / agent-kits 2026-03-18T10:49:10Z alan Alan (Maciej) Paruszewski [email protected]

Sure, @Andyschoenen, sounds good! 🙇

tag:gitlab.com,2026-03-18:5216875743 Alan (Maciej) Paruszewski pushed to project branch 585963-severity-override-3-services-worker at GitLab.org / GitLab 2026-03-18T10:48:10Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (db9b055f) at 18 Mar 10:48

Do not change unknown severity

tag:gitlab.com,2026-03-18:5216592272 Alan (Maciej) Paruszewski pushed to project branch 585963-severity-override-3-services-worker at GitLab.org / GitLab 2026-03-18T09:51:20Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (5778ecc6) at 18 Mar 09:51

Adress MR comments

tag:gitlab.com,2026-03-18:5216440441 Alan (Maciej) Paruszewski commented on merge request !224324 at GitLab.org / GitLab 2026-03-18T09:18:38Z alan Alan (Maciej) Paruszewski [email protected]

It follows https://gitlab.com/gitlab-org/gitlab/-/blob/1eb4a3a7ddf52c49ab854b2cdc64d181852ab011/app/models/concerns/enums/vulnerability.rb#L21-30; however the more I think about it I wonder how we could solve this problem. I would exclude unknown from the increase/decrease ladder entirely and only allow set operations on unknown vulnerabilities. 🤔

tag:gitlab.com,2026-03-17:5215178061 Alan (Maciej) Paruszewski pushed to project branch 585963-severity-override-3-services-worker at GitLab.org / GitLab 2026-03-17T23:53:35Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (0013f092) at 17 Mar 23:53

Remove failing spec

tag:gitlab.com,2026-03-17:5215149186 Alan (Maciej) Paruszewski pushed to project branch 589650-pep-mergeability-check-poc-frontend at GitLab.org / GitLab 2026-03-17T23:34:28Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (e07e6e33) at 17 Mar 23:34

Fix failing spec

tag:gitlab.com,2026-03-17:5215146130 Alan (Maciej) Paruszewski commented on epic #18312 at GitLab.org 2026-03-17T23:32:15Z alan Alan (Maciej) Paruszewski [email protected]

@arfedoro, I agree it requires additional verification from design perspective (especially for GA release). As this is mainly Experimental feature that we will build and we want to iterate, this is probably acceptable (@marissa.henri to confirm). 🤔

In the future (when we implement Policies V2) Security Attributes would not be a part of Policy Scope, but part of Policy Rules instead, as you might want to have different actions based on different project attributes. 👍

tag:gitlab.com,2026-03-17:5215132057 Alan (Maciej) Paruszewski pushed to project branch 589650-pep-mergeability-check-poc at GitLab.org / GitLab 2026-03-17T23:25:22Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (44d78805) at 17 Mar 23:25

Add missing spec

tag:gitlab.com,2026-03-17:5215120316 Alan (Maciej) Paruszewski commented on merge request !224324 at GitLab.org / GitLab 2026-03-17T23:18:17Z alan Alan (Maciej) Paruszewski [email protected]

Thanks a lot @mcavoj, I think I managed to address all of them! 🙇 Also luckily Add PolicySeverityOverrideChecker and PolicySev... (!226368 - merged) was merged, so we are ready to proceed! 👍

tag:gitlab.com,2026-03-17:5215118663 Alan (Maciej) Paruszewski pushed to project branch 585963-severity-override-3-services-worker at GitLab.org / GitLab 2026-03-17T23:17:26Z alan Alan (Maciej) Paruszewski [email protected]

Alan (Maciej) Paruszewski (322f3566) at 17 Mar 23:17

Address MR comments

tag:gitlab.com,2026-03-17:5215114899 Alan (Maciej) Paruszewski commented on merge request !224324 at GitLab.org / GitLab 2026-03-17T23:15:36Z alan Alan (Maciej) Paruszewski [email protected]

Added test with competing policies context: one policy decreases severity (high → medium) and another increases it (high → critical), confirming the highest-severity policy wins. 👍

tag:gitlab.com,2026-03-17:5215113776 Alan (Maciej) Paruszewski commented on merge request !224324 at GitLab.org / GitLab 2026-03-17T23:14:55Z alan Alan (Maciej) Paruszewski [email protected]

Fixed - the override record now has original_severity: :high, new_severity: :critical and the vulnerability/finding are updated to :critical in the before block.

The service itself doesn't match on severity values in the override record - it just checks for the existence of any manual override - but the setup is now more readible. 👍