elastic / security-docs

Elastic Security Documentation
Other
66 stars 179 forks source link

[Request] Permissions for alert suppression in machine learning rules #5492

Open joepeeples opened 2 months ago

joepeeples commented 2 months ago

Description

Users need a read permission for the .ml-anomalies-* index if the user in question is going to be authoring/managing ML Rules with Alert Suppression.

Background & resources

Which documentation set does this change impact?

ESS and serverless

ESS release

8.15

Serverless release

Unknown

Feature differences

Unknown. Since it's a privileges thing, I assume there's an equivalent serverless prebuilt role that provides read access to the .ml-anomalies-* index pattern, but that isn't clear from the thread. @rylnd could you confirm which serverless roles are required?

API docs impact

Unknown

Prerequisites, privileges, feature flags

Unknown

rylnd commented 2 months ago

Thanks for filing this, @joepeeples! I think I can provide the missing context here:

  1. This is a UI feature: if they do not have read permission to that pattern, we are unable to populate field options in the "suppress by" section of the rule creation form, and it will be disabled.
  2. I believe all of our prebuilt security roles will now contain this permission, as per this PR
joepeeples commented 1 day ago