The existing agent V1 control protocol implementation is implemented in the libbeat management package: https://github.com/elastic/beats/tree/main/x-pack/libbeat/management. Migrate libbeat management package to the V2 protocol client. This should automatically convert any beat using the management package to run under agent to the V2 protocol.
Acceptance criteria:
Note This change cannot be merged until the elastic agent server side changes are complete and merged to the agent's main branch.
The existing agent V1 control protocol implementation is implemented in the libbeat management package: https://github.com/elastic/beats/tree/main/x-pack/libbeat/management. Migrate libbeat management package to the V2 protocol client. This should automatically convert any beat using the management package to run under agent to the V2 protocol.
Acceptance criteria:
Note This change cannot be merged until the elastic agent server side changes are complete and merged to the agent's main branch.