@ravi_yadav2 In what Kibana version you experience the problem with README.txt being exposed?
Regarding LICENSE.txt: some OSS products, that we use, require to be distributed with the license file.
You might set up your reverse proxy to limit access to any resources in your network.
I checked artifacts and found only one README.txt in the Kibana root folder, which shouldn't be served.
Are you sure Kibana serves them? Do you have any reverse proxy (Nginx maybe?) running? You can verify this by stopping Kibana and being able to load the files.
Then you have to tune your server (Apache, Nginx, etc.) to limit access only to specific resources. Otherwise, it can be a serious source of vulnerabilities.
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.