* [DOCS] Updates for Canvas menus
* Image set up
* Update docs/canvas/canvas-share-workpad.asciidoc
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
* Update docs/canvas/canvas-present-workpad.asciidoc
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
* Update docs/canvas/canvas-tutorial.asciidoc
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
* [DOCS] Adds Catherine's images and minor updates to content
* Final images and clean up
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
* chore(NA): avoids imports of server or public code into common
* chore(NA): fix imports from public or server into common
* chore(NA): fix typechecking for data plugin stubs
* chore(NA): fix types and tests related with licensing plugin
* chore(NA): fix problems on infra plugin
* chore(NA): fix typo on .eslintrc.js
Co-authored-by: Ryland Herrick <ryalnd@gmail.com>
* chore(NA): migrate to license mock usage on security plugin licensing module
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Ryland Herrick <ryalnd@gmail.com>
* [New Platform Migration]: Management - Implement NP API
Part of #47432
* partial progress on a number of management sections
* fix passing history
* Fixed types
* Fixed routing for Ingest Node Pipelines
* introduce and use react router wrapped eui components
* react router utils
* work in progress => hashRouter to router
* more partial progress
* remove console.log
* use reactRouterNavigate for management_sidebar
* Breadcrumbs will need to make use of the reactRouterNavigate function
* [triggersActions] app. Hash Router -> Router
* Replace /app/kibana#/management urls to /app/management
* remove ui/public/management
* fix some links to management apps
* fix management url for functional tests
* add data-test-subj for EuiSideNavItem
* partial progress
* fix some of ts issues
* Fixed breadcrumbs for data index management
* [kibana/spaces] section
* fix functional test
* [role_management] fix Breadcrumbs
* [api_keys] fix Breadcrumbs and Navigation
* Fixed routing for remote cluster
* [role_mapping] Partial progress
* [users] partial progress
* [watcher] partial progress
* fix eslint issues
* [snapshot_restore] partial progress
* [rollup_jobs] partial progress
* Fixed routing for cross cluster replications (partial progress). Enhanced reactRouterNavigate
* Perf optimization: fix extra re-rendering
* fix TS errors
* x-pack fix config for functional tests
* Fixed routing for index lifecycle management
* fix some broken CI tests
* fix PR comment
* [snapshot_restore] move onClick into reactRouterNavigate
* fix some jest
* fix some functional tests
* fix functiona test: management scripted fields testing regression for issue
* fix some functional tests
* [licence_management] partial progress
* Fixed x-pack jest tests
* [saved_object_management] partial progress
* Fixed some tests
* fix functional test: should add new role myroleEast
* Reverted part of changes for ml
* [transforms] partial progress
* fix TS errors
* fix functional: redirects to Kibana home
* add support of Backward compatibility
* fix functional: Saved objects management feature controls saved objects management global visualize all privileges listing redirects to Kibana home
* fix PR comment
* fix TS issues
* Fixed x-pack jest tests
* fix oss JEST
* Fixed functional test
* fix functional test
* fix PR comment
* Fixed i18n
* fix typo
* fix Styles
* Fixed paths for cross_cluster_replication
* fix wrong link
* Fixed jest
* Fixed some comments
* fix sorting
* fix type check
* fixed x-pack jest
* fixed x-pack jest
* reverted using of parentHistory
* Add debugging toasts to CCR.
* Comment out non-CCR functional tests.
* Fix typo.
* Uncomment non-CCR functional tests.
* Enable CCR.
* fix CI
* Add comment to explain why CCR is enabled by default and move config variable back to original location in CCR plugin.
* revert some changes in APM
* add space between index pattern name and tags
* fix function test
* Update x-pack/plugins/security/public/management/management_urls.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Update x-pack/plugins/security/public/management/api_keys/api_keys_management_app.tsx
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Update x-pack/plugins/spaces/public/management/spaces_management_app.tsx
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Update x-pack/plugins/security/public/management/roles/roles_management_app.tsx
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Update x-pack/plugins/security/public/management/users/users_management_app.tsx
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Update x-pack/plugins/security/public/management/management_urls.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* Update x-pack/plugins/security/public/management/management_urls.ts
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
* [security] getUrlForApp -> navigateToApp
* [mp] fix Uncaught (in promise) undefined
Co-authored-by: Matt Kime <matt@mattki.me>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: CJ Cenizal <cj@cenizal.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
The order of the `select` statement items were reversed in the translation for `xpack.apm.kueryBar.placeholder`, causing an error in the KueryBar component which caused the page to fail to load.
Fix the translation, which fixes the error.
Fixes#67082.
* Create new atomic params type for status alerts.
* Update executor params typing to support both alert params types.
* Update snapshot for alert factory function.
* Fix broken types and refresh snapshots.
* Clean up naming of action/selector.
* Fix a bug and add tests.
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* add error if filter index pattern is gone
* docs change - why?
* Fix i18n
* Added a functional test for broken filters (field + index pattern)
* Clarify readme
* Moved readme
* New warning status
* Remove getAll
* git pull upstream master
* Fix translation files
* Fix merge
* added filterbar texts
* disabled correction
* Disable check in maps test until #64861 is resolved
* Fix tests, warning state is not disabled.
* Adjust warning filter - ignore filters from "foreign" index pattern, that are still applicable
* Add an additional unrelaeted filter test
* Update src/plugins/data/public/ui/filter_bar/_global_filter_item.scss
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
* Update src/plugins/data/public/ui/filter_bar/_global_filter_item.scss
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
* Fixed test data
* Revert mapping
* Update data with missing test
* Update test to match data
* Code review
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Switch from `EuiFieldNumber` to `EuiFieldText` on settings page.
* Add unit tests for cert form fields.
* Improve validation.
* Add additional server-side settings check with tests.
* Only create number object for validation when value is string.
* Clean up validation function.
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Consolidate context menu/row action components and usage, and some export/imports
* Missed export
* Move agent config yaml tab to flyout, add and consolidate agent config action menus
* Fix i18n
* Add download config YAML endpoint and link from flyout, add common config->yaml service
* Actually remove the tab lol
* Fix i18n
* Update synchronous actions in patchRules
This method was typed to accept actions, but it was not doing anything
with them. This was mainly a "bug by omission" so I'm simply adding
unit tests for regression purposes.
* Allow synchronous actions to be patched either individually or in bulk
Now that patchRules uses this field, we simply need to pass it.
Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
LogPositionState doesn't always reevaluate the value of `endTimestamp`
when live stream is on. The [dependencies][1] for it to change rely on the
scroll position to update. If there's less than one scroll page or the
previous API call didn't return any entries, the `endTimestamp` would
not update.
We force `Date.now()` as an `endTimestamp` on the API call to ensure it
always gets the latest entries possible, regardless of the state. This
introduces some inconsistency that will be fixed once work beings on #65493.
[1]: fe4c164681/x-pack/plugins/infra/public/containers/logs/log_position/log_position_state.ts (L160-L173)
## Summary
Fixes a bug in timeline-based views, (e.g. the Host Events table), where a column would revert back to it's original position after being dragged and dropped to a new position.
Only timeline-based views were effected, not the timeline itself.
To reproduce:
1) On the SIEM Overview page, click the `View events` button
2) Drag and drop any column in the Events table to a new position
**Expected Result**
- The column is relocated to the position where it was dropped
**Actual Result**
- The column reverts to it's original position
## Testing
- This PR adds a Cypress test for this scenario
- The new test was successfully run (at least) 10 times via `node x-pack/plugins/siem/scripts/loop_cypress_tests.js`
- This fix was desk tested in:
- Chrome `83.0.4103.61`
- Firefox `76.0.1`
- Safari `13.1`
* [Maps] fix mapbox glyphs error when EMS access is turned off
* santize range parameter
* add api test
* clean up mapbox view
* add jest test for getGlyphsUrl
* add license file
* remove unneeded font files
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>