-
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
[SIEM] Fixes timeline permissions for unauthorized users #41767
[SIEM] Fixes timeline permissions for unauthorized users #41767
Conversation
Pinging @elastic/secops |
💚 Build Succeeded |
31ed734
to
b3f2ac1
Compare
This comment has been minimized.
This comment has been minimized.
eb58748
to
3a1efdf
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.
I ran (as a proxy for the code in this branch) the 7.3
-specific siem-fix-unauthorized-timeline
branch against a cloud instance of 7.3 BC5
, and verified the timeline behaves as expected for regular and read-only users, including the case where timelines created by the former are opened by the latter.
Thanks @XavierM for supporting the use case of read-only users! 🙏 🚀
LGTM
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.
Tested this on my machine locally and looked it over. Everything looks as discussed to make this work with unauthorized
.
Hold this up to a mirror and you should see MTGL that which you most desire.
20bc9cf
to
a76afbd
Compare
please retest this |
💚 Build Succeeded |
* Allow error to show in the application * Allow unauthorized user to use timeline api with redux storage * add callout to timeline to show + fix event details * Build fixes * fix pinned event * review I * fix details timeline test on api integration
* Allow error to show in the application * Allow unauthorized user to use timeline api with redux storage * add callout to timeline to show + fix event details * Build fixes * fix pinned event * review I * fix details timeline test on api integration
* Allow error to show in the application * Allow unauthorized user to use timeline api with redux storage * add callout to timeline to show + fix event details * Build fixes * fix pinned event * review I * fix details timeline test on api integration
* Allow error to show in the application * Allow unauthorized user to use timeline api with redux storage * add callout to timeline to show + fix event details * Build fixes * fix pinned event * review I * fix details timeline test on api integration
* Allow error to show in the application * Allow unauthorized user to use timeline api with redux storage * add callout to timeline to show + fix event details * Build fixes * fix pinned event * review I * fix details timeline test on api integration
* Allow error to show in the application * Allow unauthorized user to use timeline api with redux storage * add callout to timeline to show + fix event details * Build fixes * fix pinned event * review I * fix details timeline test on api integration
* upstream/7.x: Ensure visualizations in percentage mode respect the advanced settings percent format (elastic#39044) (elastic#41855) [7.x] [telemetry] Analytics Package (elastic#41113) (elastic#41774) [Uptime] Improve `useUrlParams` hook for Uptime app (elastic#41545) (elastic#41818) [Maps] refactor filter actions to use embeddable actions (elastic#41713) (elastic#41821) [Maps] clean up tooltip header and footer (elastic#41793) (elastic#41816) [SIEM] Timeline NOT working with unauthorized (elastic#41767) (elastic#41873) Use index patterns service inside data plugin (rather than importing from ui/public) (elastic#41639) (elastic#41867)
💔 Build Failed |
Summary
If your
kibana
user does not have any privilege and you want to use the timeline in the SIEM app, you will get this page below because you are unauthorized to usesaved objects
#41707
To Test
you will have to create a user with
no power
who would follow this role belowChecklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] This was checked for cross-browser compatibility, including a check against IE11[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] Unit or functional tests were updated or added to match the most common scenarios[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
[ ] This was checked for breaking API changes and was labeled appropriately[ ] This includes a feature addition or change that requires a release note and was labeled appropriately