* Use sourcer indices
* Add indices to panel requests
* Use a separate indices selector for resolver events
* Use valid timeline id in tests
* Update TimelineId type usage, make selector test clearer
* Update tests to use TimelineId type
* Initial version of adding artifacts per policy to the manifest.
* Minor renaming to convey the purpose of the variable.
* Added ability to override list item mock data.
* Changed function signature to be more reusable.
* Implementationg of support of artifacts per policy in the manifest data structure.
* Added saved objects migrations.
* Renamed the endpoint to reflect that it's artifacts endpoint.
* Fixed tests.
* Fixed the manifest data.
* Fixed linting errors (result of merge).
* Updated ES mappings for manifest in all test setups.
* Updated hash in the mappings.
* Fixed the typo that lead to failing test.
* Fixed the problem with manifest not being dispatched to policies if there are same artifact names but different content. Artifact name in the ManifestSchema is not unique id, hence added decoded_sha256 to the comparison. Added test case to cover this.
* Fixed the problem with the task flow when failure to dispatch to policies will result in commited manifest and no redispatch on next task run. Changed tests to reflect new flow (actually restored previous flow).
* Forgot to commit changes in mock.
* Made other tests more readable using same varialbe naming pattern.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* split test cases into blocks
* run tests individually
* fix up timeline creation
* fix up timeline creation
* add assertions for timeline creation
* create timeline by api
* create timeline by api
* fix lint error
* add selector to timeline screen
* fix type error
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
In SchemaErrors, we have an edge case where a user navigates to a non-existent error message state. When migrating I took a stab at passing the custom message to the `flashAPIErrors` helper. It turns out that since we don’t have to parse an error object, we can just set the error message directly
* added an info flyout to session management
* better filter serialization
* Fix jest tests
* jest
* display the originalState as a json object
* code review
* Text improvements
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* moved searchable snapshot field out of cold phase accordian
* refactor styling to padding top and bottom to get advanced settings drop down to sit flush with side of panel
* Error clearing fix and cosmetic changes
- the error state of the form would not clear correctly if the
erroring field was unmounted. The logic for clearing form errors
was also incorrectly using "keys" instead of "values".
- updated the width of wait for snapshot policy field to be the
same as other fields
* fix hook dependency causing clearError to be called
* slight improvement to component integration test
* re-add singleSelection to snapshot policiy field config
* refactored Phase component API and fixed typo in comment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Instead of cloning, reindex legacy index
* Reindex for every v2 migration
* Use _reindex?require_alias=true and a write block toggle to prevent lost deletes
* Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent
The first version of the reindex block had only the instance which was able to mark the migration as complete
set and remove the write block. This means other instances couldn't know if any reindex operaitons were in
progress if the migration was already marked as complete. It also meant that a failure in this critical step
could result in a permanent write block.
* Revert "Use a ..._reindex_in_progress alias so that waiting for and preventing other reindex operations is idempotent"
This reverts commit 8baf9b13db.
* Revert "Use _reindex?require_alias=true and a write block toggle to prevent lost deletes"
This reverts commit d7237ca42c.
* Use reindex + clone as a way to prevent lost deletes
* Fix numbering and ignore index_not_found_exceptionfor temporary index
* Apply suggestions from code review
Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
The staging registry is used in Kibana builds which are not built of the master branch or release version. This means, any build ending with `-SNAPSHOT` not the master branch will use the staging registry.
Closes https://github.com/elastic/kibana/issues/90131
Co-authored-by: Jen Huang <its.jenetic@gmail.com>
We were incorrectly including records with is_interim: true in our
query, which lead to false positive signals if the rule executed while
an anomaly's score was (temporarily) above the specified threshold, but
then dipped below after it was finalized.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] convert HeatmapLayer to TS
* make VectorLayer implement IVectorLayer
* fix jest test and functional test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>