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 Solutions] Display additional anomaly jobs in Entity Analytics Dashboard #155520
Conversation
7cc300a
to
3555927
Compare
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, @machadoum the code looks great! I have a couple of small suggestions.
I know we are close to FF and I don't want to block it, let me know what you think.
x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx
Outdated
Show resolved
Hide resolved
.../plugins/security_solution/public/common/components/ml_popover/hooks/use_enable_data_feed.ts
Outdated
Show resolved
Hide resolved
.../plugins/security_solution/public/common/components/ml_popover/hooks/use_enable_data_feed.ts
Show resolved
Hide resolved
8175f92
to
0943e4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!! 🚀 thanks for doing the changes so quickly
23c15a0
to
62c5f07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rules Area changes LGTM!
62c5f07
to
36154cb
Compare
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
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 |
…ics Dashboard (elastic#155520) issue: elastic/security-team#6161 ## Summary * Adds more hardcoded jobs to the list of jobs displayed on the Notable anomalies table * Add pagination to the table * Remove the logic that refreshes the table when a job is installed * Move enableDataFeed logic to `<EnableJob />` and use the response from the API to determine if the job was successfully installed. * Recently installed jobs are no longer sorted so users can find the jobs they have just installed. * When the page refreshes all jobs are sorted ![Apr-21-2023 17-47-28](https://user-images.githubusercontent.com/1490444/233953871-e2583aa8-4d7b-402a-aef3-e001dfc7ae18.gif) * I also replaced the loading spinner with a "Waiting" status when jobs are waiting for machine learning nodes to start because the loading spinner gave the false impression that the table would update at any moment. <img width="900" alt="Screenshot 2023-04-24 at 11 22 57" src="https://user-images.githubusercontent.com/1490444/233956148-6c057d7c-7f89-4881-8d5c-88cbc27f9dff.png"> TODO - [x] Cypress tests ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
issue: https://github.com/elastic/security-team/issues/6161
Summary
<EnableJob />
and use the response from the API to determine if the job was successfully installed.TODO
Checklist
Delete any items that are not applicable to this PR.