- Newest
- Most votes
- Most comments
Hello
Your understanding is right : the interaction between the resource-based access policy (domain access policy) and Fine-Grained Access Control (FGAC) in Amazon OpenSearch Service depends on how you configure your master user and the allowed principal types in your resource policy:
to answer your question on security hub recommendations : Fine-Grained Access Control (FGAC) is still strongly recommended by AWS Security Hub and industry best practices, even if you already use identity-based (IAM) and resource-based (domain access) policies on your OpenSearch Service domain. The reason is that FGAC enables permissions at a much more granular level—down to indexes, documents, or even fields—within OpenSearch itself, rather than only at the API or domain level.
Your Proposed Configuration will work : It will satisfy Security Hub’s FGAC requirement and maintain a secure, layered approach: Even with strict IAM and resource-based policies, Security Hub expects FGAC to be enabled for full security coverage and to address its findings. Your described setup (restricted identity/resource policy + FGAC w/IAM master user) is recommended and will not trigger a Security Hub warning about missing FGAC
- Identity-based policy for user/role will control which IAM user/role can interact with OpenSearch.
- Resource-based (domain) policy (not open, i.e., not “*”): will enforces access control at the domain edge, only allowing requests from approved principals.
- FGAC enabled with IAM master user: this is a recommended configuration for high security. With this setup, requests to OpenSearch must: - Be signed with SigV4 by allowed IAM principals, - Pass the resource-based policy, - Be authenticated and authorized by FGAC with an IAM identity as the master user.
Best regards
Serge
answered a year ago
