[SecuritySolution][Detections] Provide finer grained feature controls between editing rules and modifying alerts #86235
Labels
enhancement
New value added to drive a business result
Feature:Detection Alerts/Rules RBAC
Security Solution RBAC for rules and alerts
Feature:Detection Alerts
Security Solution Detection Alerts Feature
Feature:Detection Rules
Security Solution rules and Detection Engine
Team:Detection Engine
Security Solution Detection Engine Area
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Currently it isn't possible to set up a Detections user such that they can update Alerts yet cannot modify Rules. The
update alert status
actions requirecanUserCRUD
&&hasIndexWrite
permissions. WherecanUserCrud
is set to true when grantingAll
to theSecurity
app for the space, andhasIndexWrite
being satisfied via the ES Index Privileges).canUserCRUD
is extracted from the Kibana application capabilities (uiCapabilities.siem.crud
). Note the kibana application in code still remainssiem
, but is mapped to theSecurity
application within the UI (as of 7.9.x+).Note: it is possible to set the
Saved Objects Management
privilege toNONE
to prevent rule creation (resulting in an error creating theexception-list-agnostic
, however it is still possible to edit rules.As a near-term fix, we could relax the
canUserCrud
check on the alert actions above and just rely on the signals index permissions, so you could then set theSecurity
app permissions toREAD
and achieve permissions for editing alerts, but not rules, although this ends up being a little confusing since the Security app would be configured as read but allows edits. What we really need here are the finer grained kibana app privileges, and have anUpdate Alerts
sub-item leveraging Kibana Feature Controls.cc @MikePaquette @dhurley14
The text was updated successfully, but these errors were encountered: