【问题标题】:ElastAlert : Access to the Elastic search exposed by Oauth2ElastAlert : 访问 Oauth2 公开的 Elastic 搜索
【发布时间】:2018-09-08 01:51:29
【问题描述】:

上下文: ElastAlert v0.1.29 包含在 OpenShift Orchestrator 上的 Container Docker 中 Openshift agregate_logging (with Oauth2) 暴露的 Elasticsearch 2.4.4

你好,

我想从 Elastalert 连接到 Elasticsearch。 Elastic 的身份验证使用 oauth2。 oauth2 需要 X-Proxy-Remote-User 和请求标头中的令牌: 前任: curl -k -H "授权:Bearer $token" -H "X-Proxy-Remote-User: $(oc whoami)" -H "X-Forwarded-For: 127.0.0.1" https://es.example.test/_cat/indices

我认为 ElastAlert 不支持通过令牌验证 Oauth2。你可否确认? 实际上,我认为 client_key 和 client_cert tls 选项不兼容?

感谢您的帮助

问候 洛伊克

【问题讨论】:

    标签: elastalert


    【解决方案1】:

    从我阅读的代码来看,不,它只支持基本身份验证。如果有人有时间贡献,这将是一个很好的功能。

    【讨论】:

      猜你喜欢
      • 2020-10-21
      • 2020-11-08
      • 2017-03-24
      • 2022-11-03
      • 1970-01-01
      • 2018-03-30
      • 2016-04-07
      • 2016-10-28
      • 1970-01-01
      相关资源
      最近更新 更多