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
[SecuritySolutions] Fix anomalies table pagination on EA page #158739
Conversation
d0eebbf
to
b93be72
Compare
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @machadoum |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…c#158739) issue: elastic#158809 ## Summary The anomalies table on the EA page only showed anomalies count data for the 10 first jobs. That happened because the default bucket limit for aggregations is 10. This bug started happening when we added more than 10 jobs to the table. **Before** ![Jun-01-2023 10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa) **After** ![Jun-01-2023 10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 11c4578)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…c#158739) issue: elastic#158809 ## Summary The anomalies table on the EA page only showed anomalies count data for the 10 first jobs. That happened because the default bucket limit for aggregations is 10. This bug started happening when we added more than 10 jobs to the table. **Before** ![Jun-01-2023 10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa) **After** ![Jun-01-2023 10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 11c4578)
…c#158739) issue: elastic#158809 ## Summary The anomalies table on the EA page only showed anomalies count data for the 10 first jobs. That happened because the default bucket limit for aggregations is 10. This bug started happening when we added more than 10 jobs to the table. **Before** ![Jun-01-2023 10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa) **After** ![Jun-01-2023 10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
…c#158739) issue: elastic#158809 ## Summary The anomalies table on the EA page only showed anomalies count data for the 10 first jobs. That happened because the default bucket limit for aggregations is 10. This bug started happening when we added more than 10 jobs to the table. **Before** ![Jun-01-2023 10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa) **After** ![Jun-01-2023 10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 11c4578)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…158739) (#159104) # Backport This will backport the following commits from `main` to `8.8`: - [[SecuritySolutions] Fix anomalies table pagination on EA page (#158739)](#158739) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pablo Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2023-06-02T14:26:12Z","message":"[SecuritySolutions] Fix anomalies table pagination on EA page (#158739)\n\nissue: #158809 Summary\r\n\r\nThe anomalies table on the EA page only showed anomalies count data for\r\nthe 10 first jobs. That happened because the default bucket limit for\r\naggregations is 10. This bug started happening when we added more than\r\n10 jobs to the table.\r\n\r\n**Before**\r\n\r\n![Jun-01-2023\r\n10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa)\r\n\r\n**After**\r\n![Jun-01-2023\r\n10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d)\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"11c4578db7fd56a83262b0caa16664eda8d906f7","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:skip","Team:Threat Hunting","Team: SecuritySolution","Team:Threat Hunting:Explore","v8.9.0","v8.8.2"],"number":158739,"url":"#158739 Fix anomalies table pagination on EA page (#158739)\n\nissue: #158809 Summary\r\n\r\nThe anomalies table on the EA page only showed anomalies count data for\r\nthe 10 first jobs. That happened because the default bucket limit for\r\naggregations is 10. This bug started happening when we added more than\r\n10 jobs to the table.\r\n\r\n**Before**\r\n\r\n![Jun-01-2023\r\n10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa)\r\n\r\n**After**\r\n![Jun-01-2023\r\n10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d)\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"11c4578db7fd56a83262b0caa16664eda8d906f7"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"#158739 Fix anomalies table pagination on EA page (#158739)\n\nissue: #158809 Summary\r\n\r\nThe anomalies table on the EA page only showed anomalies count data for\r\nthe 10 first jobs. That happened because the default bucket limit for\r\naggregations is 10. This bug started happening when we added more than\r\n10 jobs to the table.\r\n\r\n**Before**\r\n\r\n![Jun-01-2023\r\n10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa)\r\n\r\n**After**\r\n![Jun-01-2023\r\n10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d)\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"11c4578db7fd56a83262b0caa16664eda8d906f7"}},{"branch":"8.8","label":"v8.8.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…c#158739) issue: elastic#158809 ## Summary The anomalies table on the EA page only showed anomalies count data for the 10 first jobs. That happened because the default bucket limit for aggregations is 10. This bug started happening when we added more than 10 jobs to the table. **Before** ![Jun-01-2023 10-41-01](https://github.com/elastic/kibana/assets/1490444/386cd69f-5531-40af-ab12-12476fababaa) **After** ![Jun-01-2023 10-48-17](https://github.com/elastic/kibana/assets/1490444/afee4d3d-4e19-4dfe-aa84-787c4fab060d) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This PR backport didn't make it into the latest BC for 8.8.1. Updating the labels. |
issue: #158809
Summary
The anomalies table on the EA page only showed anomalies count data for the 10 first jobs. That happened because the default bucket limit for aggregations is 10. This bug started happening when we added more than 10 jobs to the table.
Before
After