上下文: ElastAlert v0.1.29 包含在 OpenShift Orchestrator Elasticsearch 2.4.4 上的容器 Docker 中,由 Openshift agregate_logging(使用 Oauth2)公开
你好,
从 Elastalert,我想连接到 Elasticsearch。Elastic 的身份验证使用 oauth2。oauth2 需要 X-Proxy-Remote-User 和请求标头中的令牌:例如: curl -k -H "Authorization: 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 选项?
谢谢你的帮助
问候洛伊克