Commit graph

32006 commits

Author SHA1 Message Date
Robert Austin
3fdddea286
Revert "Endpoint: Add ts-node dev dependency (#61884)" (#62197)
This reverts commit 4899aaf565.
2020-04-01 11:51:15 -07:00
Oliver Gupte
2cdb9d3113
Closes #60173 by turning off client caching for the main service map API call (#62111) 2020-04-01 11:29:58 -07:00
Andrew Goldstein
2cff8b43e4
[SIEM] Restores the _External alert count_ widget's subtitle (#62094)
## [SIEM] Restores the _External alert count_ widget's subtitle

Fixes an issue where the _External alert count_ widget's subtitle, (e.g. `Showing: 47,642,905 external alerts`), didn't render after data is loaded

### Before

![external-alerts-before](https://user-images.githubusercontent.com/4459398/78086038-f3fe7c80-7379-11ea-8291-2ef807349aea.png)

### After

![external-alerts-after](https://user-images.githubusercontent.com/4459398/78086045-fb258a80-7379-11ea-9bc6-338dc3aba482.png)
2020-04-01 11:47:59 -06:00
Aaron Caldwell
b06eaf4874
[Maps] Update ems client dependency to 7.8.0 (#62181) 2020-04-01 11:13:58 -06:00
Zacqary Adam Xeper
1e47cb21ea
[Metrics Alerts] Fix action variables, default message, and EU… (#62061)
* [Metrics Alerts] Fix action variables, default message, and EUI casing

* i18nize action variables
2020-04-01 11:57:31 -05:00
CJ Cenizal
12a7dd033f
Update CODEOWNERS with ES-UI apps, including grok debugger. (#62045) 2020-04-01 09:36:48 -07:00
CJ Cenizal
82e0fd9b3f
Update ILM node attributes blacklist. (#62093)
- Remove 'testattr' because this doesn't seem to be used in production by ES.
- Add 'transform.node' (added via https://github.com/elastic/elasticsearch/pull/52712/files#diff-225cc2c1291b4c60a8c3412a619094e1R147).
2020-04-01 09:29:32 -07:00
Patrick Mueller
014ea125cd
[Alerting] add alerting privileges for uptime and metrics (#61113)
resolves https://github.com/elastic/kibana/issues/60135

See the reference issue for how to configure Kibana to test this manually.
There are no automated tests for this ATM.

The basic test scenario is to create a role with just the Uptime space
privilege, make sure it get to the Alerts and Actions management app,
make sure you can create an action (server log), and alert (index threshold),
and that the alert and action run successfully.

Then repeat with just the Metrics space privilege.
2020-04-01 12:09:26 -04:00
liza-mae
dc77759f4b
Update percy agent to latest version (#62089)
* Update percy agent to latest version

* Update kbn-pm index

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 09:33:17 -06:00
Brandon Morelli
e4ee0303b1
[APM] Update central configuration text (#61556) 2020-04-01 08:23:55 -07:00
Nicolas Chaulet
687b5620da
[Fleet] Ouput api key do not need metricbeat* access (#60319) 2020-04-01 10:28:37 -04:00
Aleh Zasypkin
534155f6fc
Document new xpack.security.authc.* settings and related 8.0.0 breaking changes. (#61443) 2020-04-01 16:15:03 +02:00
Uladzislau Lasitsa
5d5c012f3b
Migrate test plugins ⇒ NP (kbn_tp_sample_panel_action) (#60749)
* Migrated sample_action to NP. Panel action tests returned to the test flow.

* fixed names

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 17:11:33 +03:00
Gidi Meir Morris
12a588986b
[Alerting] Add "Start trial" button for connectors (#61774)
When Kibana is certain actions (connectors) disabled due to insufficient licensing we now display buttons that lead to both the Subscriptions page and the License Management page (where the user can start a trial).
2020-04-01 14:50:17 +01:00
Walter Rafelsberger
a05863631b
[ML] Transforms: Fix handling of default and advanced search on step summary view. (#61799)
Fixes handling of default and advanced search on the summary view of the define step.
- Before this, default searches would should up in the Query section, they are now hidden.
- Before this, instead of the full query DSL, only the query string would be shown when the advanced query editor was used.
2020-04-01 15:46:12 +02:00
Patrick Mueller
01880aced9
[Task Manager] Change info message "ran out Available Workers" to debug (#62083)
resolves https://github.com/elastic/kibana/issues/54920

The scenario this message warns about is actually something that we should
expect to happen in a busy system - and we back off as we should.  But
there's no reason it needs to be info-logged, especially as it seems
somewhat frightening.

Changing to debug, so in case we do need this for diagnostic purposes, we
can still get it via logging config.
2020-04-01 09:34:24 -04:00
Thomas Neirynck
42fbdc182f
[Maps] Highlight selected layer in TOC (#61510) 2020-04-01 09:29:48 -04:00
Melissa Alvarez
d2c37515aa
ensure pageIndex is set correclty in analytics list (#62041) 2020-04-01 09:24:44 -04:00
Robert Oskamp
ce7b29e227
[ML] Functional API tests - fix mml request bodies (#62116)
This PR adjusts the request bodies in the model memory estimation endpoint tests.
2020-04-01 14:57:55 +02:00
Mike Côté
dd70c81a7d
Fix validation for index threshold when selecting an index (#61615)
* Fix validation for index threshold when selecting an index

* Ensure timeField gets validation message

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 08:44:49 -04:00
Frank Hassanabad
086bea5eb6
[SIEM][Detection Engine] Adds release notes link and updates one UI section
## Summary

Based on feed back from two users within our community slack channel of SIEM we are adding a release notes link to the product for when rules are updated.

Also, because new rules can show up we are changing the words of the "Reload X deleted Elastic prebuilt rule" to "Install X Elastic prebuilt rule" as it is misleading to imply the user has deleted rules when really they have either deleted rules or new rules are available to be installed.

The screen shot with the link of "release notes". Previously the link of "release notes" did not exist:

This new link right now goes to:
https://www.elastic.co/guide/en/siem/guide/master/prebuilt-rules.html

where in the link `master` is replaced with the version of the product that is deployed. I think we want to replace that link with a new one which will have release notes of rules for each new version of the rules.   

<img width="688" alt="Screen Shot 2020-03-20 at 2 29 47 PM" src="https://user-images.githubusercontent.com/1151048/77207801-ef0b1480-6abf-11ea-8ad7-771b0f3334d6.png">

Screen shot of the new text for Install Elastic Rules:
<img width="679" alt="Screen Shot 2020-03-20 at 3 20 44 PM" src="https://user-images.githubusercontent.com/1151048/77207875-1b269580-6ac0-11ea-908d-6ec1694df62f.png">

Screen shot of the existing Reload Elastic Rules the above screen shot is replacing:
<img width="817" alt="Screen Shot 2020-03-20 at 2 36 52 PM" src="https://user-images.githubusercontent.com/1151048/77207833-03e7a800-6ac0-11ea-92f8-7bb065775122.png">

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
- [x] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials
2020-04-01 06:32:41 -06:00
Søren Louv-Jansen
3b3e3f539b
[backport] Bump to 5.1.2 (#62117) 2020-04-01 14:10:16 +02:00
Cauê Marcondes
a8425e2481
[APM] .apm-agent-configuration is not created if Kibana is started while ES is not ready (#61610)
* adding retry functionaty when creating index

* adding p-retry module to x-pack package.json

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 13:27:26 +02:00
Nicolas Chaulet
36ff703e51
[Fleet] Enrollment list page (#61346) 2020-04-01 07:23:44 -04:00
Walter Rafelsberger
70fcaaa4fa
[ML] Fix maximum default enabled columns for data grid. (#62005)
UI Performance could degrade to make a page unusable if a dataset had a very much number of columns to be displayed in data grid (e.g. filebeat based date with 1000+ fields).
This PR fixes it by limiting the columns selected by default to a maximum number of 20. The fix gets applied to Transforms Source Table and Pivot Preview as well as the Analytics Outlier Results page.
2020-04-01 13:05:31 +02:00
Mario Castro
58d4e71b1c
[Home][Tutorial] Add Oracle data UI (#61595) 2020-04-01 13:00:04 +02:00
Dario Gieselaar
d4fa5edafd
[APM] Ensure telemetry data matches SO/telemetry mapping (#61957)
* [APM] Ensure telemetry data matches SO/telemetry mapping

Closes #61802.

* Correct mapping for dotnet data
2020-04-01 12:39:24 +02:00
Alejandro Fernández
9ac2bc5aa4
[DOCS] Show new date picker in logs UI docs (#62019) 2020-04-01 11:55:00 +02:00
Nicolas Ruflin
9628aef381
Update docs on how to run ingest manager (#62112)
This adds the --no-base-path flag and also enables endpoint. I think we should get used to always running endpoint too.

This also adds the bootstrap step as if this is missing, things often break.
2020-04-01 10:43:35 +02:00
Cauê Marcondes
79757651a9
[APM] Filters are not prefilled when the custom link flyout is opened from a transaction page. (#61650)
* open flyout with filters prefilled

* addressing pr comments

* addressing pr comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 08:50:06 +02:00
spalger
aab5a0ce6d skip flaky suite (#53308) 2020-03-31 19:49:32 -07:00
Tyler Smalley
6246393dcb
[Maps] Updates tests to not rely on field order (#62092)
Elasticsearch master is now returning a different order for these
fields and is failing the promotion of our nightly builds.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-03-31 19:02:01 -07:00
Ryland Herrick
4fe5c6346b
Fix race condition in integration tests (#62064)
There's a race condition with our rule creation tests where if they're
executed we'll get a failure message in the response, but if they
haven't yet executed we won't.

This ultimately seems like a bug with this
removeServerGeneratedProperties helpers, which has been updated to
remove those failure properties as well.
2020-03-31 20:09:16 -05:00
Nathan L Smith
433d06fd16
Don't fetch service map data if no license (#62071)
Fixes #61994
2020-03-31 19:57:30 -05:00
Lukas Olson
c98c2253f6
[Search service] Shim total hits in async search response (#61565)
* Shim total hits in async search response

* Resolve types

* Fix types

* Fix tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 17:40:38 -07:00
spalger
5d8c65a10b skip flaky suite (#61714) 2020-03-31 16:30:15 -07:00
Shahzad
92eab3e8d1
[Uptime] Added func test for obsv location map (#61518)
* add functional test

* update func test

* refactor more changed

* update test

* update test

* update type and test

* fix the fix of fix, which din't get fix

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-01 00:51:55 +02:00
Justin Kambic
93ad6d42e4
[Uptime] Fix action variables for monitor status alert (#61844)
* Add action variables for monitor status alert.

* Translate action variable descriptions.

* Add state variables to list. Update defaultActionMessage.

* Remove non-literal characters from test names, and update outdated snapshots.
2020-03-31 18:41:17 -04:00
Charlie Pichette
1ea27c1959
Tests Endpoint App Host Detail (#61857)
* endpoint-161-refactor-management-list-test

* fix location of es archive file

* restored missing data and added new tests

* remove commented out code

* implement suggested enhancments

* fix api tests to use the restored data

* add endpoint metadata to the alert es_archive

* restore the original alerts/api_feature archive

* skipped failing endpoint alert tests
2020-03-31 18:32:41 -04:00
spalger
51ee797ad7 fix local @elastic/datemath version 2020-03-31 15:16:15 -07:00
spalger
0b74d30fee [elastic/datemath] version 5.0.3 2020-03-31 14:46:46 -07:00
Spencer
db996f8879
[elastic/datemath] update readme to indicate usefulness outsid… (#62079)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-03-31 14:36:42 -07:00
Justin Kambic
aa20442a3d
Close create alert popover after the create alert flyout has been selected. (#62036) 2020-03-31 16:56:34 -04:00
Corey Robertson
f9fefdd467
[CANVAS] Gets ride of chrome/ui for advanced settings (#61865)
* Gets ride of chrome/ui for advanced settings

* Mock new platform for test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 16:43:07 -04:00
Paul Tavares
0eb01aca23
[Endpoint] Policy Details integration with Ingest APIs (#61827)
* implement Policy Details header
* use Ingest APIs to persist (save) policy data to the Datasource
* implement UI behaviour for Save, Cancel
* implement UI bahaviour for when Policy (datasource) can not be retrieved
2020-03-31 16:37:49 -04:00
Spencer
84cb048020
[ci/es] always pull snapshots, break early when they're not av… (#62040)
* [ci/es] always pull snapshots, break early when they're not available

* move to setup.sh after deps are installed

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-03-31 13:25:14 -07:00
MadameSheema
86a70ba963
slows down timeline creation (#62037) 2020-03-31 21:46:32 +02:00
Joel Griffith
12caa46e35
Always log non-200 responses in reportin (#61897)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-31 12:30:47 -07:00
MadameSheema
c8b7b55a93
increases default command timeout (#62022) 2020-03-31 21:15:27 +02:00
Nathan L Smith
49e53dac7b
Hide APM alerting menu if alerting plugin is disabled (#61907)
* Hide APM alerting menu if alerting plugin is disabled

Checks for presence of plugin and does not display the link if the plugin is disabled.

Use `xpack.alerting.enabled: false` in config/kibana.dev.yml to try it.

Fixes #61048.
2020-03-31 13:22:36 -05:00