Commit graph

300 commits

Author SHA1 Message Date
Kibana Machine
7369816923
[api-docs] Daily api_docs build (#135100) 2022-06-24 00:47:44 -04:00
Kibana Machine
52fa9c391f
[api-docs] Daily api_docs build (#134973) 2022-06-23 00:50:55 -04:00
Kibana Machine
86db2df29d
[api-docs] Daily api_docs build (#134876) 2022-06-22 00:48:31 -04:00
Kibana Machine
04e621727b
[api-docs] Daily api_docs build (#134799) 2022-06-21 00:51:44 -04:00
Kibana Machine
161e9df8c3
[api-docs] Daily api_docs build (#134714) 2022-06-20 00:50:25 -04:00
Kibana Machine
1d95bd6bae
[api-docs] Daily api_docs build (#134709) 2022-06-19 00:43:53 -04:00
Kibana Machine
1a3762ad7a
[api-docs] Daily api_docs build (#134707) 2022-06-18 00:42:22 -04:00
Kibana Machine
1eeb0d86c0
[api-docs] Daily api_docs build (#134624) 2022-06-17 00:47:25 -04:00
Kibana Machine
bf934a9869
[api-docs] Daily api_docs build (#134540) 2022-06-16 00:44:05 -04:00
Kibana Machine
d72a08378c
[api-docs] Daily api_docs build (#134478) 2022-06-15 09:31:01 -07:00
Kibana Machine
0d2e8e62ab
[api-docs] 2022-06-14 Daily api_docs build (#134407) 2022-06-15 10:47:12 -04:00
Kibana Machine
0cb1087fb4
[api-docs] 2022-06-14 Daily api_docs build (#134389)
* [api-docs] Add pipeline to build api_docs daily

* Fix kibanamachine remote

* Add --repo

* Fix PR creation

* [api-docs] Daily api_docs build

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2022-06-14 12:58:55 -07:00
Matthew Kime
7db3e58747
update docs (#133798) 2022-06-07 16:08:22 -05:00
Brian Seeders
6f4b81a3db Update api_docs 2022-05-24 15:50:44 +00:00
Brian Seeders
265fafbde1
Revert latest api_docs changes since they are causing docs build failures 2022-05-24 11:22:20 -04:00
Brian Seeders
d4ab1a01d7
Remove kibAiopsPluginApi reference to fix dev docs build 2022-05-23 21:26:06 -04:00
Thomas Watson
dc9f2732a1
Add csp.disableUnsafeEval config option to remove the unsafe-eval CSP (#124484)
Adds a new experimental Kibana setting called `csp.disableUnsafeEval` which will default to `false`. When set to `true`, it will remove `unsafe-eval` from our CSP.

Also introduces a new module called `@kbn/handlebars` which is a replacement for the official `handlebars` module used in the frontend. This new module is necessary in order to avoid calling `eval`/`new Function` from within `handlebars` which is not allowed once `unsafe-eval` is removed from our CSP.

The `@kbn/handlebars` module is simply an extension of the main `handlebars` module which adds a new compile function called `compileAST` (as an alternative to the regular `compile` function). This new function will not use code-generation from strings to compile the template but will instead generate an AST and return a render function with the same API as the function returned by the regular `compile` function.

This is a little bit slower method, but since this is only meant to be used client-side, the slowdown should not be an issue.

The following limitations exists when using `@kbn/handlebars`:

The Inline partials handlebars template feature is not supported.

Only the following compile options will be supported:
- `knownHelpers`
- `knownHelpersOnly`
- `strict`
- `assumeObjects`
- `noEscape`
- `data`

Only the following runtime options will be supported:
- `helpers`
- `blockParams`
- `data`

Closes #36311
2022-05-23 11:01:56 -07:00
Muhammad Ibragimov
b7866ac7f0
[Console] Refactor retrieval of mappings, aliases, templates, data-streams for autocomplete (#130633)
* Create a specific route for fetching mappings, aliases, templates, etc...
* Encapsulate data streams

* Encapsulate the mappings data into a class
* Setup up autocompleteInfo service and provide its instance through context
* Migrate the logic from mappings.js to Kibana server
* Translate the logic to consume the appropriate ES client method
* Update related test cases

* Lint

* Address comments

* Fix server proxy/mock

* Add API integration tests for /api/console/autocomplete_entities

* Lint

* Add tests
* Add API integration tests for autocomplete_entities API
* Add deleted tests

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-19 14:30:59 +05:00
Thomas Neirynck
3a482f175a
Update API docs (#130999)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-03 16:13:19 -04:00
Alejandro Fernández Haro
fcf862220b
Create @elastic/analytics package (#128407)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-05 08:21:57 -07:00
Stacey Gammon
131021050c
Fix deprecations being incorrectly counted (#128985)
* Adjust logic to fix overcounting bad deprecations

* Update api docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-31 14:01:14 -04:00
Stacey Gammon
7559f90c97
Update api docs (#128663) 2022-03-28 14:24:55 -04:00
Brian Seeders
f9badeb6a4
[api-docs] Update API docs (#127782) 2022-03-15 11:27:52 -07:00
Brandon Kobel
82f143c2b0
Use response-ops GitHub team everywhere, no more alerting services (#126518)
* Use response-ops GitHub team everywhere, no more alerting services

* Update x-pack/test/plugin_api_integration/plugins/event_log/kibana.json

Co-authored-by: Ying Mao <ying.mao@elastic.co>

Co-authored-by: Ying Mao <ying.mao@elastic.co>
2022-03-01 08:56:26 -08:00
Stacey Gammon
35c819c228
udpate api docs (#126460) 2022-02-28 08:26:15 -07:00
Matthew Kime
7db7b1aa8c
update docs (#125419) 2022-02-11 13:46:52 -06:00
Stacey Gammon
3bbbbb9ed3
Don't include teams with no usage of due deprecations (#124268)
* Don't include teams that have 0 due deprecations

* Update api docs
2022-02-01 10:53:35 -07:00
Stacey Gammon
41c7521402
Add a new file to list deprecations that are due, and by team (#124056)
* Add another file to track deprecations due by team

* update docs

* add link to new page

* Update api docs after merging master
2022-01-31 16:02:39 -05:00
Clint Andrew Hall
940c4e2833
[cloud] Create IFRAME chat component; add to Unified Integrations (#123772)
* [cloud] Create IFRAME chat component; add to Unified Integrations

* Provide chat user data from endpoint

* Apply suggestions from code review

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Addressing feedback

* Addressing feedback

* Fixing package.json

* Addressing feedback

* Wrap chat config in an observable

* Add tests

* Add integration tests, docs

Co-authored-by: Sergei Poluektov <sergei.poluektov@elastic.co>
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-31 08:07:04 -06:00
Stacey Gammon
2d982c0070
Update api docs (#123839)
* Support the docs scripts knowing which json files are specifically for dev docs.

* Update jest snapshot docs

* Update api docs
2022-01-27 09:48:49 -05:00
Kevin Lacabane
24f0425284
[Stack monitoring] remove support for monitoring.cluster_alerts.allowedSpaces (#123229)
* remove allowed space setting

* set allowedSpaces as unused setting

* mock unused function in deprecation tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-01-25 15:29:18 +01:00
Christos Nasikas
586a8fd9fa
[ResponseOps][Cases] Update plugins and docs to point to new github teams (#123137) 2022-01-17 05:58:50 -07:00
Stacey Gammon
af283e8a07
Don't count any ci stats coming from code in node_modules (#122600)
* ensure no stats are tracked that are coming from third party libraries

Update stats.ts

* Build api docs with new stats
2022-01-11 08:34:07 -05:00
Tim Sullivan
6ca947b1e1
[Reporting] Tag internal APIs for TSDoc (#122100) 2021-12-29 11:40:46 -07:00
Thomas P
ac7636c31b
Fix typo in alerting_framework_health field name (#120496)
* Fix type in alerting_framework_health field name

So that it's set in accordance with the documentation
https://www.elastic.co/guide/en/kibana/current/get-alerting-framework-health-api.html

* ENH: Make sure to return the older field as well to avoid breaking existing code

* DOC: Document the typo field "alerting_framework_heath"

* ENH: Add a _deprecated field in the typo field response

* fixed es lint spaces issues

* fixed more spaces issues

* fixed scope issue

* fixed scope issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: YulNaumenko <jo.naumenko@gmail.com>
2021-12-22 16:38:40 -08:00
Stacey Gammon
cb588a3a15
Track unreferenced deprecated apis count (#121809)
* Track unreferenced deprecated apis count

* Update api docs
2021-12-21 15:34:53 -05:00
Stacey Gammon
434ad1b575
update api docs (#121760) 2021-12-21 10:26:37 -05:00
Stacey Gammon
92d64e5361
Fix typo in api docs system (#119521)
* fix typo

* update api docs
2021-11-23 15:32:54 -05:00
Stacey Gammon
d7b9a49d41
Fix any counts in api docs code (#119392)
* Update code

* Update api docs
2021-11-23 11:11:14 -05:00
Stacey Gammon
09a1a74069
update api docs (#119198) 2021-11-19 10:37:56 -07:00
Lucas F. da Costa
def6d85418
[Uptime] [User Experience] Prefix internal apis with /internal (#117852)
* [Uptime] prefix internal APIs with /internal [relates to #116334]

* [Uptime] move hard-coded URL paths to rest_api constants [relates to #116334]

* [Uptime] use API_URLS from constants in API integration tests [relates to #116334]

* [Uptime] Remove unnecessary filters route test

* [Uptime] prefix internal RUM routes with /internal and /ux [relates to #116334]

* [User Experience] update API docs for prefixed internal UX APIs
2021-11-11 13:12:36 +00:00
ymao1
7e4ae48efa
[Alerting] Renaming alert instance summary to alert summary (#117023)
* Renaming alert instance summary to alert summary

* api docs

* fixing types

* updating functional test

* Updating i18n and data test sub

* fixing functional tests

* Cleanup

* Fixing unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-08 19:15:46 -05:00
Bryan Clement
47e8f783dc
remove unused enrollment path (#117063) 2021-11-02 11:00:43 -07:00
Stacey Gammon
4bfb35b43a
Update api docs (#116495)
* update api docs

* update api docs
2021-11-01 19:16:16 +00:00
Tobias Stadler
cd3ec12128
[Cases] Fixed typo (#116042)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-26 23:09:29 +03:00
Søren Louv-Jansen
51f8feaea0
Rename apm-generator to apm-synthtrace (#116075) 2021-10-25 16:25:01 -04:00
Georgii Gorbachev
5d1b5104fc
Fix adding prepackaged rules via fleet plugin (#114467)
Co-authored-by: Garrett Spong <garrett.spong@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 20:16:31 -05:00
Stacey Gammon
45e9d51a44
Add pluginTeam to plugin API ci stats (#115007)
* Add pluginTeam to ci stats for easier higher level groupings

* Updated docs
2021-10-14 11:54:35 -04:00
Luke Elmers
e1e1830f15
[Breaking] Remove /api/settings & the xpack_legacy plugin. (#114730) 2021-10-13 21:20:56 +01:00
Marco Vettorello
ff1b014c7b
Update dependency @elastic/charts to v37 (master) (#113968) 2021-10-12 16:36:18 +02:00