I am thinking to create a report about user and the role granted.
I know I can run following script in Console to get the list of role mapping, but is there a way to index it so that i can create a Discover or Visualize report ? GET _security/role_mapping
Or does the audit log keep track of:
the person who grant role / access to user? What role being granted ?
You could create a LogStash pipeline to ingest the data. Unfortunately, I don't think the elasticsearch input would work as this uses the Search API of Elasticsearch. But you could use the http_poller to poll the role_mapping API.
You could even enhance that data by using the http filter to add the role definition to the document before storing it in ElasticSearch.
Also, you might have internal users which are managed within Kibana so you might want to add the internal users with this role to the document using a separate http filter.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.