问题
I have hosted a shared elasticsearch index (IP Restricted though using GCP Firewall) but I want to add any kind of security on this Index so that others can do any operations freely as they are doing now without any notice but dont want to allow anybody except (having auth) to delete the entire Index.
My ElasticSearch details:
{
"name" : "node-1",
"cluster_name" : "production",
"cluster_uuid" : "<hash>",
"version" : {
"number" : "7.1.1",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "7a013de",
"build_date" : "2019-05-23T14:04:00.380842Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
How can I achieve this?
P.S: I am using GCP so any rules/ help on that side would be also helpful related to managing DELETE request of this kind.
来源:https://stackoverflow.com/questions/60923264/elasticsearch-add-authentication-to-only-delete-index-api