Skip to content

Makes security notifier class to be agnostic

Mayra Cabrera requested to merge refactor-security-notifier into master

What does this MR do and why?

Makes Security::Notifier class to be agnostic

This commit updates the Security::Notifier class to make it agnostic. It now receives two arguments (job_type and status) and sends a generic message based on them. This will allow us to re-use the notifier for more jobs.

Related to gitlab-com/gl-infra/delivery#19300 (closed)

Author Check-list

  • [-] Has documentation been updated?

Merge request reports