-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[edited] Calls to Kibana internal APIs require an internal product header #152287
Comments
Pinging @elastic/kibana-core (Team:Core) |
http
service need to send the correct header.
@elastic/enterprise-search @apm we're past the acknowledgment due date. Are you aware of the restrictions? |
Thanks for the ping @TinaHeiligers , we're aware of the restriction and we'll apply the new header where appropriate. |
@TinaHeiligers @apm is my username. I don't have anything to do with the package. |
cc @elastic/apm |
@TinaHeiligers Sorry, this fell through the cracks! The Stack Monitoring plugin code uses |
@miltonhultgren, you're all set then. Nothing for your team todo. |
Thanks @gbamparop! |
Hi, I had a check in Fleet plugin, and we are only using |
Hi @TinaHeiligers, I did an audit for the Deployment Management team plugins and haven't found any custom API calls. I don't think any work is needed on our side. |
All teams have reported back with their Audit results and are compliant. Nothing more to track here. |
Kibana's HTTP service is restricting access to all
internal
API's for serverless in #151940.We'll enforce this through config with a
server.restrictInternalApis: <boolean>
that defaults tofalse
in any other mode.Calling all plugin authors!
Requests to internal APIs will throw if a request doesn't include the
x-elastic-internal-product: Kibana
header and we need your help!If you're using core's browser-side HTTP service (e.g. core.http.fetch('....')), you don't need to do anything, you may stop reading and move on with your day 😄
If your plugin and services use any custom way of making browser-side calls (e.g.
axios
), you'll need to add the header to requests made to Kibana APIs.We've already handled
bfetch
:See implementation
The restriction is only applied to
internal
APIs. However, we recommend implementing the header now to all APIs, especially if you plan to change them tointernal
.Calling all stack consumers of Kibana APIs!
Stack components consuming internal Kibana APIs need to ensure requests to those contain the
x-elastic-product-origin
header. The header is required for calls to internal Kibana APIs. We recommend sending the header with any call to Kibana APIs.Target dates (everyone):
May 23, 2023
Acknowledge awareness of the change.
June 1, 2023
Audit: Identify usage of internal Kibana APIs that are missing the product origin header:
July 3, 2023 (provisional)
Enable protection by default in Serverless
Stack components
The text was updated successfully, but these errors were encountered: