* add analytics map endpoint and server model
* add map action to job and models list
* wip:fetch models for jobs. Use url generator
* get models when extending node. deduplicate elements
* add job type icons. disable map action if job not finished.
* move shared const to common dir
* persist map tab. handle indexPattern from visualizer
* use url generator in models list
* temporarily disable delete action in flyout
* update legend style. make map horizontal
* update dfa model to use spaces changes
* format creation time
* update from indexPattern to index.remove refresh button
* handle index patterns with wildcard
* Expose `registerExtension()` interface on `Plugin#start`
* Refactor use of `CustomConfigurePackagePolicy` to the new registerExtension approach
* Refactor to always show registered ui extension (even if Integration has configuration options)
This PR includes the following refactors:
1. Moves the Index Pattern Api from _Stack Alerts_ to the _Server_ plugin of _Trigger Actions UI_. This fixes a potential bug where a user could disable the _Stack Alerts_ plugin and inadvertently break the UI of the _ES Index _ action type.
2. Extracts the UI components for _Index Threshold_ and _Geo Threshold_ from the _Trigger Actions UI_ plugin and moves them into _Stack Alerts_.
## Summary
* Move stream utility functions from `server/services/epm/registry/streams.ts` to `server/services/epm/streams.ts`
* They're only used in registry at the moment but aren't specific to registry
* Move archive extraction functions from `server/services/epm/registry/extract.ts` to `server/services/epm/archive.ts`
* The Registry isn't the only service/code which needs to extract packages. Continue consolidating archive-related code under archive vs registry
* Fix CURRENT_MAJOR_VERSION for use in Elastic docs links
- Was previously just sending (e.g.) "7". instead of "7.9"
* Add App Search DOCS_PREFIX constant
- follow WS's example
* Update all App Search doc links to use prefixed URLs
- except for Enterprise Search setup guide, which should be updated to use a shared URL at some point in any case
* Moved out type for OperatingSystem and moved OS translations one level higher.
* Changed the translation to be consistent between trusted apps and policy.
* Unified translations of OS types between trusted apps and policy.
* Removed unused types.
* Added registered AV form section.
* Changed the property structure to match the format expected by endpoint.
* Fixed the visual alignment of titles in the form and added responsiveness.
* Updated snapshots.
* Moved out type for OperatingSystem and moved OS translations one level higher.
* Added config form heading component.
* Cleaned up translations.
* Fixed type error with initialization.
* Fixed error in trusted app creation form test.
* Removed the guard for now in favour of better initialization.
* Fixed the store test.
* Fixing functional test data.
* Added functional test config option to account for a custom header within security app.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
resolves https://github.com/elastic/kibana/issues/79785
Until now, the execution status was available in the the event
log document for the execute action. In this PR we add it.
The event log is extended to add the following fields:
- `kibana.alerting.status` - from executionStatus.status
- `event.reason` - from executionStatus.error.reason
The date from the executionStatus and start date in the event
log will be set to the same value.
Previously, errors encountered while trying to execute an
alert executor, eg decrypting the alert, would not end up
with an event doc generated. Now they will.
In addition, there were a few places where events that could
have had the action group in them did not, and one where the
instance id was undefined - those were fixed up.
* [ML] table config in the URL state
* [ML] fix job list on the management page
* [ML] store query filter in the URL
* [ML] fix context for the management page
* [ML] update module_list_card.tsx in Logs UI
* [ML] fix unit tests
* [ML] fix unit tests
* [ML] fix unit tests
* [ML] move utils functions
* [ML] url generator to support both job and group ids
* Add index template link to data stream details
* Fixed ILM policy link and added a check for index template name after navigation
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Packages/Archives aren't limited to the registry any longer. Continue moving file- & cache-related functions from services/registry to services/archive.
Move `getAsset` and `pathParts` to archive/index. The behavior is the same for now, but it's more accurate to separate these from registry namespace.
Registry has `fetch*` and other functions for dealing with the online service.
...and into x-pack.
Also remove `PromiseReturnType` from APM and use the copy in observability everywhere.
All of the additional changes to APM imports are just automatic sorting.
This makes doing #77720 a little easier and removes some implicit circular dependencies for #80508.
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
* [Workplace Search] Consolidate groups routes
This PR consolidates all of the groups route resgistration functions into a single export so that the `registerWorkplaceSearchRoutes` function only has to call the top-level routes
* Remove redundant test
* [Workplace Search] Add routes for Sources
This change updates the logstash pipeline management plugin to use
pipeline management APIs in Elasticsearch rather than directly
accessing the .logstash index. In Elasticsearch 8.0, direct access to
system indices will no longer be allowed when using standard APIs.
Given this change, a new set of APIs has been created specifically for
the management of Logstash pipelines and this change makes use of the
APIs.
Co-authored-by: Kaise Cheng <kaise.cheng@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
ES:#53350
LS:#12291
* Fix detection of 4xx errors in grokdebugger simulate endpoint
- removed code to call simulate endpoint from "KibanaFramework"
- fixed throwing of string value
- using new elasticsearch client instead of legacy
- handle error with shared error handling logic
* added deprecation notice to register route on KibanaFramework
* remove deprecation notice