为什么我没有权限访问我的Elastic Search域的索引选项卡?

0

【以下的问题经过翻译处理】 我在弹性搜索中创建了一个域,看起来我可以正确管理它。似乎有数据进来了,但在面板上,在Indices选项卡下,我得到了一个权限错误:

/_stats: {"error":{"root_cause":[{"type":"security_exception","reason":"no permissions for [indices:monitor/stats] and User [name=arn:aws:iam::6730xxxxxxxxx8:role/Admin, backend_roles=[arn:aws:iam::6730xxxxxxxxxx8:role/Admin], requestedTenant=null]"}],"type":"security_exception","reason":"no permissions for [indices:monitor/stats] and User [name=arn:aws:iam::6730xxxxxxxxx8:role/Admin, backend_roles=[arn:aws:iam::6730xxxxxxxxx8:role/Admin], requestedTenant=null]"},"status":403}

我已将访问级别设置为“开放访问”,所以我不明白为什么这不起作用呢?

profile picture
전문가
질문됨 6달 전24회 조회
1개 답변
0

【以下的回答经过翻译处理】 可能缺少细粒度访问。 ES 有细粒度的访问控制,请检查下方信息

索引级安全性

索引级权限包括创建新索引、搜索索引、读写文档、删除文档、管理别名等功能。创建角色时使用“索引权限”选项卡管理这些权限。有关索引级操作组的列表,请参阅 Open Distro for Elasticsearch 文档

https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/fgac.html

此外,检查用户“arn:aws:iam::xxxxxx”的角色映射

要创建角色映射,请登录 Kibana,导航至安全 > 角色映射,然后单击创建角色映射。为您的角色映射指定一个唯一的名称,并选择您希望分配给用户的角色。

https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/fgac.html#fgac-access-control

https://aws.amazon.com/blogs/database/set-access-control-for-amazon-elasticsearch-service/

profile picture
전문가
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인