* Migrated uiSettings items to new platform
* API changes
* Fixed translations
* Fixed comment and i18n
* Fixed tests
* Fixed internalization
* Fix karma tests
* made code more explicit
* Fixed plugin
* Added consts for ui settings ids.
* Added id for another settings
* Fixed tests.
* Improved imports
* Fix imports to public which were happening from the server.
* Fixed paths
* Moved styles to plugin.ts
* Moved styles
* Fixed docs
* Fix ci
* Fix ci
* fix documentation
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
* move code dir. to management/pages
* Make hosts appear on endpoints tab
* Add support for `className` to `<FormattedDate>` component
* add FormattedDate to Host list to display last seen date
* Add context variables for metric, value and threshold with descriptions
* Remove timestamp from this PR
* sentences are hard
* Fix lint rules
* Add more usage examples
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Allowing the categories to be specified for related events
* Adding checks in the api tests for the stats
* Adding more comments
* Allow array or number of cateogires generation and fix up comment
* Fixing type error
* Renaming to byCategory
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* implements `extends` to `ObjectSchema`
* add unit tests
* use expectType for types assertions
* allow to extends options
* add comment about deep extend
This fixes#64870 _for real_.
The issue ended up being caused by a
conditional form field that mapped to a nested field on the rule's
params: when a rule is created with an action, it has a
meta.kibana_siem_app_url field. When the rule's actions were removed via
the UI, that field was _also_ removed, which broke AAD and thus rule
execution.
This fixes the issue by making that field unconditional, and also
removes the previous workaround.
* create newJob route and start of wizard
* wip: create configStep component
* finish configStep form and details
* wip: create andvanced step components
* create details step component
* createStep component
* ensure advanced options are correct for each job type
* add validation to each step
* use custom table for excludes
* move customSelectionTable to shared components
* form validation for advanced fields
* wip: source index selection modal
* add source index preview
* update details
* ensure advanced parameters added to config on creation
* can create job from savedSearch. can set source query in ui
* validate source object has supported fields
* eslint updates
* update tests. comment out clone action for now
* add create button to advanced editor
* remove deprecated test helper functions
* fix translation errors
* update help text. read only once job created.
* fix functional tests
* add nextStepNav to df service for tests
* fix excludes table page jump and hyperParameter not showing in details
* fix checkbox width for custom table
### Summary
The ExceptionViewer is a component that displays all of a user's exception list items. It will allow them to delete, edit, search and add exception items.
This is part 1 of the UI for the ExceptionViewer. Trying to keep PRs relatively small and found this was one way to split it up. This first part accomplishes the following:
- adds helper functions that will be used in the ExceptionBuilder as well and offer ways to format and access the new exception list item structure
- creates ExceptionItem component, this is the component that displays the exception item information
- moves the and_or_badge component into the common folder
- adds stories for the ExceptionItem to easily test changes (Note that the color of some things like the and_or_badge is a bit off, as the light gray color used for it isn't picked up in the mock eui theme)
* add skeleton for global_search plugin
* base implementation of the server-side service
* add utils tests
* add server-side mocks
* move take_in_array to common folder
* implements base of client-side plugin
* add tests for server-side service
* fix server plugin tests
* implement `navigateToUrl` core API
* extract processResults for the client-side
* fetch server results from the client side
* factorize process_results
* fix plugin start params
* move things around
* move all server types to single file
* fix types imports
* add basic FTR tests
* add client-side service tests
* add tests for addNavigate
* add getDefaultPreference & tests
* use optional for RequestHandlerContext
* add registerRoutes test
* add base test for context
* resolve TODO
* common nits/doc
* common nits/doc on public
* update CODEOWNERS
* add import for declare statement
* add license check on the server-side
* add license check on the client-side
* eslint
* address some review comments
* use properly typed errors for obs
* add integration tests for the find endpoint
* fix unit tests
* use licensing start contract
* translate the error message
* fix eslint rule for test_utils
* fix test_utils imports
* remove NavigableGlobalSearchResult, use `application.navigateToUrl` instead.
* use coreProvider plugin in FTR tests
* nits
* fix service start params
* fix service start params, bis
* I really need to fix this typecheck oom error
* add README, update missing jsdoc
* nits on doc
* [ML] WIP filter support
* [ML] value selector
* [ML] only supported filter aggs as options
* [ML] WIP apply config
* [ML] fix form persistence
* [ML] refactor
* [ML] support clone
* [ML] validation, get es config
* [ML] support "exists", fixes for the term form, validation
* [ML] fix ts issues
* [ML] don't perform request on adding incomplete agg
* [ML] basic range number support
* [ML] filter bool agg support
* [ML] functional tests
* [ML] getAggConfigFromEsAgg tests
* [ML] fix unit tests
* [ML] agg name update on config change, add unit tests
* [ML] update snapshot
* [ML] range selector enhancements
* [ML] improve types
* [ML] update step for range selector to support float numbers
* [ML] range validation
* [ML] term selector improvements
* [ML] fix switch between advanced editor
* [ML] prefix test ids
* [ML] support helper text for aggs item
* First iteration of xjson in monaco
* Throwaway implementation in painless lab - THIS MUST BE REVERTED
* WiP on build process for new kbn-lang package
* new @kbn/langs package and update ui-shared-deps
* Update jest config for new work files
* Update painless lab -- REVERT THIS COMMIT
* Create shared useXJson mode hook
* Final update to using the new shared useXJsonMode hook -- REVERT
* Created @kbn/monaco and share through shared deps
* always access monaco through `@kbn/monaco`
* use path.resolve to create path
* add basic readme
* remove console.log call
* remove typescript support from ui-shared-deps webpack config
* use `@kbn/babel-preset`
* include the monaco styles in the kbn-ui-shared-deps
* sort package.json
* build worker at bootstrap rather than commiting to repo
* only build worker, don't pre-bundle monaco
* fix type check errors
* remove section from readme about committed dist
* keep editor.worker.js postfix
* forgot to save update to import
* license package as apache-2.0
* Added regenerator runtime for worker bundle
* revert changes to painless lab
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* First iteration of data streams in index management
- Added the data streams column
- Moved state down to component (using withRouter)
- Removed previous middleware for syncing url hash param
- call history.push to update the url in the component
* Updated jest tests
* refactor: includeHidden -> includeHiddenIndices
* Fix types
* Fix jest test and remove getting filter param from parent
* Small refactor to read url params in render function
* Clean up old data streams code
* Fix sorting on data stream field in table
* dataStream -> data_stream
* qs > * as qs
* rename siem to security_solution
* rename siem to security solution inside of code
* rename translation keys
* fix snapshot
* replace siem for security solution in tutorial
* missing translation to be renamed
* fix types for api test integration
* updates runner file to match the new path
* change category for kibana settings
* miss renaming in advance settings
* fixes cypress tests
* fix api integration test
* fix new translation
* fix unit test
* update translation i18n
* update translation i18n II
Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
* chore(NA): remove config arg from os packages
* chore(NA): remove args from exec on init d
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Reporting] Move code out of Legacy
* Elasticsearch is not a plugin dep
* add data as plugin dependo
* diff cleanup 1
* log the browser download
* Update paths in outside code for new Reporting home
* fix download test
* add numeral typing for x-pack/test
* Fix jest tests for np migration
* Shorten import paths
* remove this file, add typings to the node module
* remove local typing that has been provided by node module
* Add optional security plugin dep
* revert conflicting apm typings removal
* fix i18n
* fix snakecase whitelist
Co-authored-by: Joel Griffith <joel.griffith@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Metrics UI] Add overrides to Snapshot API to support alert previews
* Renaming tests from infra to metrics_ui; renaming waffle to snapshot; adding tests for overrides
* removing limit and afterKey; removing extra interval
* Setting the minimum value for lookbackSize