feat(permissions): add serverless Security project permissions guide#36
Merged
Conversation
Adds `--mode serverless` to the test runner, observe-only built-in role identities (t1_analyst, t2_analyst, soc_manager), and a new guide at docs/permissions-serverless.md documenting what each role can and cannot do across all MCP app operations. Key findings from running the matrix against a local serverless cluster: - All built-in Security roles use `cluster: read_project_routing` (not `monitor`), so listIndices (_cat/indices) returns 403 for every built-in role — including soc_manager. Custom roles with `cluster: monitor` bypass this. - `viewer` has no file-realm user in the Security project; tiers start at `t1_analyst`. - t1_analyst: read-only (alerts, cases-read, rules-read, attack-discovery, ES|QL). t2_analyst: adds full case write. soc_manager: adds rule management, sample-data generation, field mapping. Relates to #13
…eady covered in test runner README
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds serverless support to the permissions test harness and a new permissions reference for Elastic Cloud Serverless Security projects.
Key findings from running the matrix:
cluster: read_project_routing, notcluster: monitor— so_cat/indices(Threat Hunt index picker) returns 403 for every built-in role includingsoc_manager; custom roles withcluster: monitorwork finet1_analyst: read-only alerts, cases (read), rules (read), attack-discovery, ES|QLt2_analyst: adds full case write (create/update/comment/attach)soc_manager: adds rule management, exceptions, sample-data generation, field mapping; still blocked bylistIndicesRelates to #13