Commit graph

40109 commits

Author SHA1 Message Date
Yuliia Naumenko
9ba3ee32a7
[Alerting UI] Fixed a bad UX for xpack.actions.enabled is set as false. UI should show the proper message instead of the endless spinner. (#89043)
* [Alerts][Actions] Changed isESOUsingEphemeralEncryptionKey determination. Set ESO plugin as an optional dependancy for actions and alerts plugins.

* fixed faling typechecks

* fixed faling typechecks

* fixed health framework status message

* fixed due to comments

* fixed faling test

* changed approach

* fixed due to comments

* fixed due to comments

* fixed tests

* fixed tests

* fixed tests

* fixed wrong commit

* fixed lang issue

* Fixed to remove eso check

* Fixed tests

* Fixed due to comments.
2021-01-28 20:18:55 -08:00
Tim Sullivan
46c9e64278
Update README.md 2021-01-28 19:19:31 -07:00
Oliver Gupte
8e57b63deb
[APM] fixes incorrect values in service overview throughput chart (#89348)
* [APM] fixes incorrect values in service overview throughput chart
2021-01-28 18:17:09 -08:00
Spencer
7465976c25
[dev/build/version info] convert to integration tests (#89511)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-28 18:13:56 -07:00
Scotty Bollinger
67014a7970
[Enterprise Search] Update apps to use a service for docs links (#89425)
* Create DocLinksService

* Set docLinks on app start

* Update routes modules to use service

* Update component and test to use service

* Remove legacy files

* Add comment

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Add new line

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Refactor test

* Rename class and remove extra route segments

* Update test names

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-01-28 18:14:04 -06:00
Tim Sullivan
da6501973f
Update README.md 2021-01-28 16:33:21 -07:00
Clint Andrew Hall
55afba4a4d
Setting up and documenting Presentation Util (#88112) 2021-01-28 17:15:13 -06:00
Jonathan Budzenski
608efb0a3d
[build] Remove file architecture from docker tag (#89605)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 16:59:40 -06:00
spalger
1ab03d0cb0 label skipped suite with relevant issues 2021-01-28 14:56:04 -07:00
Jonathan Budzenski
9480e2f192 skip query string suite 2021-01-28 15:03:15 -06:00
Jonathan Budzenski
4d7941928d skip flaky test 2021-01-28 14:25:54 -06:00
gchaps
b0f4c9831e
[DOCS] Updates intro doc (#88376)
* [DOCS] Updates intro doc

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Incorporates review comments

* [DOCS] Add links to Security views

* [DOCS] Minor tweaks to improve the flow of the doc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 11:36:04 -08:00
Alison Goryachev
ee2c74da44
[Upgrade Assistant] Use core doc links service (#89363) 2021-01-28 14:30:45 -05:00
Yuliia Naumenko
4de729f3c3
[Event Log] Added KQL queries support for Event Log API. (#89394)
* [Event Log] Added KQL queries support for Event Log API.

* refactored to use core.elasticsearch.client

* Fixed tests

* removed get index pattern for event log

* Fixed tests

* Fixed due to comments.
2021-01-28 11:19:59 -08:00
Jonathan Budzenski
62a4266ab6 skip "Should pass the query language to the language switcher". #89603 2021-01-28 13:13:56 -06:00
Wylie Conlon
ac39321fc5
Tinymath is now a Kibana package (#89383)
* Tinymath is now a Kibana package

* Rename to @kbn/tinymath

* Update import style

* Update README

* Use commonjs import syntax

* Fix to commonjs export

* More commonjs fixes
2021-01-28 13:58:37 -05:00
Scotty Bollinger
af88e024fa
[Workplace Search] Add i18n sources components (#89571)
* Refactor Cancel button constant to shared

* Add i18n for DisplaySettings section

* Moves more shared constants to correct files

Also fixes duplicate text in ConnectInstance (was left alongside translated text below it)

* Add source overview i18n

* More refactoring of shared constants

* Add i18n to remaining shared sources components

* Fix failing test

* Fix duplicate i18n id

* Remove unused translations
2021-01-28 12:55:29 -06:00
Mike Côté
da8ce374cf
Make xpack.actions.rejectUnauthorized setting work (#88690)
* Remove ActionsConfigType due to being a duplicate

* Fix rejectUnauthorized not being configured

* Move proxySettings to configurationUtilities

* Fix isAxiosError check to code

* Add functional test

* Remove comment

* Close webhook server

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 13:44:25 -05:00
Candace Park
074003d4b4
[Security Solution][Endpoint][Admin] Ransomware card (#87945)
* [Security Solution][Endpoint][Admin] Ransomware card, package policy 7.12 migration
2021-01-28 13:35:06 -05:00
Jonathan Budzenski
5c709bb6cc Revert "[CI] Combines Jest test jobs (#85850)"
This reverts commit 46ac4ed7a2.
2021-01-28 12:15:45 -06:00
Jonathan Budzenski
99d1760324 Revert "[CI] Decrease number of Jest workers (#89504)"
This reverts commit b2d4412146.
2021-01-28 12:14:52 -06:00
Vadim Dalecky
10e6354d77
Expose anonymous access through a switch in sharing menu (#86965)
* feat: 🎸 add "Public URL" switch

* feat: 🎸 add url subtitle

* feat: 🎸 add public URL toggle state

* feat: 🎸 allow to dynamically enable anonymous access switch

* feat: 🎸 add anon access url parameters to share url

* fix: 🐛 correctly add params to url

* fix: 🐛 correctly add anon access to saved object URL

* fix: 🐛 don't generate anon access urls twice

* feat: 🎸 add ability to check anonymous user capabilities

* feat: 🎸 add capability checks to Discover and Visualize apps

* refactor: 💡 use early return

* test: 💍 use security_oss mocks

* feat: 🎸 add anon access url params to short url

* test: 💍 fix jest snapshots

* perf: ️ make capabilities check synchronous

* style: 💄 add stylistic review changes

* perf: ️ don't fetch anon user capabilities if anon not enabled

* fix: 🐛 in discover app check if discover exists in capabilities

* test: 💍 add tests for discover sharing check

* test: 💍 add tests for showPublicUrlSwitch checks

* feat: 🎸 make visualize capabilities props required

* style: 💄 remove unused import

* feat: 🎸 improve tooltip copy
2021-01-28 18:46:14 +01:00
Frank Hassanabad
c73000f644
Fixes one liner where the UI was not setting the threat_filters (#89519)
## Summary

Fixes: https://github.com/elastic/kibana/issues/89507

* One liner was missed on the front end to persist this
* I fixed some type script issues in the tests which lead to a few missing types in the `DefineStepRuleJson` section
* Adds a unit test for this.

Test instructions:
1. Go to manage detections
2. Create a new rule for Indicator matches
3. Add a filter and click save.
4. Re-load the rule and it should be saved now.

Repeat the steps for edit and it should also be saved there.

You should see this after a reload of the rule after a save for example:

<img width="1038" alt="Screen Shot 2021-01-27 at 4 28 51 PM" src="https://user-images.githubusercontent.com/1151048/106072458-77d1e400-60c5-11eb-8169-fcdadf0f03e7.png">

And this if you have two filters saved in the definition section of the UI:
<img width="1106" alt="Screen Shot 2021-01-27 at 4 30 10 PM" src="https://user-images.githubusercontent.com/1151048/106072539-9a63fd00-60c5-11eb-9c77-bf8224c90016.png">

### Checklist

Delete any items that are not applicable to this PR.

- [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-01-28 09:55:45 -07:00
Dario Gieselaar
cd9c79bec0
[APM] Add skip() method to registry.when (#89572)
Closes #89431.
2021-01-28 17:43:51 +01:00
Aaron Caldwell
80b720da11
[Maps] Geo containment latency and concurrent containment fix (#86980) 2021-01-28 09:18:59 -07:00
Thomas Neirynck
7593cf7ea5
[Vega] use %type% in docs (#89453) 2021-01-28 11:04:23 -05:00
ncheckin
caed606fbd
Update redirects.asciidoc (#84719)
* Update redirects.asciidoc

* Update docs/redirects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/redirects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/redirects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/redirects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/redirects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/redirects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/redirects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update redirects.asciidoc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-01-28 09:19:18 -06:00
Jonathan Budzenski
b9fd79a9e0 skip query string input render. #85715 2021-01-28 09:07:08 -06:00
Dmitry
45eae10e36
update chromedriver dependency to 88 (#89539) 2021-01-28 15:44:29 +01:00
Juan Álvarez
77f8e62d07
update central config to include Go agent (#89445) 2021-01-28 08:42:33 -06:00
Christiane (Tina) Heiligers
681b2397c6
Migrates license_management to a TS project ref (#89472) 2021-01-28 07:39:21 -07:00
Tiago Costa
ecf7dd4628
chore(NA): add ignore and rc files for bazel (#89524)
* chore(NA): add bazel related ignore rules

* chore(NA): add bazelrc files setup

* chore(NA): reword on bazelrc comment

* chore(NA): update .eslintignore

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

* chore(NA): rename .bazelrc into .bazelrc-ci

* chore(NA): update .gitignore

Co-authored-by: Tyler Smalley <tylersmalley@me.com>

Co-authored-by: Tyler Smalley <tylersmalley@me.com>
2021-01-28 14:26:01 +00:00
Stratoula Kalafateli
b4931e6f5e
Enable right click on visualizations and dashboards listings (#88936)
* Enable right-click on visualizations listing page

* Make it simpler

* Enable right click to the dashboard listing

* Add unit tests

* Fix link on dashboard

* Fix visualize link

* Fix PR comments

* Fix functional test failure

* Use kbnUrlStateStorage instead

* Change method to getDashboardListItemLink

* Change method to getVisualizeListItemLink

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 15:42:47 +02:00
Rudolf Meijering
8534faf7ee
migrations v2: fix snapshot builds (#89541)
* migrations v2: fix snapshot builds

* Revert "Fix sharing saved objects phase 2 CI (#89056)"

This reverts commit 8263d47d37.
2021-01-28 14:05:54 +01:00
Pierre Gayvallet
ec8738a060
add synchronous config access API (#88981)
* add synchronous config accessor

* add `config.get` to plugin context and add tsdoc

* remove useless markAsHandled calls

* fix mocks

* update generated docs

* fix unit tests

* add sync accessor for legacy config
2021-01-28 11:52:38 +01:00
Gidi Meir Morris
f3fba95955
[Task Manager] ignore version conflicts that exceed max_docs in the claiming process (#89415)
This is a first step in attempting to address the over zealous shifting we've identified in TM.

It [turns out](https://github.com/elastic/elasticsearch/issues/63671) `version_conflicts` don't always count against `max_docs`, so in this PR we correct the `version_conflicts` returned by updateByQuery in TaskManager to only count the conflicts that _may_ have counted against `max_docs`.
This correction isn't necessarily accurate, but it will ensure we don't shift if we are in fact managing to claim tasks.
2021-01-28 10:14:28 +00:00
Matthias Wilhelm
457f011151
[Discover] Add grid flyout jest test (#89088) 2021-01-28 10:16:39 +01:00
Anton Dosov
07b210e42d
[Search Sessions] Improve session restoration back button (#87635) 2021-01-28 09:54:26 +01:00
Alexey Antonov
9c410b81ca
[TSVB] Remove vis_type_timeseries_enhanced plugin (#89274)
* [TSVB] get rid of vis_type_timeseries_enhanced

* add search strategy should be called from setup hook

* remove vis_type_timeseries_enhanced from CODEOWNERS

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 11:10:15 +03:00
Patryk Kopyciński
d7028e1a5f
[Security Solution] Init Osquery plugin (#87109) 2021-01-28 08:24:55 +01:00
Nicolas Chaulet
9b5e41a9c5
[Fleet] Do not defined aliases inside datastream template (#89512)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-27 20:59:33 -07:00
spalger
4fc49ece4d skip flaky suite (#86950) 2021-01-27 20:02:12 -07:00
Tiago Costa
cf3c746eca
chore(NA): bazel machinery installation on kbn bootstrap (#89469)
* chore(NA): bazel machinery installation on kbn bootstrap

* refact(NA): simplify install logic

* chore(NA): update kbn pm with last changes
2021-01-28 00:51:01 +00:00
Jonathan Budzenski
2572cd291b
[build/docker] Add support for centos ARM builds (#84831)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-27 18:25:46 -06:00
CJ Cenizal
fd2e9d0821
Convert default_watch.json to a JS object in order to avoid TS complaints (#89488)
* Remove unused defaultWatchJson static member from public JsonWatch model.
2021-01-27 16:21:30 -08:00
Tyler Smalley
b2d4412146
[CI] Decrease number of Jest workers (#89504)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-27 16:15:28 -08:00
Nathan Reese
f2aa5bcd95
[Maps] remove maps_oss TS project (#89502) 2021-01-27 16:54:03 -07:00
Tyler Smalley
511c9913b3
Adds migration settings to Docker (#89501)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-27 15:48:36 -08:00
Wylie Conlon
445cb2ef87
[Lens] Fix crash in transition from unique count to last value (#88916)
* [Lens] Fix transition from unique count to last value

* Fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 18:44:17 -05:00
Brian Seeders
5ce916b308
[kbn-es] Always use bundled JDK when starting Elasticsearch (#89437) 2021-01-27 16:26:45 -05:00