Repository navigation
Document FGAC OpenSearch sink permissions #4194 - #7149
Open
AzazelSensei wants to merge 1 commit into
Open
AzazelSensei wants to merge 1 commit into
AzazelSensei wants to merge 1 commit into
Conversation
On FGAC domains the cluster_all role list is not enough for a non-admin user. Record the working cluster and index permissions and point at security.md for master-user / all_access ISM setup. Signed-off-by: Abdullah <[email protected]>
AzazelSensei
requested review from
KarstenSchnitter,
Zhangxunmt,
dinujoh,
divbok,
dlvenable,
graytaylor0,
kkondaka,
oeyh,
san81,
sb2k16,
srikanthjg and
srikanthpadakanti
as code owners
September 17, 2026 22:22
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
|
||
| ### Amazon OpenSearch Service with fine-grained access control | ||
|
|
||
| On FGAC-enabled Amazon OpenSearch Service domains, the cluster and index lists above are not enough for a non-admin user. Map the sink user to a role with these permissions instead: |
Collaborator
There was a problem hiding this comment.
Thanks for working on this, @AzazelSensei! Could you share how you tested this role? The description has no test results.
I tried it on a plain OpenSearch 2.19.5 cluster with the security plugin, using the real sink (index_type: trace-analytics-raw). With this role the sink did not start. It only started after I added cluster:monitor/main, ISM policy get and write, and index template get and put. I have not tested on Amazon OpenSearch Service, so this may differ there.
Could you:
- Tell us which call failed for you with the current doc on Amazon OpenSearch Service?
- Confirm the sink starts and writes with the new role on a real domain, including after a restart?
- Limit
manageandwriteto the indices the sink writes to? On my test cluster this role could delete any index.
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.
Description
I added the FGAC cluster and index permissions for the OpenSearch sink. On Amazon OpenSearch Service with fine-grained access control the existing cluster_all list is not enough for a non-admin user.
Issues Resolved
Resolves #4194
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.