Thomas Watson
cbf006c2a0
Bump handlebars dependency from 4.5.3 to 4.7.6 ( #64402 )
2020-04-24 19:20:15 +02:00
Justin Kambic
e918c43535
[Uptime] Update TLS settings ( #64111 )
...
* Refactor settings form event handling and modify certs fields.
* Fix/improve broken types/unit/integration/api tests.
* Modify default expiration threshold.
* Rename test vars.
* Implement PR feedback.
* Refresh snapshots, fix broken tests/types.
* Remove unnecessary state spreading.
* Add type for settings field errors.
* Refresh test snapshots.
* Improve punctuation.
2020-04-24 12:53:28 -04:00
Gidi Meir Morris
a012ddf9df
[alerting] removes usage of any throughout Alerting Services code ( #64161 )
...
This removes unneeded use of `any` throughout:
1. alerting
2. alerting_builtin
3. actions
4. task manager
5. event log
It also adds a linting rule that will prevent us from adding more `any` in the future unless an explicit exemption is made.
2020-04-24 17:04:36 +01:00
Corey Robertson
4051c94568
[CANVAS] Moves notify to a canvas service ( #63268 )
...
* Moves notify to a canvas service
* Typecheck fix
2020-04-24 10:53:27 -04:00
Corey Robertson
dfddcdd903
[Canvas] Misc NP Stuff ( #63703 )
...
* Timelion function -> np
* embeddable renderer -> np i18n context
* ui_metric -> np
* Fix timelion issue
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-24 10:39:54 -04:00
Gil Raphaelli
103a3cd11c
update apm index pattern ( #64232 )
2020-04-24 10:29:20 -04:00
Candace Park
fb70f01eff
Task/hostlist pagination ( #63722 )
...
* hostlist pagination for endpoint security
2020-04-24 10:01:06 -04:00
Maryia Lapata
2ace269a26
[NP] Vega migration ( #63849 )
...
* Vega migartion
* Move mocha tests to legacy
* Fix TS
* Update .i18nrc.json
* Move mocks to vis_type_vega
* Fix issue with babel and vega deps
* Update mocha test
* Mock services
* Update vega_request_handler.ts
* don't parse vega-lib/build/vega.js
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-04-24 16:25:08 +03:00
Daniil Suleiman
9bda6bde83
Move ensureDefaultIndexPattern into data plugin ( #63100 )
...
* Move ensure_default_index_pattern into data plugin
* Update docs to include ensureDefaultIndexPattern
* Fix translations
* Move helper into index_patterns service
* Update docs
* Remove mock
* Add mock
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-24 16:20:32 +03:00
Nicolas Chaulet
0dcefe8dbc
[Fleet] Fix agent status count to not include unenrolled agents ( #64106 )
2020-04-24 09:01:23 -04:00
Matthias Wilhelm
6d099d0a4f
Migrate graph_workspace saved object registration to Kibana platform ( #64157 )
...
* Migrate graph_workspace saved object registration to Kibana platform
* Remove legacy plugin 🎉
2020-04-24 14:55:43 +02:00
Uladzislau Lasitsa
66074f9042
Index pattern management UI -> TypeScript and New Platform Ready (edit_index_pattern) ( #64184 )
...
* draft
* Converted edit_index_pattern to React. Created 'tab' component.
* Some fixes
* returned state_container
* Fixed tests and translation
* Some refactoring
* Fixed tests
* rermove unused translations
* update snapshots
* Some refactoring
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Matt Kime <matt@mattki.me>
2020-04-24 14:56:59 +03:00
Walter Rafelsberger
4eb971c8c3
[ML] EuiDataGrid ml/transform components. ( #63447 )
...
Cleanup and consolidation of code related to EuiDataGrid. The transform wizard source and pivot preview table as well as the data frame analytics results pages now share a common code base related to data grid tables.
To avoid tight coupling of components and hooks, the hooks are not within the common data grid component. Instead the hooks need to be used on the outer wrapping component and the results will be passed as props to the data grid component. This allows us to pass data from different data sources (transform index source, pivot previews, analytics results) into a shared component.
2020-04-24 13:38:27 +02:00
James Gowdy
b3c7002799
[ML] Moving to kibana capabilities ( #64057 )
...
* [ML] Moving to kibana capabilities
* fixing types
* renaming privilges
* renaming privileges to capabilities
* renaming resolvers
* correcting admin capabilities
* fixing includes
* removing any types
* renaming type
* readding spaces
* adding capabilities switcher
* updating comment
* removing unnecessary failing tests
* adding error to log
2020-04-24 12:08:19 +01:00
Daniil Suleiman
6bb751540b
Move input_control_vis into NP ( #63333 )
...
* Move input_control_vis into NP
* Change config paths
* Clean up
2020-04-24 11:49:02 +03:00
Joe Reuter
6d25d78f1a
remove reference to local application service in graph ( #64288 )
2020-04-24 10:20:35 +02:00
Alexey Antonov
321430ecad
KQL removes leading zero and breaks query ( #62748 )
...
* KQL removes leading zero and breaks query
* correctly parse numbers started from '.'
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-24 10:34:27 +03:00
Alexey Antonov
d53997742b
[FieldFormats] Cleanup: rename IFieldFormatType -> FieldFormatInstanceType ( #64193 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-24 10:32:34 +03:00
István Zoltán Szabó
222fba5ddc
[ML] Changes transforms wizard UI text ( #64150 )
...
Co-Authored-By: Walter Rafelsberger <walter@rafelsberger.at>
2020-04-24 09:01:51 +02:00
Patrick Mueller
59a946394d
[Alerting] change server log action type .log to .server-log in README ( #64124 )
...
The README for actions referenced the server log action type as having an id
of `.log`, but it's actually `.server-log`.
2020-04-23 23:09:17 -04:00
Chris Cowan
f37185fd8f
[Metrics UI] Design Refresh: Inventory View, Episode 1 ( #64026 )
...
* [Metrics UI] Design Refresh: Inventory View, Episode 1
* Removing unused i18n labels
* Removing obsolete code removed in previous PR
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 18:00:19 -07:00
Tiago Costa
e3ee02c687
chore(NA): reduce siem bundle size using babel-plugin-transfor… ( #63269 )
...
* chore(NA): reduce siem bundle size using babel-plugin-transform-imports for lodash
* fix(NA): dont use preventFullImport
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 17:43:34 -07:00
Tiago Costa
34de1aeb8b
chore(NA): use core-js instead of babel-polyfill on canvas sha… ( #63486 )
...
* chore(NA): use core-js instead of babel-polyfill on canvas shareable runtime build
* chore(NA): include regenerator-runtime/runtime
* chore(NA): change import order between runtime and core js
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 17:42:34 -07:00
spalger
dd21b0b0a8
skip flaky suite ( #61173 )
2020-04-23 17:19:29 -07:00
spalger
a4e740ed3d
skip flaky suite ( #62497 )
2020-04-23 17:06:06 -07:00
Yuliia Naumenko
f520bbd754
Renamed ilm policy for event log so it is not prefixed with dot ( #64262 )
...
* Renamed ilm policy for event log so it is not prefixed with dot
* Fixed due to comments
2020-04-23 16:31:26 -07:00
Tyler Smalley
feed406c77
[eslint] no_restricted_paths config cleanup ( #63741 )
...
Major cleanup of the no_restricted_paths rule for imports of core.
For relative imports, we use eslint-module-utils/resolve which resolves
to the full filesystem path. So, to support relative and absolute
imports from the src alias we need to define both the directory and the
index including file extension.
This rule was handling both core imports, as well as imports from other
plugins. Imports from other plugins are being used much more liberally
allowed through the exceptions in tests. I choose to break these up,
removing this exception for tests for core imports.
Fixes:
Absolute imports of src/core/server/mocks were not allowed in src. This
was not an issue in x-pack due to the target excluding
!x-pack/**/*.test.* and !x-pack/test/**/*.
Non-top-level public and server imports were allowed from X-Pack tests
to the previously mentioned exclusion.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-04-23 15:59:01 -07:00
Nick Peihl
9e11bcb592
Add Oil Rig Icon from @elastic/maki ( #64364 )
2020-04-23 15:35:50 -07:00
Aaron Caldwell
97c7127589
[Maps] Migrate Maps embeddables to NP ( #63976 )
...
* Migrate maps embeddables. Clean up legacy presence
* Fix type error
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 16:30:32 -06:00
Jen Huang
9ad8b8f35f
[Ingest] Data streams list page ( #64134 )
...
* Clean up fleet setup request/response typings
* Add data stream model and list route, handler, and request/response types
* Initial pass at data streams list
* Table styling fixes
* Fix types, fix field names
* Change forEach to map
2020-04-23 14:14:13 -07:00
Tiago Costa
e1d787ae83
chore(NA): add file-loader into jest moduleNameMapper ( #64330 )
...
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 21:14:51 +01:00
Kaarina Tungseth
74a07b46d8
[DOCS] Added images to automating report generation ( #64333 )
...
* [DOCS] Added images to automating report generation
* Fixes image file name
2020-04-23 15:00:40 -05:00
Christos Nasikas
a145aa9d5e
[SIEM][CASE] Api Integration Tests: Configuration ( #63948 )
...
* Init
* Init get_connectors
* Test post_configuration
* Test patch_configuration
* Rename folder
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 22:42:22 +03:00
Larry Gregory
44f9cbcb60
Expose ability to check if API Keys are enabled ( #63454 )
...
* expose ability to check if API Keys are enabled
* fix mock
* Fix typo in test name
* simplify key check
* fix privilege check
* remove unused variable
* address PR feedback
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 15:23:39 -04:00
gchaps
a53d53369c
[DOCS] Fixes formatting in alerting doc ( #64338 )
2020-04-23 11:11:18 -07:00
Luke Elmers
e2baff36b8
[data.search.aggs]: Create agg types function for terms agg. ( #63541 )
...
* Minor cleanup on AggConfigJson interface.
* Add types for terms agg params & mapping.
* Add terms agg expression function.
* Register agg functions with expressions service.
* Add unit tests for terms expression function.
* Update API docs.
* AggConfigJson -> AggConfigSerialized
* Add serialize(), enforce serializable params, fix subexpressions in terms agg fn.
* Simplify getAggTypesFunctions
* it() -> test()
* Add help text.
* Ensure serialize() is used by agg param type.
* Add toExpressionAst to AggConfig.
* Add json arg to terms agg fn.
* Update docs.
* Fix typo which caused functional test failures.
* Add AggParam.toExpressionAst so AggConfig.toExpressionAst can return function ast instead of expression ast.
* Clean up overlooked items.
2020-04-23 11:39:38 -06:00
Aleh Zasypkin
95ac47d3d2
Allow IdP initiated SAML login with session containing expired token. ( #59686 )
2020-04-23 19:15:45 +02:00
Pete Harverson
09c2727d78
[ML] Adds API integration tests for data viz and fields endpoints ( #64165 )
...
* [ML] Adds API integration tests for data viz and fields endpoints
* [ML] Fix review comments and errors from settings endpoints
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 18:06:33 +01:00
Nick Partridge
bc6291349c
Update elastic charts v18.4.1 ( #64257 )
2020-04-23 11:59:19 -05:00
Josh Dover
3e0907fabf
Use runtime publicPath for KP plugin bundles ( #64226 )
2020-04-23 09:13:00 -06:00
Yuliia Naumenko
f7e1c17f28
Implemented do not return the config from the action APIs get and getAll ( #64266 )
2020-04-23 07:53:54 -07:00
Cauê Marcondes
46901f557b
[APM] Mark an Agent configuration as applied without etag attribute. ( #63967 )
...
* adding new attribute to mark config as applied
* changing query parameter name
* changing property name
* refactoring
* updating test description
2020-04-23 16:24:00 +02:00
Kaarina Tungseth
7acfbab9b4
[DOCS] Removed supported aggregations links from visualization pages ( #64244 )
2020-04-23 09:03:31 -05:00
Nicolas Chaulet
e3442b1b75
[Ingest] Encrypt secrets in fleet saved objects ( #63982 )
2020-04-23 08:55:33 -04:00
Tiago Costa
ebf55030b0
fix(NA): node module main field resolution for new platform ( #63886 )
...
* fix(NA): node module main field resolution for new platform
* chore(NA): remove browserify from kbn optimizer main fields
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 13:49:07 +01:00
Cauê Marcondes
bb89b6a48c
[APM] change span property name from child_ids to child.id ( #64209 )
2020-04-23 13:16:49 +02:00
Peter Pisljar
4d979930aa
moves all vis state updates into one place ( #61960 )
2020-04-23 13:08:00 +02:00
Alejandro Fernández Haro
dba2ffdd84
[Telemetry] Fix optIn telemetry report bug ( #64214 )
2020-04-23 11:26:43 +01:00
John Schulz
d37bee99aa
[Ingest] Move some server lifecycle types out of common. ( #64252 )
...
The AgentService, ESIndexPatternService, and IngestManager{Setup,Start}{Deps,Contract} values were in common, but they are server only.
2020-04-23 05:47:42 -04:00
Dario Gieselaar
8243fc4b41
Add APM paths to path-labeller.yml ( #63772 )
...
* Add APM paths to path-labeller.yml
* Sort alphabetically on labels
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 11:34:28 +02:00