Skip to content

Commit b5f3a66

Browse files
authored
[EDR Workflows] Update predefined roles with siemV4 (#238635)
## Summary Update `security` roles used in local serverless instance and in tests: - switch from `siemV3` to `siemV4` - apply the migration from the following Kibana PR: - #233433 - rules: - security ALL -> endpoint exceptions ALL - security READ -> endpoint exceptions READ - **BUGFIX**: t1/t2 analyst roles lose their endpoint exceptions READ access, as intended PR in `elasticsearch-controller`: - elastic/elasticsearch-controller#1223
1 parent 32dcfe3 commit b5f3a66

File tree

23 files changed

+482
-426
lines changed

23 files changed

+482
-426
lines changed

src/platform/packages/shared/kbn-es/src/serverless_resources/project_roles/security/roles.yml

Lines changed: 133 additions & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ----- Copy from internal roles config in elasticsearch-controller
2-
# modeled after the t1_analyst minus osquery run saved queries privilege
2+
# modeled after the t1_analyst minus osquery run saved queries privilege, plus endpoint exceptions read
33
viewer:
44
cluster: []
55
indices:
@@ -45,9 +45,10 @@ viewer:
4545
- application: 'kibana-.kibana'
4646
privileges:
4747
- feature_ml.read
48-
- feature_siemV3.read
49-
- feature_siemV3.read_alerts
50-
- feature_siemV3.endpoint_list_read
48+
- feature_siemV4.read
49+
- feature_siemV4.read_alerts
50+
- feature_siemV4.endpoint_list_read
51+
- feature_siemV4.endpoint_exceptions_read
5152
- feature_securitySolutionCasesV2.read
5253
- feature_securitySolutionAssistant.all
5354
- feature_securitySolutionAttackDiscovery.all
@@ -128,21 +129,22 @@ editor:
128129
- application: 'kibana-.kibana'
129130
privileges:
130131
- feature_ml.read
131-
- feature_siemV3.all
132-
- feature_siemV3.read_alerts
133-
- feature_siemV3.crud_alerts
134-
- feature_siemV3.endpoint_list_all
135-
- feature_siemV3.global_artifact_management_all
136-
- feature_siemV3.trusted_applications_all
137-
- feature_siemV3.trusted_devices_all
138-
- feature_siemV3.event_filters_all
139-
- feature_siemV3.host_isolation_exceptions_all
140-
- feature_siemV3.blocklist_all
141-
- feature_siemV3.policy_management_read # Elastic Defend Policy Management
142-
- feature_siemV3.host_isolation_all
143-
- feature_siemV3.process_operations_all
144-
- feature_siemV3.actions_log_management_all # Response actions history
145-
- feature_siemV3.file_operations_all
132+
- feature_siemV4.all
133+
- feature_siemV4.read_alerts
134+
- feature_siemV4.crud_alerts
135+
- feature_siemV4.endpoint_list_all
136+
- feature_siemV4.global_artifact_management_all
137+
- feature_siemV4.trusted_applications_all
138+
- feature_siemV4.trusted_devices_all
139+
- feature_siemV4.event_filters_all
140+
- feature_siemV4.host_isolation_exceptions_all
141+
- feature_siemV4.blocklist_all
142+
- feature_siemV4.endpoint_exceptions_all
143+
- feature_siemV4.policy_management_read # Elastic Defend Policy Management
144+
- feature_siemV4.host_isolation_all
145+
- feature_siemV4.process_operations_all
146+
- feature_siemV4.actions_log_management_all # Response actions history
147+
- feature_siemV4.file_operations_all
146148
- feature_securitySolutionCasesV2.all
147149
- feature_securitySolutionAssistant.all
148150
- feature_securitySolutionAttackDiscovery.all
@@ -199,9 +201,9 @@ t1_analyst:
199201
- application: 'kibana-.kibana'
200202
privileges:
201203
- feature_ml.read
202-
- feature_siemV3.read
203-
- feature_siemV3.read_alerts
204-
- feature_siemV3.endpoint_list_read
204+
- feature_siemV4.read
205+
- feature_siemV4.read_alerts
206+
- feature_siemV4.endpoint_list_read
205207
- feature_securitySolutionCasesV2.read
206208
- feature_securitySolutionAssistant.all
207209
- feature_securitySolutionAttackDiscovery.all
@@ -261,9 +263,9 @@ t2_analyst:
261263
- application: 'kibana-.kibana'
262264
privileges:
263265
- feature_ml.read
264-
- feature_siemV3.read
265-
- feature_siemV3.read_alerts
266-
- feature_siemV3.endpoint_list_read
266+
- feature_siemV4.read
267+
- feature_siemV4.read_alerts
268+
- feature_siemV4.endpoint_list_read
267269
- feature_securitySolutionCasesV2.all
268270
- feature_securitySolutionAssistant.all
269271
- feature_securitySolutionAttackDiscovery.all
@@ -328,23 +330,24 @@ t3_analyst:
328330
- application: 'kibana-.kibana'
329331
privileges:
330332
- feature_ml.read
331-
- feature_siemV3.all
332-
- feature_siemV3.read_alerts
333-
- feature_siemV3.crud_alerts
334-
- feature_siemV3.endpoint_list_all
335-
- feature_siemV3.global_artifact_management_all
336-
- feature_siemV3.trusted_applications_all
337-
- feature_siemV3.trusted_devices_all
338-
- feature_siemV3.event_filters_all
339-
- feature_siemV3.host_isolation_exceptions_all
340-
- feature_siemV3.blocklist_all
341-
- feature_siemV3.policy_management_read # Elastic Defend Policy Management
342-
- feature_siemV3.host_isolation_all
343-
- feature_siemV3.process_operations_all
344-
- feature_siemV3.actions_log_management_all # Response actions history
345-
- feature_siemV3.file_operations_all
346-
- feature_siemV3.scan_operations_all
347-
- feature_siemV3.workflow_insights_all
333+
- feature_siemV4.all
334+
- feature_siemV4.read_alerts
335+
- feature_siemV4.crud_alerts
336+
- feature_siemV4.endpoint_list_all
337+
- feature_siemV4.global_artifact_management_all
338+
- feature_siemV4.trusted_applications_all
339+
- feature_siemV4.trusted_devices_all
340+
- feature_siemV4.event_filters_all
341+
- feature_siemV4.host_isolation_exceptions_all
342+
- feature_siemV4.blocklist_all
343+
- feature_siemV4.endpoint_exceptions_all
344+
- feature_siemV4.policy_management_read # Elastic Defend Policy Management
345+
- feature_siemV4.host_isolation_all
346+
- feature_siemV4.process_operations_all
347+
- feature_siemV4.actions_log_management_all # Response actions history
348+
- feature_siemV4.file_operations_all
349+
- feature_siemV4.scan_operations_all
350+
- feature_siemV4.workflow_insights_all
348351
- feature_securitySolutionCasesV2.all
349352
- feature_securitySolutionAssistant.all
350353
- feature_securitySolutionAttackDiscovery.all
@@ -411,10 +414,11 @@ threat_intelligence_analyst:
411414
- application: 'kibana-.kibana'
412415
privileges:
413416
- feature_ml.read
414-
- feature_siemV3.all
415-
- feature_siemV3.endpoint_list_read
416-
- feature_siemV3.global_artifact_management_all
417-
- feature_siemV3.blocklist_all
417+
- feature_siemV4.all
418+
- feature_siemV4.endpoint_list_read
419+
- feature_siemV4.global_artifact_management_all
420+
- feature_siemV4.blocklist_all
421+
- feature_siemV4.endpoint_exceptions_all
418422
- feature_securitySolutionCasesV2.all
419423
- feature_securitySolutionAssistant.all
420424
- feature_securitySolutionAttackDiscovery.all
@@ -482,19 +486,20 @@ rule_author:
482486
- application: 'kibana-.kibana'
483487
privileges:
484488
- feature_ml.read
485-
- feature_siemV3.all
486-
- feature_siemV3.read_alerts
487-
- feature_siemV3.crud_alerts
488-
- feature_siemV3.policy_management_all
489-
- feature_siemV3.endpoint_list_all
490-
- feature_siemV3.global_artifact_management_all
491-
- feature_siemV3.trusted_applications_all
492-
- feature_siemV3.trusted_devices_all
493-
- feature_siemV3.event_filters_all
494-
- feature_siemV3.host_isolation_exceptions_read
495-
- feature_siemV3.blocklist_all # Elastic Defend Policy Management
496-
- feature_siemV3.actions_log_management_read
497-
- feature_siemV3.workflow_insights_all
489+
- feature_siemV4.all
490+
- feature_siemV4.read_alerts
491+
- feature_siemV4.crud_alerts
492+
- feature_siemV4.policy_management_all
493+
- feature_siemV4.endpoint_list_all
494+
- feature_siemV4.global_artifact_management_all
495+
- feature_siemV4.trusted_applications_all
496+
- feature_siemV4.trusted_devices_all
497+
- feature_siemV4.event_filters_all
498+
- feature_siemV4.host_isolation_exceptions_read
499+
- feature_siemV4.blocklist_all # Elastic Defend Policy Management
500+
- feature_siemV4.endpoint_exceptions_all
501+
- feature_siemV4.actions_log_management_read
502+
- feature_siemV4.workflow_insights_all
498503
- feature_securitySolutionCasesV2.all
499504
- feature_securitySolutionAssistant.all
500505
- feature_securitySolutionAttackDiscovery.all
@@ -562,24 +567,25 @@ soc_manager:
562567
- application: 'kibana-.kibana'
563568
privileges:
564569
- feature_ml.read
565-
- feature_siemV3.all
566-
- feature_siemV3.read_alerts
567-
- feature_siemV3.crud_alerts
568-
- feature_siemV3.policy_management_all
569-
- feature_siemV3.endpoint_list_all
570-
- feature_siemV3.global_artifact_management_all
571-
- feature_siemV3.trusted_applications_all
572-
- feature_siemV3.trusted_devices_all
573-
- feature_siemV3.event_filters_all
574-
- feature_siemV3.host_isolation_exceptions_all
575-
- feature_siemV3.blocklist_all
576-
- feature_siemV3.host_isolation_all
577-
- feature_siemV3.process_operations_all
578-
- feature_siemV3.actions_log_management_all
579-
- feature_siemV3.file_operations_all
580-
- feature_siemV3.execute_operations_all
581-
- feature_siemV3.scan_operations_all
582-
- feature_siemV3.workflow_insights_all
570+
- feature_siemV4.all
571+
- feature_siemV4.read_alerts
572+
- feature_siemV4.crud_alerts
573+
- feature_siemV4.policy_management_all
574+
- feature_siemV4.endpoint_list_all
575+
- feature_siemV4.global_artifact_management_all
576+
- feature_siemV4.trusted_applications_all
577+
- feature_siemV4.trusted_devices_all
578+
- feature_siemV4.event_filters_all
579+
- feature_siemV4.host_isolation_exceptions_all
580+
- feature_siemV4.blocklist_all
581+
- feature_siemV4.endpoint_exceptions_all
582+
- feature_siemV4.host_isolation_all
583+
- feature_siemV4.process_operations_all
584+
- feature_siemV4.actions_log_management_all
585+
- feature_siemV4.file_operations_all
586+
- feature_siemV4.execute_operations_all
587+
- feature_siemV4.scan_operations_all
588+
- feature_siemV4.workflow_insights_all
583589
- feature_securitySolutionCasesV2.all
584590
- feature_securitySolutionAssistant.all
585591
- feature_securitySolutionAttackDiscovery.all
@@ -651,10 +657,11 @@ detections_admin:
651657
- application: 'kibana-.kibana'
652658
privileges:
653659
- feature_ml.all
654-
- feature_siemV3.all
655-
- feature_siemV3.read_alerts
656-
- feature_siemV3.crud_alerts
657-
- feature_siemV3.global_artifact_management_all
660+
- feature_siemV4.all
661+
- feature_siemV4.read_alerts
662+
- feature_siemV4.crud_alerts
663+
- feature_siemV4.global_artifact_management_all
664+
- feature_siemV4.endpoint_exceptions_all
658665
- feature_securitySolutionCasesV2.all
659666
- feature_securitySolutionAssistant.all
660667
- feature_securitySolutionAttackDiscovery.all
@@ -718,19 +725,20 @@ platform_engineer:
718725
- application: 'kibana-.kibana'
719726
privileges:
720727
- feature_ml.all
721-
- feature_siemV3.all
722-
- feature_siemV3.read_alerts
723-
- feature_siemV3.crud_alerts
724-
- feature_siemV3.policy_management_all
725-
- feature_siemV3.endpoint_list_all
726-
- feature_siemV3.global_artifact_management_all
727-
- feature_siemV3.trusted_applications_all
728-
- feature_siemV3.trusted_devices_all
729-
- feature_siemV3.event_filters_all
730-
- feature_siemV3.host_isolation_exceptions_all
731-
- feature_siemV3.blocklist_all # Elastic Defend Policy Management
732-
- feature_siemV3.actions_log_management_read
733-
- feature_siemV3.workflow_insights_all
728+
- feature_siemV4.all
729+
- feature_siemV4.read_alerts
730+
- feature_siemV4.crud_alerts
731+
- feature_siemV4.policy_management_all
732+
- feature_siemV4.endpoint_list_all
733+
- feature_siemV4.global_artifact_management_all
734+
- feature_siemV4.trusted_applications_all
735+
- feature_siemV4.trusted_devices_all
736+
- feature_siemV4.event_filters_all
737+
- feature_siemV4.host_isolation_exceptions_all
738+
- feature_siemV4.blocklist_all # Elastic Defend Policy Management
739+
- feature_siemV4.endpoint_exceptions_all
740+
- feature_siemV4.actions_log_management_read
741+
- feature_siemV4.workflow_insights_all
734742
- feature_securitySolutionCasesV2.all
735743
- feature_securitySolutionAssistant.all
736744
- feature_securitySolutionAttackDiscovery.all
@@ -798,23 +806,24 @@ endpoint_operations_analyst:
798806
- application: 'kibana-.kibana'
799807
privileges:
800808
- feature_ml.read
801-
- feature_siemV3.all
802-
- feature_siemV3.read_alerts
803-
- feature_siemV3.policy_management_all
804-
- feature_siemV3.endpoint_list_all
805-
- feature_siemV3.global_artifact_management_all
806-
- feature_siemV3.trusted_applications_all
807-
- feature_siemV3.trusted_devices_all
808-
- feature_siemV3.event_filters_all
809-
- feature_siemV3.host_isolation_exceptions_all
810-
- feature_siemV3.blocklist_all
811-
- feature_siemV3.host_isolation_all
812-
- feature_siemV3.process_operations_all
813-
- feature_siemV3.actions_log_management_all
814-
- feature_siemV3.file_operations_all
815-
- feature_siemV3.execute_operations_all
816-
- feature_siemV3.scan_operations_all
817-
- feature_siemV3.workflow_insights_all
809+
- feature_siemV4.all
810+
- feature_siemV4.read_alerts
811+
- feature_siemV4.policy_management_all
812+
- feature_siemV4.endpoint_list_all
813+
- feature_siemV4.global_artifact_management_all
814+
- feature_siemV4.trusted_applications_all
815+
- feature_siemV4.trusted_devices_all
816+
- feature_siemV4.event_filters_all
817+
- feature_siemV4.host_isolation_exceptions_all
818+
- feature_siemV4.blocklist_all
819+
- feature_siemV4.endpoint_exceptions_all
820+
- feature_siemV4.host_isolation_all
821+
- feature_siemV4.process_operations_all
822+
- feature_siemV4.actions_log_management_all
823+
- feature_siemV4.file_operations_all
824+
- feature_siemV4.execute_operations_all
825+
- feature_siemV4.scan_operations_all
826+
- feature_siemV4.workflow_insights_all
818827
- feature_securitySolutionCasesV2.all
819828
- feature_securitySolutionAssistant.all
820829
- feature_securitySolutionAttackDiscovery.all
@@ -890,18 +899,19 @@ endpoint_policy_manager:
890899
- application: 'kibana-.kibana'
891900
privileges:
892901
- feature_ml.all
893-
- feature_siemV3.all
894-
- feature_siemV3.read_alerts
895-
- feature_siemV3.crud_alerts
896-
- feature_siemV3.policy_management_all
897-
- feature_siemV3.endpoint_list_all
898-
- feature_siemV3.global_artifact_management_all
899-
- feature_siemV3.trusted_applications_all
900-
- feature_siemV3.trusted_devices_all
901-
- feature_siemV3.event_filters_all
902-
- feature_siemV3.host_isolation_exceptions_all
903-
- feature_siemV3.blocklist_all # Elastic Defend Policy Management
904-
- feature_siemV3.workflow_insights_all
902+
- feature_siemV4.all
903+
- feature_siemV4.read_alerts
904+
- feature_siemV4.crud_alerts
905+
- feature_siemV4.policy_management_all
906+
- feature_siemV4.endpoint_list_all
907+
- feature_siemV4.global_artifact_management_all
908+
- feature_siemV4.trusted_applications_all
909+
- feature_siemV4.trusted_devices_all
910+
- feature_siemV4.event_filters_all
911+
- feature_siemV4.host_isolation_exceptions_all
912+
- feature_siemV4.blocklist_all # Elastic Defend Policy Management
913+
- feature_siemV4.endpoint_exceptions_all
914+
- feature_siemV4.workflow_insights_all
905915
- feature_securitySolutionCasesV2.all
906916
- feature_securitySolutionAssistant.all
907917
- feature_securitySolutionAttackDiscovery.all

src/platform/packages/shared/kbn-es/src/serverless_resources/project_roles/security/search_ai_lake/roles.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ _search_ai_lake_analyst:
4545
- application: "kibana-.kibana"
4646
privileges:
4747
- "feature_ml.read"
48-
- "feature_siemV3.all"
48+
- "feature_siemV4.all"
4949
- "feature_securitySolutionCasesV2.all"
5050
- "feature_securitySolutionAssistant.all"
5151
- "feature_securitySolutionAttackDiscovery.minimal_all"
@@ -119,9 +119,9 @@ _search_ai_lake_soc_manager:
119119
applications:
120120
- application: "kibana-.kibana"
121121
privileges:
122-
- "feature_siemV3.all"
123-
- "feature_siemV3.global_artifact_management_all"
124-
- "feature_siemV3.workflow_insights_all"
122+
- "feature_siemV4.all"
123+
- "feature_siemV4.global_artifact_management_all"
124+
- "feature_siemV4.workflow_insights_all"
125125
- "feature_securitySolutionCasesV2.all"
126126
- "feature_securitySolutionAssistant.all"
127127
- "feature_securitySolutionAttackDiscovery.all"

0 commit comments

Comments
 (0)