summaryrefslogtreecommitdiff
path: root/app/models/alert_management
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-04 18:09:55 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-04 18:09:55 +0000
commitae42530b1be0d25186881ae45c39bdf1122a84b9 (patch)
tree0592eb5b3b23d1dcd3b00bdb3b00f3b28412a291 /app/models/alert_management
parente0655935eb32ba057b6ced978940076681d71177 (diff)
downloadgitlab-ce-ae42530b1be0d25186881ae45c39bdf1122a84b9.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/alert_management')
-rw-r--r--app/models/alert_management/alert.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/alert_management/alert.rb b/app/models/alert_management/alert.rb
index f7f7bb99b5a..fa9b9fc9e2d 100644
--- a/app/models/alert_management/alert.rb
+++ b/app/models/alert_management/alert.rb
@@ -69,6 +69,11 @@ module AlertManagement
unknown: 5
}
+ enum domain: {
+ operations: 0,
+ threat_monitoring: 1
+ }
+
state_machine :status, initial: :triggered do
state :triggered, value: STATUSES[:triggered]