Commit graph

36040 commits

Author SHA1 Message Date
Kaarina Tungseth c84532aade
[DOCS] Dashboard-first docs refresh (#76194)
* [DOCS] Dashboard-first refresh

* Fixes broken links and partinto error

* Fixes images in panel table

* Fixes broken links

* Fixes broken drilldowns link

* Fixes images and table

* Removed un needed files and added edit content

* Update docs/getting-started/tutorial-visualizing.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments

* Review comments

* Removed blocks

* Typo fix

* Update docs/getting-started/tutorial-sample-data.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-discovering.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-sample-data.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/getting-started/tutorial-visualizing.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/edit-dashboards.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/dashboard.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Update docs/user/dashboard/aggregation-reference.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Review comments

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-09-03 16:34:25 -05:00
Yuliia Naumenko 60986d4f82
Updated ServiceNow description in docs and actions management UI to contains correct info (#76344)
* Updated ServiceNow description in documentation and Actions management create UI to contains correct info that ServiceNow

* fixed due to comments
2020-09-03 13:07:23 -07:00
gchaps 038a11e7dd
[DOCS] Identifies cloud settings in reporting (#76691) 2020-09-03 13:06:45 -07:00
Patryk Kopyciński cfcd10cea8
[Security Solution] Refactor timeline details to use search strategy (#75591) 2020-09-03 21:05:39 +02:00
Dario Gieselaar 53c74143db
es-archiver: Drop invalid index settings, support --query flag (#76522)
* ESArchiver: Drop invalid index settings, support --query flag for saving archive

* Describe query flag
2020-09-03 20:27:25 +02:00
gchaps 9fe4f2d8aa
[DOCS] Identifies graph settings available on cloud (#76661) 2020-09-03 11:10:51 -07:00
Michail Yasonik 97669696c1
Add more info about a11y tests (#76045)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-09-03 13:09:00 -05:00
Luke Elmers d494f1e7b6
[data.search.SearchSource] Remove legacy ES client APIs. (#75943) 2020-09-03 11:24:23 -06:00
Spencer c80a733e4c
[release notes] automatically retry on Github API 5xx errors (#76447)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-03 10:01:34 -07:00
Sébastien Loix 8b085b9eac
[es_ui_shared] Fix eslint exhaustive deps rule (#76392)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 18:45:32 +02:00
Ahmad Bamieh df44fea50c
[i18n] Integrate 7.9.1 Translations (#76391)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 19:33:13 +03:00
Wylie Conlon 26d16dd093
[APM] Update aggregations to support script sources (#76429)
* [APM] Update aggregations to support script sources

* Fix whitespace

* Fix checks

* Explicitly require field in projection

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2020-09-03 12:23:29 -04:00
Patryk Kopyciński e2f283b1a4
[Security Solution] Refactor Network Top Countries to use Search Strategy (#76244) 2020-09-03 18:06:31 +02:00
Larry Gregory 2872dc9956
Document security settings available on ESS (#76513) 2020-09-03 11:44:36 -04:00
Nicolas Chaulet da8ccd7f4a
[Ingest Manager] Add input revision to the config send to the agent (#76327) 2020-09-03 11:21:41 -04:00
gchaps 2de9f44431
[DOCS] Identifies cloud settings for Monitoring (#76579) 2020-09-03 08:17:55 -07:00
gchaps 1f3ede8058
[DOCS] Identifies Cloud settings in Dev Tools (#76583) 2020-09-03 08:15:23 -07:00
Nicolas Chaulet 3d911573b2
[Ingest Manager] Better default value for fleet long polling timeout (#76393) 2020-09-03 11:05:59 -04:00
Luke Elmers 64b772613b
[data.indexPatterns] Fix broken rollup index pattern creation (#76593) 2020-09-03 08:13:33 -06:00
John Schulz 2db789598b
[Ingest Manager] Split Registry errors into Connection & Response (#76558)
* Split Registry errors into Connection & Response

* Ensure a url in ResponseError message. Add tests
2020-09-03 09:12:43 -04:00
Xavier Mouligneau 299c3f5a54
[Security Solution] add an excess validation instead of the exact match (#76472)
* add an excess validation instead of the exact match

* fix readble type + unit test

* review I

* remove buildRouteValidation to use buildRouteValidationWithExcess
2020-09-03 09:10:32 -04:00
Mikhail Shustov e9e0ca3782
Introduce TS incremental builds & move src/test_utils to TS project (#76082)
* move test_helpers to the core

* create base tsconfig

* all tsconfigs use the base one

* use test_helpers exposed from the src/core

* move getFieldFormatsRegistry to data plugin

* add test_utils project

* compile types after checkout

* add a stub for platform tsconfig.json

* fix broken import

* fix broken path to the base config

* set tsBuildInfoFile for project without outDir

* do not commit tsbuildinfo file

* do not check output d.ts files

* fix type error

* use separate config to build types

* rollback changes to include paths

* mute import zone error

* rename files to avoid references to tsd

* do not use tsd for type tests

* include all ts files in project

* run buildRefs before type check to ensure the latest version

* store tsbuildinfo locally

* update paths to base config

* comment out core/tsconfig.json

* remove ui path

* fix wrong tsbuildinfo path
2020-09-03 14:20:04 +02:00
Liza Katz 4c5e75e437
fix bad merge (#76629)
Merged to fix master
2020-09-03 15:17:23 +03:00
Alejandro Fernández Haro e32c282bc5
[Newsfeed] Ensure the version format when calling the API (#76381)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 12:06:49 +01:00
Mikhail Shustov 2a547914b7
remove server_extensions mixin (#76606) 2020-09-03 13:02:23 +02:00
Pierre Gayvallet e976bddf81
Remove legacy applications and legacy mode (#75987)
* remove legacy mode and legacy service

* fix tests

* remove txt file

* fix xpack code

* fix types

* remove legacy test

* fix integration tests

* remove legacy reference

* yet another legacy reference

* handle uptime app special case

* update generated doc

* address review comments

* remove legacy fields from ChromeNavLink

* few fixes

* remove legacy API from docTitle service

* ChromeNavLink.href is now mandatory

* update generated doc

* remove legacyMode leftovers

* remove ChromeNavLink.active

* update generated doc
2020-09-03 12:23:57 +02:00
Matthias Wilhelm 7134cd7b7e
[Discover] Fix sidebar element focus behavior when adding / removing columns (#75749)
* Use field.name instead of idx for key in li element

* onClick adds focus to button

* prevent Chrome jumping back to last focused element
2020-09-03 11:36:27 +02:00
Liza Katz 411048ae09
Replace FetchOptions with ISearchOptions (#76538)
* Replace FetchOptions with ISearchOptions and update usage

* Merge the client and server ISearchOption types into common

* docs
2020-09-03 12:30:31 +03:00
Mikhail Shustov cd86b81b82
Move streams utils to the core (#76397)
* move utils/streams to the KP

* allow imports from src/core/server/utils

* ts-ify

* import streams from KP

* remove unnecessary ts-expect-error

* fix kbn-es-archiver build

* lost export

* copy array in createListStream

* remove streams from legacy utils

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-03 10:57:03 +02:00
Sonja Krause-Harder ebc50e6c69
[Ingest Manager] Wording & linking improvements (#76284)
* Improve wording on add agent flyout.

* Add agent explanation to agent flyout.

* Add link to data stream page.
2020-09-03 10:45:28 +02:00
Pierre Gayvallet 593298ee31
remove legacy kibana plugin (#76064)
* remove legacy kibana plugin

* as ES as a dependency to security instead of kibana

* remove 'kibana' plugin presence check in so mixin

* moved the `kibana` config section to the server
2020-09-03 10:20:20 +02:00
Sébastien Loix 182e0de18f
[Form lib] Fix regression on field not being validated after reset to its default value. (#76379) 2020-09-03 08:58:05 +02:00
Pierre Gayvallet 210d6f2df1
Legacy SO import: Fix bug causing multiple overrides to only show the last confirm modal (#76482)
* Legacy SO import: Fix bug causing multiple overrides to only show the last confirm modal

* eslint

* fix for loops
2020-09-03 08:50:03 +02:00
Oliver Gupte d3416c0189
[APM] Service maps layout enhancements (#76481)
* Fixes storybook anomaly score generation and better utilizes available screen space

* Closes #71770 for APM service maps by replacing breadthfirst layout with
one from the cytoscape-dagre extension. Also replaces the taxi edges
with cubic bezier edges. Finally, this adds the ability to drag
individual nodes around the service map.

* Removes unused code

* removes commented line of code

* - Adds ability for scripts/notice.js to check files with the .tsx file extension
- Adds attribution for `applyCubicBezierStyles`

* Refine comment text and MIT license url
2020-09-02 21:39:03 -07:00
Frank Hassanabad 2f017b0e85
[Security Solution][Detection Engine] Remove RuleTypeSchema in favor of Type for TypeScript (#76586)
## Summary

Removes RuleTypeSchema in favor of Type for TypeScript. Does break out one function called `parseScheduleDates` into its own file to remove a circular ref issue.
2020-09-02 21:48:41 -06:00
Yara Tercero aab8d3c7dd
[Security Solution][Exceptions] - Updates enum schema and tests (#76544)
## Summary

Mistmatch caught between the io-ts type and the corresponding typescript enum. Currently, io-ts does not have support for enums - as a workaround I had made a matching typescript enum type. Tests were added to try to ensure the two stayed in sync, but didn't do a straight up comparison of the two.

Updated the tests to now error if the keys do not match.
2020-09-02 20:07:40 -04:00
Matthew Kime ee2ceef9bb
Index Pattern class - remove toJSON and toString (#76246)
* remove toJSON

* remove toJSON, toString

* fix ml url

* Update actions_panel.tsx

* fix url

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-02 17:20:14 -05:00
spalger 46aef4b1e0 skip failing suite (#76581) 2020-09-02 15:18:37 -07:00
Constance 1ffe24955c
Split up and clarify Enterprise Search codeowners (#76580)
@elastic/enterprise-search-frontend is a shared team of both app-search-frontend and workplace-search-frontend, but combining it into one group means only 1 reviewer is required (as opposed to 1 per team).
2020-09-02 14:53:58 -07:00
Josh Dover 9519fcd4a2
Fix issue where defaultAppId redirect could fire outside home app (#76415) 2020-09-02 15:08:43 -06:00
Matthew Kime 5467f31640
Remove dependencies from index pattern field and index pattern list (#75185)
* Remove dependencies from index pattern field and index pattern list
2020-09-02 16:00:23 -05:00
Yara Tercero c46e77712a
[Security Solution][Exceptions] - Adds sort order for exception items (#76537)
## Summary

**Components affected:** ExceptionsViewer

**Current behavior:**
  - when a user edits an exception item, the order of the exception items in the viewer changes. This creates confusion and looks like updates weren't applied (even though they were, just item order changed)

**New behavior:**
  - when a user edits an exception item, the order of the exception items in the viewer don't change. Sort order is now based on `created_at`
2020-09-02 16:44:42 -04:00
Quynh Nguyen aac84240b2
[ML] Extend MlUrlGenerator to support other ML pages (#75696)
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2020-09-02 14:52:10 -05:00
spalger d9dc47ef36 skip flaky suite (#76551) 2020-09-02 12:17:49 -07:00
Scotty Bollinger 6f94bf7d2a
[Enterprise Search] Migrate shared components used in Workplace Search Groups (#76345)
* Add shared images and export file

* Migrate SourceIcon component

* Add util to format routes

We need a way to format routes using parametrized routes in Workplace Search. We used to the `react-router-named-routes` library, but it is 5 years old has has no typings. I extracted the function we needed into a util.

* Update recent_activity to use formatRoute

For the 7.9 Kibana MVP, we used a temporary function to generate this route. Aligning this component to use the helper other parts of the app will use after migration.

* Add types and constants

Various types and constants migrated for use in groups component

* Migrate SourceRow component

Also adds a mock for contentSources. For now the array only has one item needed for this test, but in future tests, more sources will be added to that array.

* Migrate SourcesTable component

* Migrate TablePaginationBar component

* Migrate UserIcon component

* Migrate UserRow component

* Refactor format_route

Uses Object.entries instead of for…in. This is more modern and allows for 100% test coverage.

Also removed `toString()` as `encodeURIComponent()` seems to automatically cast to string

* Remove unused import

* Use forEach instead of map

We’re not returning anything so map is not needed

* Minify images

* Remove formatRoute in favor of generatePath

Unike formatRoute, generatePath adds the trailing slash automatically

* Stop renaming methods

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-02 13:55:02 -05:00
Paul Tavares 535eb4069e
[SECURITY_SOLUTION][ENDPOINT] Trusted app delete api (#76435)
* Trusted app delete api
2020-09-02 14:53:35 -04:00
Thomas Watson b8822da21e
Bump end-of-stream from v1.4.1 to v1.4.4 (#76479) 2020-09-02 20:45:52 +02:00
Melissa Alvarez de3ddbc6e1
[ML] DF Analytics jobs list: improve job details analysis stats view in expanded row (#76196)
* move analysis stats to own section in expanded row

* fix type errors

* move stats to separate tab in expanded row

* handle parameters and hyperparameters not defined
2020-09-02 14:22:55 -04:00
Spencer 1d4a56f705
[esArchiver] stop importing stream helpers from src (#76519)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-02 11:15:01 -07:00
John Schulz 71b9dedfc4
[Ingest Manager] Remove success: true as top-level API response (#73223)
* Big bang commit removing top-level success property in API response

Left in check-permissions and in array of objects returned by delete package configs

* Remove success property from  mocks

* Resolve conflict from upstream changes

* Remove success property (after upstream merge)

* Remove more 'success'es after merging in upstream

* Remove success from some tests

* Remove success from OpenAPI spec

* Revert prior try/catch. Use res.ok

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-02 12:07:32 -04:00