Skip to content
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] Display job friendly name on detection pages #148974

Merged
merged 2 commits into from Jan 26, 2023

Conversation

machadoum
Copy link
Member

@machadoum machadoum commented Jan 16, 2023

issue: #148973
Similar to: #146772

Summary

When friendly names are available as job meta information, we should display it on:

  • Manage Rules table - Job warning message
  • New rule page - Machine Learning job selector
  • Rule details page - Machine Learning job description and warning message

Screenshot 2023-01-16 at 14 34 50

Screenshot 2023-01-16 at 14 33 14

Screenshot 2023-01-16 at 13 39 51

Checklist

@machadoum machadoum self-assigned this Jan 16, 2023
@machadoum machadoum added release_note:enhancement Team:Threat Hunting Security Solution Threat Hunting Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore v8.7.0 labels Jan 16, 2023
@machadoum
Copy link
Member Author

@elasticmachine merge upstream

@machadoum machadoum marked this pull request as ready for review January 19, 2023 16:04
@machadoum machadoum requested review from a team as code owners January 19, 2023 16:04
@machadoum machadoum requested a review from xcrzx January 19, 2023 16:04
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Copy link
Contributor

@xcrzx xcrzx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled in and tested locally, and everything works as expected. Thank you, @machadoum 👍

@spong
Copy link
Member

spong commented Jan 19, 2023

This will also resolve #147722 that I opened a little while back @machadoum 🙂

@machadoum
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@semd semd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@machadoum
Copy link
Member Author

@elasticmachine merge upstream

Copy link
Contributor

@e40pud e40pud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@machadoum
Copy link
Member Author

@elasticmachine merge upstream

After updating the UI to display the job name, we lost the search by job id feature.
Because some users might be used to search by id, this commit reintroduces the feature.
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 12.8MB 12.8MB +1.9KB
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 425 426 +1

Total ESLint disabled count

id before after diff
securitySolution 500 501 +1

History

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

cc @machadoum

@machadoum machadoum merged commit f838a30 into elastic:main Jan 26, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jan 26, 2023
kqualters-elastic pushed a commit to kqualters-elastic/kibana that referenced this pull request Feb 6, 2023
…stic#148974)

issue: elastic#148973
Similar to: elastic#146772

## Summary

When friendly names are available as job meta information, we should
display it on:
*  Manage Rules table - Job warning message
* New rule page - Machine Learning job selector
* Rule details page - Machine Learning job description and warning
message

<img width="600" alt="Screenshot 2023-01-16 at 14 34 50"
src="https://user-images.githubusercontent.com/1490444/212692378-9fcb59b5-179c-4054-b2b8-9972b9f35bab.png">
<img width="600" alt="Screenshot 2023-01-16 at 14 33 14"
src="https://user-images.githubusercontent.com/1490444/212692408-bc978eea-a4c6-4a43-bb67-3098969da7e2.png">
<img width="600" alt="Screenshot 2023-01-16 at 13 39 51"
src="https://user-images.githubusercontent.com/1490444/212692445-8bacb22d-5160-45f7-aa56-ec5f296d3fb4.png">


### Checklist

- [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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:enhancement Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants