-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AUTH (username) and SSL/TLS support for Redis Integration #5427
Comments
@shmsr, Are the changes still TBD in the integration? I see beats changes done here - elastic/beats#35240. Can we keep the issue open? |
@lalit-satapathy Yes. I also noticed that the changes were not done on the integrations side. So I put this in the backlog a couple of weeks back but forgot to reopen the issue. I'll do this; thanks! |
Hello team, do you have any estimates on when our customers may see this available in the wild? Presently I am working with a customer who is interested in this functionality When you find a moment please let me know your thoughts @shmsr @lalit-satapathy |
@shmsr : any timelines for this addition to the Redis Integration ? |
Assigned @harnish-elastic for the integration changes as the beats side changes are already done. |
@shmsr, In redis integration, there are 5 data_streams currently present. Out of them 3 data_stream stands for metrics which has support for username, password and SSL currently in metricbeat. So I am planning to raise PR for those 3 data_streams |
PR: #9777 |
@harnish-elastic Ideally, support should have been available. I didn't intentionally leave it, but it was a result of me not knowing enough like how integrations and beats connect and every detail of it. This was probably the first PR I worked on after joining Elastic. I only knew that changes were required for metricbeat, but I didn't have much experience back then to know that I also had to make changes in filebeat. |
@harnish-elastic : Let's use this ticket to add support for the 3 metric datastream. Raise another beats issue for adding support for SSL in beats filesets. And another corresponding Integrations issue for it. |
Future enhancements: |
Closing as completed #9777 |
Add support for
AUTH
so that if firewalling or any other system implemented to protect Redis from external attackers fail, an external client will still not be able to access the Redis instance without knowledge of the authentication password.The
AUTH
command authenticates the current connection in two cases:Redis versions prior of Redis 6 were only able to understand password:
With Redis ACL in Redis 6+,
AUTH
also takesusername
as an argument but it is optional to honour the backward compatibility.To accept
username
, we have to make changes tobeats
as well so that redis client used there considers username as well forAUTH
. It already does consider password.SSL/TLS is supported by Redis starting with version 6 as an optional feature that needs to be enabled at compile time. To support connecting to Redis servers that are running in TLS mode and fetching the metrics, we need to add SSL/TLS support to metricbeat. Read more: https://redis.io/docs/management/security/encryption/
The text was updated successfully, but these errors were encountered: