Skip to content

Hook up the auto_close_incident checkbox with the corresponding DB column

What does this MR do?

  • Connects "Automatically close incident issues when the associated Prometheus alert resolves." checkbox with the corresponding DB field.
  • Checks the setting before resolving a Prometheus alert.

Contributes #225254 (closed)

The checkbox still behind a feature flag

Feature.enable(:auto_close_incident)

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 Vitali Tatarintev

Merge request reports