Closed
Description
opened on Mar 18, 2019
Requirement - what kind of business use case are you trying to solve?
Keep credentials secure and expose app metrics at same time.
Problem - what in Jaeger blocks you from solving the requirement?
Seen in jaeger-ingester. Output from "/metrics" endpoint shows whole cmdline, which contains datastore credentials "--es.username" and "--es.password".
Sample:
{
"cmdline": [
"/usr/bin/jaeger-ingester",
"--ingester.deadlockInterval=0",
"--kafka.brokers=node-1.mycompany.com:9092,node-2.mycompany.com:9092,node-3.mycompany.com:9092,",
"--kafka.topic=request-tracing",
"--kafka.group-id=jaeger-ingester-v001",
"--kafka.encoding=json",
"--es.server-urls",
"https://es5-int.mycompany.com:443",
"--es.username",
"changeit",
"--es.password",
"changeit",
"--es.sniffer=false",
"--ingester.http-port",
"8080",
"--health-check-http-port",
"8081"
],
"jaeger.bulk_index.attempts": 2.8229e+06,
"jaeger.bulk_index.errors": 0,
...
Proposal - what do you suggest to solve the problem or improve the existing situation?
Either remove cmdline parameter or parse properties and use some whitelist or blacklist to hide auth credentials.
Any open questions to address
Metadata
Assignees
Labels
No labels
Activity