Commit graph

29526 commits

Author SHA1 Message Date
Andrew Goldstein
2a83266ed9
[SIEM] Remove placeholder from pinned event tooltips (#52361)
## [SIEM] Remove placeholder from pinned event tooltips

Similar to signals, pinned timeline events should be copied from source indexes, which are subject to ILM, to separate (space-aware) indexes (with different ILM), such that pinned events can be viewed in a timeline after the events have aged out of the original indexes.

The backend APIs and UI patterns in development now for signals can likely be reused to implement the above, but until then, the placeholder tooltip text for unpinned / pinned events, which mentions persistence, should be removed from the SIEM beta.

- [x] Changed the _unpinned_ event tooltip text from (sic) `This is event is NOT persisted with the timeline` to `Unpinned event`
- [x] Changed the pinned event tooltip text from `This event is persisted with the timeline` to `Pinned event`

https://github.com/elastic/siem-team/issues/482
2019-12-06 08:27:51 -07:00
Anton Dosov
881c836f94
[State Management] Move url state_hashing utils to kibana_utils (#52280)
Part of #44151,
Continuation of #51835,
Just moves existing state related url utils to kibana_utils plugin

Also fixes small regression introduced in #51835,
When sharing hashed url directly it should show error toast instead of full page fatal error
2019-12-06 13:20:29 +01:00
Mikhail Shustov
ca55402496
make defaultRoute accessible in NP Config (#52308)
* defaultRoute was not provided to the NP

* improve defaultRoute validation

* add test that defaultRoute is read from config

* update tests
2019-12-06 10:28:29 +01:00
Mikhail Shustov
6db76a7e6d
add codeowners for legacy server folder (#52158) 2019-12-06 08:23:48 +01:00
Frank Hassanabad
68cc4de804
[SIEM][Detection Engine] Adds signal data index per spaces through index naming conventions (#52237)
## Summary

Changes the signals output index to be based on the user's space

* Adds the ability to create a space based index through `POST /api/detection_engine/index`
* Adds the existence API for the index through `HEAD /api/detection_engine/index`
* Adds an index check during the creation of a rule, `POST api/detection_engine/rules` that will return a status of 400 with an error message if the index does not exist
* Adds a new optional key in kibana.dev.yml of `xpack.siem.signalsIndex` for developers working together who need to segregate signals indexes.
* Splits apart the ECS mappings and the signal mappings into separate files for easier maintenance. 
* Deprecates the defaultSignalsIndex (will remove it once the UI is updated)
* Updates the README.md to remove the SIGNALS_INDEX environment variable
* Updates the existing unit tests
* Adds more unit tests unit tests

For people writing the UI:
---
How do I check for the existence of a signals index?
See [scripts/signal_index_exists.sh](28937ebe00/x-pack/legacy/plugins/siem/server/lib/detection_engine/scripts/signal_index_exists.sh)
```sh
HEAD /api/detection_engine/index
```

How do I create a new signals index if my user has correct privileges?
See [scripts/post_signal_index.sh](28937ebe00/x-pack/legacy/plugins/siem/server/lib/detection_engine/scripts/post_signal_index.sh)
```sh
POST /api/detection_engine/index
```

How do I delete _everything_ of all signal indexes, policies, and templates for a particular space?
See [scripts/delete_signal_index.sh](28937ebe00/x-pack/legacy/plugins/siem/server/lib/detection_engine/scripts/delete_signal_index.sh)
```sh
DELETE /api/detection_engine/index
```

FAQ for people testing
---

What is the name of the index, policy, etc... per space?

If you're using the default space the index, policies, etc... will be:

```sh
.siem-signals-default
```

If you're using a custom space such as `test-space` they will be:

```sh
.siem-signals-test-space
```

If you set your `xpack.siem.signalsIndex` in your `kibana.dev.yml` to something such as:

```yml
xpack.siem.signalsIndex: .siem-signals-frank-hassanabad
```

And use the default space it will be:

```sh
.siem-signals-frank-hassanabad-default
```

And for a custom space such as `test-space` they will be:

```sh
.siem-signals-frank-hassanabad-test-space
```


What is the policy that is being set?

See: [signals_policy.json](28937ebe00/x-pack/legacy/plugins/siem/server/lib/detection_engine/routes/index/signals_policy.json)

```json
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "rollover": {
            "max_size": "10gb",
            "max_age": "7d"
          }
        }
      }
    }
  }
}
```

What is the boot strap index that is being set look like?

See: [create_bootstrap_index.ts](28937ebe00/x-pack/legacy/plugins/siem/server/lib/detection_engine/index/create_bootstrap_index.ts)

You should see this when running:

```sh
 ./get_signal_index.sh | less
```

```json
  ".siem-signals-default-000001": {
    "aliases": {
      ".siem-signals-default": {
        "is_write_index": true
      }
    },
```

What is the template that is being set look like?

See: [get_signals_template.ts](28937ebe00/x-pack/legacy/plugins/siem/server/lib/detection_engine/routes/index/get_signals_template.ts)

You should see this at the bottom when running:

```sh
./get_signal_index.sh
```

```json
    "settings": {
      "index": {
        "lifecycle": {
          "name": ".siem-signals-default",
          "rollover_alias": ".siem-signals-default"
        },
        "number_of_shards": "1",
        "provided_name": ".siem-signals-default-000001",
        "creation_date": "1575502837772",
        "number_of_replicas": "1",
        "uuid": "GB0h3AYRQD6AWl8OfNonJA",
        "version": {
          "created": "8000099"
        }
      }
    }
```

For more in-depth of testing of spaces using dev tools of Kibana
---

Different testing scenarios involving having spaces set in the URL, vs not having spaces set. Also different testing scenarios involving having a developer based `xpack.siem.signalsIndex` being set vs not having one set and gettin the default of `.siem-signals`

With a default space and kibana.dev.yml setting of:
 * xpack.siem.signalsIndex: .siem-signals-frank-hassanabad

You can use dev tools to check the results after doing a `./post_signal_index.sh`

``` sh
GET /_template/.siem-signals-frank-hassanabad-default
GET /.siem-signals-frank-hassanabad-default-000001
GET /_ilm/policy/.siem-signals-frank-hassanabad-default
GET /_alias/.siem-signals-frank-hassanabad-default
```

With a default space and no `kibana.dev.yml` setting, you can use dev tools to check the results after doing a `./post_signal_index.sh`

```sh
GET /.siem-signals-default
GET /_template/.siem-signals-default
GET /.siem-signals-default-000001
GET /_ilm/policy/.siem-signals-default
GET /_alias/.siem-signals-default
```

Setting a space through:
```sh
export SPACE_URL=/s/test-space
```

With a default space and `kibana.dev.yml` setting using a user name such as mine:
 * xpack.siem.signalsIndex: .siem-signals-frank-hassanabad

You can use dev tools to check the results after doing a `./post_signal_index.sh`

```
GET /.siem-signals-frank-hassanabad-test-space
GET /_template/.siem-signals-frank-hassanabad-test-space
GET /.siem-signals-frank-hassanabad-test-space-000001
GET /_ilm/policy/.siem-signals-frank-hassanabad-test-space
GET /_alias/.siem-signals-frank-hassanabad-test-space
```

With a default space and no `kibana.dev.yml` setting, you can use dev tools to check the results after doing a `./post_signal_index.sh`

``` 
GET /.siem-signals-test-space
GET /_template/.siem-signals-test-space
GET /.siem-signals-default-test-space-000001
GET /_ilm/policy/.siem-signals-test-space
GET /_alias/.siem-signals-test-space
```

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~

~~- [ ] 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)~~

~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~

- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~

- [x] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)
2019-12-05 23:36:10 -07:00
spalger
c8c3e51e2b skip flaky suite (#52246) 2019-12-05 22:10:16 -07:00
Dan Roscigno
84bba66e1d Add tutorial for using RBAC with Spaces (#52197)
* add spaces with RBAC tutorial

* add tutorial

* removed extra dir

* revert

* init tutorial

* link tutorial

* fix images dir

* fixed links

* editing

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* show path

* added path to crate user

* rearrange

* remove image

* specify admin role

* replace we with you

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* remove excess words

* remove excess words

* spelling

* spelling

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/security/rbac_tutorial.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* resolve reviewer comments

* review updates

* address review comments

* removed monitor cluster priv

* reviewer comments
2019-12-05 17:01:04 -08:00
Justin Kambic
e58110a9ae
[Uptime] Migrate Uptime server routing to new platform (#51125)
* Move a REST endpoint and the GQL endpoint to NP routing.

* Delete obsolete REST endpoint.

* Update remaining REST routes to work with NP router.

* Remove obsolete code, update some unit tests.

* Simplify route creation.

* Remove tests of API decommissioned API endpoint.

* Rename domain check.

* Make return shape of index pattern endpoint correspond to required NP resp body.

* Move validate to appropriate level of route definition object for monitor details endpoint.

* Update snapshot count route.

* Fix broken lint rule.

* Remove usages of Boom.

* Fix license router creation.
2019-12-05 16:07:56 -05:00
Greg Thompson
58635a29dc
Upgrade EUI to v16.1.0 (#52088)
* eui 16.1.0

* snapshot udpates

* more snapshot updates

* enqueueStateChange mock, resulting snapshot updates
2019-12-05 14:59:21 -06:00
Thomas Neirynck
b5d1260167
[Coordinate map] Sanitize WMS attribution (#52309)
Sanitize the WMS-attribution input before displaying it in the leaflet-attribution control.
2019-12-05 15:55:26 -05:00
Thomas Neirynck
a70a8f26e8
[Maps] Load mapbox-gl with static worker (#51675)
This instructs mapbox-gl to load its workers using a static script. It removes the corresponding child-src CSP-rule from the policy. It retains the worker-src rule as it is required by the ace-editor in Dev-tools.
2019-12-05 15:53:59 -05:00
Spencer
8e8571bae0
[ci/reportFailures] --dry-run is overloaded, split it up (#52314)
* [ci/reportFailures] --dry-run is overloaded, split it up

* force some failures to verify the fix

* Revert "force some failures to verify the fix"

This reverts commit cf2a58e139.

* update readme to mention new flags

* remove unnecessary commas
2019-12-05 13:25:37 -07:00
Melissa Alvarez
8eb1984a8d
[ML] DF Analytics: add description field to job creation and display in jobs list (#52217)
* add job description input to creation form

* wip add description to expanded row

* add description to analytics list table

* update jest test

* description input to 2 rows and update types

* update type
2019-12-05 13:13:41 -07:00
Nathan L Smith
6b410a5506
[APM] Expose and reorganize platform config (#52325)
Add `exposeToBrowser` to the config object's we're using in the server config.

Update our shim and usage of these config variables to match.
2019-12-05 14:10:37 -06:00
Rashmi Kulkarni
846912a9c9
moved security to OSS/common (#52322) 2019-12-05 12:03:35 -08:00
Shahzad
931cf220c9
[Uptime] Fixed failing unit test because of timestamp in snapshot (#52302)
* fixed test

* update snaps
2019-12-05 19:30:48 +01:00
Dmitry Lemeshko
9f024b8067
do not use stdoutsocket for console logs on Windows (#52208) 2019-12-05 18:42:04 +01:00
Spencer
b66415e416
[xpack/ftr/common] follow service provider conventions (#52236)
* [xpack/ftr/common] follow conventions, expose a config file

In order to make xpack/test/common ftr config easier to work with, this updates it to follow the conventions established by most other configs of exposing all services from the services module as an object that can be easily merges into local services modules.

* common config file and FtrProviderConfig are unused and unnecessary

* turns out FtrProviderContext was used...
2019-12-05 10:16:17 -07:00
Tyler Smalley
05fd394325 [skip-test] [Uptime] MostRecentError component renders properly with empty data 1
https://github.com/elastic/kibana/issues/52288

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-12-05 08:11:42 -08:00
Spencer
8122b8b908
[precommit hook] resolve relative file paths from cwd (#52157) 2019-12-05 09:08:01 -07:00
Spencer
3c55e55b7a
[failed_tests_cli] update reports with links to github issues (#52048)
* [failed_tests_cli] update reports with links to github issues

* reorder test report hooks so that published Junit includes modified reports

* force failures and enable dry-run mode for debugging

* auto-switch to --dry-run when running in non-tracked branches/prs

* add --skip-junit-update flag to skip mutating the reports

* remove comma after URL to support auto-linking in Jenkins

* Revert "force failures and enable dry-run mode for debugging"

This reverts commit ac0c287a3f.

* fix method call

* extend TestResult to include relevence flag rather than wrapping

* fix createFailureIssue() tests

* make report messages more consistent, append when not dry-run

* rename module

* update snapshots to not contain valid xml

* don't send authorization header if no token defined

* merge with master modified fixtures
2019-12-05 08:46:27 -07:00
Brandon Kobel
d4f604783f
Fix elasticsearch.ssl.alwaysPresentCertificate default (#52242)
* Fixing the default for elasticsearch.ssl.alwaysPresentCertificate

* Updating snapshot
2019-12-05 09:51:16 -05:00
Victor Martinez
9ee67fb6a1
ci(jenkins): enable APM UI e2e tests (#48109) 2019-12-05 13:55:43 +00:00
Søren Louv-Jansen
47dcf87e79
[APM] Quick fix for ACM to ensure more than 10 items are displayed (#52262)
* [APM] Quick fix for ACM to ensure more than 10 items are displayed

* Fix snapshot
2019-12-05 14:46:42 +01:00
Thomas Watson
fb4a6aa21a
Add example apm.dev.js config file to CONTRIBUTING.md (#52206) 2019-12-05 14:45:44 +01:00
Ahmad Bamieh
9fe302cf17
[Cloud] move cloud plugin to np (#51789)
* move cloud dir to plugins from legacy

* first iteration moving to NP

* config as observable

* finish plugin

* migrate xpack.cloud.apm.*

* self code review

* remove unused lodash get

* use lodash get to get configs

* export SerializedDatatable

* eslint fix

* eslint fix

* fix setup type

* fix monitoring tests

* fix test mock function

* resolve ELASTIC_SUPPORT_LINK in core

* running check_core_api_changes script

* review feedback

* mock setHelpSupportUrl

* update snapshots
2019-12-05 08:20:28 -05:00
Shahzad
a096254eb7
[Uptime] Expanded list update most recent error timestamp (#51935)
* update most recent error timestamo

* update snaps

* update snap
2019-12-05 14:14:27 +01:00
Shahzad
c40a3b0e17
[Uptime] Fix/issue 116 fix monitor list pageination arrows (#51912)
* fix pagination arrows for smaller screens

* updated arrow color

* make pagingationa arrow sizing consisten
2019-12-05 14:01:40 +01:00
Anton Dosov
2ffc698a9b
[State Management] Move HashedItemStore to kibana_utils plugin. Make it stateless on memory level. (#52172)
HashedItemStore was also moved to the kibana_utils plugin
2019-12-05 13:32:20 +01:00
Shahzad
abaf0099d0
[Uptime] Added eui spacers around callout in expanded row (#51843)
* added eui spacers around callout

* updated snaps
2019-12-05 12:03:28 +01:00
Alejandro Fernández Haro
bd3857a79b
[NP] Expose global config to the plugins (#51478)
* [NP] Expose global config to the plugins

* globalConfig in Plugin context: expose read-only methods only

* SharedGlobalConfig rework + Moving pkg, fromRoot & path utils from legacy to NP

* Updated API docs

* Fix test references to the moved utils

* Replace zip with combineLatest

* Change tests to describe/it + remove "(deprecated)" from the test description

* Moving path files to a folder + exposing the config path in the contract

* deepFreeze the globalConfig in the pluginContext

* Fix types in tests with new path.config

* Move fromRoot and package_json utils to core/server/utils

* Rename globalConfig to legacy.globalConfig$

* path.config renamed to path.configDir (not renaming path.data because it might be a breaking change)

* Change configDir in mocker as well

* Fix test after config renamed to configDir

* Fix API docs conflicts

* Rename the path properties when exposing them

* path.configDir removed from the path config-schema

* Remove path.configDir. It is already in env.configs

* Add Migration documentation and examples

* Fix 'kibana/server' imports in the MIGRATION docs
2019-12-05 10:25:32 +00:00
Garrett Spong
f21d5ada5a
[SIEM] Adds Signals Table and additional configuration options to StatefulEventsViewer (#52044)
## Summary

This is `Part I` of `II` for adding the `Signals Table` to the main Detection Engine landing page ([meta issue](https://github.com/elastic/kibana/issues/50405)). Breaking into two parts as this contains additional configuration options to the `StatefulEventsViewer` which will be used as part of https://github.com/elastic/kibana/issues/51016.

`Part I` includes:
* `SignalsTable` component that displays signals from the default signals index `.siem-signals`
* Refactors `StatefulEventsViewer` to use `useFetchIndexPatterns` hook instead of `WithSource`
* Adds ability to specify `alias` to `ColumnHeader` when providing column names
* Adds the following new props to `StatefulEventsViewer`
  * `defaultIndices?: string[]` -- for specifying a different index than `siemDefaultIndex`
  * `headerFilterGroup?: React.ReactNode` -- for providing a component to display in the top right of the table (e.g. filter buttons, select, etc.)
  * `timelineTypeContext?: TimelineTypeContextProps` -- config for when creating a new table
    * `documentType?: string` -- user string for type of records displayed (e.g. Signals)
    * `footerText?: string` -- custom footer text for given document type
    * `showCheckboxes: boolean` -- whether or not to show selection checkboxes
    * `showRowRenderers: boolean` -- whether or not to show row renderers
    * `timelineType: TimelineType` -- type of Timeline for setting default columns
    * `title?: string` -- optional custom title
  * `utilityBar?: (totalCount: number) => React.ReactNode` -- optional param for providing your own custom `UtilityBar` instead of using the default `Showing xxx events`.

`Part II` will add support for selection and overflow/batch actions.

<img width="1548" alt="Screen Shot 2019-12-02 at 19 59 34" src="https://user-images.githubusercontent.com/2946766/70016801-89aa0c80-153e-11ea-9dbf-b7b8648fb260.png">

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

- [x] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)
- [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)
  * Note: some placeholders were moved to their own files, and so some raw strings will still exist
- [ ] ~[Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~
- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
- [ ] ~This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~

### For maintainers

- [ ] ~This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~
- [ ] ~This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~
2019-12-04 23:11:58 -07:00
Michail Yasonik
e8f3fa91d9
Updating accessibility guide and contributing readmes (#52038)
* updating accessibility guide and contributing readmes

* updating dev docs
2019-12-04 19:11:16 -06:00
Phillip Burch
0603ae6ca9
Don't allow duplicate saved views with the same name (#52040)
* Don't allow duplicate saved views with the same name

* Change logic to make it a little easier to reason about

* Change error names
2019-12-04 17:44:51 -06:00
Patrick Mueller
66c7ae6eb4
Whitelist email server in built-in email server action - second try (#52221)
resolves https://github.com/elastic/kibana/issues/50721

note this branch was previously merged into master and then reverted: https://github.com/elastic/kibana/pull/51489 (prior PR made shape changes this one didn't take into account)

Uses the same whitelist config value / utilities that the webhook
action already uses. Was already mentioned in the README doc
that email uses this whitelist config value :-)

Required a change to the functional tests to use a host already
whitelisted in config, made for the the webhook action tests.

Also realized some jest tests on email were bogus, so fixed those
(was passing `user` in config, which is invalid, and masking the
actual thing being tested).
2019-12-04 16:08:29 -05:00
Phillip Burch
a74a129b26
[Metrics-UI] Port graphql query for snapshot and node details to hapijs (#50730)
* Port graphql query for snapshot to hapijs

* fix type

* Remove graphql from node details.

* Use boom for error handling.

* Remove unused imports

* Remove dead code. Merge types

* Fix tests

* Remove unused import

* Rename types

* Go all in on io-ts. Cleanup types

* Fix typecheck
2019-12-04 14:32:38 -06:00
Lisa Cawley
04ec9a231a
Fixes outdated URLs (#52104) 2019-12-04 10:54:14 -08:00
Poff Poffenberger
91df8c0733
Move new Code Editor component to kibana_react so it can be used through Kibana (#45914) 2019-12-04 12:53:42 -06:00
Mike Côté
98060ef790
Remove index pattern requirement when doing a nested query in KQL (#52023) 2019-12-04 13:34:28 -05:00
spalger
bd41b83c18 skip flaky suite (#40670) 2019-12-04 11:25:13 -07:00
spalger
7d14c90f8d Revert "Whitelist email server in built-in email server action (#51489)"
This reverts commit 4ce703e409.
2019-12-04 11:04:10 -07:00
Xavier Mouligneau
b0c5aa9ff0
add validation for nested filter in find API (#51847) 2019-12-04 12:59:22 -05:00
Catherine Liu
6f7dfebcba
[Canvas] Fixes axisConfig position argument UI (#50717) 2019-12-04 10:44:32 -07:00
Devin W. Hurley
3d661c12fb
[SIEM] [Detection Engine] updates shape of mitre attack threats when creating / updating detection engine rules (#52200) 2019-12-04 12:14:18 -05:00
Aaron Caldwell
b001e70e2a
[Maps] Add basic NP shim to Maps app and expose map config (#51683)
* Move plugin init calls to new plugin file, update refs and bind to legacy var. Assume ref for license init

* Bind server calls to __LEGACY var and pass to plugin setup

* Expose map config externally

* Pass in NP features and licensing plugins to replace some xpack_main functionality

* Pass through legacy server config for routes dependency

* Expose map config for legacy plugins

* Remove unused legacy refs

* Update license check to conform with latest NP license practices

* Clean up

* Revert to old license check. Handle NP license checking in separate PR

* Add back the license check file
2019-12-04 10:04:56 -07:00
Mikhail Shustov
b6ba8ca30f
add links to plugin manifest file format. add naming conventions (#51280)
* add links to plugin manifest format

* remove obsolete comment

* address comments. add registry folder to file structure tree

* revert back not confirmed conventions
2019-12-04 17:41:36 +01:00
Robert Oskamp
21edc28ed3
[ML] Add functional tests for analytics UI (#52054)
This PR adds functional UI tests for outlier detection and regression job creation.
2019-12-04 17:20:38 +01:00
Patrick Mueller
4ce703e409
Whitelist email server in built-in email server action (#51489)
resolves https://github.com/elastic/kibana/issues/50721

Uses the same whitelist config value / utilities that the webhook
action already uses. Was already mentioned in the README doc
that email uses this whitelist config value :-)

Required a change to the functional tests to use a host already
whitelisted in config, made for the the webhook action tests.

Also realized some jest tests on email were bogus, so fixed those
(was passing `user` in config, which is invalid, and masking the
actual thing being tested).
2019-12-04 10:30:42 -05:00
Stacey Gammon
4a9d77fd10
Add a section on naming conventions for Start and Setup (#51676) 2019-12-04 10:29:02 -05:00
CJ Cenizal
ffdd392222
Silence Axe's complaints about missing labels for Console's textarea elements, in order to allow our automated a11y tests to pass. (#52150) 2019-12-04 07:19:39 -08:00