Commit graph

32590 commits

Author SHA1 Message Date
Joe Reuter 6d25d78f1a
remove reference to local application service in graph (#64288) 2020-04-24 10:20:35 +02:00
Alexey Antonov 321430ecad
KQL removes leading zero and breaks query (#62748)
* KQL removes leading zero and breaks query

* correctly parse numbers started from '.'

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-24 10:34:27 +03:00
Alexey Antonov d53997742b
[FieldFormats] Cleanup: rename IFieldFormatType -> FieldFormatInstanceType (#64193)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-24 10:32:34 +03:00
István Zoltán Szabó 222fba5ddc
[ML] Changes transforms wizard UI text (#64150)
Co-Authored-By: Walter Rafelsberger <walter@rafelsberger.at>
2020-04-24 09:01:51 +02:00
Patrick Mueller 59a946394d
[Alerting] change server log action type .log to .server-log in README (#64124)
The README for actions referenced the server log action type as having an id
of `.log`, but it's actually `.server-log`.
2020-04-23 23:09:17 -04:00
Chris Cowan f37185fd8f
[Metrics UI] Design Refresh: Inventory View, Episode 1 (#64026)
* [Metrics UI] Design Refresh: Inventory View, Episode 1

* Removing unused i18n labels

* Removing obsolete code removed in previous PR

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 18:00:19 -07:00
Tiago Costa e3ee02c687
chore(NA): reduce siem bundle size using babel-plugin-transfor… (#63269)
* chore(NA): reduce siem bundle size using babel-plugin-transform-imports for lodash

* fix(NA): dont use preventFullImport

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 17:43:34 -07:00
Tiago Costa 34de1aeb8b
chore(NA): use core-js instead of babel-polyfill on canvas sha… (#63486)
* chore(NA): use core-js instead of babel-polyfill on canvas shareable runtime build

* chore(NA): include regenerator-runtime/runtime

* chore(NA): change import order between runtime and core js

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 17:42:34 -07:00
spalger dd21b0b0a8 skip flaky suite (#61173) 2020-04-23 17:19:29 -07:00
spalger a4e740ed3d skip flaky suite (#62497) 2020-04-23 17:06:06 -07:00
Yuliia Naumenko f520bbd754
Renamed ilm policy for event log so it is not prefixed with dot (#64262)
* Renamed ilm policy for event log so it is not prefixed with dot

* Fixed due to comments
2020-04-23 16:31:26 -07:00
Tyler Smalley feed406c77
[eslint] no_restricted_paths config cleanup (#63741)
Major cleanup of the no_restricted_paths rule for imports of core.

For relative imports, we use eslint-module-utils/resolve which resolves
to the full filesystem path. So, to support relative and absolute
imports from the src alias we need to define both the directory and the
index including file extension.

This rule was handling both core imports, as well as imports from other
plugins. Imports from other plugins are being used much more liberally
allowed through the exceptions in tests. I choose to break these up,
removing this exception for tests for core imports.

Fixes:
Absolute imports of src/core/server/mocks were not allowed in src. This
was not an issue in x-pack due to the target excluding
!x-pack/**/*.test.* and !x-pack/test/**/*.

Non-top-level public and server imports were allowed from X-Pack tests
to the previously mentioned exclusion.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-04-23 15:59:01 -07:00
Nick Peihl 9e11bcb592
Add Oil Rig Icon from @elastic/maki (#64364) 2020-04-23 15:35:50 -07:00
Aaron Caldwell 97c7127589
[Maps] Migrate Maps embeddables to NP (#63976)
* Migrate maps embeddables. Clean up legacy presence

* Fix type error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 16:30:32 -06:00
Jen Huang 9ad8b8f35f
[Ingest] Data streams list page (#64134)
* Clean up fleet setup request/response typings

* Add data stream model and list route, handler, and request/response types

* Initial pass at data streams list

* Table styling fixes

* Fix types, fix field names

* Change forEach to map
2020-04-23 14:14:13 -07:00
Tiago Costa e1d787ae83
chore(NA): add file-loader into jest moduleNameMapper (#64330)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 21:14:51 +01:00
Kaarina Tungseth 74a07b46d8
[DOCS] Added images to automating report generation (#64333)
* [DOCS] Added images to automating report generation

* Fixes image file name
2020-04-23 15:00:40 -05:00
Christos Nasikas a145aa9d5e
[SIEM][CASE] Api Integration Tests: Configuration (#63948)
* Init

* Init get_connectors

* Test post_configuration

* Test patch_configuration

* Rename folder

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 22:42:22 +03:00
Larry Gregory 44f9cbcb60
Expose ability to check if API Keys are enabled (#63454)
* expose ability to check if API Keys are enabled

* fix mock

* Fix typo in test name

* simplify key check

* fix privilege check

* remove unused variable

* address PR feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 15:23:39 -04:00
gchaps a53d53369c
[DOCS] Fixes formatting in alerting doc (#64338) 2020-04-23 11:11:18 -07:00
Luke Elmers e2baff36b8
[data.search.aggs]: Create agg types function for terms agg. (#63541)
* Minor cleanup on AggConfigJson interface.

* Add types for terms agg params & mapping.

* Add terms agg expression function.

* Register agg functions with expressions service.

* Add unit tests for terms expression function.

* Update API docs.

* AggConfigJson -> AggConfigSerialized

* Add serialize(), enforce serializable params, fix subexpressions in terms agg fn.

* Simplify getAggTypesFunctions

* it() -> test()

* Add help text.

* Ensure serialize() is used by agg param type.

* Add toExpressionAst to AggConfig.

* Add json arg to terms agg fn.

* Update docs.

* Fix typo which caused functional test failures.

* Add AggParam.toExpressionAst so AggConfig.toExpressionAst can return function ast instead of expression ast.

* Clean up overlooked items.
2020-04-23 11:39:38 -06:00
Aleh Zasypkin 95ac47d3d2
Allow IdP initiated SAML login with session containing expired token. (#59686) 2020-04-23 19:15:45 +02:00
Pete Harverson 09c2727d78
[ML] Adds API integration tests for data viz and fields endpoints (#64165)
* [ML] Adds API integration tests for data viz and fields endpoints

* [ML] Fix review comments and errors from settings endpoints

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 18:06:33 +01:00
Nick Partridge bc6291349c
Update elastic charts v18.4.1 (#64257) 2020-04-23 11:59:19 -05:00
Josh Dover 3e0907fabf
Use runtime publicPath for KP plugin bundles (#64226) 2020-04-23 09:13:00 -06:00
Yuliia Naumenko f7e1c17f28
Implemented do not return the config from the action APIs get and getAll (#64266) 2020-04-23 07:53:54 -07:00
Cauê Marcondes 46901f557b
[APM] Mark an Agent configuration as applied without etag attribute. (#63967)
* adding new attribute to mark config as applied

* changing query parameter name

* changing property name

* refactoring

* updating test description
2020-04-23 16:24:00 +02:00
Kaarina Tungseth 7acfbab9b4
[DOCS] Removed supported aggregations links from visualization pages (#64244) 2020-04-23 09:03:31 -05:00
Nicolas Chaulet e3442b1b75
[Ingest] Encrypt secrets in fleet saved objects (#63982) 2020-04-23 08:55:33 -04:00
Tiago Costa ebf55030b0
fix(NA): node module main field resolution for new platform (#63886)
* fix(NA): node module main field resolution for new platform

* chore(NA): remove browserify from kbn optimizer main fields

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 13:49:07 +01:00
Cauê Marcondes bb89b6a48c
[APM] change span property name from child_ids to child.id (#64209) 2020-04-23 13:16:49 +02:00
Peter Pisljar 4d979930aa
moves all vis state updates into one place (#61960) 2020-04-23 13:08:00 +02:00
Alejandro Fernández Haro dba2ffdd84
[Telemetry] Fix optIn telemetry report bug (#64214) 2020-04-23 11:26:43 +01:00
John Schulz d37bee99aa
[Ingest] Move some server lifecycle types out of common. (#64252)
The AgentService, ESIndexPatternService, and IngestManager{Setup,Start}{Deps,Contract} values were in common, but they are server only.
2020-04-23 05:47:42 -04:00
Dario Gieselaar 8243fc4b41
Add APM paths to path-labeller.yml (#63772)
* Add APM paths to path-labeller.yml

* Sort alphabetically on labels

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 11:34:28 +02:00
Diana Derevyankina 7045b02b36
[NP] Migrate Tagcloud to NP (#63445)
* [NP] Migrate Tagcloud to NP

* Fixed eslint issue

* Added styles import and disabled eslint in some lines with paths

* Added a simple server part and moved tests

* Imported setFormatService to fix initialization

* Fixed import of setFormatService

* Removed unnecessary eslint disable comment
2020-04-23 12:30:00 +03:00
Gidi Meir Morris dc5fb63cb9
[Task Manager] improves cancelation messaging in Task Manager (#64075)
Instead of warning that a task isn't cancellable despite having been cancelled, we now do so as a debug warning.
We now warn when a task has expired and is about to be cancelled including when it expired and how long it ran for.
2020-04-23 10:10:15 +01:00
Joe Reuter 58d56884c2
fix plugin id (#64166) 2020-04-23 09:44:49 +02:00
Catherine Liu 1a0988f964
[Canvas] Top Menu (#59982)
* Redesigned workpad_header to top menu layout

* Added comments

* Fixed element spec

* Removed element preview images

* Removed tooltip from menus

* Removed extraneous JSX

* Fixed element fixtures

* Moved component strings

* top menu design tweaks

* Added filter debug element

* Fix file picker in asset manager

* Sort components strings object keys

* Removed ElementTypes component in favor of SavedElementsModal

* Updated stories

* Fixed custom elements functional tests

* Removed unused tag strings

* Fixed test fixtures

* Updated element_menu stories

* Updated view_menu stories

* TS for SavedElementsModal

* Updated types

* Fixed TS errors

* Fix i18n errors

* Renamed stories

* Fixed test file name

* Fixed stories

* Updated storyshots

* Reverted storybook webpack config change

* Fixed SavedElementsModal stories

* Updated comments

* Removed unnecessary ts-ignores

* Moved workpad_shortcuts back to /components

* Unskip custom elements functional test

* Reverted workpad_loader changes

* Added element_menu stories and mocks

* Fixed element i18n strings

* Updated storyshots

* Updated storyshot

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-22 21:06:49 -07:00
Wylie Conlon 4fc1c5f5cb
[search source] Stop building invalid queries and then rewriting them (#60954)
* Stop rewriting invalid filters in search source

* Fix type issue

* Use automated fixing tool

* Update test

* Fix test

* Fix docs

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-22 17:42:38 -04:00
Wylie Conlon dd094f2333
[Lens] Split apart config panel component to more manageable chunks (#63910)
* [Lens] Split apart config panel component to more manageable chunks

* Moving around and renaming SASS appropriately

* Remove layer limit

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-04-22 17:36:36 -04:00
Nathan Reese f7ea9b99ba
[Maps] Show spatial filters on map to provide context when for active filters (#63406)
* [Maps] show spatial filters

* pass data into __dataRequests

* extractFeaturesFromFilters

* geo_shape support

* putting it all together

* lower alpha

* update removeOrphanedSourcesAndLayers to avoid removing spatialFiltersLayer

* change array iteration to forEach

* use less precision when distance filter covers larger distances

* fix double import

* add map settings for to configure spatial filters layer

* add map settings alpha slider

* finish rest of map settings

* review feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-22 15:10:39 -06:00
Nathan Reese 65264aa790
Set readFromDocValues to false for geo_shape fields (#64014)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-22 14:40:09 -06:00
Nicolas Chaulet 7eab5d2ddf
[Ingest] Allow to reassign agent to a new config (#63847) 2020-04-22 16:25:55 -04:00
Chris Roberson 23fbf7d67d
[Monitoring] Update docs based on config change (#63860)
* Update a bunch of docs

* PR feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-22 15:31:25 -04:00
nnamdifrankie 51479fda9b
[Endpoint,Ingest]EMT-357: Move Exported Ingest Manager Services to plugin Start (#64138)
[Endpoint,Ingest]EMT-357: Move Exported Ingest Manager Services to plugin Start
2020-04-22 15:17:56 -04:00
Matthias Wilhelm 5f269b7ee6
[Discover] Unskip functional tests for field visualize buttons (#62614) 2020-04-22 21:15:51 +02:00
Tim Sullivan c0c3e76bc0
add additional reporting config properties to docker whitelist (#63766)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-22 11:09:22 -07:00
Zacqary Adam Xeper 12aae67467
[Metrics Alerts] Add outside range comparator (#63993) 2020-04-22 13:09:09 -05:00
Corey Robertson cd054285c8
[CANVAS] Pull UI Settings from Kibana Platform (#63397)
* Pull UI Settings from Kibana Platform

* Typecheck

* Fix type check

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-22 14:02:19 -04:00