* run mocha tests from x-pack with root mocha script
* Only run Karma tests in xpack intake job
* disable failing suites
* fix typo
* skip correct suite (there are multiple root suites)
* support disabling junit reporting with $DISABLE_JUNIT_REPORTER
* don't generate junit in ispec_plugin tests
* First part of context refactor
* Finised "hook"ing in to new context for old editor output. Also fixed passing through of content type
* Remove comment
* - update console history behaviour - don't scroll into view on click. Doesn't really make sense.
- make triple quote setting update in place
* Use np savedObjectsClient in indexing service
* Export File Upload UI via start since it requires initialization
* Pass services through top level react component props
* Handle basePath ref and 'kbn-version' for requests
* Bulk of logic for removing hapi server dependencies for server app
* Use request obj subset of original request
* Move startup logic over to server plugin file and call from index.js
* Update server tests
* Clean up
* Remove old makeUsageCollector export statement
* initServicesAndConstants in the start method instead of in the react component
* Review feedback
* Scaffold API endpoint
* Implement the API endpoint
* Implement API client
* Set error messages in `useAnalysisSetupState`
* Show validation errors next to the submit button
* Check for setup errors regarding the selected indexes
* Call validation only once
Enrich the `availableIndices` array with validation information to show
it later in the form.
* Ensure validation runs before showing the indices
* Adjust naming conventions
- Replace `index_pattern` with `indices`, since it means something
different in kibana.
- Group validation actions under the `validation` namespace.
* Move index error messages to the `InitialConfigurationStep`
* Move error messages to the UI layer
* Move validation call to `useAnalysisSetupState`
* Pass timestamp as a parameter of `useAnalysisSetupState`
* Fix regression with the index names in the API response
* Use `_field_caps` api
* s/timestamp/timestampField/g
* Tweak error messages
* Move `ValidationIndicesUIError` to `log_analysis_setup_state`
* Track validation status
It's safer to rely on the state of the promise instead of treating an
empty array as "loading"
* Handle network errors
* Use individual `<EuiCheckbox />` elements for the indices
This allows to disable individual checkboxes
* Pass the whole `validatedIndices` array to the inner objects
This will make easier to determine which indeces have errors in the
checkbox list itself and simplify the state we keep track of.
* Disable indices with errors
Show a tooltip above the disabled index to explain why it cannot be
selected.
* Pass indices to the API as an array
* Show overlay while the validation loads
* Wrap tooltips on a `block` element
Prevents the checkboxes from collapsing on the same line
* Use the right dependencies for `useEffect => validateIndices()`
* Restore formatter function name
* Simplify mapping of selected indices to errors
* s/checked/isSelected/g
* Make errors field-generic
* Allow multiple errors per index
* Simplify code a bit
Thanks to #43433 being merged we no longer need to wait for the migrations to run as they are guaranteed to have run by the time plugin init has completed.
This is just a cleanup making it easier to move towards the migration to the Kibana Platform.
Fixes applying saved searches in the transform wizard. Previously, upon initializing the transform wizard's state, we would miss passing on the initialized data from kibanaContext. The resulting bug was that saved search were not applied in the generated transform config and source preview table.
* Added space env that for spaces testing with rules
* updated docs
* Update x-pack/legacy/plugins/siem/server/lib/detection_engine/README.md
Co-Authored-By: Garrett Spong <spong@users.noreply.github.com>
* Add creation rule on Detection Engine
* review + bug fixes
* review II + clean up
* fix persistence saved query
* fix eui prop + add type security to add rule
* fix more bug from review III
* review IV
* move local application service registry to new platform
* move dev tools app itself
* fix i18n
* make sure legacy dev tools are imported
* rename dev tools plugin
At least for kibana-oss 7.4, this is how I can access Kibana logs.
The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there.
See also:
https://github.com/elastic/kibana/issues/6579
* add search bar to outlierDetection results table
* show empty results error message in table so user can retry query
* remove unused translation
* type updates after branch update
* Retry authentication and other connection failures in migrations
* Log migration ES connection errors once, retry every 2.5s
* Test migrations es connection error logging
* retry on AuthorizationExceptions during migration
* Set delay to 1 for tests
* [Maps] avoid duplicated geometry in filter meta
* clean up
* fix type error
* remove filterTypes from data shim and import directly from NP data plugin
* rename mapQueryDsl to mapSpatialFilter
* add unit test for mapSpatialFilter