Commit 1a77095
authored
Changes out the default arrays and adds types (#93063)
## Summary
Follow up from:
#92928
Removes the default arrays and adds typing to the rule schema in order to see which ones require default arrays vs. which ones can/should be defaulted as `undefined`. Updates unit tests.
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios1 parent f44916b commit 1a77095
3 files changed
Lines changed: 10 additions & 38 deletions
File tree
- x-pack/plugins/security_solution/server/lib/detection_engine/signals
Lines changed: 0 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | 134 | | |
138 | 135 | | |
139 | 136 | | |
| |||
256 | 253 | | |
257 | 254 | | |
258 | 255 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 256 | | |
263 | 257 | | |
264 | 258 | | |
| |||
380 | 374 | | |
381 | 375 | | |
382 | 376 | | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | 377 | | |
387 | 378 | | |
388 | 379 | | |
| |||
494 | 485 | | |
495 | 486 | | |
496 | 487 | | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | 488 | | |
501 | 489 | | |
502 | 490 | | |
| |||
601 | 589 | | |
602 | 590 | | |
603 | 591 | | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | 592 | | |
608 | 593 | | |
609 | 594 | | |
| |||
707 | 692 | | |
708 | 693 | | |
709 | 694 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | 695 | | |
714 | 696 | | |
715 | 697 | | |
| |||
813 | 795 | | |
814 | 796 | | |
815 | 797 | | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | 798 | | |
820 | 799 | | |
821 | 800 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 108 | | |
112 | 109 | | |
113 | 110 | | |
| |||
166 | 163 | | |
167 | 164 | | |
168 | 165 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 166 | | |
173 | 167 | | |
174 | 168 | | |
| |||
227 | 221 | | |
228 | 222 | | |
229 | 223 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 224 | | |
234 | 225 | | |
235 | 226 | | |
| |||
292 | 283 | | |
293 | 284 | | |
294 | 285 | | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | 286 | | |
299 | 287 | | |
300 | 288 | | |
| |||
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | | - | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
106 | | - | |
107 | | - | |
| 111 | + | |
| 112 | + | |
108 | 113 | | |
109 | 114 | | |
110 | | - | |
| 115 | + | |
111 | 116 | | |
112 | 117 | | |
113 | 118 | | |
| |||
0 commit comments