Kibana Machine
4de45864fc
[8.10] [Logger] Strip ANSI escape codes from the message ( #164337 ) ( #164821 )
...
# Backport
This will backport the following commits from `main` to `8.10`:
- [[Logger] Strip ANSI escape codes from the message
(#164337 )](https://github.com/elastic/kibana/pull/164337 )
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport )
<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2023-08-25T09:53:57Z","message":"[Logger]
Strip ANSI escape codes from the message (#164337 )\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4b88b10b0f4e3539f697fecfbf2a2097aa620510","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Security","release_note:skip","Team:
SecuritySolution","backport:prev-minor","v8.11.0"],"number":164337,"url":"https://github.com/elastic/kibana/pull/164337 ","mergeCommit":{"message":"[Logger]
Strip ANSI escape codes from the message (#164337 )\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4b88b10b0f4e3539f697fecfbf2a2097aa620510"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164337 ","number":164337,"mergeCommit":{"message":"[Logger]
Strip ANSI escape codes from the message (#164337 )\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4b88b10b0f4e3539f697fecfbf2a2097aa620510"}}]}]
BACKPORT-->
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2023-08-25 04:16:33 -07:00
Jeramy Soucy
d076300a52
Upgrades protobufjs 6.11.3 -> 7.2.4 ( #161407 )
...
Upgrades protobufjs from 6.11.3 to 7.2.4 via...
- @grpc/grpc-js 1.6.7 -> 1.6.8
- @opentelemetry/exporter-metrics-otlp-grpc 0.30.0 -> 0.34.0
Upgrades for compatibility...
- @opentelemetry/api-metrics 0.30.0 -> 0.31.0
- @opentelemetry/exporter-prometheus 0.30.0 -> 0.31.0
- @opentelemetry/sdk-metrics-base 0.30.0 -> 0.31.0
2023-07-13 08:51:55 -04:00
Karl Godard
0a5b4233d1
Session view and k8s dashboard fixes ( #154982 )
...
## Summary
- fixes some issues in session_view wrt to logs-cloud_defend.process*
data.
- added a 'collapse all' children feature. with sticky scroll session
leader!
- k8s dashboard session table: user.name -> user.id (id is more likely
to be set for both endpoint and cloud-defend)
- Fixed a major bug when 'searching within terminal'. If a process is
highlighted it would cause kibana to blow up.
- session view handling of session leader user info improved.
- codeowners updated. awp-viz -> sec-cloudnative-integrations
- a badge will be added to the selector header when it's not in used by
a response flow
### Screenshots

Sticky session leader demo:
https://www.loom.com/share/b039e48fdfd647b291f293d643339660
### Checklist
Delete any items that are not applicable to this PR.
- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing ), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md )
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html )
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html )
were updated or added to match the most common scenarios
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-04-17 16:22:28 -07:00
Jon
be71713035
Upgrade typescript-eslint to 5.54.0 ( #152358 )
...
We're seeing infrequent but reliable build failures due to parse errors
when linting -
https://buildkite.com/elastic/kibana-on-merge/builds/27649#01869780-fb18-4a4d-990e-b8d5a05a701a/225-792 .
Looking into bug fixes upstream.
2023-03-23 10:52:41 -05:00
Thomas Watson
5fa79fc9b3
Remove @loaders.gl/polyfills dev-dependency ( #151287 )
2023-02-15 15:03:37 +01:00
Jon
78947c4c6f
Upgrade terser to 5.16.1 ( #149702 )
...
Also updates our renovate config to track this. Plan on adding a few
more build related dependencies.
2023-02-06 12:52:01 -07:00
Kurt
de4e53d712
Upgrade jsonwebtoken from 8 to 9 ( #148128 )
...
## Summary
Upgrading the `jsonwebtoken` library used in
`cloud_integration/cloud_chat` plugin from v8.5 to v9.0
## Migration
After reviewing the affected code it looks like this upgrade shouldn't
cause any breaking changes. Please see the v8 --> v9 migration guide
[here](https://github.com/auth0/node-jsonwebtoken/wiki/Migration-Notes:-v8-to-v9 )
## Questions for reviewers
- What is the size and type of `secret` that we are passing into
`generateSignedJwt`?
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2023-01-24 12:32:44 -05:00
Karl Godard
0b19cfafa3
Custom fleet policy UX for new integration (cloud defend v1) ( #147300 )
...
## Summary
New Kibana plugin created for an integration called "Cloud defend for
containers" which will have a corresponding agent service which can
proactively block and alert on executable creation or modification in a
running container.
This plugin is purely in place to configure the fleet policy UX around
this new integration. For now we have added a yaml editor as a custom
input to our integration. The monaco-yaml libary was added to allow
support for JSON schema validation support for yaml.
Integration PR is up, and a work in progress: (waiting on some content
for the doc page)
https://github.com/elastic/integrations/pull/4680
### Screenshot

### Checklist
Delete any items that are not applicable to this PR.
- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing ), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md )
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html )
were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/ ))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/ ),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US ))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server ))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers )
Co-authored-by: Karl Godard <karlgodard@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-12-19 17:37:39 -07:00
Felix Stürmer
eb75937130
[Logs UI] Implement log stream page state as a state machine ( #145234 )
...
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kerry Gallagher <kerry.gallagher@elastic.co>
closes https://github.com/elastic/kibana/issues/145131
2022-12-13 17:50:36 +01:00
Jonathan Budzenski
d40e0f79a3
Upgrade node-sass to 8.0.0 ( #145355 )
...
This is needed for Node 18.
https://github.com/sass/node-sass/releases/tag/v8.0.0
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-12-08 10:04:57 -06:00
renovate[bot]
fba0aca193
Update jest (main) ( #146599 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest )
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped )) |
[`29.2.0` ->
`29.2.3`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.0/29.2.3 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
| [babel-jest](https://togithub.com/facebook/jest ) | [`^29.2.2` ->
`^29.3.1`](https://renovatebot.com/diffs/npm/babel-jest/29.3.1/29.3.1 ) |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions ) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/elastic/kibana ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40MC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNDAuMiJ9-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-12-06 14:56:59 -06:00
Jonathan Budzenski
8038127a0e
Add jest to renovate config ( #145877 )
...
This adds a renovate config for core jest packages, but skips a few jest
related libraries. They need to be updated separately and then added to
the config. jest-styled-components breaks a bunch of snapshots, for
example.
2022-11-29 09:23:32 -06:00
Joe Reuter
15c12bdd39
Rename all vis-editors
and datavis
to visualizations
( #144589 )
...
* rename all the vis-editors
* rename datavis to visualizations
2022-11-05 19:16:20 -04:00
Joseph Crail
c888aca9b4
[Profiling] Move additional flamegraph calculations into UI ( #142415 )
...
* Remove total and sampled traces from API
* Remove Samples array from flamegraph API
These values are redundant with CountInclusive so could be removed
without issue.
* Remove totalCount and eventsIndex
These values are no longer needed.
* Remove samples from callee tree
* Refactor columnar view model into separate file
* Add more lazy-loaded flamegraph calculations
* Fix spacing in frame label
* Remove frame information API
* Improve test coverage
* Fix type error
* Replace fnv-plus with custom 64-bit FNV1-a
* Add exceptions for linting errors
* Add workaround for frame type truncation bug
* Replace prior workaround for truncation bug
This fix supercedes the prior workaround and addresses the truncation at
its source.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 06:10:38 -07:00
Thomas Watson
db931bf60e
Update renovate.json with new backport labels ( #141954 )
...
Use `backport:all-open` instead of the deprecated `auto-backport` label.
2022-09-27 12:03:40 -04:00
Karl Godard
9a77d2408c
[Terminal Output] tty toggle now shows number of bytes in tooltip, if no output we disa… ( #141174 )
...
* tty toggle now shows number of bytes in tooltip, if no output we disable button (instead of hide)
* fixed tests
Co-authored-by: Karl Godard <karlgodard@elastic.co>
2022-09-20 19:06:09 -07:00
Dario Gieselaar
b66cf585ca
[Profiling] Add Profiling application ( #140722 )
...
Co-authored-by: Joseph Crail <jbcrail@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
Co-authored-by: Stephanie Boomsma <stephanieboomsma@optimyze.cloud>
Co-authored-by: inge4pres <fgualazzi@gmail.com>
Co-authored-by: inge4pres <francesco.gualazzi@elastic.co>
Co-authored-by: Francesco Gualazzi <inge4pres@users.noreply.github.com>
Co-authored-by: Tim Rühsen <tim.ruhsen@elastic.co>
Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>
2022-09-15 19:24:41 +02:00
renovate[bot]
66f6d5972c
Update dependency @elastic/charts to v48 (main) ( #139859 )
...
* Update dependency @elastic/charts to v48
* Update renovate.json
* fix: switch to a 2 layer time axis instead of 3
* test: update test with new layers count
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
Co-authored-by: Robert Monfera <monfera@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
2022-09-06 09:25:32 -07:00
Sander Philipse
9307cacf7d
Bump redux (4.2.0), reselect (4.1.6), @reduxjs/toolkit (1.7.2), redux-thunk (2.4.1) and immer (9.0.15) ( #138818 )
...
* Upgrade Redux to 4.2.0 and Reselect to 4.1.6
* Fix typing in timelines TypedUseSelectorHook
* Upgrade reduxjs-toolkit and fix types
* Upgrade more dependencies and fix types
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
* Undo unnecessary type fixes
* Add renovate.json config for redux
* Add caret to @reduxjs/toolkit version
* Update package.json
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
* Update package.json
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
* Update package.json
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
* yarn bootstrap
* Ts-ignore failing types in presentation_util redux_embeddables
* Downgrade @reduxjs/toolkit to 1.7.2
* Undo ts-ignores in redux-embeddables
* Remove CombinedState comment
* Rebase onto main
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2022-08-25 17:39:50 +02:00
Patryk Kopyciński
8f9bfe17b5
Bump react-hook-form ( #139229 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-23 15:24:18 +02:00
Patryk Kopyciński
a5ef5916a3
Bump react-query@4 ( #137429 )
2022-08-21 14:43:44 +02:00
Patryk Kopyciński
f0325b2f7d
Renovate react-query ( #136480 )
2022-07-18 17:57:28 +02:00
Aleh Zasypkin
9ea8730886
Introduce user profiles ( #132522 )
...
Co-authored-by: Thom Heymann <thom.heymann@elastic.co>
2022-06-09 08:07:00 +02:00
Larry Gregory
0dfa6374ba
Remove broadcast-channel dependency from security plugin ( #132427 )
...
* Remove broadcast-channel dependency from security plugin
* cleanup
* Update x-pack/plugins/security/public/session/session_timeout.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-05-19 13:48:42 -04:00
Patryk Kopyciński
ae0c68346a
Bump @storybook@6.4.22 ( #129787 )
2022-05-19 12:03:10 +02:00
renovate[bot]
26b8d280d5
Update dependency @elastic/charts to v46.0.1 (main) ( #130571 )
2022-04-19 12:59:49 -05:00
renovate[bot]
186f169e1d
Update dependency @elastic/charts to v46 (main) ( #130264 )
2022-04-19 08:13:07 -05:00
Patryk Kopyciński
3dc66c69d7
Bump @testing-library ( #128659 )
2022-04-06 21:11:33 +02:00
spalger
7d86eed782
[renovate] set stability days config for all non-elastic maintained packages
2022-03-30 08:49:30 -06:00
Nick Partridge
0a48723f4b
[Renovate] Improve insight of renovate prs ( #126703 )
2022-03-02 15:08:24 -06:00
Mikhail Shustov
0393f3f261
[main] update ES client version ( #126129 )
...
* update renovate bot settings
* update es client to 8.1-canary3
* specify type explicitly when pass a serialized object
* attempt 1 in fleet.specify type explicitly when pass a serialized object
* fix the first batch of ts errors
* fix more violations
* fix unit test
* fix more violations 2
* fix more violations 3
* fix more violations 4
* review comments
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-24 16:45:18 -07:00
renovate[bot]
d68700cb3c
Update dependency @elastic/charts to v40.2.0 (main) ( #120230 )
2021-12-18 12:28:15 -06:00
Jonathan Budzenski
03f5c3b34c
[renovate] Add ftr related packages ( #118622 )
...
* [renovate] Add ftr related packages
* add v7.17.0
* Update renovate.json
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2021-12-17 13:27:14 -06:00
Brian Seeders
227e2712af
[renovate] Add Typescript configuration ( #121245 )
2021-12-15 13:17:15 -05:00
Mikhail Shustov
d0b58bb2b0
update APM agents with renovate bot ( #119166 )
...
* declare deps on APM agents via ranges
* update APM agents to the latest versions
2021-11-21 12:27:53 +01:00
spalger
dd94143802
prevent creating babel/core-js upgrade PRs until versions are 7 days old
2021-11-17 18:00:41 -07:00
Nick Partridge
597e76d68a
fix renovate config ( #118713 )
2021-11-16 10:11:31 -07:00