Commit graph

16291 commits

Author SHA1 Message Date
Pete Harverson 35e10ba770
[ML] Adds optimizations for Logs UI anomaly detection jobs (#102191)
* [ML] Adds optimizations for Logs UI anomaly detection jobs

* [ML] Increment version for log-entry-categories-count job

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-16 11:31:10 +01:00
Pablo Machado 037d7aeb8f
Enhance cases bulk deletion action dialog message (#101403)
Differentiate the dialog message on the deletion of one item from the deletion of multiple items.
Simplifies CasesTableUtilityBar by handling the selection of multiple and single cases in the same way.
2021-06-16 06:23:10 -04:00
Joe Reuter a946f9bd3d
add description and owner to kibana.json (#102238) 2021-06-16 10:23:31 +02:00
Joe Reuter 4180a026b7
[Lens] Formula overall functions (#99461) 2021-06-16 10:22:26 +02:00
Pablo Machado fbbbcf8b9b
[Security Solution][Timeline] Fix User not able to scroll down and access Alert table on adding long content in Timeline's Description (#101486)
* Add LineClamp component to timeline description

* Truncate timeline description on timeline table

* Fix StyledLineClamp styled component performance issue

Read more: https://styled-components.com/docs/faqs#why-should-i-avoid-declaring-styled-components-in-the-render-method
2021-06-16 10:00:05 +02:00
Casper Hübertz b96914235e
[Observability] Add border to section container panels (#102259) 2021-06-16 09:43:58 +02:00
Casper Hübertz c9678f29e2
[UX] Update panels to use border not shadow (#102262) 2021-06-16 09:43:35 +02:00
Casper Hübertz f39bf9c985
[APM] More styles fixes related to the new page template (#102253)
* [APM] Service map: Add border to panel

* [APM] Metrics: Add border to panel

* [APM] Service overview: Add border to panel

* [APM] Transactions and charts: Add border to panel
2021-06-16 09:35:08 +02:00
István Zoltán Szabó f4d22b36fb
[ML] Adds popover help for ROC curve (#101893)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-06-16 09:13:37 +02:00
Pete Hampton 4cd073f651
Bug: ES query returning no records for d-rule alerts. (#102160) 2021-06-16 08:11:32 +01:00
Tyler Smalley 752609dc47 skip flaky suite (#102282) 2021-06-15 21:34:01 -07:00
Matthew Kime 4cf6bca01e
Revert "[Index Patterns] Move rollup config to index pattern management (#102145)" (#102276)
This reverts commit f1b6fe04ed.
2021-06-15 20:35:19 -05:00
Ryland Herrick 4d921ffb7e
[Security Solution][CTI] Event enrichment search strategy (#101553)
* Adding boilerplate for new CTI search strategy type

This is going to be a subtype of the general SecSol search strategy;
the main functionality is going to be:

* transformation of the incoming parameters into named equivalents
* transformation of responses to include enrichment context fields
  (matched.*)

* More boilerplate, including tests

A few type errors because our functions don't actually do anything yet,
nor are our request/response types fleshed out.

* Starting to flesh out the request parsing

* Defines a basic request, along with a mock
* Defines helper function to generate should clauses from field values
* Adds placeholder tests throughout

* Fleshing out unit tests around our enrichment query

* Fleshing out response parsing of eventEnrichment strategy

* Fix types from elasticsearch

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 16:59:50 -05:00
Bhavya RM 3decc35668
updating the saved objects import file to include by value panels and drilldowns (#102114) 2021-06-15 17:16:55 -04:00
Nathan L Smith c151426ef9
Flyouts for APM alert annotations (#101632) 2021-06-15 13:53:42 -05:00
Shahzad 264339e156
[Lens] Export lens save modal (#100381)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 20:06:06 +02:00
Patryk Kopyciński 35cc59b571
[Osquery] Add support for platform and version fields (#101835) 2021-06-15 19:52:20 +02:00
Vadim Yakhin 7683d9ef17
[Workplace Search] Fix sidebar copy for Account Settings page (#102110)
* Rename PrivateSourcesLayout to PersonalDashboardLayout

The renaming was required because this layout is also used for Account Settings.

* Rename imports

* Rename files

* More personal_dashboard_layout from sources folder to layout folder

* Extract PrivateSourcesSidebar from PersonalDashboardLayout

This is needed to add the ability to pass AccountSettingsSidebar in the
next commit.

* Add and use AccountSettingsSidebar

* Move related styles to personal_dashboard_layout folder

* Move tests from personal_dashboard_layout to private_sources_sidebar

* Add tests for account_settings_sidebar

* Remove redundant import

* Move source-related sidebar text constants to top-level constants file

Now all personal dashboard sidebar copy is in one place
2021-06-15 13:50:43 -03:00
Marius Dragomir ff5ecc3420
[QA]Skip of metricbeat dashboard test (#97174)
* fix flakyness of metricbeat dashboard test

* skip test for now

* Update _metricbeat_dashboard.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 18:17:19 +02:00
Tyler Smalley 035f617b58 skip flaky suite (#102012) 2021-06-15 09:00:30 -07:00
Alison Goryachev 6173c04c20
[Snapshot + Restore] Migrate to new page layout structure (#101811) 2021-06-15 11:39:32 -04:00
Scotty Bollinger 42aa7f569a
[Enterprise Search] Refactor Role mappings to use single endpoint (#102096)
* Add tooltip back to table row

This was missed when refactoring the table to an EUI component. Built-in mappings have tooltips and don’t have IDs and need to show tooltips instead of actions.

* Fix roleType display

Also missed in the refactor. Made a mistake when copying/pasting

* Refactor logic files to use single endpoint for UI props

As a part of this feature, we are now passing all props needed for the UI in the list endpoint. Previously, whether creating a new mapping, or updating an existing mapping, an endpoint had to be called to fetch the data needed for display. Now all this data comes from the initial fetching of mappings and the other endpoints are no longer needed.

* Refactor WS test to match AS

There was an issue where 100% test coverage was not achieved in Workplace Search. This had already been fixed in App Search by refactoring. This changes the code and test in Workplace Search to match

* Remove server routes
2021-06-15 10:12:47 -05:00
Anton Dosov c409985090
Convert AppServices management pages to KibanaPageTemplate (#101779) 2021-06-15 16:33:41 +02:00
Byron Hulcher 8ca7b55c15
App Search: Domains Table for Crawler Overview (#101515)
* Add delete route for crawler domains

* Added deleteDomain action to CrawlerOverviewLogic

* New DomainsTable component

* Replace EuiCode with DomainsTable in CrawlerOverview

* Fixing mock imports

* Fix spleling

* Fix i18n tag

* Clean up DomainsTable

* Clean up DomainsTable tests

* Clean up CrawlerOverview tests

* Clean up i18n tag in CrawlerOverviewLogic

* Utilize Kibana i18n and React for timestamp display

* Use elastic.co domain in tests

* Remove unneeded type casting

* Adjusting isDateToday check

* Apply suggestions from code review

* Update x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.ts

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-06-15 10:08:07 -04:00
Joey F. Poon 4b3adfda5f
[Security Solution] restyle endpoint details flyout (#102092) 2021-06-15 08:57:12 -05:00
Ignacio Rivas 2cecca3992
[Remote Clusters] Migrate to new page layout (#102042)
* change page templates

* Small copy tweaks

* Update docs

* small CR changes

* exit function call if fails

* update i18n strings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 15:28:40 +02:00
Ignacio Rivas a7709b48b5
[Ingest Node Pipelines] Migrate to new page layout (#101894)
* migrate pages to new layout

* fix linter errors

* update translation files

* Nicer try-again cta

* Fix lang and prettier

* small CR changes

* small linter fixes

* fix test copy

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 15:27:48 +02:00
Larry Gregory 68d24080e0
Optimize privilege response validation (#102135) 2021-06-15 09:25:47 -04:00
David Sánchez 341f965452
Fixes empty page when removing last element. Fixes wrong event filters count number. Also adds unit tests (#102173) 2021-06-15 15:12:31 +02:00
James Gowdy ede8432ac7
[ML] Improvements to job saved object sync (#101899)
* [ML] Improvements to job saved object sync

* refactor

* adding testsadding testsadding testsadding testsadding testsadding testsadding testsadding tests

* updating test label

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 14:10:24 +01:00
SoNice! fb138cf165
[Fleet] Remove release messaging (#101450)
Co-authored-by: kobarei <koba.reiji@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 14:50:01 +02:00
Marco Liberati b40732507e
[Lens] Keep filters when transitioning from calculation to regular operation (#101872)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 14:47:25 +02:00
Nathan Reese 35714526c0
[Maps] Handle indices without geoip schema defined in mapping (#100487)
* ensure sourceGeoField and destGeoField for docs included in pew pew source

* tslint
2021-06-15 06:04:07 -06:00
Ashokaditya bcb941acea
[Security Solution][Endpoint] Actions log entries display relative time only up to 1 hr from now (#102162)
* show relative time only upto an hr from now

fixes elastic/security-team/issues/1313

* Update formatted_date_time.tsx

undo changes done in e38e202e81
2021-06-15 13:26:24 +02:00
Shahzad 7390d6a45c
[User Experience App] Update to make sure env filter is being used (#102063) 2021-06-15 12:41:56 +02:00
Alejandro Fernández Gómez 0d6ce5da27
[Uptime] Skip flaky test (#102163) 2021-06-15 06:38:52 -04:00
Matthew Kime f1b6fe04ed
[Index Patterns] Move rollup config to index pattern management (#102145)
* move rollup config to index pattern management
2021-06-15 05:12:43 -05:00
Joe Reuter 2ef66c139a
[Lens] Add reset and hide actions to columns on dashboard (#102025) 2021-06-15 11:48:08 +02:00
Thomas Neirynck 6456c49e2c
[Maps] Remove jitter from bounds-coordinates (#100717) 2021-06-15 11:13:27 +02:00
Casper Hübertz d9905893b9
[Observability] Change sortkey navigation in APM and Uptime (#102134)
* [APM] Change navigation registry sortkey

* [Uptime] Change navigation registry sortkey
2021-06-15 10:40:10 +02:00
Marco Liberati 37728f526d
[Lens] Table headers are aligned the same as cells (#101875)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 10:34:57 +02:00
Marco Liberati 65fec6bd8e
[Lens]Show dynamic coloring only for metrics (#101777)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 10:34:04 +02:00
Casper Hübertz 92b6535df2
[Observability] Fixes border shadow and other enhancements (#102072)
* [Observability] Fixes border shadow and other enhancements

* Update x-pack/plugins/observability/public/components/app/section/index.tsx

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>

* [Observability] Remove unused import and formatting

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 10:12:45 +02:00
Joe Reuter e418a895c3
reduce inner timeout (#102081) 2021-06-15 09:44:43 +02:00
Joe Reuter a8836af1c4
[Lens] do not allow custom bounds on percentage chart (#101743) 2021-06-15 09:33:29 +02:00
Joe Reuter 0bb3b2c666
rename beta badge (#101884) 2021-06-15 09:28:51 +02:00
Jean-Louis Leysens f70542abe2
[Fleet] Adjust add integration flow (#101714)
* Initial commit, very WIP

- added link to the integrations UI instead of add integration
  in fleet
- added a new piece of route state that gets passed to integration
  from fleet when browsing integrations for a policy
- when the integration is being added the page will send the user
  back to the policy overview instead of back to integrations UI

* remove unnecessary agent policy clear function

* added # to path so that navigation is correctly handled

* added logic to read the forward agent policy id

* remove inline select integration package from fleet add integration

* updated toast notification

* using query parameter to pass policy id back to create policy package page

* removed policyId from route path

* fix type issue

* updated the select agent field layout per the designs

* simpified item rendering in combobox and fixed combobox z-index issue

* added comment

* fix types and i18n

* updated icon and removed unused i18n

* refactor to using styled components for cusomt z-index styling

* attempt to fix integration test

* added scroll functionality for dealing with fixed footers that might be obstructing content

* fix scroll direction!

* attempting another scroll algorithm

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 09:26:37 +02:00
CJ Cenizal 55a0dbbc09
Discourage use of legacy index templates (#101533)
* Hide legacy index templates table if the user doesn't have any.
* Render deprecation warning above legacy index templates table and in legacy index template wizard.
* Update index template doc link to point to the new docs.
2021-06-14 15:24:24 -07:00
Aaron Caldwell 6e0aed79c3
[Maps] Fix geo alerts handling of multi-fields (#100348) 2021-06-14 17:51:33 -04:00
Apoorva Joshi 35f9625265
[ML] Adds Authentication module with six ML jobs for ECS data (Auditbeat, Winlogbeat, Filebeat and Logs) (#101840)
* Adding Security Authentication jobs in 7.14

* Renamed some jobs

* Changing memory limits and linting change

* Linting fix

* Changed the order

* Adding module to ml_modules.tsx

* Update recognize_module.ts

this test modules uses older Auditbeat data which predates the event.category field so the test has to be skipped per https://elastic.zoom.us/j/93000943632?pwd=TmpvNWhtYUNzMUc0c0N6Tlc2QlVPZz09

* Update recognize_module.ts

needs to be a single line

* Update recognize_module.ts

Some linters want spaces and some linters want no spaces. This linter wants spaces.

* descriptions

added description text

* Update auth_rare_hour_for_a_user.json

removed a wayward newline char

* Minor nitpicking

* memory limits

raised memory limits to 128mb which is larger than the highest observed peak model bytes for the most memory hungry jobs in this event class.

Co-authored-by: Craig <mailredirector36@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 12:36:08 -07:00