Skip to content

[9.1] [SecuritySolution] Add a privileges check callout to priv mon page (#227176)#227654

Merged
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-227176
Jul 11, 2025
Merged

[9.1] [SecuritySolution] Add a privileges check callout to priv mon page (#227176)#227654
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-227176

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…lastic#227176)

## Summary

Add a privileges check callout to priv mon page

![Screenshot 2025-07-09 at 09 51
27](https://github.com/user-attachments/assets/958b727c-9040-45e2-80cc-6ba63896d095)
![Screenshot 2025-07-09 at 09 52
13](https://github.com/user-attachments/assets/8bed4c90-6e59-47cd-9193-4e59ca8952ba)
![Screenshot 2025-07-09 at 09 52
26](https://github.com/user-attachments/assets/6af022b9-de6f-4967-8949-422fd223cafd)

### How to test
1. On a kibana instance with an admin user
2. Add priv mon data and install ML jobs
2.1 Run the `privileged-user-monitoring` command from the
`security-documents-generator` repo
3. Open the priv mon page and make sure everything is displayed
4. Create a test role with access to the data view indices but nothing
more
5. Create a user with the role
6. Log in on an anonymous tab with the created user
7. Open the privmon page
8. The callout should be displayed
9. If you add privileges to the indices listed in the callout, the
callout should disappear, and the dashboard should be displayed without
any errors

### Checklist

Reviewers should verify this PR satisfies this list as well.

- [ ] [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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: natasha-moore-elastic <137783811+natasha-moore-elastic@users.noreply.github.com>
(cherry picked from commit 4965cf5)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jul 11, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) July 11, 2025 13:07
@kibanamachine kibanamachine merged commit f7feb76 into elastic:9.1 Jul 11, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants