mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Detection Rules] Remove empty values in threshold.field array for threshold rules (#97111)
## Issues related to https://github.com/elastic/detection-rules/issues/1097 related to https://github.com/elastic/detection-rules/pull/1099 ## Summary `threshold.field` is an array that currently requires at least one value. An empty string `""` was required if no value was supplied. Instead, this needs to be replaced with no string and just an empty array. ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
This commit is contained in:
parent
83831ce990
commit
069b04bed6
1 changed files with 2 additions and 4 deletions
|
@ -46,11 +46,9 @@
|
|||
}
|
||||
],
|
||||
"threshold": {
|
||||
"field": [
|
||||
""
|
||||
],
|
||||
"field": [],
|
||||
"value": 25
|
||||
},
|
||||
"type": "threshold",
|
||||
"version": 3
|
||||
"version": 4
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue