Commit graph

38724 commits

Author SHA1 Message Date
Josh Dover e116fce08e
Add server.publicBaseUrl config (#85075) 2020-12-08 17:02:39 -07:00
ymao1 18a99fcc43
[Alerting & Actions ] More debug logging (#85149)
* Adding debug messages

* Adding timestamp to action execution log

* Jest tests

* Merging in master

* PR fixes

* Cleanup

* PR fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 18:41:20 -05:00
Christos Nasikas 11470ac23a
[Security Solution][Case] Manual attach alert to a case (#82996) 2020-12-09 01:17:16 +02:00
Marshall Main 4b4419a930
Loosen UUID regex to accept uuidv1 or uuidv4 (#85338) 2020-12-08 18:14:48 -05:00
Davis Plumlee 8c8e96ff88
[Security Solution][Detection Rules] Fixes rules table tag display bug (#85229) 2020-12-08 17:45:00 -05:00
Nicolas Chaulet 943bce1512
[Fleet] Enforce superuser role for all fleet APIs (#85136) 2020-12-08 17:21:45 -05:00
Dario Gieselaar d44fa13227
[APM] Update ES archive used for API tests (#85286)
* [APM] Make sure jest script can be run from anywhere

* Update archive to 7.11
2020-12-08 22:46:41 +01:00
Poff Poffenberger 8467b89202
[Time to Visualize] Add visualizations to dashboard from save modal (#83140)
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-12-08 15:39:24 -06:00
John Barrier Wilson 30611f431a
[Workplace Search] Polish Workplace Search Sources & Groups UI (#85071)
* Add spacer to sources page title

* Add space to source list description

* Remove sidebar content from headers

* Polish inner source overview content

* Polish source content loading state and view

* Hide sources header / remove spacers

* Formatting fix

* Fix lint issues

* Add align right to schema table

* Remove rendom EmptyPrompt

WTF

* Make SourceIcon take a variable size

* Add back SourceInfoCard with update design

Co-authored-by: scottybollinger <scotty.bollinger@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 15:30:41 -06:00
Kaarina Tungseth 516d886c3e
Revert "[Docs] [Lens] End to end guide" (#85339) 2020-12-08 14:57:22 -06:00
KOTungseth 05b6f1a66f Merge branch 'mbondyra-lens/e2eguide' 2020-12-08 14:48:48 -06:00
KOTungseth 9d96cf1c7e Merge branch 'lens/e2eguide' of https://github.com/mbondyra/kibana into mbondyra-lens/e2eguide 2020-12-08 14:48:08 -06:00
Stacey Gammon de15f164d9
Convert a README to mdx to get it slurped up by the new docs system (#84834)
* Convert readme to mdx so it can get slurped into the new docs system

* Adjust plugin list doc generation so it accounts for mdx readmes

* fix eslint of discover_plugin file

* Fix link to readme in plugin list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 15:12:07 -05:00
Paul Tavares e74cb409c8
[Fleet] Return to Integration (package) details after create integration policy (#85177)
* useIntraAppState() now also supports state set via Fleet's HashRouter
* Remove use of `<Router>` from inside EPM pages
* Enable round-trip navigation for Integrations add package
2020-12-08 15:08:54 -05:00
Jane Miller 3826283c74
[SECURITY_SOLUTION] 524: Advanced Policy callout and documentation tooltips (#84926)
* 524 added EuiIconTip

* 524 conditional tooltip, caution callout

* 524 help->alert

* 524 paul's PR feedback
2020-12-08 15:07:20 -05:00
Adam Locke 72ed936aa5
Add help text for runtime fields source. (#85204)
* Add help text for runtime fields source.

* fix help text

* Text changes and defining EuiCode element for _source.

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2020-12-08 14:51:47 -05:00
MadameSheema 3f32b56192
[SIEM] unblocks master failures (#85319) 2020-12-08 11:46:56 -08:00
Tre ae83f598bf
[QA][Stack Integration Tests] Drop tests list file (#85308) 2020-12-08 12:21:31 -07:00
Aleh Zasypkin 467ba0a112
[Docs] Document Anonymous authentication provider. (#84910) 2020-12-08 20:06:43 +01:00
KOTungseth ede4591a5a Fixes to writer errors 2020-12-08 13:04:58 -06:00
Mikhail Shustov fed6b3d86f
check ResponseError instance (#85198) 2020-12-08 18:54:11 +01:00
Alison Goryachev 7b362458e7
Enhancements to painless autocomplete in monaco (#85055) 2020-12-08 12:16:06 -05:00
Lisa Cawley 7ab5b03948
[ML] Add machine learning pages to doc_links_service.ts (#85181) 2020-12-08 09:15:04 -08:00
Nathan Reese 0eee8a2a86
[maps] style by percentiles (#84291)
* [maps] define style bands by percentiles

* add step function select

* percentiles form

* percentiles agg request

* create mapbox expression for stops

* legend

* small legend tweek

* clean up legend rendering

* fix dynamic color property tests

* add unit test case for percentiles legend

* re-fetch style meta when percentiles change

* name space field meta request types

* rename field_meta to data_mapping

* add tooltip to category field meta switch

* i18n fixes

* tslint

* remove duplicate file license

* fix jest tests

* only show supported step functions in fitting select

* copy updates

* add getPalette function for heatmap palette

* update jest snapshot

* another jest snapshot update

* rename EASING_BETWEEN_MIN_AND_MAX -> INTERPOLATE

* rename STEP_FUNCTION -> DATA_MAPPING_FUNCTION and text updates

* review feedback

* remove 'Apply changes' button on percentiles form

* update legend to use 'up to' and 'greater than' instead of symbols

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 09:59:15 -07:00
AndyHunt66 b3bccc2816
Typos in Readme example (#84391)
The last example on the page is not valid json.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 11:44:30 -05:00
Shahzad 3216fce716
[Uptime] Remove unused code in monitor list API (#84312)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 17:18:37 +01:00
Kaarina Tungseth 58d1df1401
[DOCS] Adds Lens redirect link (#84000)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 10:08:11 -06:00
Marta Bondyra b4249d216c [Lens] end to end guide 2020-12-08 17:07:50 +01:00
Tyler Smalley 6858562902 skip failing cypress test
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-08 07:36:11 -08:00
Jean-Louis Leysens 8eae30c82f
[ILM] Fix set replicas serialization and validation (#85233)
* added fix for serializing replicas and updated validation to correctly check for non negative nr

* added tests and fixed incorrect use of warm phase setting in cold phase

* remove unused import

* clean up use of Boolean and rename nrOfReplicas -> numberOfReplicas

* fix comment
2020-12-08 16:33:07 +01:00
Jean-Louis Leysens 6ff71992a3
[ILM] Fix hiding/disabling searchable snapshot field when rollover is disabled (#85169)
* fix hiding/disabling searchable snapshot field when rollover is disabled

* added test

* fix i18n

* for now, we hide the forcemerge field in hot

* implement copy updates

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 16:21:10 +01:00
Jonathan Budzenski 3a26307079
[bin/*.bat] Wrap blocked paths in quotes (#83560)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 09:20:11 -06:00
igoristic a41881d463
[Monitoring] Optimizing alerting code (#83681)
* Optimize alerting code

* Merged all the branches

* resolved conflict

* optimizing all branches merged

* Fixed tests and resolved conflicts

* Fixed jest tests

* Resolved merge conflicts with the alerting team's PR
2020-12-08 10:16:06 -05:00
Alison Goryachev f8edc51ece
Implement error reporting in monaco for painless language (#84695) 2020-12-08 10:07:07 -05:00
Mike Côté 5cc9bf82d2
Add capability of defining message variables that don't escape (#84357)
* Add capability of defining message variables that don't escape

* Fix ESLint

* Rename noEscape to useWithTripleBracesInTemplates

* Add unit tests pt 1

* Add unit tests pt 2

* Fix tests

* Fix test failures

* Docs

* PR feedback
2020-12-08 09:46:04 -05:00
Diana Derevyankina 559cfcb8ca
[TSVB] Tests for Y-axis formatting depending on series formatters (#85125)
* [TSVB] Tests for Y-axis formatting depending on series formatters

* Fix path to getFieldFormatsRegistry

* Refactor some objects

* Add test case for custom formatter
2020-12-08 17:05:38 +03:00
MadameSheema bdd0e25359
fixes and unskips failing tests (#85243) 2020-12-08 14:50:31 +01:00
MadameSheema e291b84f4d
unskips indicator match rule (#85240) 2020-12-08 14:49:34 +01:00
MadameSheema 273363a85b
fixes and unskips failing test (#85235) 2020-12-08 14:48:51 +01:00
MadameSheema f46eaf889d
fixes and unskips failing tests (#85232)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 14:47:48 +01:00
Vincent Fuchs 067efa4552
fixed path to config file (#85257) 2020-12-08 08:36:20 -05:00
DeFazio 0a0ead802c
Update widths on columns in Alert Detail view (#83823)
* Update widths on columns

* Add custom class for truncation fix

* Use euiTruncate mixin and shrink column width of status column

* Update imports to fix checks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 08:02:07 -05:00
Aleh Zasypkin caa14d44ef
Increase waiting delay in session cleanup tests. (#85127) 2020-12-08 13:55:22 +01:00
Patryk Kopyciński e4b89d42d8
[Security Solution] Unskip persistent timeline cypress tests (#82972) 2020-12-08 11:48:25 +01:00
Dima Arnautov b6fe6d0fea
[ML] Fix watcher URL to the Anomaly Explorer page (#85123)
* [ML] fix watcher url to the anomaly explorer page

* [ML] remove refreshInterval from the watcher url to the anomaly explorer page
2020-12-08 11:30:54 +01:00
Wylie Conlon 0fdf76e779
[Lens] Don't assign dimension until it becomes valid (#84972) 2020-12-08 11:29:07 +01:00
Vadim Dalecky 9bef95a6fb
HTTP CRUD+ API for Index Patterns (#83576)
* refactor: 💡 extract out createIndexPatternsService() method

* feat: 🎸 add create index pattern route

* feat: 🎸 add index patterns http context

* feat: 🎸 add schema for index pattern create method

* refactor: 💡 compose schema out of variables

* feat: 🎸 allow to not make the new index pattern a default one

* feat: 🎸 implement index pattern create endpoint

* docs: ✏️ add index pattern create endpoint docs

* fix: 🐛 add error handling wrapper

* feat: 🎸 add index pattern GET route

* docs: ✏️ add index pattern GET mention to docs

* feat: 🎸 add higher order route handler to check for context

* feat: 🎸 add index pattern deletion endpoint

* docs: ✏️ add delete endpoint docs entry

* feat: 🎸 add index pattern update route

* feat: 🎸 add ability to update timeFieldName

* feat: 🎸 add ability to edit intervalName, sourceFilters, fields

* feat: 🎸 allow updating index pattern type and typeMeta

* feat: 🎸 add ability to update index_pattern fields

* docs: ✏️ add index pattern update endpoint docs

* docs: ✏️ fix typo

* feat: 🎸 disable XSRF and add Content-Type

* fix: 🐛 enable xsrf

* feat: 🎸 send 404 status code when index pattern is not found

* fix: 🐛 correctly report empty change set error

* feat: 🎸 fields API add route for adding field to IP

* docs: ✏️ add index pattern field create route

* fix: 🐛 throw on creating an existing index pattern field

* feat: 🎸 add field upsert route

* feat: 🎸 add field get api endpoint

* feat: 🎸 add field delete endpoint

* refactor: 💡 improve 404 error handling

* refactor: 💡 improve index pattern 404 error class

* feat: 🎸 add field update api endpoint

* docs: ✏️ typo

* refactor: 💡 rename ski_field_refresh to refresh_fields in creat

* refactor: 💡 rename to refresh_fields param in update call

* refactor: 💡 rename parameter to refresh_fields in fields api

* feat: 🎸 allow creating and deleting only scripted fields

* style: 💄 fix TypeScript/Prettier error

* test: 💍 add index pattern creation negative tests

* test: 💍 add index pattern create method tests

* feat: 🎸 remove make_default flag

* docs: ✏️ update docs

* test: 💍 add index patter api get tests

* test: 💍 add delete index pattern tests

* fix: 🐛 fix TypeScript error after refactor

* docs: ✏️ update autogenerated docs

* docs: ✏️ update autogenerated docs

* refactor: 💡 change Fields API to Scripted Fields API

* feat: 🎸 allow only scripted fields in Scripted Fields API

* test: 💍 add index patter api update tests

* test: 💍 add scripted field create api tests

* test: 💍 add scripted field delete api tests

* test: 💍 add scripted fields fetch api tests

* test: 💍 add scripted field field put api tests

* test: 💍 add scripted field update api test

* feat: 🎸 add index pattern field update endpoint

* feat: 🎸 improve index patterns fields api

* test: 💍 fix test

* docs: ✏️ update docs README

* test: 💍 add field metadata deletion teests

* docs: ✏️ improve index pattern api readme

* fix: 🐛 fix TypeScript errors

* test: 💍 update jest tests

* docs: ✏️ update auto-generated docs

* feat: 🎸 remove intervalName from index pattern create API

* test: 💍 fix integration tests

* fix: 🐛 make refresh_fields default to false

* chore: 🤖 remove searchable and aggregatable from public API

* chore: 🤖 remove various field properties

* chore: 🤖 remove "index" attribute from public field schema

* docs: ✏️ update docs to match API

* chore: 🤖 fix TypeScript errors

* test: 💍 try fixing functional tests

* docs: ✏️ update auto-generated docs

* chore: 🤖 check if this fixes security tests

* fix: 🐛 create index patterns context only if user is authc

* fix: 🐛 assert on index patterns service

* test: 💍 try fixing integration tests

* fix: 🐛 try fixing integration tests

* chore: 🤖 update auto-generated docs

* refactor: 💡 directly inject index pattern provider into create

* refactor: 💡 create index pattern service directly in each route

* refactor: 💡 remove index pattern route context provider

* chore: 🤖 remove unused code

* chore: 🤖 remove refresh_fields from scripted fields

* style: 💄 change template param names

* refactor: 💡 make field.count always be an integer

* docs: ✏️ update auto-generated docs

* refactor: 💡 inject index patterns using getStartServices

* docs: ✏️ update autogenerated docs

* docs: ✏️ update docs
2020-12-08 10:33:18 +01:00
Thomas Watson 1d3028301b
Don't list packages in devDependencies already listed in dependencies (#85120) 2020-12-08 09:59:20 +01:00
Thomas Watson f66a80a677
Remove unused devDependencies (#85121) 2020-12-08 09:58:18 +01:00
Jean-Louis Leysens fac1f1204d
[ILM] Reposition form toggles (#85143)
* merged toggleable field and described form component and moved toggle to left

* moved all toggles to left, renamed DescribedFormField -> DescribedFormRow and added new ToggleFieldWithDescribedFormRow component

* added new prop fieldNotices to render callouts in correct position on the left
2020-12-08 08:47:26 +01:00