Commit cb124ca
committed
fix: add maxSize to unbounded arrayOf in prebuilt rule assets schema
Adds a maxSize constraint to the tags field in the prebuilt rule
assets saved object schema to resolve CodeQL alert #2072
(unbounded-array-in-schema).
Made-with: Cursor1 parent b9e6d54 commit cb124ca
1 file changed
Lines changed: 9 additions & 1 deletion
File tree
- x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/prebuilt_rules/logic/rule_assets
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
| |||
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
25 | | - | |
| 33 | + | |
26 | 34 | | |
27 | 35 | | |
28 | 36 | | |
| |||
0 commit comments