Skip to content

Add a system note on Alert creation

David O'Regan requested to merge 225820-create-system-note-alert into master

What does this MR do?

A tiny MVC for #225820 (closed) which allows for the creation of a system note on creation of Alerts.

Supported types:

  • Generic => "GitLab Alert Bot @alert-bot logged an alert from Generic Alert Endpoint 2 hours ago"
  • Prometheus => "GitLab Alert Bot @alert-bot logged an alert from Prometheus 2 hours ago"

These system notes will be migrated to a separate set of tabs following: !39714 (merged)

Screenshots

Generic Prometheus
Screenshot_2020-08-21_at_16.17.40 Screenshot_2020-08-21_at_16.19.04

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

Contributes #225820 (closed)

Edited by Peter Leitzen

Merge request reports