Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deprecations service] FAQ documentation #99043

Closed
wants to merge 1,307 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
1307 commits
Select commit Hold shift + click to select a range
307a5b2
[Fleet] Use docLinks service to link to the doc (#102660)
nchaulet Jun 21, 2021
f3ec948
Cleanup outdated @elastic/elasticsearch client type errors (#101741)
mshustov Jun 21, 2021
e97cfad
[ML] Functional tests - stabilize module tests (#102708)
pheyos Jun 21, 2021
13671c4
[Cases] Add owner and description properties to `kibana.json` (#102707)
cnasikas Jun 21, 2021
17e496c
[APM] Errors: Fix panels styles (#102734)
formgeist Jun 21, 2021
7765fc7
[Lens] Fix time shift bug (#102528)
flash1293 Jun 21, 2021
863e709
[Ingest Node Pipelines] Remove default value for error_distance param…
alisonelizabeth Jun 21, 2021
d82d1eb
Fixes issue with undo/redo (#101954)
Jun 21, 2021
773647e
[Integrations UI] Add updated integrations subtitle (#102738)
kpollich Jun 21, 2021
3589ade
Adding refresh to ensure status is updated (#102742)
jonathan-buttner Jun 21, 2021
79b0949
[App Search] Convert Engines overview & engine creation to new page t…
constancecchen Jun 21, 2021
491b0d1
[Observability] [Cases] Fix Cases navigation (#102429)
stephmilovic Jun 21, 2021
49271f3
[Workplace Search] Replace library interface with EUI (#102758)
scottybollinger Jun 21, 2021
6f2a97b
[Lens] Fix formula functional test (#102749)
dej611 Jun 21, 2021
ceaf9f6
Convert EuiCards to non-shadowed defaults to avoid nested panel/shado…
constancecchen Jun 21, 2021
4c700ab
Osquery telemetry usage bug (#102762)
lykkin Jun 21, 2021
f448f1f
chore(NA): enable buildbuddy again
mistic Jun 21, 2021
6c699a5
[Alerting] Updating audit event terminology (#102263)
ymao1 Jun 21, 2021
f53fc8d
[Alerting][Docs] Removing placeholder sections in docs (#101953)
ymao1 Jun 21, 2021
3662cf4
[QA] Changes the telemetry banner dismiss location (#102721)
marius-dr Jun 21, 2021
3b0be1b
[Lens] Error on array values in math (#102371)
Jun 21, 2021
1f2de03
[App Search] Convert Engine subnav and Engine Overview pages to new p…
constancecchen Jun 21, 2021
341413a
[home] Fix `add sample data` page layout (#102647)
pgayvallet Jun 21, 2021
fd4d4ee
Recommendation for known Vega-Lite issue (#102547)
Jun 21, 2021
1d89744
Test for role specific access to non-default space (#101653)
bhavyarm Jun 21, 2021
7c429f7
chore(NA): moving @kbn/storybook into bazel (#102731)
mistic Jun 21, 2021
5ac9a38
chore(NA): remove webpack build changes for kbn/ui-shared-deps (#102780)
mistic Jun 21, 2021
ccf6039
Upgrade apm nodejs and rum agents (#102723)
mshustov Jun 21, 2021
1fb2640
ILM locators (#102313)
streamich Jun 21, 2021
62eece5
[SecuritySolution] Move manual test cases to Cypress (#100730)
angorayc Jun 21, 2021
6dc9962
[App Search] Engines Overview polish pass (#102778)
constancecchen Jun 21, 2021
f2ca7fc
[App Search] Convert Settings & Credentials pages to new page templat…
constancecchen Jun 21, 2021
3673019
[App Search] Convert Documents views to new page template + minor UI …
constancecchen Jun 21, 2021
c52f5ed
[Security Solution][Exceptions] Fixes empty exceptions filter bug (#1…
dplumlee Jun 21, 2021
3084de6
[kbn/test/es] remove unnecessary es user management logic (#102584)
Jun 21, 2021
2e3d527
[Fleet] Update final pipeline based on ECS event.agent_id_status (#10…
andrewkroh Jun 21, 2021
8619bdb
remove duplicate apm-rum deps from devDeps
spalger Jun 21, 2021
75aafd0
Revert "remove duplicate apm-rum deps from devDeps"
spalger Jun 21, 2021
138bd0d
[Workplace Search] Convert Sources pages to new page template (+ pers…
constancecchen Jun 22, 2021
d792e02
[Fleet] Correctly check for degraded status in agent healthbar (#102821)
nchaulet Jun 22, 2021
42fc797
[Telemetry] Track event loop delays on the server (#101580)
Bamieh Jun 22, 2021
9e1390e
[Lens] Adds filter from legend in xy and partition charts (#102026)
stratoula Jun 22, 2021
e806dde
[License management] Migrate to new page layout (#102218)
sabarasaba Jun 22, 2021
7df924f
Wording update for case settings, fixes #102462 (#102496)
katrin-freihofner Jun 22, 2021
1ea3506
[Security solution][Endpoint] Removes 'none' compression as it not us…
dasansol92 Jun 22, 2021
62fc27b
unksip functional test (#102633)
flash1293 Jun 22, 2021
3860486
[Metrics] Update ActionsMenu create alert styles (#102316)
formgeist Jun 22, 2021
df8637a
Fix UBI source URL (#102736)
jmlrt Jun 22, 2021
fc55c30
Add cache-control for assets served via `registerStaticDir` (#102756)
pgayvallet Jun 22, 2021
65de579
Renamed button and dropdown items in headers (apm, logs, metrics and …
katrin-freihofner Jun 22, 2021
89e851f
[APM] Fleet: Introduce API for uploading source maps for RUM (#101623)
cauemarcondes Jun 22, 2021
60a3d5d
added ability to filter in global search by "type:package" (#102754)
jloleysens Jun 22, 2021
1d59abc
[Lens] Carry over filter extra fields with in incomplete state (#102509)
dej611 Jun 22, 2021
1036a5b
Improve Discover sidebar performance (#102646)
Jun 22, 2021
dc9daed
[Maps] bump ems client to 7.14 (#102770)
thomasneirynck Jun 22, 2021
01ce7ac
[core][deepLinks] Fix getAppInfo deepLinks order (#102879)
semd Jun 22, 2021
0690030
[ML] Functional tests - explicitly delete jobs after setupModule test…
pheyos Jun 22, 2021
564807c
increase chart switch width (#102520)
flash1293 Jun 22, 2021
34490a3
[Uptime] [Synthetics Integration] transition to monaco code editor (#…
dominiqueclarke Jun 22, 2021
fbf4f26
[Docs] Drilldowns only for timeseries TSVB charts (#102481)
stratoula Jun 22, 2021
0ba8b43
[Lens] Clicking number histogram bar applies global filter instead of…
dej611 Jun 22, 2021
a2e7b38
[Lens] Update dimension panel copy to suggested one (#102890)
dej611 Jun 22, 2021
1397461
Fixes onDestroy handler (#101959)
Jun 22, 2021
46f4378
Handle element changing into a filter (#97890)
Jun 22, 2021
11e68fd
[packages] Move @kbn/interpreter to Bazel (#101089)
jbudz Jun 22, 2021
494a841
Unskipping test to test on Firefox. (#102839)
Jun 22, 2021
6cc3b84
[Fleet] Add assets tab (#102517)
jloleysens Jun 22, 2021
c940da4
Wraps query in parentheses to avoid quering exception lists (#102612)
dasansol92 Jun 22, 2021
fd0c1fa
[Agent Packages] Extend 'contains' helper to work on strings (#102786)
Jun 22, 2021
00a9f84
[App Search] Convert Analytics views to new page template (#102851)
constancecchen Jun 22, 2021
69a5d01
[CCR] Migrate to new page layout structure (#102507)
sabarasaba Jun 22, 2021
016259d
[AppService] fix deepLinks being lost when updating the app with othe…
pgayvallet Jun 22, 2021
2323b98
[jest] use circus runner for the integration tests (#102782)
mshustov Jun 22, 2021
84d999d
[App Search] Convert Search UI view to new page template + minor UI p…
constancecchen Jun 22, 2021
21f6a1b
[Discover][Main] Improve state related code (#102028)
kertal Jun 22, 2021
19d2d17
[Security Solution][Endpoint] Rename `Unisolating` and other like wor…
paul-tavares Jun 22, 2021
5ffe26c
Add "Unable to decrypt attribute apiKey" to the alerting troubleshoot…
mikecote Jun 22, 2021
81e1deb
[Discover] Add source to doc viewer (#101392)
Jun 22, 2021
91c584d
remove duplicate apm-rum deps from devDeps (#102838)
Jun 22, 2021
537fcf4
[Security Solution][Endpoint] Don't create event filters list from ma…
dasansol92 Jun 22, 2021
3da2ac8
chore(NA): moving @kbn/ui-framework into bazel (#102908)
mistic Jun 22, 2021
c5e8df0
[Cases] RBAC Bugs (#101325)
jonathan-buttner Jun 22, 2021
bfbe6ab
[Security Solution] show case names in isolation success message (#10…
kevinlog Jun 22, 2021
c33138e
[Rollups] Migrate to new page layout (#102268)
alisonelizabeth Jun 22, 2021
953a464
[Monitoring] Update Kibana rules/alerts language in setup mode (#102441)
lcawl Jun 22, 2021
00a6bdd
Allow initialNamespaces to be used for isolated types (#102585)
jportner Jun 22, 2021
f422cbd
[App Search] Convert API Logs page to new page template + empty state…
constancecchen Jun 22, 2021
2b0f125
[canvas] New Home Page (#102446)
clintandrewhall Jun 22, 2021
86fb2cc
[actions] add rule saved object reference to action execution event l…
pmuellr Jun 22, 2021
b386ce1
[App Search] Convert Schema pages to new page template (#102846)
constancecchen Jun 22, 2021
dec77cf
[Alerting] Add event log entry when an action starts executing (#102370)
chrisronline Jun 22, 2021
b161bf0
[ML] Anomaly Detection: Visualize delayed - data Part 2 (#102270)
alvarezmelissa87 Jun 22, 2021
e580d5a
[App Search] Convert Result Settings & Relevance Tuning pages to new …
constancecchen Jun 22, 2021
0548f98
[App Search][Polish] API Logs empty state (#102998)
constancecchen Jun 22, 2021
369127e
[APM] Fix bug when error page is empty (#102940)
sorenlouv Jun 22, 2021
4fa3dc4
[RAC] T-Grid is moving to a new home (#100265)
XavierM Jun 22, 2021
859b453
Replacing es_archives/reporting/ecommerce_kibana with kbn_archiver/re…
bhavyarm Jun 22, 2021
e53da4e
[Security Solution][Endpoint] Adjust Host Isolation form to match UI …
paul-tavares Jun 22, 2021
5df858a
Migrate Index Management to new solutions nav (#101548)
cjcenizal Jun 23, 2021
cf12c03
[App Search] Migrate Source Engines & Crawler pages to new page templ…
constancecchen Jun 23, 2021
e582549
[App Search] Convert Curations pages to new page template (#102835)
constancecchen Jun 23, 2021
450abab
[Uptime] Refactor cert alerts from batched to individual (#102138)
dominiqueclarke Jun 23, 2021
bb77fa6
[alerting][actions] add task scheduled date and delay to event log (#…
pmuellr Jun 23, 2021
01ac8d2
[App Search] Convert Synonyms page to new page template (#102828)
constancecchen Jun 23, 2021
3e952fa
Revert "[alerting][actions] add task scheduled date and delay to even…
jbudz Jun 23, 2021
b12ddfa
[Security Solution][Endpoint] Paginate actions log with infinite scro…
ashokaditya Jun 23, 2021
5a8e740
[ML] Functional tests - temporarily skip close_jobs API tests
pheyos Jun 23, 2021
12aa46f
[Discover] Unskip Discover large field number test (#100692)
kertal Jun 23, 2021
1315521
Ingest pipeline locator (#102878)
streamich Jun 23, 2021
7733950
[Lens] Avoid suggestion rendering and evaluation on fullscreen mode (…
dej611 Jun 23, 2021
c6e697f
[Lens] Remove rank direction tooltip (#102886)
dej611 Jun 23, 2021
a6bef93
[OsQuery] fix usage collector when .fleet indices are empty (#102977)
nchaulet Jun 23, 2021
38be1d0
[cli] Add kibana-encryption-keys.bat (#102070)
jbudz Jun 23, 2021
e1ec8b0
chore(NA): moving @kbn/optimizer into bazel (#102965)
mistic Jun 23, 2021
0477c4d
skip flaky suite (#84440)
mistic Jun 23, 2021
868ae59
[Fleet] Support user overrides in composable templates (#101769)
Jun 23, 2021
1386c33
Discover locator (#102712)
streamich Jun 23, 2021
498df21
fix time shift ux issues (#102709)
flash1293 Jun 23, 2021
2ab5d6b
disable missing switch for non-string fields (#102865)
flash1293 Jun 23, 2021
b652ef6
[Lens] Do not add math columns for pass-through operations (#102656)
flash1293 Jun 23, 2021
b7aaa1f
Cypress baseline for osquery (#102265)
MadameSheema Jun 23, 2021
f8a0382
Allow restored session to run missing searches and show a warning (#1…
lizozom Jun 23, 2021
771f7de
[Fleet] Improve default port experience in the settings UI (#102982)
nchaulet Jun 23, 2021
6d8f53d
Adjust copy for non-removable integrations/packages (#103068)
Jun 23, 2021
f49ecb3
Update chart reference docs (#102430)
Jun 23, 2021
eb97269
[Security Solution][Endpoint] Hide endpoint event filters list in det…
dasansol92 Jun 23, 2021
bb4e0cc
Adds a versioned class name to a root DOM element (#102443)
TinaHeiligers Jun 23, 2021
dd907e5
[maps] fix user has to click back button twice to navigate back to da…
nreese Jun 23, 2021
b4b17cf
[Maps] show radius when drawing distance filter (#102808)
nreese Jun 23, 2021
4fa939d
[Discover] Improve flaky test - doc navigation (#102859)
dimaanj Jun 23, 2021
91295fd
[Maps] remove undefined from map embeddable by_value URL (#102949)
nreese Jun 23, 2021
a96eaa4
[Visualize] Adds an info icon tip to the update button (#101469)
stratoula Jun 23, 2021
77b5b23
[Discover] Unskip and improve empty results query functional test (#1…
kertal Jun 23, 2021
702661d
Implement new security solution wrapper (#100405)
michaelolo24 Jun 23, 2021
dbbfdbc
[Discover] Dont trigger onChange when the same index pattern is selec…
kertal Jun 23, 2021
fa5216f
[TSVB] Weird behavior after upgrading to 7.13.1 #101590 (#102942)
alexwizp Jun 23, 2021
12895d8
[TSVB] fix tooltip on annotations with 's are not displayed correctly…
alexwizp Jun 23, 2021
5b0d325
Fix breadcrumbs path reopens timeline when timeline modal is open (#1…
machadoum Jun 23, 2021
2816281
Fixing the generator to use bulk api to install endpoint package (#10…
jonathan-buttner Jun 23, 2021
3dc59a3
Lens on Dashboard 7.12.1 Smoke Tests (#102667)
ThomThomson Jun 23, 2021
81fe541
Mask timeslider (#102046)
nreese Jun 23, 2021
3c780a8
[Maps] Use id-values from client-manifest to suggest layers (#102788)
thomasneirynck Jun 23, 2021
52d5b9d
[docker] Removes setting with hyphen (#103085)
Jun 23, 2021
293dc95
[Exploratory view] Refactor code for multi series (#101157)
shahzad31 Jun 23, 2021
3864fe1
[Fleet] Add global component template to all fleet index templates (#…
nchaulet Jun 23, 2021
045a32b
[Enterprise Search] Support active nav links that have both subnav & …
constancecchen Jun 23, 2021
5244019
Add timeouts and setup enforcement for custom plugins statuses (#77965)
joshdover Jun 23, 2021
4d514c6
[Lens] Escape field names in formula (#102588)
Jun 23, 2021
391d0ec
[App Search] Remove external "Launch App Search" button (#100815)
constancecchen Jun 23, 2021
73382ce
[ML] Add Index Pattern Management to Index Data Visualizer (#101316)
qn895 Jun 23, 2021
874dfc6
[Actions] Rename `tls.*` configs to `ssl.*` (#102902)
ymao1 Jun 23, 2021
bb7bff5
[Fleet] Add UI and mappings for agent policy unenroll_timeout (#102970)
Jun 23, 2021
eb7e0fa
Reporting: Check for pending jobs scheduled with ESQueue (#101447)
tsullivan Jun 23, 2021
1813d70
[Maps] Duplicated EMS instructions for Elastic Cloud (#103124)
jsanz Jun 23, 2021
2dc1715
[Security Solution] [Cases] Swimlane Connector for Cases (#100086)
stephmilovic Jun 23, 2021
77fe1c1
[Query] Use a minimal index pattern interface for es query (#102364)
lizozom Jun 23, 2021
2366683
[Enterprise Search] Add shared Users components and enable RBAC funct…
scottybollinger Jun 23, 2021
136d361
Upgrade EUI to v34.3.0 (#101334)
thompsongl Jun 23, 2021
1e7ef98
[Maps] fix save to maps for by_value map embeddables (#102968)
nreese Jun 23, 2021
0669895
[canvas] Reduce bundle size by co-locating strings with components (#…
clintandrewhall Jun 23, 2021
d5a760c
[test] Migrates visualize esArchive to kbnArchiver (#102850)
Jun 24, 2021
5942392
chore(NA): moving @kbn/plugin-helpers into bazel (#103181)
mistic Jun 24, 2021
17adfac
chore(NA): moving @kbn/cli-dev-mode into bazel (#103067)
mistic Jun 24, 2021
da7cdb6
[App Search] Fixed Documents view for Editor and Analyst roles (#103113)
JasonStoltz Jun 24, 2021
023b163
[App Search] Refactor empty engine polling to EngineLogic (#103041)
constancecchen Jun 24, 2021
91ca373
Convert our full page Loading component to an Enterprise Search logo …
constancecchen Jun 24, 2021
2368e63
Exploratory View Mobile: Renamed Latency and Throuput labels to align…
AlexanderWert Jun 24, 2021
aee0585
[Lens] Do not reset columns on incomplete switch before closing flyou…
flash1293 Jun 24, 2021
01a4860
[Search Sessions] Split tasks (#99967)
lizozom Jun 24, 2021
6a1e4b8
[ML] Functional tests - fix and re-enable close_jobs API tests (#103114)
pheyos Jun 24, 2021
8298b78
[Discover] Unskip and improve sidebar filter functional test (#102986)
kertal Jun 24, 2021
507ab0e
[Discover] Add right permission for unmapped field test in cloud env …
kertal Jun 24, 2021
1d2ceba
[VisTypePie] Use a different advanced setting for pie charts (#103049)
stratoula Jun 24, 2021
59d4223
[Lens] Move empty string handling into field formatter (#102877)
flash1293 Jun 24, 2021
4c2449f
[Ingest pipelines] add extract_device_type to user agent processor (#…
sabarasaba Jun 24, 2021
9a1f5a4
switching to peggy (#103169)
ppisljar Jun 24, 2021
fa71c6d
[ML] Transforms: Converts management pages to new layout (#102648)
peteharverson Jun 24, 2021
d44f9fe
Use observability plugin breadcrumbs in APM (#103168)
smith Jun 24, 2021
7a3d61f
[load testing] adjust ES heap size (#101906)
dmlemeshko Jun 24, 2021
9b9c47b
[Fleet] Fix double policy header layout (#103076)
jloleysens Jun 24, 2021
2a8f3eb
[Fleet] Fix staleness bug in "Add agent" flyout (#103095)
jloleysens Jun 24, 2021
a50d949
[Enterprise Search] Add User management feature (#103173)
scottybollinger Jun 24, 2021
9b56549
[Cases] Including owner when patching a comment Closes #102732 (#103020)
jonathan-buttner Jun 24, 2021
1ef5a6a
[Fleet][Logs UI] Prevent double loading of entries in `<LogStream />`…
Jun 24, 2021
0a2042e
Prevent showing filter on unfilterable fields (#103241)
Jun 24, 2021
4e38dfe
skip flaky suite (#98240)
mistic Jun 24, 2021
4266957
fix filter input debouncing (#103087)
flash1293 Jun 24, 2021
b1b182b
[Lens] Add new error case for mixed x axes (#102861)
flash1293 Jun 24, 2021
b70b34f
[Cases] Fix push to external service error when connector's mapping d…
cnasikas Jun 24, 2021
b823472
[Lens] Add continuity icons to palette configuration (#103240)
dej611 Jun 24, 2021
fdd8784
Add missing i18n (#103245)
Jun 24, 2021
cc6a645
[alerting][actions] add task scheduled date and delay to event log - …
pmuellr Jun 24, 2021
be1c5bb
Don't import react-intl directly to reduce bundle sizes (#102497)
Dosant Jun 24, 2021
f293772
[APM] Link to Fleet APM Server Configuration when managed by Elastic …
cauemarcondes Jun 24, 2021
8a422fd
[Fleet] Use "Integrations" breadcrumb in "Add integrations" (#103227)
jloleysens Jun 24, 2021
5a76c84
[APM] refactoring sourcemap api to receive form-data (#103152)
cauemarcondes Jun 24, 2021
dd072c3
[Task Manager] Add config switch around logging at different levels b…
chrisronline Jun 24, 2021
686ac90
[Discover] Move focus on chart toggle in Discover (#103119)
dimaanj Jun 24, 2021
f2ebcad
Refactored helpers file into separate domain files (#102383)
yuliacech Jun 24, 2021
aefdb9c
[Maps] timeslider play button (#103147)
nreese Jun 24, 2021
7e32f93
[Alerting] Using new es client in alerting functional tests (#102349)
ymao1 Jun 24, 2021
dd20b8a
Avoid using deprecated camelCase parameters for SAML APIs. (#103091)
azasypkin Jun 24, 2021
5e89873
[Asset management] Osquery app bug squashing (#102406)
lykkin Jun 24, 2021
1198454
[ML] Fixes data frame analytics models list pipelines tab (#103235)
peteharverson Jun 24, 2021
9ead1fc
[ML] Add description and owner to kibana.json for ML owned plugins (#…
peteharverson Jun 24, 2021
bfb9805
[DOCS] Security Overview (#103151)
jmikell821 Jun 24, 2021
eb8e9d7
[Fleet] Remove duplication between two files #103282
Jun 24, 2021
5af69ed
Fix "Deleted rule" badge is not displayed if 'Rule Name' contains mor…
xcrzx Jun 24, 2021
5abac25
[Lens] Update formula icons (#103287)
dej611 Jun 24, 2021
bf6c53b
Improved Visualize button in field popover (#103099)
Jun 24, 2021
23c8d18
[ui-shared-deps] reuse react-beautiful-dnd from eui (#102834)
Jun 24, 2021
fb7b596
Fix missing setting modal in integrations app (#103317)
kpollich Jun 24, 2021
fbcf405
Add telemetry for Elastic Cloud (#102390)
joshdover Jun 24, 2021
67d4c31
[Workplace Search] source connection panel content vertical alignment…
zombieFox Jun 24, 2021
9ba1ead
[Logs UI] Log threshold rule performance improvements (#102650)
Kerry350 Jun 24, 2021
fb3e8f4
[Enterprise Search] Product 404 polish pass (#103198)
constancecchen Jun 24, 2021
0857e62
[Workplace Search] Remove `isFederatedAuth` checks to expose user fea…
scottybollinger Jun 24, 2021
cebf16f
[Security Solution][Endpoint][Host Isolation] Remove agent status for…
parkiino Jun 24, 2021
c0122f7
[Maps] Disable draw mode on layer remove (#103188)
Jun 24, 2021
e1ef2ea
[Maps] Disable edit features if editing already enabled for layer (#1…
Jun 24, 2021
60086a9
Fix Engine Overview not properly stretching to full page height (#103…
constancecchen Jun 24, 2021
d5f68ee
[Lens] Fix formula formatting in Metric visualization type (#103167)
Jun 24, 2021
b12095b
[Metrics UI] Prevent saved views from trampling URL state (#103146)
simianhacker Jun 24, 2021
45b6601
skip suite failing es promotion. #103364
jbudz Jun 24, 2021
c1ced88
[Detections] Adds automatic updating for Prebuilt Security Detection …
rw-access Jun 24, 2021
bd2215f
[docs][migrations v2] Update SO migration docs to include removal of …
lukeelmers Jun 24, 2021
803d0fa
[Enterprise Search] Final KibanaPageTemplate cleanup (#103355)
constancecchen Jun 24, 2021
2056845
[canvas] Reduce bundle size by combining SCSS imports (#102822)
clintandrewhall Jun 24, 2021
3838bfd
[Enterprise Search] Add notices for deactivated users and SMTP callou…
scottybollinger Jun 24, 2021
41b015a
[Security Solution] Correct linux OS lookup for Endpoint Exceptions (…
kevinlog Jun 25, 2021
4b20ff3
[Maps] Add capability to delete features from layer & index (#103145)
Jun 25, 2021
bc8ba83
[Fleet] Add support for constant_keyword "value" in package field def…
andrewkroh Jun 25, 2021
bc6ee27
Maps locators (#102810)
streamich Jun 25, 2021
baf2de5
Dashboard locator (#102854)
streamich Jun 25, 2021
922d7cc
[Osquery] Return proper indices permissions for osquery_manager packa…
patrykkopycinski Jun 25, 2021
dfc70bd
[Lens] Enable actions on Lens Embeddable (#102038)
dej611 Jun 25, 2021
d16a464
[Lens] Document common formulas in product and add formula tutorial (…
Jun 25, 2021
6726537
Allow additive csp configuration (#102059)
pgayvallet Jun 25, 2021
c6d04a9
[ML] Converts management app jobs list pages to new layout (#103117)
peteharverson Jun 25, 2021
df8787b
Home & Kibana Overview Page Template Update (#103003)
MichaelMarcialis Jun 26, 2021
21bb3b3
add deprecations service mdx
Bamieh May 3, 2021
74011b9
Apply suggestions from code review
Bamieh May 3, 2021
7f88b81
update docs
Bamieh May 3, 2021
bdd95d2
Update src/core/server/deprecations/README.mdx
Bamieh May 26, 2021
fde27ef
Update src/core/server/deprecations/README.mdx
Bamieh May 26, 2021
b9345e7
Update src/core/server/deprecations/README.mdx
Bamieh May 26, 2021
1bd70e4
Update src/core/server/deprecations/README.mdx
Bamieh May 26, 2021
b72ee75
Update src/core/server/deprecations/README.mdx
Bamieh May 26, 2021
fccb03f
update docs based on feedback and code review
Bamieh Jun 27, 2021
e2a5a55
update docs based on feedback and code review
Bamieh Jun 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
194 changes: 194 additions & 0 deletions src/core/server/deprecations/README.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
---
id: kibUsageCollectionPlugin
Bamieh marked this conversation as resolved.
Show resolved Hide resolved
slug: /kibana-dev-docs/services/deprecations-service
title: Core Deprecations service
summary: The Deprecations service helps surface deprecated configs and features for plugins to our users
date: 2021-05-03
tags: ['kibana','dev', 'contributor', 'api docs']
---

# Core Deprecations service
This guide is written in the format of a FAQ to help you get started using the deprecations service.
For more details on the service contract we've documented all the service apis and properties under the deprecation service docs generated by in core.

## What is the deprecations service?
The deprecations service provides a way for the Kibana platform to communicate deprecated features and configs with its users. These deprecations are only communicated if the deployment is using these features, allowing for a user tailored experience for upgrading the stack version.

## Where are deprecations displayed to users?
The Upgrade Assistant (UA) in kibana is consuming the core deprecations service in order to surface plugin deprecations. Each deprecation should have manual steps that we display in the UI to fix the deprecation an API to automatically resolve it.
Bamieh marked this conversation as resolved.
Show resolved Hide resolved

To check your plugin deprecations go to the UA interface and click on `view deprecations` under the kibana section.
Bamieh marked this conversation as resolved.
Show resolved Hide resolved

## How do I use this service for deprecated plugin configurations?
The deprecations service automatically hooks deprecated configs with the deprecations service.

All the config deprecation functions (`unused`, `unusedFromRoot`, `rename`, `renameFromRoot`) now accept an optional parameter to customize the deprecation details.

### Example

```ts
export const config: PluginConfigDescriptor<ConfigType> = {
schema: configSchema,
deprecations: ({ renameFromRoot }) => [
renameFromRoot('ui_metric.debug', 'usageCollection.uiCounters.debug', {
documentationUrl: 'elastic.co/some-url',
}),
],
};
```

If the above deprecated kibana config `ui_metric.debug` is being used by the cluster.
Bamieh marked this conversation as resolved.
Show resolved Hide resolved
The service will show the following details about the deprecation:

```ts
{
"deprecationsInfo":[{
"level":"critical",
"message": "\"ui_metric.debug\" is deprecated and has been replaced by \"usageCollection.uiCounters.debug\"",
"documentationUrl": 'elastic.co/some-url',
"correctiveActions":{
"manualSteps": [
`Replace "ui_metric.debug" with "usageCollection.uiCounters.debug" in the Kibana config file, CLI flag, or environment variable (in Docker only).`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these messages be wrapped in an i18n function for translations?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've had a discussion about this and i'm going to update the docs/faq to include i18n: #99072

},
"domainId":"usageCollection",
}],
}
```

#### Custom deprecations for plugin configs
Custom config deprecation handling allows specifying the deprecation details via the `addDeprecation`.

##### Example:

```ts
export const config: PluginConfigDescriptor<ConfigSchema> = {
exposeToBrowser: {
defaultAppId: true,
},
schema: configSchema,
deprecations: () => [
(
completeConfig: Record<string, any>,
rootPath: string,
addDeprecation: AddConfigDeprecation
) => {
if (
get(completeConfig, 'kibana.defaultAppId') === undefined &&
get(completeConfig, 'kibana_legacy.defaultAppId') === undefined
) {
return completeConfig;
}
addDeprecation({
message: `kibana.defaultAppId is deprecated and will be removed in 8.0. Please use the \`defaultRoute\` advanced setting instead`,
correctiveActions: {
manualSteps: [
'Go to Stack Management > Advanced Settings',
'Update the "defaultRoute" setting under the General section',
'Remove "kibana.defaultAppId" from the kibana.yml config file',
],
},
});
return completeConfig;
},
],
};
```

## How do I use this service for my deprecated plugin features?
Bamieh marked this conversation as resolved.
Show resolved Hide resolved
Plugins are responsible for registering any deprecations during the `setup` lifecycle by using the deprecations service.

```ts
coreSetup.deprecations.registerDeprecations({
getDeprecations: ({ esClient, savedObjectsClient }) => [{ ...`<list of deprecations>` }],
});
```

The `getDeprecations` function is invoked when the user requests to see the deprecations affecting their deployment. The function is passed a context object `{ esClient, savedObjectsClient }`.

```ts
interface GetDeprecationsContext {
Bamieh marked this conversation as resolved.
Show resolved Hide resolved
esClient: IScopedClusterClient;
savedObjectsClient: SavedObjectsClientContract;
}

interface DeprecationInfo {
message: string;
level: 'warning' | 'critical';
Bamieh marked this conversation as resolved.
Show resolved Hide resolved
documentationUrl?: string;
correctiveActions: {
api?: {
path: string;
method: 'POST' | 'PUT';
body?: {
[key: string]: any;
};
};
manualSteps?: string[];
};
}
```

### Example
```ts
import { DeprecationsDetails, GetDeprecationsContext } from 'src/core/server';

async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecationsContext): Promise<DeprecationsDetails[]> {
const deprecations: DeprecationsDetails[] = [];
const testDashboardUser = await getTestDashboardUser(savedObjectsClient);

if (testDashboardUser) {
deprecations.push({
"message": "User 'test_dashboard_user' is using a deprecated role: 'kibana_user'",
Bamieh marked this conversation as resolved.
Show resolved Hide resolved
"documentationUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html",
"level": "critical",
"correctiveActions": {
"api": {
"path": "/internal/security/users/test_dashboard_user",
"method": "POST",
"body": {
"username": "test_dashboard_user",
"roles": [
"machine_learning_user",
"enrich_user",
"kibana_admin"
],
"full_name": "Alison Goryachev",
"email": "alisongoryachev@gmail.com",
"metadata": {},
"enabled": true
}
},
"manualSteps": [
"Using Kibana user management, change all users using the kibana_user role to the kibana_admin role.",
"Using Kibana role-mapping management, change all role-mappings which assing the kibana_user role to the kibana_admin role."
]
},
});
}

return deprecations;
}
```

## How do I implement the API corrective action?
The deprecations API allows plugins to provide an API call that can be used to automatically fix specific deprecations.
To do so create a `PUT` or `POST` route in your plugin and specify data you want to be passed in the payload for the deprecation.

In the example above `/internal/security/users/test_dashboard_user` will be called when users click on `Quick Resolve` in the UA. The service will automatically pass the body provided in the api corrective action to provide context to the route for fixing the deprecation.
Bamieh marked this conversation as resolved.
Show resolved Hide resolved

The deprecations service expects a `200` status code to recognize the corrective action as a success.

## How do I test my deprecations?
We recommend testing the route for your api corrective actions via unit and plugin functional tests.
To check the deprecation in the UI pleae check the UA page.
Bamieh marked this conversation as resolved.
Show resolved Hide resolved

To test that your logic registering the deprecations with the deprecations service during `setup` is valid we recommend adding unit tests to check that the `getDeprecations` is returning the expected array of deprecations at different scenarios.

Core provides `mocks` for the service which should help you focus on testing only your specific requirements.

You can also use the deprecations service API; The deprecations service exposes an api `GET /api/deprecations/` which provides a list of deprecations and possible corrective actions required to resolve these entries. The context is scoped to the requesting user, hence a user with limited access might not be able to see all the deprecations affecting the deployment.

Bamieh marked this conversation as resolved.
Show resolved Hide resolved

## Should I use the service for all the deprecations before 8.0?
Yes. Using this service should help the users find and resolve any issues specific to their deployment before upgrading.
Bamieh marked this conversation as resolved.
Show resolved Hide resolved
We recommend adding a `documentationUrl` for every deprecation you expose to further assist our users if they need extra help.