Skip to content
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 support for context variables in --header option #6824

Open
blakerouse opened this issue Feb 11, 2025 · 1 comment
Open

Add support for context variables in --header option #6824

blakerouse opened this issue Feb 11, 2025 · 1 comment
Assignees
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@blakerouse
Copy link
Contributor

Overview

At the moment the --header option only allows as specific key/value pair to be used that doesn't change. Support is needed to allow passing in the ability for the value of the key/value pair to come from a context variable provider.

e.g. --header "${env.ES_HEADER}" or --header "${filesource.source1.proxy_header}"

Why?

These values can change during the life of the running Elastic Agent and new values need to be used to allow the communication to keep occurring.

@blakerouse blakerouse added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Feb 11, 2025
@blakerouse blakerouse self-assigned this Feb 11, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

No branches or pull requests

2 participants