Allow disabling ingesting
This commit is contained in:
@@ -88,6 +88,7 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
|
||||
"url",
|
||||
"service",
|
||||
"policy",
|
||||
"ingest",
|
||||
"enabled",
|
||||
)
|
||||
help_texts = {
|
||||
@@ -102,6 +103,7 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
|
||||
"window": "Time window to search: 1d, 1h, 1m, 1s, etc.",
|
||||
"amount": "Amount of matches to be returned for scheduled queries. Cannot be used with on-demand queries.",
|
||||
"policy": "When to trigger this policy.",
|
||||
"ingest": "Whether to ingest matches",
|
||||
}
|
||||
|
||||
def clean(self):
|
||||
|
||||
Reference in New Issue
Block a user