Skip to content

Swap AlertManagement presenter away from using Alerting::Alert

Sarah Yasonik requested to merge sy-transition-presenter-to-parsed-payload into master

What does this MR do?

This MR drops the usage of Gitlab::Alerting::Alert from the AlertManagement::Alert presenter classes, instead preferring the payload-parsing logic introduced in !38971 (merged).

The added tests mostly transfer test coverage over to the AlertMangement presenters from the previous solutions.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Sarah Yasonik

Merge request reports