kibana/packages
Kibana Machine 691dde541a
[8.18] Disable allowAbsoluteUrls for axios (#215138) (#215828)
# Backport

This will backport the following commits from `main` to `8.18`:
- [Disable `allowAbsoluteUrls` for axios
(#215138)](https://github.com/elastic/kibana/pull/215138)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-25T08:52:36Z","message":"Disable
`allowAbsoluteUrls` for axios (#215138)\n\n## Summary\nAfter
https://github.com/elastic/kibana/pull/214843, `axios` client\nusages
need to set a flag to prevent the vulnerable behavior.\n\nTo reviewers:
if you think it's a mistake, and you created a client to\nrequest for
absolute URLs, consider unsetting the `baseURL` to\ncommunicate
intent.","sha":"e40b17aa22ec1a2fbc56ae8651e12f658099ec14","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","Team:QA","Team:Security","release_note:skip","backport:all-open","Team:obs-ux-logs","Team:obs-ux-infra_services","v9.1.0"],"title":"Disable
`allowAbsoluteUrls` for
axios","number":215138,"url":"https://github.com/elastic/kibana/pull/215138","mergeCommit":{"message":"Disable
`allowAbsoluteUrls` for axios (#215138)\n\n## Summary\nAfter
https://github.com/elastic/kibana/pull/214843, `axios` client\nusages
need to set a flag to prevent the vulnerable behavior.\n\nTo reviewers:
if you think it's a mistake, and you created a client to\nrequest for
absolute URLs, consider unsetting the `baseURL` to\ncommunicate
intent.","sha":"e40b17aa22ec1a2fbc56ae8651e12f658099ec14"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215138","number":215138,"mergeCommit":{"message":"Disable
`allowAbsoluteUrls` for axios (#215138)\n\n## Summary\nAfter
https://github.com/elastic/kibana/pull/214843, `axios` client\nusages
need to set a flag to prevent the vulnerable behavior.\n\nTo reviewers:
if you think it's a mistake, and you created a client to\nrequest for
absolute URLs, consider unsetting the `baseURL` to\ncommunicate
intent.","sha":"e40b17aa22ec1a2fbc56ae8651e12f658099ec14"}}]}]
BACKPORT-->

---------

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2025-03-26 02:52:05 +02:00
..
kbn-babel-preset [8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751) 2025-03-05 19:22:58 +03:00
kbn-bazel-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-capture-oas-snapshot-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-check-mappings-update-cli [8.18] [Entity Analytics] Consider Closed alerts for Risk Scoring (#193667) (#210941) 2025-02-13 11:20:13 +05:30
kbn-check-prod-native-modules-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-performance-metrics [8.18] Disable allowAbsoluteUrls for axios (#215138) (#215828) 2025-03-26 02:52:05 +02:00
kbn-ci-stats-shipper-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cli-dev-mode [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-presentation (#204843) (#205120) 2024-12-24 08:44:32 +01:00
kbn-dependency-usage [8.18] [CI] Only emit .d.ts when running typecheck (#209259) (#214942) 2025-03-18 14:51:05 +02:00
kbn-docs-utils [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754) (#205974) 2025-01-13 10:53:37 +00:00
kbn-eslint-config [8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751) 2025-03-05 19:22:58 +03:00
kbn-eslint-plugin-css [8.x] Resolve false positives with eslint no color rule (#204848) (#204906) 2024-12-19 06:23:17 -06:00
kbn-eslint-plugin-disable [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-eslint-plugin-eslint Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-i18n [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/kibana-visualizations (#202754) (#205974) 2025-01-13 10:53:37 +00:00
kbn-eslint-plugin-imports [8.18] chore(NA): upgrade to webpack 5 (#191106) (#211147) 2025-02-14 13:36:18 +00:00
kbn-eslint-plugin-telemetry [8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-infra_services-team (#202830) (#205231) 2024-12-29 13:10:37 -06:00
kbn-failed-test-reporter-cli [8.18] Disable allowAbsoluteUrls for axios (#215138) (#215828) 2025-03-26 02:52:05 +02:00
kbn-find-used-node-modules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-generate [8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751) 2025-03-05 19:22:58 +03:00
kbn-generate-console-definitions [8.x] SKA: Categorise remaining packages (#205875) (#205973) 2025-01-08 23:32:22 +00:00
kbn-import-locator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-json-ast Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-kibana-manifest-schema [8.x] Kibana Sustainable Architecture: Force &#x60;visibility: &#x27;private&#x27;&#x60; for solutions in manifest (#199452) (#199488) 2024-11-08 10:26:58 -06:00
kbn-lint-packages-cli [8.x] [codeowners] Filter kibanamachine (#199404) (#199864) 2024-11-12 14:38:18 -06:00
kbn-lint-ts-projects-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-vscode-config [8.18] SKA: Misc cleanup and enhancements (#212207) (#212352) 2025-02-25 13:18:12 +00:00
kbn-managed-vscode-config-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-manifest [8.x] Sustainable Kibana Architecture: Categorise straightforward packages (#199630) (#201340) 2024-11-22 09:47:23 -06:00
kbn-mock-idp-plugin [8.x] Preparation for High Contrast Mode, Security domains (#202609) (#203493) 2024-12-09 16:43:23 -06:00
kbn-optimizer [8.18] Decouple some modules from 'webpack' (#212746) (#212898) 2025-03-03 14:39:11 +00:00
kbn-peggy-loader [8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751) 2025-03-05 19:22:58 +03:00
kbn-performance-testing-dataset-extractor [8.x] [ES &#x60;body&#x60; removal] &#x60;@elastic/appex-qa&#x60; (#204878) (#204916) 2024-12-19 06:55:11 -06:00
kbn-picomatcher Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-check [8.x] SKA: Categorise remaining packages (#205875) (#205973) 2025-01-08 23:32:22 +00:00
kbn-plugin-generator [8.x] Sustainable Kibana Architecture: Update tooling to take into account the new folders (#202327) (#202419) 2024-12-02 06:01:43 -06:00
kbn-plugin-helpers [8.18] fix: add REACT_18 env variable to kbn-plugin-helpers bazel config (#211121) (#211615) 2025-02-18 19:29:29 +01:00
kbn-relocate [8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751) 2025-03-05 19:22:58 +03:00
kbn-repo-file-maps Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-linter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-source-classifier [8.18] chore(NA): upgrade to webpack 5 (#191106) (#211147) 2025-02-14 13:36:18 +00:00
kbn-repo-source-classifier-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-set-map [8.x] SKA: Categorise remaining packages (#205875) (#205973) 2025-01-08 23:32:22 +00:00
kbn-sort-package-json Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-spec-to-console Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-styled-components-mapping-cli [8.18] SKA: Relocate "platform" packages that remain on /packages (208704) (#212751) 2025-03-05 19:22:58 +03:00
kbn-ts-projects [Backport] Dependency Usage CLI (#201815) 2024-11-26 21:48:26 +01:00
kbn-ts-type-check-cli [8.18] [CI] Only emit .d.ts when running typecheck (#209259) (#214942) 2025-03-18 14:51:05 +02:00
kbn-validate-next-docs-cli [8.x] [ci] Work around docosaurus errors (#206097) (#206150) 2025-01-10 00:31:36 +00:00
kbn-web-worker-stub Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-whereis-pkg-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-yarn-lock-validator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00