kibana/x-pack/test
ymao1 0f0cee2510
[Alerting] Refactor alerts authorization client (#99078)
* WIP - creating alerting authorization client factory and exposing authorization client on plugin start contract

* Updating alerting feature privilege builder to handle different alerting types

* Passing in alerting authorization type to AlertingActions class string builder

* Passing in authorization type in each function call

* Passing in exempt consumer ids. Adding authorization type to audit logger

* Changing alertType to ruleType

* Changing alertType to ruleType

* Updating unit tests

* Updating unit tests

* Passing field names into authorization query builder. Adding kql/es dsl option

* Converting to es query if requested

* Fixing functional tests

* Removing ability to specify feature privilege name in constructor

* Fixing some types and tests

* Consolidating alerting authorization kuery filter options

* Cleanup and tests

* Cleanup and tests

* Throwing error when AlertingAuthorizationClientFactory is not defined

* Renaming authorizationType to entity

* Renaming AlertsAuthorization to AlertingAuthorization

* Fixing unit tests

* Updating privilege string terminology

* Updating privilege string terminology

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-05-18 18:32:43 -04:00
..
accessibility Simplify deleting spaces (#99960) 2021-05-18 11:37:18 +01:00
alerting_api_integration [Alerting] Refactor alerts authorization client (#99078) 2021-05-18 18:32:43 -04:00
api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
api_integration_basic [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
apm_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
banners_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
case_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
common [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
detection_engine_api_integration [Security Solution] Re-adds a test that was skipped (#100273) 2021-05-18 13:03:49 -05:00
encrypted_saved_objects_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
endpoint_api_integration_no_ingest [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
examples [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
fleet_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
fleet_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional Simplify deleting spaces (#99960) 2021-05-18 11:37:18 +01:00
functional_basic [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_cors [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_embedded [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_enterprise_search [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_vis_wizard [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
functional_with_es_ssl [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
licensing_plugin [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
lists_api_integration [Security Solutions] Replaces most deprecated io-ts alerting and list types (#100234) 2021-05-17 23:28:06 -06:00
load [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
observability_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
plugin_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
plugin_api_perf [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
plugin_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
reporting_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
reporting_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
saved_object_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
saved_object_tagging [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
saved_objects_field_count [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
search_sessions_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_functional [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_solution_cypress [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_solution_endpoint [Security Solution] Fix policy details test (#100260) 2021-05-18 13:14:31 -04:00
security_solution_endpoint_api_int [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
security_solution_ftr/page_objects/detections Add a11y test coverage to Rule Creation Flow for Detections tab (#94377) 2021-03-25 15:05:23 -04:00
spaces_api_integration [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
stack_functional_integration Add CCS integration test for security rules (#99042) 2021-05-11 16:19:32 +02:00
ui_capabilities [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
upgrade [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
upgrade_assistant_integration Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
usage_collection [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
visual_regression [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
tsconfig.json [Security Solutions] (Phase 1) Adds an application cache called metrics entities and integrates it within Security Solutions behind a feature flag (#96446) 2021-04-30 12:36:06 -06:00