Fix handling of lists in 'Set ECS categorization fields' scripts#12161
Fix handling of lists in 'Set ECS categorization fields' scripts#12161marc-gr merged 0 commit intoelastic:mainfrom
Conversation
|
These |
🚀 Benchmarks reportTo see the full report comment with |
💚 Build Succeeded
History
|
|
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
|
Pinging @elastic/sec-windows-platform (Team:Security-Windows Platform) |
|
Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices) |
There was a problem hiding this comment.
@joegallo Is there any means of performing an automated escape analysis on these scripts? I'd love to be able to put a static check into our package test tooling.
There's nothing built into Elasticsearch for that yet, but I'm going to think about it -- I realize that the current approach of 'just be careful/perfect all the time' is untenable. |
|
Package authentik - 1.2.1 containing this change is available at https://epr.elastic.co/package/authentik/1.2.1/ |
|
Package proofpoint_on_demand - 1.3.1 containing this change is available at https://epr.elastic.co/package/proofpoint_on_demand/1.3.1/ |
|
Package system - 1.63.1 containing this change is available at https://epr.elastic.co/package/system/1.63.1/ |
|
Package watchguard_firebox - 1.0.3 containing this change is available at https://epr.elastic.co/package/watchguard_firebox/1.0.3/ |
|
Package windows - 2.3.3 containing this change is available at https://epr.elastic.co/package/windows/2.3.3/ |
|
Package zscaler_zia - 3.6.1 containing this change is available at https://epr.elastic.co/package/zscaler_zia/3.6.1/ |
…stic#12161) * There's no need to guard ctx with '?' * Remove an unnecessary hashmap allocation * Make these lambdas multiline * Add missing semicolons * Defensively copy list parameters * Update versions --------- Co-authored-by: Marc Guasch <marc.guasch@elastic.co>
…stic#12161) * There's no need to guard ctx with '?' * Remove an unnecessary hashmap allocation * Make these lambdas multiline * Add missing semicolons * Defensively copy list parameters * Update versions --------- Co-authored-by: Marc Guasch <marc.guasch@elastic.co>




Defensively copy list parameters in 'Set ECS categorization fields' scripts. See elastic/elasticsearch#91977.