This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Description
Describe the enhancement:
In elastic/beats#29966 the Elastic product origin header was added to all requests made to Elasticsearch with the hard coded value "beats". When the code involved is used by or run under the Elastic agent the header value should be changed to "elastic-agent" to properly attribute the source of the request.
This will require adding a new value to the list of known product origins, currently defined here: https://github.com/elastic/kibana/blob/main/x-pack/plugins/upgrade_assistant/common/constants.ts#L50
Describe a specific use case for the enhancement or feature:
Requests made by or under the supervision of the Elastic agent should not be attributed to the beats product.