AWS OpenSearch Snapshot not allowed in ISM policy

0

Hello,

I'm trying to create an ISM policy where I take a snapshot after 1 month. It seems that I'm unable use this action "snapshot"

I get this error "You have actions that are not allowed in your policy [snapshot]" when I try to create the policy from the dev tools console. And this error if I try to use the visual builder: "Authorization error"

I'm using OpenSearch 1.3 cluster with fine-grained access control activated. But I'm using the internal user database for the master user and not IAM. The master user has full permissions.

Asem
asked 3 months ago222 views
2 Answers
0

Hello,

Encountering an “Authorization error” indicates the FGAC permissions are not sufficient for accessing the visual builder interface so double check the user has the appropriate permissions assigned.

The error message "You have actions that are not allowed in your policy [snapshot]" suggests that the snapshot action is not allowed in the ISM policy you are trying to create. Please review the ISM policy configuration and take into account the following restrictions when using the Security plugin:

  • To perform snapshot and restore operations, users must have the built-in manage_snapshots role
  • You can’t restore snapshots that contain a global state or the .opendistro_security index

More Information:

AWS
answered 2 months ago
0

Hello, Thanks for your reply. I am using the master user to perform this action, it has all cluster and index permissions. The problem is there whether I try to use the visual builder, JSON format from the console, or JSON using direct HTTP requests to OpenSearch.

I have another staging OpenSearch domain that has the exact same configurations, and I couldn't reproduce the issue there. The only difference between the two domains is that on the production domain, I enabled the FGAC before upgrading from ES to OpenSearch 2.11.

Asem
answered 19 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions