* [RAM] Fix bulk action for o11y for 7.17 (#126686)
* fix bulk action for o11y
* review I
* discuss it more with Devin
* clean up
(cherry picked from commit 8f277d4677)
* fix es client
* fix function
* Migrated Snapshot and Restore tests to use test user.
* added another permission to address unauthorized failure.
* Added metadata perms for kibana administration.
* Testing out different permissions.
* Edited test to not refresh page after role is set. Causing errors.
* Adjusted perms per documentation.
* Addded link to the documentation specifying the permissions needed for snapshot restore.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d746bd4c5f)
* [Uptime] Update functional test directory to use a pinned version of package registry via docker (#117736)
* update functional test directory to use a pinned version of package registry via docker
* remove console log
* adjust config
* skip synthetics tests if no docker image
* remove extra configs
* move synthetics tests to a different directory
* update tests
* update tests
* remove duplicate tests
* update helpers
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts
* Update x-pack/test/functional_synthetics/apps/uptime/synthetics_integration.ts
* Updated ILM tests to use test user and updated permissions.
* Updated security tests to check for Advanced Settings in the navigatio pane since we added it to the Kibana permissions.
Co-authored-by: John Dorlus <silne.dorlus@elastic.co>
* Add basic tests for alerts modal
* fix types
* fix setup mode button test subj
* fix unit tests
* Move alerts modal tests to functional since ssl is not required anymore
* Remove not needed config change
* fix test for overview alerts badge
* Extract alerts deletion to a new service
* exit setup mode in alerts test
* add missing file
* update test snapshots
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Ester Martí Vilaseca <ester.martivilaseca@elastic.co>
* [Reporting] Functional test structure & improvements
* show the error of the report generation failure in the test failure
* update snapshot
* remove import to non-existent functional app test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Added config and code to make index management use test user.
* Removed unused reference.
* Changed config back to only modifying the permissions on the indices.
* Fixed assertion for new permission.
* Remove timelion app and stuff which related to it
* Fix CI
* Fix lint
* Fix tests
* Fix tests
* Fis tests
* Fix some comments
* Clean up
* fix CI
* fix some comments
* Fix deprecation examples
* Return `enabled` property in config for timelion vis
* Remove unused angular lib
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
* remove custom kibana server settings for reporting in default x-pack test config
* have tests use the deprecated built-in role granting reporting access
* restore test user default privilege for canvas
* fix app privileges in tests
* fix test_user not able to access canvas in the dashboard test
* simplify some tests setup
* update csv export timerange and snapshot
* update fn tests for app privileges
* fix feature controls test
* Update discover_security.ts
* fix reporting tests
* test using defaults in the security privilege test
* fix read-only privileges with url_create Permalinks
* fix security api anonymous
* fix anonymous capabilities tests
* fix discover csv export tests
* Update screenshots.ts
* update discover csv fn tests
* update snapshots
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* test user with specific roles and permissions
* added SO method logging, added test data stream to the role and modified createindexpattern function
* removed unused method added in settings page
* removed unused index name- logs-*
* remove unused function from settings page
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* updated the test to use kbnArchiver to load the data and also the test uses minimal set of roles-permissions for the test-user
lint errors
lint errors
* hybrid index pattern - conversion to kbnArchiver and the test user to use specific roles n permissions
* Used test user and added appropriate kibana privileges for Ingest Node Pipeline functional tests.
* Updated ingest pipelines test config to have read permissions in advanced settings.
* Updated test to account for the fact that advanced settings will be visible due to kibana permissions.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* starting removing stuff
* fix jest config
* disable CLI mode until other PR is merged
* fix the schema
* add deprecation for maxPayloadBytes
* fix legacy start logic
* deletes `env` from unknown args
* fix FTR test config
* some legacy service deletion
* move config validation
* remove legacy exports from entrypoint
* preserve legacy logging in core logging config
* try to fix uiSettings integration tests
* fix legacy service tests
* more type fix
* use fromRoot from @kbn/utils
* cleanup kibana.d.ts
* fix unit tests
* remove src/core/server/utils
* fix server script
* add integration test for `/{path*}` route
* add unit tests on legacy config
* adapt uiSetting IT bis
* fix tests
* update generated doc
* address some review comments
* move review comments
* fix some stuff
* fix some stuff
* fix some stuff
* fix some stuff bis
* generated doc
* add test for ensureValidConfiguration
* removed .only for testing
* Added config with minimum permissions.
* Removed kibana user role.
I removed the kibana user role to remove redundancy.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This change updates the logstash pipeline management plugin to use
pipeline management APIs in Elasticsearch rather than directly
accessing the .logstash index. In Elasticsearch 8.0, direct access to
system indices will no longer be allowed when using standard APIs.
Given this change, a new set of APIs has been created specifically for
the management of Logstash pipelines and this change makes use of the
APIs.
Co-authored-by: Kaise Cheng <kaise.cheng@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
ES:#53350
LS:#12291
* lens modified privs
* lens reporting test
* new role added -global_dashboard_all
* remove unwanted file
* added the reverted file
* precommit hook fix
* moved the navigateToApp to the before method
* moving the navigateToApp to before method
* closing the alert window if open in the test_user method
* adding the false param
* addressed review comments
* added common PageObjects
* removed common
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* accessibility test for painless lab
* skipped a test due to aria-violation
* skipped tests due to aria-violation and added datatestsubj
* removed the unwanted import
* incorporate review comments
* feedback incorporated
* review comments incorporated
* removed unwanted expect
* changes for upgrade assistant functional test to incorporate test user
* changes to toggle on/off
* upgrade_assistant role
* upgrade assistant
* more debug statements to check on cloud
* commented the sleeps to check toggle button
* reduced the sleep to 2 seconds to test on cloud
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>