Commit graph

44271 commits

Author SHA1 Message Date
Peter Pisljar 5aa8a0a818
persistable state migrations (#103680) 2021-07-07 22:42:16 +02:00
Nicolas Chaulet 29020c1200
[Fleet] Fix add agent in the package policy table (#104749) 2021-07-07 16:37:18 -04:00
gchaps e92892a174
[DOCS] Creates separate doc for security in production (#103973)
* [DOCS] Creates separate doc for security in production

* Use Kibana attribute

* Update CSP section

* Move SSL section to the top

This is the highest priority item for securing a production installation
of Kibana.

* Add section on using secure HTTP headers

* Write intro

* [DOCS] Fixes broken link and other minor edits

* [DOCS] Changes man to manipulator

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-07-07 13:19:28 -07:00
Pierre Gayvallet d64c3fb5be
[SO Migration] fix reindex race on multi-instance mode (#104516)
* fix reindex race condition

* fix some IT tests

* fix reindex cause detection

* add integration test

* update RFC

* review comments

* add integration test for isWriteBlockException
2021-07-07 22:10:37 +02:00
Kevin Logan 211a4634d8
[Security Solution] Update text in Endpoint Admin pages (#104649) 2021-07-07 14:15:53 -04:00
Jonathan Budzenski 94f87cdc37
[package testing] Decrease timeout to 2 hours (#104668)
Package testing on average takes slightly over an hour.  In error
cases where tests retry or a process hangs, it makes sense to keep this
timeout closer to the testing time.

Ref: https://kibana-ci.elastic.co/job/elastic+kibana+package-testing/
2021-07-07 14:15:33 -04:00
Justin Kambic 8daffb00f4
Fix background styling of waterfall chart sidebar tooltip. (#103997) 2021-07-07 14:11:30 -04:00
Kyle Pollich 7907b6ad45
[Fleet + Integrations UI] Integrations UI Cleanup (#104641)
* Remove Beta wording from Fleet messaging in ingestion tutorials

* Rename fleet feature registration to include integrations

* Pluralize + sentence case assets and expand dashboards by default

* Update global search from packages -> integrations

* Expand auth settings by default in package policy add agent flyout

* Update wording for various fleet modules

* Fix i18n

* Fix unit test

* Fix failing tests
2021-07-07 13:57:51 -04:00
Zacqary Adam Xeper e3b6c1f9c7
[Fleet] Link to download page of current stack version on Agent install instructions (#104494)
* [Fleet] Link to download page of current stack version

* Get Kibana version from semver function

* Fix jest
2021-07-07 12:54:24 -05:00
Scotty Bollinger b20669eaf3
[Workplace Search] Fix Media Type field preview is unformatted bug (#104684)
* Add mimeTypes util

* Properly format mimeTypes
2021-07-07 13:45:49 -04:00
Dima Arnautov d03922af50
[ML] add marker body (#104672) 2021-07-07 19:42:40 +02:00
Jonathan Budzenski 0b7eb3f85f
[plugin-helpers] Fix dependency resolution (#104556)
This builds on the changes introduced in #104512, fixing dependency
resolution for the plugin-helpers CLI.  Instead of building a plugin in
isolation, this performs plugin discovery and filters the optimizer
lisst down to the requested plugin.

Testing
1) `cd examples/bfetch_explorer`
1) `node ../../scripts/plugin_helpers build --kibana-version=8.0.0-SNAPSHOT`
2021-07-07 12:40:58 -05:00
Nicolas Chaulet a6172a87ed
[Fleet] Do not display nunber of active for agent status filter (#104681) 2021-07-07 13:31:01 -04:00
Ece Özalp efa0476192
[CTI] ensures isThreatIntelModuleEnabled query for Overview page is made only once (#104523) 2021-07-07 13:18:57 -04:00
Nathan Reese de9ba92340
[maps] fix radius label contrast (#104182)
* [maps] fix radius label contrast

* Update x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_control.tsx

Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
2021-07-07 11:14:44 -06:00
Catherine Liu 9da40305e7
[Canvas] Refactor fullscreen component (#104554) 2021-07-07 09:50:48 -07:00
gchaps d1b58d8d63
Update index.asciidoc (#104677) 2021-07-07 09:28:45 -07:00
Mikhail Shustov e01e682917
Add execution context service (#102039)
* add execution context service on the server-side

* integrate execution context service into http service

* add integration tests for execution context + http server

* update core code

* update integration tests

* update settings docs

* add execution context test plugin

* add a client-side test

* remove requestId from execution context

* add execution context service for the client side

* expose execution context service to plugins

* add execution context service for the server-side

* update http service

* update elasticsearch service

* move integration tests from http to execution_context service

* integrate in es client

* expose to plugins

* refactor functional tests

* remove x-opaque-id from create_cluster tests

* update test plugin package.json

* fix type errors in the test mocks

* fix elasticsearch service tests

* add escaping to support non-ascii symbols in description field

* improve test coverage

* update docs

* remove unnecessary import

* update docs

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* address comments

* remove execution context cleanup

* add option to disable execution_context service on the server side

* put x-opaque-id test back

* put tests back

* add header size limitation to the server side as well

* fix integration tests

* address comments

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-07-07 17:46:35 +02:00
Scotty Bollinger 979c6e8031
[Workplace Search] Refactor OAuth permissions modal to be a conditional heading (#104323)
* Rename constants

* Refactor to use alternate heading instead of modal

* Fix i18n order

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 10:09:55 -05:00
Sergi Massaneda 1c0dbea7ae
[Security] Add description component key (#104603)
* detections empty timelines crash patch

* cleaning unnecesary key

* bring description key back to force rerender
2021-07-07 16:46:51 +02:00
Janeen Mikell-Straughn 9aa3280c86
[DOCS] Elastic Sec Overview (Fixing Image) (#104529)
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 09:58:09 -04:00
Anton Dosov 44d4d2398b
[Index Patterns] Use deprecation api for scripted fields (#100781) 2021-07-07 15:29:29 +02:00
Stratoula Kalafateli 186b936fbb
[VisTypePie] Fixes color migrations of pie charts (#104373)
* [Pie] fix color migrations of pie charts

* Fix color picker

* Fix functional test

* revert

* Apply PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 16:19:56 +03:00
Nathan L Smith 24afb1a52d
Fix comparison breakpoint (#104560)
It was overlapping the navigation.

Fixes #103881.
2021-07-07 08:02:10 -05:00
Scotty Bollinger 874882ead8
[Workplace Search] Fix bug where error was behind modal stuck in loading state (#104360)
* Fix an issue from previous PR

In https://github.com/elastic/kibana/pull/104024, the error handling incorrectly used the `message` property on the response, when it should have been the attributes.errors array.

* Use inline error for duplicate name
2021-07-07 09:42:21 -03:00
Scotty Bollinger 5baff65863
[Workplace Search] Fix a couple of Source Display settings bugs (#104355)
* Remove `exact` prop on route

This was preventing the rendering of the subroute. Not sure why it was working before

* Replace `EuiFlexGrid` with `EuiFlexGroup`

Again, not sure why this was chosen, but although the EuiFlexGrid component renders fine in the standalone UI, it does not look correct in Kibana. EuiFlexGroup seems to render as intended.
2021-07-07 09:39:40 -03:00
Alejandro Fernández Gómez f729d4a8ab
[Fleet] Fix fn call (#104608) 2021-07-07 08:27:26 -04:00
renovate[bot] 2138c0e33d
Update dependency @elastic/charts to v31.1.0 (#104455)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 14:09:21 +02:00
Jonathan Budzenski 02b05c97cb
[docs] Update default memory limit (#104535)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-07 13:13:43 +02:00
Joe Reuter a72d0192cb
improve debounce behavior (#104421) 2021-07-07 11:41:12 +02:00
Alejandro Fernández Gómez f5c4a05701
[Fleet][Logs UI] Ensure the <LogStream /> component reacts to query changes (#103876)
* Ensure the <LogStream /> component reacts to query changes

* Remove unused import
2021-07-07 11:37:01 +02:00
Joe Reuter 1f06898beb
[Lens] Fix state setting via mutation (#104420) 2021-07-07 11:28:30 +02:00
Thomas Neirynck f9f5cf2249
[Maps] fix import (#104518) 2021-07-07 10:58:09 +02:00
Alejandro Fernández Gómez 40d2b2b61c
[Fleet] Fix miscelaneous bugs in the fleet setup page (#104479) 2021-07-07 10:30:30 +02:00
Thom Heymann 689173f0aa
Upgrade prismjs (#104131)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 09:19:15 +01:00
Thom Heymann acf1ff1c7b
Upgrade nodemailer (#104122)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-07 09:18:53 +01:00
James Gowdy 85f831bb16
[ML] Adding tests for ML's field caps endpoint (#104315)
* [ML] Adding tests for ML's field caps endpoint

* fixing typos
2021-07-07 09:01:30 +01:00
James Gowdy d0986c2eee
[ML] Removing broken data recognizer test (#104387) 2021-07-07 09:00:38 +01:00
Tiago Costa 8b0fc7843f
chore(NA): remove legacy dev dep on @kbn/test from xpack package.json (#104476) 2021-07-07 02:22:22 +01:00
Frank Hassanabad bc20a9eaa8
Removes older configuration that is no longer in use, removes un-used configuration keys (#104540)
## Summary

* Removes `kibana.yml` (configuration) keys that are not in use 
* Removes an older configuration schema file from before the merge of endpoint with security solutions

Unused schema file was:
```
server/endpoint/config.ts
```

Unused keys removed:

```
xpack.securitySolution.alertResultListDefaultDateRange
xpack.securitySolution.validateArtifactDownloads
```

### Checklist

- [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
2021-07-06 18:07:58 -04:00
Spencer 99b9a2bc5e
[apm-config-loader] refactor config loading (#104197)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-06 18:00:20 -04:00
Patryk Kopyciński b17ad5d316
[Osquery] Fix issue with plugin initialization (#100208) 2021-07-06 17:59:40 -04:00
Michael Olorunnisola 7d51136523
[Security Solution] - Fix flyout pane z index (#104465) 2021-07-06 17:52:29 -04:00
Pablo Machado 52c7824bff
Fix long data for investigation not truncate on the rule details page (#104428)
Author: Pablo Machado <machadoum@gmail.com>
Co-authored-by: Pablo Machado <machadoum@gmail.com>
2021-07-07 00:04:57 +03:00
Nathan L Smith aae6ae47ea
Remove schema heading from schema settings (#104520)
Also add a story.

Fixes #103753.
2021-07-06 15:58:13 -05:00
Kyle Pollich 4da6c4f93d
[Integrations UI] Fix missing agent flyout on package policy page (#104493)
* Fix missing agent flyout on package policy page

Handle query string changes if user clicks "add agent" link in toast
content while still on the package policy listing page.

Closes #103266

* Unbind history listener in useEffect
2021-07-06 16:47:12 -04:00
Spencer 1d993b6f26
[kbn/optimizer] maintain bundle ref support when using --filter (#104512)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-06 13:45:55 -07:00
Jonathan Budzenski 90d6b223a6
[target/windows] Fix KBN_PATH_CONF expansion in bin/*.bat (#104517)
When setting the environment variable KBN_PATH_CONF in Windows, paths
containing special characters will be expanded and interpreted, instead
of being treated as a string.  This wraps `%KBN_PATH_CONF%` in quotes to
prevent this.

Testing:
1) set "KBN_PATH_CONF=C:\With space\special()%$characters\kibana\config"
2) bin\kibana*.bat should run
2021-07-06 14:58:43 -05:00
Sandra Gonzales 08257f1f93
[Monitoring] update SM rule template variables (#104176)
* continue to support shardIndices template variable

* add unit test for large shard size alert

* change template variables in CCR rule

* add CCR rule unit test

* fix internationalization

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-06 15:11:01 -04:00
Tim Sullivan b794e7b7ca
[Reporting] Add warning logs about CSV export type being deprecated (#104025)
* add deprecation logging to csv export type

* fix payload.isDeprecated

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-06 12:01:27 -07:00