Skip to content

[7.x] [Security Solution][Lists] Escape quotes in list ids and quote the id in KQL query (#93176)#93502

Merged
marshallmain merged 1 commit intoelastic:7.xfrom
marshallmain:backport/7.x/pr-93176
Mar 3, 2021
Merged

[7.x] [Security Solution][Lists] Escape quotes in list ids and quote the id in KQL query (#93176)#93502
marshallmain merged 1 commit intoelastic:7.xfrom
marshallmain:backport/7.x/pr-93176

Conversation

@marshallmain
Copy link
Contributor

Backports the following commits to 7.x:

… in KQL query (elastic#93176)

* Escape quotes in list ids and quote the id in KQL query

* Remove decodeURIComponent because too many KQL queries don't handle quotes

* Add quotes to user supplied IDs for other KQL queries

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@marshallmain marshallmain added the backport This PR is a backport of another PR label Mar 3, 2021
@marshallmain marshallmain enabled auto-merge (squash) March 3, 2021 20:04
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@marshallmain marshallmain merged commit 767859c into elastic:7.x Mar 3, 2021
@marshallmain marshallmain deleted the backport/7.x/pr-93176 branch April 4, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants