mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 21:18:31 +00:00
There is currently no way to see what user executed a watch. This commit adds the decrypted username to each execution in the watch history, in a new field "user". Closes #31772
41 lines
757 B
YAML
41 lines
757 B
YAML
admin:
|
|
cluster:
|
|
- all
|
|
indices:
|
|
- names: '*'
|
|
privileges:
|
|
- all
|
|
|
|
watcher_manager:
|
|
cluster:
|
|
- manage
|
|
indices:
|
|
- names: '.watch*'
|
|
privileges:
|
|
- all
|
|
# this index gets created by one of the watcher yaml tests
|
|
# and is needed for a search transform, so we have to create it as part of the test
|
|
- names: 'my_test_index'
|
|
privileges:
|
|
- all
|
|
run_as:
|
|
- powerless_user
|
|
- watcher_manager
|
|
- x_pack_rest_user
|
|
|
|
watcher_monitor:
|
|
cluster:
|
|
- monitor
|
|
indices:
|
|
- names: '.watcher-history-*'
|
|
privileges:
|
|
- read
|
|
|
|
crappy_role:
|
|
cluster:
|
|
- cluster:monitor/nodes/info
|
|
- cluster:monitor/health
|
|
- cluster:monitor/nodes/liveness
|
|
- cluster:monitor/main
|
|
|