Describe the bug
Health Check to Log Source or Otel Source returns 401 when Auth is enabled. If we have data prepper fronted by load balancer and load balancer is doing health check, the health check path should be excluded from Auth.
To Reproduce
Steps to reproduce the behavior:
- Configure the Data Pepper Pipeline config with Auth
source:
http:
authentication:
http_basic:
username: my-user
password: my_s3cr3t
- Start Data Prepper
- curl http://localhost:2021/health
Expected behavior
return Http status 200 with response {}.
Screenshots
curl http://localhost:2021/health
401 Unauthorized%
Environment (please complete the following information):
Describe the bug
Health Check to Log Source or Otel Source returns 401 when Auth is enabled. If we have data prepper fronted by load balancer and load balancer is doing health check, the health check path should be excluded from Auth.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
return Http status 200 with response {}.
Screenshots
Environment (please complete the following information):