Commit c3f4cd0
fix(security): add max length constraint to alertIds string schema
Addresses CodeQL unbounded-string alert: adds .max(512) to the z.string()
inside the alertIds array schema (ES _id values are at most 512 bytes).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ebf8a14 commit c3f4cd0
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- x-pack/solutions/security/plugins/security_solution/server/agent_builder/attachments
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments