Commit graph

44271 commits

Author SHA1 Message Date
spalger a06c0f1409 skip flaky suite (#104042) 2021-06-30 21:39:10 -07:00
Frank Hassanabad 0cba746e71
Should make cypress less flake with two of our tests (#104033)
## Summary

Should reduce flake in two of our Cypress tests.

* Removed skip on a test recently skipped
* Removes a wait() that doesn't seem to have been reducing flake added by a EUI team member
* Adds a `.click()` to give focus to a component in order to improve our chances of typing in the input box
* Adds some `.should('exists')` which will cause Cypress to ensure something exists and a better chance for click handlers to be added
* Adds a pipe as suggested by @yctercero in the flake test

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-06-30 19:43:50 -06:00
Tiago Costa 90db5fd4a4
chore(NA): upgrades bazel rules nodejs into v3.6.0 (#103895)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 01:48:48 +01:00
Clint Andrew Hall fcd16dd87b
[canvas] Replace react-beautiful-dnd with EuiDrapDrop (#102688)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 20:28:21 -04:00
Frank Hassanabad 81b9e73fed
Updates the the PR template to remove links to private repo and fix docker URL with regards to kibana.yml keys (#103901)
## Summary

Updates the Pull Request template to have:

* Removes links to private repo's
* Fixes the docker link to point to the current version within master

Before this, our PR template had this checkbox:
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the [cloud](https://github.com/elastic/cloud) and added to the [docker list](c29adfef29/src/dev/build/tasks/os_packages/docker_generator/resources/bin/kibana-docker)

After this, our PR template becomes:
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
2021-06-30 17:59:19 -06:00
John Dorlus 3cbce69598
Add CIT for Date Index Processor in Ingest Node Pipelines (#103416)
* Added initial work for date index processor CITs.

* Fixed the tests and added the remaining coverage.

* Fixed message for date rounding error and updated tests to use GMT since that timezone actually works with the API.

* Update Date Index Name processor test name.

Co-authored-by: Yulia Čech <6585477+yuliacech@users.noreply.github.com>

Co-authored-by: Yulia Čech <6585477+yuliacech@users.noreply.github.com>
2021-06-30 19:52:15 -04:00
Frank Hassanabad 58fab48500
Fixes the unHandledPromise rejections happening from unit tests (#104017)
## Summary

We had `unHandledPromise` rejections within some of our unit tests which still pass on CI but technically those tests are not running correctly and will not catch bugs.

We were seeing them showing up like so:

```ts
PASS  x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.test.ts (10.502 s)
(node:21059) UnhandledPromiseRejectionWarning: [object Object]
    at emitUnhandledRejectionWarning (internal/process/promises.js:170:15)
    at processPromiseRejections (internal/process/promises.js:247:11)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)
(node:21059) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:21059) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    at emitDeprecationWarning (internal/process/promises.js:180:11)
    at processPromiseRejections (internal/process/promises.js:249:13)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)
 PASS  x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts
 PASS  x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.test.ts
 PASS  x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.test.ts
(node:21059) UnhandledPromiseRejectionWarning: Error: bulk failed
    at emitUnhandledRejectionWarning (internal/process/promises.js:170:15)
    at processPromiseRejections (internal/process/promises.js:247:11)
    at processTicksAndRejections (internal/process/task_queues.js:96:32)
(node:21059) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
````

You can narrow down `unHandledPromise` rejections and fix tests one by one by running the following command:
```ts
node --trace-warnings --unhandled-rejections=strict scripts/jest.js --runInBand x-pack/plugins/security_solution
```

You can manually test if I fixed them by running that command and ensuring all tests run without errors and that the process exits with a 0 for detections only by running:

```ts
node --trace-warnings --unhandled-rejections=strict scripts/jest.js --runInBand x-pack/plugins/security_solution/public/detections
```

and

```ts
node --trace-warnings --unhandled-rejections=strict scripts/jest.js --runInBand x-pack/plugins/security_solution/server/lib/detection_engine
```

### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or
2021-06-30 19:34:13 -04:00
Paul Tavares aa5c56c418
[Security Solution][Hosts] Show Fleet Agent status and Isolation status for Endpoint Hosts when on the Host Details page (#103781)
* Refactor: extract agent status to endpoint host status to reusable utiltiy
* Show Fleet Agent status + isolation status
* Refactor EndpoinAgentStatus component to use `<AgentStatus>` common component
* Move actions service to `endpoint/services` directory
* Add pending actions to the search strategy for endpoint data
2021-06-30 18:29:25 -04:00
Josh Dover a3f86bda3e
[Cloud] Fix sessions stitching across domains (#103964) 2021-06-30 18:09:26 -04:00
Frank Hassanabad 12e7fe50bb
[Security Solutions][Detection Engine] Adds a merge strategy key to kibana.yml and updates docker to have missing keys from security solutions (#103800)
## Summary

This is a follow up considered critical addition to:
https://github.com/elastic/kibana/pull/102280

This adds a key of `xpack.securitySolution.alertMergeStrategy` to `kibana.yml` which allows users to change their merge strategy between their raw events and the signals/alerts that are generated. This also adds additional security keys to the docker container that were overlooked in the past from security solutions.

The values you can use and add to to `xpack.securitySolution.alertMergeStrategy` are:
* missingFields (The default)
* allFields
* noFields

## missingFields

The default merge strategy we are using starting with 7.14 which will merge any primitive data types from the [fields API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-fields.html#search-fields-param) into the resulting signal/alert. This will copy over fields such as `constant_keyword`, `copy_to`, `runtime fields`, `field aliases` which previously were not copied over as long as they are primitive data types such as `keyword`, `text`, `numeric` and are not found in your original `_source` document. This will not copy copy `geo points`, `nested objects`, and in some cases if your `_source` contains arrays or top level objects or conflicts/ambiguities it will not merge them. This will _not_ merge existing values between `_source` and `fields` for `runtime fields` as well. It only merges missing primitive data types.

## allFields
A very aggressive merge strategy which should be considered experimental. It will do everything `missingFields` does but in addition to that it will merge existing values between `_source` and `fields` which means if you change values or override values with `runtime fields` this strategy will attempt to merge those values. This will also merge in most instances your nested fields but it will not merge `geo` data types due to ambiguities. If you have multi-fields this will choose your default field and merge that into `_source`. This can change a lot your data between your original `_source` and `fields` when the data is copied into an alert/signal which is why it is considered an aggressive merge strategy.

Both these strategies attempts to unbox single array elements when it makes sense and assumes you only want values in an array when it sees them in `_source` or if it sees multiple elements within an array.

## noFields

The behavior before https://github.com/elastic/kibana/pull/102280 was introduced and is a do nothing strategy. This should only be used if you are seeing problems with alerts/signals being inserted due to conflicts and/or bugs for some reason with `missingFields`. We are not anticipating this, but if you are setting `noFields` please reach out to our [forums](https://discuss.elastic.co/c/security/83) and let us know we have a bug so we can fix it. If you are encountering undesired merge behaviors or have other strategies you want us to implement let us know on the forums as well.

The missing keys added for docker are:

*  xpack.securitySolution.alertMergeStrategy
*  xpack.securitySolution.alertResultListDefaultDateRange
*  xpack.securitySolution.endpointResultListDefaultFirstPageIndex
*  xpack.securitySolution.endpointResultListDefaultPageSize
*  xpack.securitySolution.maxRuleImportExportSize
*  xpack.securitySolution.maxRuleImportPayloadBytes
*  xpack.securitySolution.maxTimelineImportExportSize
*  xpack.securitySolution.maxTimelineImportPayloadBytes
*  xpack.securitySolution.packagerTaskInterval
*  xpack.securitySolution.validateArtifactDownloads

I intentionally skipped adding the other `kibana.yml` keys which are considered either experimental flags or are for internal developers and are not documented and not supported in production by us. 

## Manual testing of the different strategies 

First add this mapping and document in the dev tools for basic tests
```json
# Mapping with two constant_keywords and a runtime field
DELETE frank-test-delme-17
PUT frank-test-delme-17
{
  "mappings": {
    "dynamic": "strict",
    "runtime": {
      "host.name": {
        "type": "keyword",
        "script": {
          "source": "emit('changed_hostname')"
        }
      }
    },
    "properties": {
      "@timestamp": {
        "type": "date"
      },
      "host": {
        "properties": {
          "name": {
            "type": "keyword"
          }
        }
      },
      "data_stream": {
        "properties": {
          "dataset": {
            "type": "constant_keyword",
            "value": "datastream_dataset_name_1"
          },
          "module": {
            "type": "constant_keyword",
            "value": "datastream_module_name_1"
          }
        }
      },
      "event": {
        "properties": {
          "dataset": {
            "type": "constant_keyword",
            "value": "event_dataset_name_1"
          },
          "module": {
            "type": "constant_keyword",
            "value": "event_module_name_1"
          }
        }
      }
    }
  }
}

# Document without an existing host.name 
PUT frank-test-delme-17/_doc/1
{
  "@timestamp": "2021-06-30T15:46:31.800Z"
}

# Document with an existing host.name
PUT frank-test-delme-17/_doc/2
{
  "@timestamp": "2021-06-30T15:46:31.800Z",
  "host": {
    "name": "host_name"
  }
}

# Query it to ensure the fields is returned with data that does not exist in _soruce
GET frank-test-delme-17/_search
{
  "fields": [
    {
      "field": "*"
    }
  ]
}
```

For all the different key combinations do the following:

Run a single detection rule against the index:
<img width="1139" alt="Screen Shot 2021-06-30 at 9 49 12 AM" src="https://user-images.githubusercontent.com/1151048/123997522-b8dc6600-d98d-11eb-9407-5480d5b2cc8a.png">

Ensure two signals are created:
<img width="1376" alt="Screen Shot 2021-06-30 at 10 26 03 AM" src="https://user-images.githubusercontent.com/1151048/123997739-f17c3f80-d98d-11eb-9eb9-90e9410f0cde.png">

If your `kibana.yml` or `kibana.dev.yml` you set this key (or omit it as it is the default):

```yml
xpack.securitySolution.alertMergeStrategy: 'missingFields'
```

When you click on each signal you should see that `event.module` and `event.dataset` were copied over as well as `data_stream.dataset` and `data_stream.module` since they're `constant_keyword`:
<img width="877" alt="Screen Shot 2021-06-30 at 10 20 44 AM" src="https://user-images.githubusercontent.com/1151048/123997961-31432700-d98e-11eb-96ee-06524f21e2d6.png">

However since this only merges missing fields, you should see that in the first record the `host.name` is the runtime field defined since `host.name` does not exist in `_source` and that in the second record it still shows up as `host_name` since we do not override merges right now:
First:
<img width="887" alt="Screen Shot 2021-06-30 at 10 03 31 AM" src="https://user-images.githubusercontent.com/1151048/123998398-b2022300-d98e-11eb-87be-aa5a153a91bc.png">

Second:
<img width="838" alt="Screen Shot 2021-06-30 at 10 03 44 AM" src="https://user-images.githubusercontent.com/1151048/123998413-b4fd1380-d98e-11eb-9821-d6189190918f.png">

When you set in your `kibana.yml` or `kibana.dev.yml` this key:

```yml
xpack.securitySolution.alertMergeStrategy: 'noFields'
```

Expect that your `event.module`, `event.dataset`, `data_stream.module`, `data_stream.dataset` are all non-existent since we do not copy anything over from `fields` at all and only use things within `_source`:
<img width="804" alt="Screen Shot 2021-06-30 at 9 58 25 AM" src="https://user-images.githubusercontent.com/1151048/123998694-f8578200-d98e-11eb-8d71-a0858d3ed3e7.png">

Expect that `host.name` is missing in the first record and has the default value in the second:

First:
<img width="797" alt="Screen Shot 2021-06-30 at 9 58 37 AM" src="https://user-images.githubusercontent.com/1151048/123998797-10c79c80-d98f-11eb-81b6-5174d8ef14f2.png">

Second:
<img width="806" alt="Screen Shot 2021-06-30 at 9 58 52 AM" src="https://user-images.githubusercontent.com/1151048/123998816-158c5080-d98f-11eb-87a0-0ac2f58793b3.png">

When you set in your `kibana.yml` or `kibana.dev.yml` this key:

```yml
xpack.securitySolution.alertMergeStrategy: 'allFields'
```

Expect that `event.module` and `event.dataset` were copied over as well as `data_stream.dataset` and `data_stream.module` since they're `constant_keyword`:
<img width="864" alt="Screen Shot 2021-06-30 at 10 03 15 AM" src="https://user-images.githubusercontent.com/1151048/123999000-48364900-d98f-11eb-9803-05349744ac10.png">

Expect that both the first and second records contain the runtime field since we merge both of them:
<img width="887" alt="Screen Shot 2021-06-30 at 10 03 31 AM" src="https://user-images.githubusercontent.com/1151048/123999078-58e6bf00-d98f-11eb-83bd-dda6b50fabcd.png">

### Checklist

Delete any items that are not applicable to this PR.

- [x] If a plugin configuration key changed, check if it needs to be allowlisted in the [cloud](https://github.com/elastic/cloud) and added to the [docker list](c29adfef29/src/dev/build/tasks/os_packages/docker_generator/resources/bin/kibana-docker)
2021-06-30 15:50:05 -06:00
Casper Hübertz f65eaa2c49
[APM] Fix prepend form label background (#103983) 2021-06-30 23:22:14 +02:00
Brandon Kobel 54dae304cc
Update docs to explicitly state supported upgrade version (#103774)
* Update docs to explicitly state supported upgrade version

* Update docs/setup/upgrade.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-06-30 14:11:59 -07:00
Clint Andrew Hall 49c66b807e
[canvas] Relocate Legacy Services; create Workpad Service (#103386)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 17:08:13 -04:00
Kevin Logan fdbf88de5b
[Security Solution] Use semver for Host Isolation version check (#103975) 2021-06-30 17:06:29 -04:00
Angela Chuang 8afddc9fe6
[SecuritySolution] Handle not found routes for detections routes (#103659)
* add not found page

* fix url state

* fix url state

* revert cypress test case

* add tests for new links

* rename detections to alerts

* move function to helper

* add cypress tests

* clean up routes

* clean up routes

* styling for not found page

* clean up rules routes

* rm unused i18n

* add cypress tests

* add cypress tests

* rm unused i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 17:05:32 -04:00
Steph Milovic 305df3ab37
[RAC] [Cases] Fix responsiveness in Cases UI (#103766) 2021-06-30 15:00:56 -06:00
Casper Hübertz 9414262558
[APM] Update copy in modal (#103976) 2021-06-30 22:58:56 +02:00
Zacqary Adam Xeper bbda3a7cf1
[Fleet] Add autoSubmit to Fleet search bar (#103974) 2021-06-30 16:48:38 -04:00
Kate Farrar 5fa6cdf1b2
[Metrics UI] [Logs UI] Updating alerts language in headers and Metrics (#103589)
* updating language in metrics ui to indicate rule type and updating language in header menu to Alerts and Rules
2021-06-30 14:40:33 -06:00
debadair 2f315ebbc7
Fix links to time & byte units conventions (#103963) 2021-06-30 13:14:16 -07:00
Davis Plumlee cf4a28dab7
[Security Solution][Detection Rules] Fixes rule table sort not working for certain fields (#103960) 2021-06-30 16:05:18 -04:00
Nicolas Chaulet e72f82db24
[Fleet] Fix action menu to close on click (#103958) 2021-06-30 15:55:47 -04:00
Felix Stürmer 932108ee95
[RAC] Fix rule registry write flag and turn it off by default (#103646) 2021-06-30 21:44:30 +02:00
Tim Sullivan 50c755df0b
[Reporting] fix too_long_frame_exception by passing scroll_id in the request body (#102972)
* pass scroll_id in the request body not a param

* update test to match

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 12:20:33 -07:00
Constance 0673aab33d
Remove role=alert attribute from flash messages (#103937) 2021-06-30 15:02:18 -04:00
Tiago Costa a6319a7554
chore(NA): adds 7.14 branch and bumps 7.x on backportrc (#103914) 2021-06-30 18:40:26 +01:00
Yuliia Naumenko bd0f0584e0
[Alerting][Docs] Fixed formatting issues for alerting documentation. Added docs about rules statuses. (#103725)
* [Alerting][Docs] Fixed formatting issues for alerting documentation. Added docs about rules statuses.

* Apply suggestions from code review

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Apply suggestions from code review

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

* fixed due to the comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-06-30 10:34:59 -07:00
Kaarina Tungseth 524fe6dfe2
[DOCS] Updates to the Reporting docs (#101326)
* [DOCS] Updates to thee Reporting docs

* Adds the main sharing page

* Final changes

* Changed configuring-reporting link to secure-reporting

* Updates from meeting with Tim and Larry

* Moves reporting and sharing content above ML

* Update docs/setup/configuring-reporting.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Review comments from Tim and Larry

* Fixes broken links

* Fixes redirect

* Fixes broken link from ES docs

* Adds metadata to changed pages

* Review comments

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
2021-06-30 12:10:04 -05:00
Nathan Reese 5cf0fead02
[Maps] deprecate map.proxyElasticMapsServiceInMaps (#103740)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 10:59:27 -06:00
Sébastien Loix c5741e8b77
[Amsterdam theme] Fix issues Index management (#103465)
Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
2021-06-30 17:59:14 +01:00
Domenico Andreoli c5c68749b4
Refactor security_solution's Cypress package (#103261)
* Define reporter configuration in one place: 'yarn cypress:run:reporter'
* Define junit generation in one place: 'yarn junit:merge'
2021-06-30 18:49:43 +02:00
Jason Rhodes 8c34a88d26
Fix inaccurate Kibana status message when Kibana is in a yellow "degraded" state (#103816)
* Correctly orders imports via ESLint

* Accounts for "yellow" status

We should do much better than this.
a) We shouldn't be converting the statuses to colors in the first place
b) We shouldn't always show the same message for all non-green statuses
c) We shouldn't link to kibana status when we are the kibana monitoring product
2021-06-30 12:45:59 -04:00
Jen Huang ffc207281f
Add back min zero value, add validation (#103898) 2021-06-30 12:36:21 -04:00
Greg Thompson 2576d61fef
eui to 34.5.2 (#103896) 2021-06-30 11:33:25 -05:00
Rashmi Kulkarni 4b5ceb3995
addressed the nits from PR 103028 (#103892) 2021-06-30 09:24:52 -07:00
Jen Huang c63e74f024
[Integrations UI] Restore post-save integration policy redirect (#103780)
* Revert "Remove post-installation redirect for integrations (#103179)"

This reverts commit 96c4350289.

* Restore post-save redirects but only when user hasn't navigated away
2021-06-30 12:22:14 -04:00
debadair 0f4319c43e
[DOCS] Fixed another units xref (#103826) 2021-06-30 08:43:15 -07:00
Cauê Marcondes d046adaa09
[APM] Adding telemetry to APM APIs (#103543)
* adding telemetry to apm apis

* addressing PR comment

* adding space

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 11:41:17 -04:00
Nicolas Chaulet 9fdd569838
[Fleet] Do not show settings banner while its loading in the add agent flyout (#103883) 2021-06-30 11:32:17 -04:00
Davis Plumlee 36b21b4007
[Security Solution] Invalid KQL Query Bug (#99442)
## Summary

Addresses #98283

Currently, our method of converting KQL to Elasticsearch queries silently suppresses errors bubbled up by ES and returns an empty query string. This makes it so the entire query, including filters, etc. gets wiped out and potentially incorrect data is displayed. 

This PR addresses that by bubbling up the errors and putting them in a toast component as well as cancelling any request that was made with the invalid query so that incorrect data is never fetched.

![Screen Shot 2021-05-11 at 5 05 24 PM](https://user-images.githubusercontent.com/56367316/117895214-e8bf9500-b28b-11eb-83a6-522deebecbe2.png)


### Checklist

Delete any items that are not applicable to this PR.

- [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2021-06-30 09:17:52 -06:00
Christos Nasikas 3ac067fc91
[Cases] Swimlane: Fix bug when creating the connector with empty mapping. (#103446) 2021-06-30 11:08:04 -04:00
Joe Reuter affe82b73c
[Lens] Lazy loading refactoring (#103277) 2021-06-30 17:02:22 +02:00
Joe Reuter e04f99541a
[Lens] Fix help popovers (#103314) 2021-06-30 16:59:30 +02:00
Paul Tavares 1b1e29c756
[Security Solution][Endpoint] Unit Test cases to cover CaseView action/comment refresh and Endpoint isolation api (#103560)
* Tests for `<CaseView>` `refreshRef` prop
* Tests for Isolation API update of cases
2021-06-30 10:51:36 -04:00
Nathan Reese 2f457da640
[Maps] Create drawing layer copy updates (#103791)
* [Maps] Create drawing layer copy updates

* tslint
2021-06-30 08:30:44 -06:00
Pierre Gayvallet 5bb9691b55
Use new ES client for licensing plugin (#92143)
* use new client for licensing API

* add logs

* adapt unit tests

* Revert "add logs"

This reverts commit 4a61b646

* fix some type errors

* fix test types

* adapt monitoring usage of `createLicensePoller`

* remove test comment

* fix unit test

* remove createLicensePoller from setup contract

* fix unit tests
2021-06-30 15:59:00 +02:00
Ahmad Bamieh 23621e663c
[Deprecation service] Using i18n for deprecation messages (#103422) 2021-06-30 16:51:47 +03:00
Dario Gieselaar 4b54ccecd3
[APM] Return operationName as part of _inspect response (#103616)
Closes #103448.
2021-06-30 09:49:50 -04:00
Wylie Conlon 39b6597219
[Lens] Formula can be colored by value (#103572)
* [Lens] Formula can be colored by value

* Fix mapColumn test

* Fix tests
2021-06-30 09:47:03 -04:00
Rashmi Kulkarni 4cb979b688
[test] Migrating to kbn_archiver from es_archiver - for the Maps app (#103028)
* converting Maps es_archiver to kbn_archiver

* delete the esArchiver .kibana reference directory

* fix the path of the json file

* use the delete API to delete the missing references populated in the data.json

* fix the path

* kbn_archiver_maps.json

* added the missing ref

* restoring it to use esArchiver

* replace esArchiver to use kbnArchiver

* moved the data.json directly under kbnArchiver

 Please enter the commit message for your changes. Lines starting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-30 06:36:53 -07:00