2018-08-22 13:57:32 +02:00
|
|
|
{
|
|
|
|
"paths": {
|
2019-02-07 18:02:47 +01:00
|
|
|
"common.ui": "src/legacy/ui",
|
2019-05-01 13:56:14 +02:00
|
|
|
"data": "src/legacy/core_plugins/data",
|
2019-07-23 15:59:23 +02:00
|
|
|
"kibana_react": "src/legacy/core_plugins/kibana_react",
|
2019-02-07 18:02:47 +01:00
|
|
|
"server": "src/legacy/server",
|
2018-11-29 14:14:40 +01:00
|
|
|
"console": "src/legacy/core_plugins/console",
|
2019-01-31 11:19:50 +01:00
|
|
|
"core": "src/core",
|
2018-11-29 14:14:40 +01:00
|
|
|
"inputControl": "src/legacy/core_plugins/input_control_vis",
|
2019-01-25 14:19:22 +01:00
|
|
|
"inspectorViews": "src/legacy/core_plugins/inspector_views",
|
2019-01-22 14:04:37 +01:00
|
|
|
"interpreter": "src/legacy/core_plugins/interpreter",
|
2019-06-25 15:49:34 +02:00
|
|
|
"dashboardEmbeddableContainer": "src/legacy/core_plugins/dashboard_embeddable_container",
|
2018-11-29 14:14:40 +01:00
|
|
|
"kbn": "src/legacy/core_plugins/kibana",
|
2019-01-28 09:23:00 +01:00
|
|
|
"kbnDocViews": "src/legacy/core_plugins/kbn_doc_views",
|
2019-06-18 17:17:30 +02:00
|
|
|
"embeddableApi": "src/legacy/core_plugins/embeddable_api",
|
2018-11-29 14:14:40 +01:00
|
|
|
"kbnVislibVisTypes": "src/legacy/core_plugins/kbn_vislib_vis_types",
|
2019-07-03 09:36:10 +02:00
|
|
|
"visTypeMarkdown": "src/legacy/core_plugins/vis_type_markdown",
|
2019-08-06 11:39:31 +02:00
|
|
|
"visTypeMetric": "src/legacy/core_plugins/vis_type_metric",
|
2019-07-22 11:15:06 +02:00
|
|
|
"visTypeVega": "src/legacy/core_plugins/vis_type_vega",
|
2019-07-26 23:12:23 +02:00
|
|
|
"visTypeTable": "src/legacy/core_plugins/vis_type_table",
|
2018-11-29 14:14:40 +01:00
|
|
|
"regionMap": "src/legacy/core_plugins/region_map",
|
|
|
|
"statusPage": "src/legacy/core_plugins/status_page",
|
|
|
|
"tileMap": "src/legacy/core_plugins/tile_map",
|
|
|
|
"timelion": "src/legacy/core_plugins/timelion",
|
2019-08-06 11:39:17 +02:00
|
|
|
"visTypeTagCloud": "src/legacy/core_plugins/vis_type_tagcloud",
|
2018-11-29 14:14:40 +01:00
|
|
|
"tsvb": "src/legacy/core_plugins/metrics",
|
2019-04-25 01:21:23 +02:00
|
|
|
"kbnESQuery": "packages/kbn-es-query",
|
Introduce basic alerting and actions plugin (#37042) (#39416)
* Create actions plugin (#35679)
* Basic alerting plugin with actions
* Remove relative imports
* Code cleanup
* Split service into 3 parts, change connector structure
* Ability to disable plugin, ability to get actions
* Add slack connector
* Add email connector
* Ability to validate params and connector options
* Remove connectorOptionsSecrets for now
* Fix plugin config validation
* Add tests for slack connector
* Default connectors register on plugin init, console renamed to log, slack to message_slack
* Add remaining API endpoints for action CRUD
* Add list connectors API
* Change actions CRUD APIs to be closer with saved objects structure
* WIP
* Fix broken tests
* Add encrypted attribute support
* Add params and connectorOptions for email
* WIP
* Remove action's ability to have custom ids
* Remove ts-ignore
* Fix broken test
* Remove default connectors from this branch
* Fix API integration tests to use fixture connector
* Rename connector terminology to action type
* Rename actionTypeOptions to actionTypeConfig
* Code cleanup
* Fix broken tests
* Rename alerting plugin to actions
* Some code cleanup and add API unit tests
* Change signature of action type service execute function
* Add some plugin api integration tests
* Fix type check failure
* Code cleanup
* Create an actions client instead of an action service
* Apply Bill's PR feedback
* Fix broken test
* Find function to have destructured params
* Add tests to ensure encrypted attributes are not returned
* Fix broken test
* Add tests for validation
* Ensure actions can be updated without re-passing the config
* Remove dead code
* Test cleanup
* Fix eslint issue
* Apply Peter's PR feedback
* Code cleanup and fix broken tests
* Apply Brandon's PR feedback
* Add namespace support
* Fix broken test
* Pass services to action executors (#37194)
* Pass services to action executors
* Fix tests
* Apply PR feedback
* Apply PR feedback pt2
* Cleanup actions plugin (#37250)
* Cleanup actions, move code from alerting plugin PR
* Rename service terminology to registry
* Use static encryption key for encrypted attributes plugin inside of tests
* Empty data after create test is done running
* Fix type checks
* Fix inconsistent naming
* add server log action for alerting (#37530)
adds the first "builtin" alertType for performing a `server.log()`
* Create alerting plugin (#37043)
* WIP
* Rename fire function and remove @ts-ignore in all places
* Change naming in alerting service
* Remove alert instance class for now, support interval configuration
* Cleanup TS
* Split alerting between registry and client
* Use saved object alongside task manager instance
* Add remaining alerting APIs
* Change create structure
* Rename some variables, change actionGroups structure
* Use handlebars for templating strings at fire time
* Fix params given to alert type execute function
* Use alert instance class
* Alert instances support meta attributes
* Move alert instances deserialization
* Change interval to be ms
* Rename actions es archive
* Fix tests to use encrypted esArchive for action record
* Add create alert test to demo end to end flow
* Fix type check issue
* Alerts to use references to action objects
* Only update task manager tasks after saved objects are fully updated
* Use scope in task manager
* Fix type check
* Use task manager to execute actions
* Convert ids into references and back
* Apply PR feedback
* Fix broken test
* Fix some bugs
* Fix test errors
* Alert interval to be previous runAt + interval instead of now + interval
* Add range support
* Remove extra line
* Cleanup
* Add alert_instance.test.ts
* Add alert_type_registry.test.ts
* Move tests around
* Create generic task manager mock
* Add note about saved objects client mock
* Create alert_type_registry.mock.ts
* Add alerts_client.test.ts
* Add create_alert_instance_factory.test.ts
* Add create_fire_handler.test.ts
* WIP
* Fix get_create_task_runner_function.test.ts and make test pass
* Make get_create_task_runner_function.test.ts 100% coverage
* Add unit tests for routes
* Move files around
* Created transform_action_params.ts
* Add get_next_run_at.ts
* Add comment explaining why we copy nextRunAt
* Re-use state within alert instance
* Finalize code coverage in unit tests
* Create base api integration tests
* Add a test that ensures end to end functionality of an alert
* Fix ui capabilities test
* Fix broken plugin api integration test
* Fix jest tests with new saved objects client
* Fix broken integration tests
* Change api integration test fixture to make more sense, add functions for future tests
* Move alerts integration testing into own file, prep to add more tests
* Add tests to ensure failed task instances get retried
* Add get_create_task_runner_function.test.ts for actions, create encrypted saved objects mock
* Add action validation tests
* Ensure action type validation occurs on update
* Test 400 on unregistered alert types
* Ensure alertTypeId can't be updated
* Add validation test for alert create / update
* Fix broken checks / tests
* Skip failing test for now
* Cleanup jest tests
* Ensure action objects can be updated while keeping encrypted attributes readable
* Remove partial update sopport, remove ability to change actionTypeId, require config
* Ensure actionTypeConfig is validated on create and update
* Add alertTypeParams validation support
* Fix failing tests
* Ensure alert cleanup errors don't replace the original error
* Pass callCluster as a service to alerts and actions
* Only pass log to alerts client
* Pass savedObjectsClient as a service to alerting and actions
* Fix failing tests
* Remove range support, provide when current and previous task got scheduled
* Ensure Joi validation happens before every execute
* Remove skipped tests, to be done in future PR
* Apply self feedback pt1
* Apply self feedback pt2
* Fix broken tests
* Apply PR feedback
* PR feedback pt1
* Apply security team PR feedback
* PR feedback pt1
* PR feedback pt2
* PR feedback pt3
* Fix broken tests
* Fix callCluster to have signature
* Revert f11a6aeb06c65e5ab54bf3cc36694845c812b6a7
* PR feedback pt4
* Remove __jest__ folders
* PR feedback pt5
* Fix Joi from leaking secrets
* Fire instance actions in parallel instead of series
* Fix failing jest tests
* Accept core api changes
* Fix saved objects client mock
* PR feedback pt1
* Fix eslint issues
* Throw error when alert instance already fired (#39251)
* Throw error when alert instance already fired
* shouldFire doesn't need its own boolean value
* Actions & alerting getting started user guides (#39093)
* Initial user guides
* Cleanup
* Typos, example changes
* Switch to tables, use ordered list for usage
* Start docs around alert instances and templating
* Documentation changes
* Some adjustments
* Apply PR feedback
* Apply suggestions from code review
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* PR feedback pt2
* Provide better examples for alert types
* Apply PR feedback
* Update README locations
2019-06-21 20:48:12 +02:00
|
|
|
"xpack.actions": "x-pack/legacy/plugins/actions",
|
|
|
|
"xpack.alerting": "x-pack/legacy/plugins/alerting",
|
2019-06-19 00:13:00 +02:00
|
|
|
"xpack.apm": "x-pack/legacy/plugins/apm",
|
|
|
|
"xpack.beatsManagement": "x-pack/legacy/plugins/beats_management",
|
|
|
|
"xpack.canvas": "x-pack/legacy/plugins/canvas",
|
|
|
|
"xpack.code": "x-pack/legacy/plugins/code",
|
|
|
|
"xpack.crossClusterReplication": "x-pack/legacy/plugins/cross_cluster_replication",
|
|
|
|
"xpack.dashboardMode": "x-pack/legacy/plugins/dashboard_mode",
|
|
|
|
"xpack.fileUpload": "x-pack/legacy/plugins/file_upload",
|
|
|
|
"xpack.graph": "x-pack/legacy/plugins/graph",
|
|
|
|
"xpack.grokDebugger": "x-pack/legacy/plugins/grokdebugger",
|
|
|
|
"xpack.idxMgmt": "x-pack/legacy/plugins/index_management",
|
|
|
|
"xpack.indexLifecycleMgmt": "x-pack/legacy/plugins/index_lifecycle_management",
|
|
|
|
"xpack.infra": "x-pack/legacy/plugins/infra",
|
|
|
|
"xpack.kueryAutocomplete": "x-pack/legacy/plugins/kuery_autocomplete",
|
|
|
|
"xpack.licenseMgmt": "x-pack/legacy/plugins/license_management",
|
|
|
|
"xpack.maps": "x-pack/legacy/plugins/maps",
|
|
|
|
"xpack.ml": "x-pack/legacy/plugins/ml",
|
|
|
|
"xpack.logstash": "x-pack/legacy/plugins/logstash",
|
|
|
|
"xpack.main": "x-pack/legacy/plugins/xpack_main",
|
|
|
|
"xpack.telemetry": "x-pack/legacy/plugins/telemetry",
|
|
|
|
"xpack.monitoring": "x-pack/legacy/plugins/monitoring",
|
|
|
|
"xpack.remoteClusters": "x-pack/legacy/plugins/remote_clusters",
|
|
|
|
"xpack.reporting": "x-pack/legacy/plugins/reporting",
|
|
|
|
"xpack.rollupJobs": "x-pack/legacy/plugins/rollup",
|
|
|
|
"xpack.searchProfiler": "x-pack/legacy/plugins/searchprofiler",
|
|
|
|
"xpack.siem": "x-pack/legacy/plugins/siem",
|
|
|
|
"xpack.security": "x-pack/legacy/plugins/security",
|
|
|
|
"xpack.server": "x-pack/legacy/server",
|
|
|
|
"xpack.snapshotRestore": "x-pack/legacy/plugins/snapshot_restore",
|
|
|
|
"xpack.spaces": "x-pack/legacy/plugins/spaces",
|
|
|
|
"xpack.upgradeAssistant": "x-pack/legacy/plugins/upgrade_assistant",
|
|
|
|
"xpack.uptime": "x-pack/legacy/plugins/uptime",
|
2019-08-02 18:36:18 +02:00
|
|
|
"xpack.watcher": "x-pack/legacy/plugins/watcher",
|
|
|
|
"inspector": "src/plugins/inspector"
|
2018-08-22 13:57:32 +02:00
|
|
|
},
|
2019-05-31 03:31:39 +02:00
|
|
|
"exclude": ["src/legacy/ui/ui_render/ui_render_mixin.js"],
|
2019-02-11 16:45:58 +01:00
|
|
|
"translations": [
|
2019-06-26 15:21:13 +02:00
|
|
|
"x-pack/plugins/translations/translations/zh-CN.json",
|
|
|
|
"x-pack/plugins/translations/translations/ja-JP.json"
|
2018-08-22 13:57:32 +02:00
|
|
|
]
|
|
|
|
}
|