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

[Meta][Feature] Refactor how Elastic Agent know how to run a binary. #222

Closed
7 tasks done
Tracked by #189 ...
ph opened this issue Mar 17, 2022 · 4 comments
Closed
7 tasks done
Tracked by #189 ...

[Meta][Feature] Refactor how Elastic Agent know how to run a binary. #222

ph opened this issue Mar 17, 2022 · 4 comments
Labels
estimation:Month Task that represents a month of work. Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team V2-Architecture v8.4.0

Comments

@ph
Copy link
Contributor

ph commented Mar 17, 2022

Our spec defines how software is run by the Elastic Agent and what transformation the transpiler needs to execute to convert the configuration from an Agent configuration to a beats configuration. Change are required for the Elastic Agent to understand what is a shipper.

We would like to make the following changes.

  • Allow the Specification to ship with the binaries instead of embedding it.
  • Investigate how Elastic Agent could trust the file.
  • Investigate how Elastic Agent could trust the binary
  • Document the fields in the file.
  • Validate the different fields of the file. (json schema or golang struct)
    • If field is not present we should fails.
  • Allow the file to support multiple entrypoint (process filestream, process tcp)
@ph ph added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Mar 17, 2022
@ph ph self-assigned this Apr 21, 2022
@ph
Copy link
Contributor Author

ph commented Apr 21, 2022

I've moved this comment to an actual proposal, when accepted will add it back to this issue.

@ph
Copy link
Contributor Author

ph commented Apr 21, 2022

After discussing with @blakerouse we are looking at proposal 2, I am going to redo the above to make it more clearer and send it for review.

@ph
Copy link
Contributor Author

ph commented Apr 26, 2022

I've sent the proposal to review, and will update this issue with the conclusion.

@ph
Copy link
Contributor Author

ph commented Jun 29, 2022

This the above work was done in the v2 specification proposal and in the feature-v2-arch branch.

@ph ph closed this as completed Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
estimation:Month Task that represents a month of work. Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team V2-Architecture v8.4.0
Projects
None yet
Development

No branches or pull requests

2 participants