es訪問權限不受限制安全漏洞修復


1.查看es版本 下載對應的版本插件

https://readonlyrest.com/download/ 

 2. 將配置文件readonlyest.yml文件放入到es的config文件夾中

readonlyrest:
   enable: true
   access_control_rules:
   - name: Full access with HTTP auth
     auth_key: admin:123456
     type: allow
   - name: "allow anything from ip"
     #hosts_local: ["10.187.97.148","10.187.97.147","10.187.98.99","10.187.98.35","10.187.98.46","10.187.98.45","10.187.98.44"]
     hosts: ["10.187.0.0/16"]
     type: allow

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM