Any action _cat/indices ; _cat/nodes etc in the cluster results in missing privileges logged in. Its under INFO but its super annoying and cluttering the logs. Is there a way how to fix it please? This is happening only while in kibana, same commands via curl elasticsearch API doesn’t have this issue.
Elasticsearch version:
7.17.6 , FLX plugin 1.0.0
USER privileges: SGS_ALL_ACCESS, SGS_KIBANA_USER
{"type": "server", "timestamp": "2022-10-27T15:20:18,673+02:00", "level": "INFO", "component": "c.f.s.a.PrivilegesEvaluator", "cluster.name": "test", "node.name": "test-tels03-1", "message": "### No index privileges for indices:admin/mappings/get (org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest)\nUser: User test_user [backend_roles=ELASTICSEARCH_Admins]]\nResolved Indices: local: _all [8]\nUnresolved: [[indices=[], indicesOptions=IndicesOptions[ignore_unavailable=false, allow_no_indices=true, expand_wildcards_open=true, expand_wildcards_closed=false, expand_wildcards_hidden=false, allow_aliases_to_multiple_indices=true, forbid_closed_indices=false, ignore_aliases=false, ignore_throttled=false], allowsRemoteIndices=false, includeDataStreams=true, role=null]]\nRoles: [SGS_KIBANA_USER, SGS_ALL_ACCESS]\nRequired Privileges: [indices:admin/mappings/get]\nStatus: INSUFFICIENT\nEvaluated Privileges:\n | indices:admin/mappings/get |\n.kibana_task_manager_7.17.6_001 | ok |\n.kibana_-909235513_test_7.17.6_001| ok |\n.kibana_7.17.6_001 | ok |\n.async-search | ok |\n.kibana_3556498_test_7.17.6_001 | ok |\ntest | ok |\n.searchguard_resource_owner | MISSING |\n.tasks | ok |\n\n", "cluster.uuid": "2MquIlKOThW5qCFrcWvpPQ", "node.id": "dTnKWnR8Q0yYaZSQ66JsVQ" }
I think it is somehow related to the fact that both clusters where this happened were migrated from SG53 → FLX plugin.
one cluster had issues with .searchguard_resource_owner index and another with .searchguard_resource_owner & .searchguard index . I deleted all .searchguard* indices via curl request and deploy same configuration again and it seems that those messages has stopped for now…
No it doesn’t work, this morning the WARN is back with same problem, on the same index i deleted and recreated yesterday what’s more I don’t even see this index anymore, if I list indices I see
green open .searchguard_config_history aXUytlA9R6ScL1oQBQid8g 1 1 0 0 452b 226b
green open .searchguard_sessions BmW1NHdOSJOxhAInIGi0-Q 1 1 0 0 492b 246b
green open .searchguard 2_E0H5TnQHOr4coL_gBFdg 1 1 11 0 36.6kb 18.3kb
green open .searchguard_config_vars w2TbCpPKSeKJEaDfD6bpkQ 1 1 2 0 12.5kb 6.2kb
green open .searchguard_authtokens Asr-qsqVT9yBIFs5SuSwTA 1 1 0 0 452b 226