Commit graph

35680 commits

Author SHA1 Message Date
Angela Chuang
b42f64d1a2
[Security Solution] Load prepackage timelines by default (#74209)
* load prepackage timelines by default

* fix unit tests
2020-08-04 16:57:53 +01:00
Sandra Gonzales
8e0ae5ffd1
add force install option (#74172) 2020-08-04 10:54:11 -05:00
Ben Skelker
f3fbb7d79f
[Security Solution]Updates exception options and setting text (#73769)
* updates exception text

* updates modal text

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-04 17:42:51 +03:00
Poff Poffenberger
7208a5746a
[Canvas] Fix Custom Element functional test (and remove skip) (#73727)
* Remove skip of custom elements
2020-08-04 09:18:47 -05:00
Patryk Kopyciński
ecc7fcec40
[Security Solution] Fix Fullscreen view (#74236) 2020-08-04 15:56:18 +02:00
Vadim Dalecky
23fedcf636
feat: 🎸 navigate from maps embeddable to app in SPA way (#74102) 2020-08-04 15:25:53 +02:00
Vadim Dalecky
4f2209b209
refactor: 💡 clean up and simplify replace panel input update (#74076) 2020-08-04 15:20:57 +02:00
Frank Hassanabad
73077c3d19
Fixes one more spot where we forgot to add plumbing for the strict_date_optional_time (#74211)
## Summary

Related closed issues:
https://github.com/elastic/kibana/issues/58965
https://github.com/elastic/kibana/pull/70713

If you add a custom mapping and go to the hosts details page you will get an error toaster:
<img width="838" alt="Screen Shot 2020-08-03 at 7 53 16 PM" src="https://user-images.githubusercontent.com/1151048/89244409-a7df7500-d5c3-11ea-933c-99d96bffc589.png">

If running local host you can configure your index patterns to use a custom one I setup with custom date time formats and a single record which can cause this:
<img width="1223" alt="Screen Shot 2020-08-03 at 7 50 12 PM" src="https://user-images.githubusercontent.com/1151048/89243967-8fbb2600-d5c2-11ea-8de2-4422e870f9f0.png">


Then visit this URL and set your date time to go backwards by 1 year
```ts
http://localhost:5601/app/security/hosts/app/security/hosts/MacBook-Pro.local/alerts
```

And with the fix you no longer get the error toaster.
2020-08-04 06:54:47 -06:00
Marco Liberati
c78da24708
[ Functional Tests ] TVSB charts flaky tests on index pattern switch fix (#74110)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-04 14:44:16 +02:00
Clint Andrew Hall
53131313df
[kbn-storybook] Kill tsdocgen for immediate perf improvement (#74059)
* [kbn-storybook] Kill tsdocgen for immediate perf improvement

* Addressing feedback
2020-08-04 08:19:02 -04:00
Xavier Mouligneau
5c741a1e00
reset datepicker of timeline (#74210) 2020-08-04 07:37:22 -04:00
Xavier Mouligneau
8e7d0b86cc
[SECURITY] Bug do not allow saving when opening a timeline (#74139)
* only saved timeline when you are duplicating them

* fix unit test
2020-08-04 07:36:21 -04:00
Cauê Marcondes
fc04ef9152
Observabilty overview APM section doesn't fully collapse (#74224) 2020-08-04 12:46:49 +02:00
Mikhail Shustov
e57f4d2b25
[KP] update ES client migration guide (#73241)
* add note about error format and FTR service

* add notice about lack of response typings

* more detailes example of search response type usage
2020-08-04 09:50:32 +02:00
MadameSheema
fb3370d99b
updates file picker label (#74136) 2020-08-04 09:17:03 +02:00
Jen Huang
3cce216f2e
[Ingest Manager] Improve agent config list -> detail UI transition (#73566)
* Improve agent config detail page loading state

* Show ID instead of loading icon

* Fix types
2020-08-03 19:24:48 -07:00
Andrew Goldstein
4031f55701
[Security Solution] Fixes scroll issues related to the sticky header (#74062)
## [Security Solution] Fixes scroll issues related to the sticky header

Fixes scrolling issues related to the sticky header.

The Security solution hid the app navigation links (e.g. `Overview`, `Detections`, `Hosts` ...) in the sticky header when the page was scrolled (to maximize the available vertical space), but in recent `7.9` BCs, sometimes this [created issues while scrolling](https://github.com/elastic/kibana/issues/73882).

With the introduction of Full Screen mode in Timeline-based views, it's no longer necessary to hide the app navigation links while scrolling. (The navigation links are hidden when Timeline-based views are placed into full screen mode.)

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

## Desk testing

Desk tested in:
- Chrome `84.0.4147.105`
- Firefox `79.0`
- Safari `13.1.2`
2020-08-03 18:25:12 -06:00
Jonathan Buttner
64126b425e
[Security Solution][Resolver] Handle info and change events for children (#74007)
* Handle info and change events for children

* Disabling tests for children search_after

* Addressing comments
2020-08-03 20:01:11 -04:00
Ryland Herrick
63500c89c3
Do not display our app URL field on read-only view (#74183)
This is a "hidden" field added as metadata during rule creation. It is
omitted from all other views, but in the case of an error response
during rule creation, the read-only view will display this field.

In lieu of any broad changes here, this simply hides that field from the
(really, any) read-only view of that data.
2020-08-03 18:41:20 -05:00
Ross Wolf
3ea9e607e5
[Detection Rules] Add 7.9 rules (#74177) 2020-08-03 17:38:03 -06:00
Zacqary Adam Xeper
47d6be3b7e
[Metrics UI] Fix pluralization in Alert Preview (#74160) 2020-08-03 18:36:01 -05:00
Spencer
c7202e55cf
[kbn/optimizer] remove unneeded DisallowSyntaxPlugin (#74178)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-03 16:20:58 -07:00
Oliver Gupte
6f7bfd6a04
Closes #74031 by adding nowrap style to the link. (#74175) 2020-08-03 16:08:03 -07:00
Tim Sullivan
e00d7d279a
[Reporting] Handle error gracefully when browser driver unexpectedly exits or crashes. (#71989)
* [Reporting] Handle page error event directly with Puppeteer

* clean up logger.error that was stringifying error

* use fromEvent

* better handling and error messaging if browser was closed in the middle of the screenshot pipeline

* fix pdf functional api tests

* fix i18n error

* fix jest

* fix ts

* fix i18n

* tweaks

* ok to throw error in callback

* fix ts

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 16:03:13 -07:00
Nathan Reese
cd1b1b3a95
[Maps] convert dynamic icon style to TS (#73903)
* [Maps] convert dynmaic icon style to TS

* tslint

* fix snapsshot name changes caused by file name changes

* revert change that is not part of PR

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 16:15:43 -06:00
Lukas Olson
584804047a
[Search] Send ID in path, rather than body (#62889)
* [Search] Send ID in path, rather than body

* Fix typo in merge

* Update docs

* Revert to using POST instead of GET

* Revert accidental change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 15:13:27 -07:00
Luke Elmers
06412ae770
Migrate timepicker:timeDefaults ui setting to the data plugin. (#73750) 2020-08-03 15:43:34 -06:00
debadair
60494255e8
[DOCS] Remove the ILM tutorial, which is now in the ES Ref (#73580) 2020-08-03 14:29:47 -07:00
Eric Davis
447db183e9
Change / to \ for Windows Enrollment command in Fleet (#74132) 2020-08-03 15:56:07 -04:00
Dmitry Lemeshko
18e2daa2fb
Fix API Keys functional test in cloud (#74075)
* check admin description

* split test logic
2020-08-03 21:19:42 +02:00
Lukas Olson
4758cb1b4d
[Search] Fix telemetry collection to not send extra requests (#73382)
* [Search] Fix telemetry collection to not send extra requests

* Update tracker to collect duration from ES response

* Fix type check

* Update docs and types

* Fix typescript

Co-authored-by: Liza K <liza.katz@elastic.co>
2020-08-03 12:17:38 -07:00
Chris Roberson
4d6b8ce45d
[Monitoring] Different messaging for CPU usage alert on cloud (#74082)
* Different messaging for cloud

* Fix type issues
2020-08-03 15:05:12 -04:00
Angela Chuang
34d9c58436
fix legend's color (#74115) 2020-08-03 19:42:28 +01:00
Christos Nasikas
b867e4b6b9
[Security Solutions][Case] Fix quote handling (#74093) 2020-08-03 21:41:34 +03:00
Angela Chuang
89f1ac4987
fix default timeline's tab (#74051) 2020-08-03 19:07:03 +01:00
MadameSheema
6337cbf163
updates exceptions 'Add to clipboard' copy for comments (#74103)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 19:34:01 +02:00
Xavier Mouligneau
e82f14af75
fix bug when clicking on start a new case (#74092) 2020-08-03 13:07:39 -04:00
Alejandro Fernández Haro
df41c9b274
[Telemetry] Data: Report dataset info only if there is known metadata (#71419)
* [Telemetry] Data: Report dataset information only if there is known metadata

* Handle data-stream indices (.ds-*)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 18:05:39 +01:00
MadameSheema
0739a3453d
[SIEM] Adds threshold rule creation Cypress test (#74065)
* adds threshold rule creation cypress test

* fixes type chek error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 18:29:08 +02:00
Alejandro Fernández
909c9826ff
[Metrics UI] Fix typo on view selector in metrics explorer (#74084) 2020-08-03 18:27:28 +02:00
Sandra Gonzales
5cabe9c95d
[Ingest Manager] improve error handling of package install (#73728)
* refactor to add assets refs to SO before install

* get ingest pipeline refs by looping through datasets because names are diff than path dir

* fix bug and improve error handling

* bump package number from merge conflict

* add integration test for the epm-package saved object

* accidentally pasted line of code

* rename errors for consistency

* pass custom error when IngestManagerError

* rename package from outdated to update
2020-08-03 10:57:32 -05:00
Dan Panzarella
b9e5ae9c77
[Security Solution] Filter endpoint hosts by agent status (#71882) 2020-08-03 11:53:52 -04:00
Nathan Reese
234e6f130d
change 'Add from Visualize library' button text to 'Add from Kibana' (#74002)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 09:37:30 -06:00
Eric Davis
346bab35a3
Kibana issue #73932 - enrollment flyout changes (#74008)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 11:17:07 -04:00
Robert Oskamp
a25feb6d57
[ML] Functional tests - stabilize waiting for AD, DFA, TFM job list refresh (#74064)
With this PR, the job list refresh for anomaly detection, data frame analytics and transforms is waiting for the refresh loading indicator to disappear before moving on.
2020-08-03 17:07:33 +02:00
Jimmy Kuang
426651ec61
Added this.name in replace of New Watch string - isNew Create else Save (#73982)
* Added this.name in replace of New Watch string

* Address precommit_hook fix

* Run node scripts/precommit_hook --fix

* Run node scripts/precommit_hook --fix

* Run node scripts/precommit_hook --fix

* Update watch.isNew logic, address xpack jest check, and fix precommit hook

* Fix elint issues

* Used Translation - removed xpack.watcher.models.baseWatch.displayName and xpack.securitySolution.auditd.failedxLoginTooManyTimes

* Used Translation - removed xpack.watcher.models.baseWatch.displayName

* Updated SaveWatch function - separate create and saved displayName and Eslint fix

* Added back xpack.securitySolution.auditd.failedxLoginTooManyTimesDescription

* Reverse xpack.securitySolution.auditd.inDescription back to in

* Remove x typo in failedx

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 08:05:15 -07:00
Lukas Olson
8c6d655f17
[Search] Set keep_alive parameter in async search (#73712)
* [Search] Set keep_alive parameter in async search

* Revert accidental change

* Add batched_reduce_size

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 07:44:57 -07:00
Angela Chuang
aada48e0de
[Security solution] Get all timeline (#72690)
* get all timelines

* update unit tests

* fix cypress

* rollback cypress rummer

* add unit test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 15:39:26 +01:00
Dario Gieselaar
7099a6dc75
[APM] Disable auto-refresh by default (#74068) 2020-08-03 14:49:17 +02:00
James Gowdy
278d3249b6
[ML] Add datafeed query reset button (#73958)
* [ML] Add datafeed query reset button

* changing id

* adding translation

* fix typo

* default query refactor

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-03 12:15:07 +01:00