Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
(cherry picked from commit bbbf9f8985)
Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
* fix: use space ID in managed tag SO ID
* Add SO migration
* add integration test for installing pkg in 2 spaces
* Revert "Add SO migration"
This reverts commit 4aeeea658c79d30cfb7ad96090b87418a3b72ad2.
* use legacy tags if they exist
* add tags integration test
* test working in isolation
* neaten tests
* remove test pkg
* revert test file
* tidy for PR
* fix type errors
(cherry picked from commit 2a8e93311b)
* [DOCS] Another landing page design
* [DOCS] Uses cards in landing page
* [DOCS] Updates list of docs
* [DOCS] Emphasizes solutions
* html, css updates
use one column on medium screens and smaller
clean up
clean up again
* [DOCS] Incorporates review comments
* [DOCS] Updates text and link for search
* format headings in cards, ensure cards are always the same height
* remove unused css, align images
* [DOCS] Fixes links to images
* [DOCS] Uses images with transparent background
* Fixes wording in cards
* Update docs/index-custom-title-page.html
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
* Update docs/index-custom-title-page.html
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
* Update docs/index-custom-title-page.html
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
* [DOCS] Add content to describe Kibana
* [DOCS] Minor edits
* Update docs/index-custom-title-page.html
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
* [DOCS] Copy edits to landing page
Co-authored-by: Colleen McGinnis <colleen.mcginnis@elastic.co>
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
(cherry picked from commit 5d2b2e5922)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* [Security Solution] [Exceptions] Bug Fix: Import rule + exceptions route removes all references to all imported exception lists (#143882)
* If the first exceptions_list array was empty, the code to get all of the referenced exceptions lists would only get the references for the first exception list (none) and remove any references to every other exception list. I've updated the code to resovle this bug and another incidental bug related to the way the reduce function would yield an array of arrays which would not have worked
* update jest test
* adds tests and splits out parsing logic from logic for fetching data for referenced lists
(cherry picked from commit bcb2d942f4)
# Conflicts:
# x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/import/gather_referenced_exceptions.test.ts
# x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/import/gather_referenced_exceptions.ts
* removes files that should not have been added via backport
* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
* refactor getHitCount, use Last_1 year
* revert change to heartbeat test
(cherry picked from commit 1cd4c4892d)
Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
* Removing docs about multi-tenancy
* Removing link to multi tenancy
(cherry picked from commit 7d10edcc8f)
Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
* Fix the execution pipeline not to stop on a flaky subexpression
* Fix the execution pipeline not to stop on an invalid or incorrect value
(cherry picked from commit ee6aeba68f)
Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co>
* Fix performance issue with autocomplete suggestions
* Add unit tests for streamToString function
* Address CR change
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 220f867b09)
Co-authored-by: Muhammad Ibragimov <53621505+mibragimov@users.noreply.github.com>
* url state provider
* update url state provider for explain_log_rate_spikes_app_state.tsx
(cherry picked from commit f61dec4c3d)
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
* [ML] Fix job wizard when converting to different wizard type
* using url constants
* fix validation issue and the MML check
* fix dependencies in react hooks
Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
(cherry picked from commit b5cb3f6a22)
Co-authored-by: James Gowdy <jgowdy@elastic.co>
* update boolean to show threat intel data
* pr review
(cherry picked from commit 2b11ca723e)
Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
In DevTools, if you go to run `kbn:/s/foo/api/MY_REQUEST` then IF default space you effectively run `KIBANA/s/foo/api/MY_REQUEST` BUT IF non-default space e.g. `admin` you end up running `KIBANA/s/admin/s/foo/api/MY_REQUEST` which is invalid.
This is not pointed out in Dev Tools and since this page updated to the emphasize the DevTools example, this is tripping up more users who think it should work via this page.
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 75f2d0c714)
Co-authored-by: Stef Nestor <steffanie.nestor@gmail.com>
* Adding testdataloader method to remove all SO from the kibana index
* Changing call order per PR review feedback
(cherry picked from commit 227288e726)
Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
## Issue Summary
One edge case was detected as part of bug #119593 where if user followed below workflow :
1. User modifies the timeline
2. Navigates to a page where timeline is disabled ( eg. manage )
3. User is presented with `AppLeave` dialog to save the timeline
4. User confirms the navigation without saving
5. Navigation is successfull and user is now on `Manage` page where timeline is disabled
6. Now user leaves the security solution app.
7. **_Unexpected_** : User is presented again with `AppLeave` dialog event though timeline is not present on the `Manage` page.
Below is the video demonstrating that.
https://user-images.githubusercontent.com/61860752/195523104-6577c924-71e5-414b-aacc-5fefe3ca7b41.mp4
## Solution Summary
Timeline save confirmation dialog will only be presented if below conditions are met:
1. Timeline is enabled on the page where user is navigating `from`.
2. User has unsaved changes in timeline.
3. User is navigated `to` a page where timeline is disabled.
Corresponding tests have been added.
https://user-images.githubusercontent.com/7485038/195600383-fdebae52-af07-478d-9d07-9f5acf4d24fe.mov
(cherry picked from commit 5b269e3a47)
Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co>
* Removed comment of the issue that was referenced for the skip. But the tests were already skipped.
* Unskipping test as a fix has been made. 138510
Co-authored-by: cuffs <cuffs@cuffss-Office-MacBook-Pro.local>
(cherry picked from commit 4229010937)
Co-authored-by: John Dorlus <jsdorlus@elastic.co>