kibana/x-pack/examples
Kibana Machine 5e7fdbe333
[Alerting] Split alerting feature privilege between rules and alerts and handle subfeature privilege specification (#100127) (#100817)
* 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

* Initial commit with changes needed for subfeature privilege

* Throwing error when AlertingAuthorizationClientFactory is not defined

* Renaming authorizationType to entity

* Renaming AlertsAuthorization to AlertingAuthorization

* Fixing unit tests

* Changing schema of alerting feature privilege

* Changing schema of alerting feature privilege

* Updating feature privilege iterator

* Updating feature privilege builder

* Fixing types check

* Updating privilege string terminology

* Updating privilege string terminology

* Wip

* Fixing unit tests

* Unit tests

* Updating README and removing stack subfeature privilege changes

* Fixing README

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-05-27 16:55:49 -04:00
..
alerting_example [Alerting] Split alerting feature privilege between rules and alerts and handle subfeature privilege specification (#100127) (#100817) 2021-05-27 16:55:49 -04:00
embedded_lens_example [Lens] Open lens in new tab via state transfer (#96723) (#97245) 2021-04-15 15:05:54 +00:00
reporting_example [7.x] [Screenshot mode] Create plugin to provide "screenshot mode" awareness (#99627) (#100331) 2021-05-20 07:58:50 -04:00
ui_actions_enhanced_examples Drilldown cloning (#91959) (#97498) 2021-04-19 15:36:52 -04:00
README.md

Example plugins

This folder contains X-Pack example plugins. To run the plugins in this folder, use the --run-examples flag, via

yarn start --run-examples