-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] Update insight depth limit to 1 #161901
[Security Solution] Update insight depth limit to 1 #161901
Conversation
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: |
## Summary Before elastic#160691 was merged, the filter builder depth of 1 was the same as 0, and so I mistakenly had this value set to 2. With it set to 2, it's possible to create a filter with top level AND and 2 levels of nesting that will cause the designed for only 1 level of nesting data provider code to throw a run time error. Setting this to the now working level of 1 prevents that. (cherry picked from commit 97705ff)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
5 similar comments
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Summary
Before #160691 was merged, the filter builder depth of 1 was the same as 0, and so I mistakenly had this value set to 2. With it set to 2, it's possible to create a filter with top level AND and 2 levels of nesting that will cause the designed for only 1 level of nesting data provider code to throw a run time error. Setting this to the now working level of 1 prevents that.