-
Notifications
You must be signed in to change notification settings - Fork 8.3k
/
plugin.tsx
639 lines (565 loc) · 23.5 KB
/
plugin.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import React from 'react';
import { i18n } from '@kbn/i18n';
import { Subject, combineLatestWith } from 'rxjs';
import type * as H from 'history';
import type {
AppMountParameters,
AppUpdater,
CoreSetup,
CoreStart,
PluginInitializerContext,
Plugin as IPlugin,
} from '@kbn/core/public';
import { AppStatus, DEFAULT_APP_CATEGORIES } from '@kbn/core/public';
import { Storage } from '@kbn/kibana-utils-plugin/public';
import type { TriggersAndActionsUIPublicPluginSetup } from '@kbn/triggers-actions-ui-plugin/public';
import { uiMetricService } from '@kbn/cloud-security-posture-common/utils/ui_metrics';
import type {
SecuritySolutionAppWrapperFeature,
SecuritySolutionCellRendererFeature,
} from '@kbn/discover-shared-plugin/public/services/discover_features';
import { getLazyCloudSecurityPosturePliAuthBlockExtension } from './cloud_security_posture/lazy_cloud_security_posture_pli_auth_block_extension';
import { getLazyEndpointAgentTamperProtectionExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_agent_tamper_protection_extension';
import type {
PluginSetup,
PluginStart,
SetupPlugins,
StartPlugins,
StartServices,
SubPlugins,
StartedSubPlugins,
StartPluginsDependencies,
} from './types';
import { SOLUTION_NAME, ASSISTANT_MANAGEMENT_TITLE } from './common/translations';
import { APP_ID, APP_UI_ID, APP_PATH, APP_ICON_SOLUTION } from '../common/constants';
import type { AppLinkItems } from './common/links';
import { updateAppLinks, type LinksPermissions } from './common/links';
import { registerDeepLinksUpdater } from './common/links/deep_links';
import type { FleetUiExtensionGetterOptions, SecuritySolutionUiConfigType } from './common/types';
import { getLazyEndpointPolicyEditExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_policy_edit_extension';
import { getLazyEndpointPolicyCreateExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_policy_create_extension';
import { LazyEndpointPolicyCreateMultiStepExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_policy_create_multi_step_extension';
import { getLazyEndpointPackageCustomExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_package_custom_extension';
import { getLazyEndpointPolicyResponseExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_policy_response_extension';
import { getLazyEndpointGenericErrorsListExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_generic_errors_list';
import type { ExperimentalFeatures } from '../common/experimental_features';
import { parseExperimentalConfigValue } from '../common/experimental_features';
import { LazyEndpointCustomAssetsExtension } from './management/pages/policy/view/ingest_manager_integration/lazy_endpoint_custom_assets_extension';
import { LazyCustomCriblExtension } from './security_integrations/cribl/components/lazy_custom_cribl_extension';
import type { SecurityAppStore } from './common/store/types';
import { PluginContract } from './plugin_contract';
import { PluginServices } from './plugin_services';
import { getExternalReferenceAttachmentEndpointRegular } from './cases/attachments/external_reference';
export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, StartPlugins> {
private config: SecuritySolutionUiConfigType;
private experimentalFeatures: ExperimentalFeatures;
private contract: PluginContract;
private services: PluginServices;
private appUpdater$ = new Subject<AppUpdater>();
private storage = new Storage(localStorage);
// Lazily instantiated dependencies
private _subPlugins?: SubPlugins;
private _store?: SecurityAppStore;
private _securityStoreForDiscover?: SecurityAppStore;
private _actionsRegistered?: boolean = false;
private _alertsTableRegistered?: boolean = false;
constructor(private readonly initializerContext: PluginInitializerContext) {
this.config = this.initializerContext.config.get<SecuritySolutionUiConfigType>();
this.experimentalFeatures = parseExperimentalConfigValue(
this.config.enableExperimental || []
).features;
this.contract = new PluginContract(this.experimentalFeatures);
this.services = new PluginServices(
this.config,
this.experimentalFeatures,
this.contract,
initializerContext.env.packageInfo
);
}
public setup(
core: CoreSetup<StartPluginsDependencies, PluginStart>,
plugins: SetupPlugins
): PluginSetup {
this.services.setup(core, plugins);
const { home, triggersActionsUi, usageCollection, management, cases } = plugins;
// Lazily instantiate subPlugins and initialize services
const mountDependencies = async (params?: AppMountParameters) => {
const { renderApp } = await this.lazyApplicationDependencies();
const [coreStart, startPlugins] = await core.getStartServices();
const subPlugins = await this.startSubPlugins(this.storage, coreStart, startPlugins);
const store = await this.store(coreStart, startPlugins, subPlugins);
const services = await this.services.generateServices(coreStart, startPlugins, params);
return { renderApp, subPlugins, store, services };
};
// register cloud security ui metrics
if (plugins.usageCollection) uiMetricService.setup(plugins.usageCollection);
// Register main Security Solution plugin
core.application.register({
id: APP_UI_ID,
title: SOLUTION_NAME,
appRoute: APP_PATH,
category: DEFAULT_APP_CATEGORIES.security,
updater$: this.appUpdater$,
visibleIn: ['globalSearch', 'home', 'kibanaOverview'],
euiIconType: APP_ICON_SOLUTION,
mount: async (params) => {
const { renderApp, services, store, subPlugins } = await mountDependencies(params);
const { getSubPluginRoutesByCapabilities } = await this.lazyHelpersForRoutes();
await this.registerActions(store, params.history, core, services);
await this.registerAlertsTableConfiguration(triggersActionsUi);
const subPluginRoutes = getSubPluginRoutesByCapabilities(subPlugins, services);
return renderApp({ ...params, services, store, usageCollection, subPluginRoutes });
},
});
// Register legacy SIEM app for backward compatibility
core.application.register({
id: 'siem',
appRoute: 'app/siem',
title: 'SIEM',
visibleIn: [],
mount: async (_params: AppMountParameters) => {
const [coreStart] = await core.getStartServices();
const { manageOldSiemRoutes } = await this.lazyHelpersForRoutes();
const subscription = this.appUpdater$.subscribe(() => {
// wait for app initialization to set the links
manageOldSiemRoutes(coreStart);
subscription.unsubscribe();
});
return () => true;
},
});
home?.featureCatalogue.registerSolution({
id: APP_ID,
title: SOLUTION_NAME,
description: i18n.translate('xpack.securitySolution.featureCatalogueDescription', {
defaultMessage:
'Prevent, collect, detect, and respond to threats for unified protection across your infrastructure.',
}),
icon: 'logoSecurity',
path: APP_PATH,
order: 300,
});
home?.featureCatalogue.register({
id: 'ai_assistant_security',
title: ASSISTANT_MANAGEMENT_TITLE,
description: i18n.translate(
'xpack.securitySolution.securityAiAssistantManagement.app.description',
{
defaultMessage: 'Manage your AI Assistant for Security.',
}
),
icon: 'sparkles',
path: '/app/management/kibana/securityAiAssistantManagement',
showOnHomePage: false,
category: 'admin',
});
management?.sections.section.kibana.registerApp({
id: 'securityAiAssistantManagement',
title: ASSISTANT_MANAGEMENT_TITLE,
hideFromSidebar: true,
order: 1,
mount: async (params) => {
const { renderApp, services, store } = await mountDependencies();
const { ManagementSettings } = await this.lazyAssistantSettingsManagement();
return renderApp({
...params,
services,
store,
usageCollection,
children: <ManagementSettings />,
});
},
});
cases?.attachmentFramework.registerExternalReference(
getExternalReferenceAttachmentEndpointRegular()
);
this.registerDiscoverSharedFeatures(core, plugins);
return this.contract.getSetupContract();
}
public start(core: CoreStart, plugins: StartPlugins): PluginStart {
this.services.start(core, plugins);
this.registerFleetExtensions(core, plugins);
this.registerPluginUpdates(core, plugins); // Not awaiting to prevent blocking start execution
return this.contract.getStartContract(core);
}
public stop() {
this.services.stop();
}
public async registerDiscoverSharedFeatures(
core: CoreSetup<StartPluginsDependencies, PluginStart>,
plugins: SetupPlugins
) {
const { discoverShared } = plugins;
const discoverFeatureRegistry = discoverShared.features.registry;
const cellRendererFeature: SecuritySolutionCellRendererFeature = {
id: 'security-solution-cell-renderer',
getRenderer: async () => {
const { getCellRendererForGivenRecord } = await this.getLazyDiscoverSharedDeps();
return getCellRendererForGivenRecord;
},
};
const appWrapperFeature: SecuritySolutionAppWrapperFeature = {
id: 'security-solution-app-wrapper',
getWrapper: async () => {
const [coreStart, startPlugins] = await core.getStartServices();
const services = await this.services.generateServices(coreStart, startPlugins);
const subPlugins = await this.startSubPlugins(this.storage, coreStart, startPlugins);
const securityStoreForDiscover = await this.getStoreForDiscover(
coreStart,
startPlugins,
subPlugins
);
const { createSecuritySolutionDiscoverAppWrapperGetter } =
await this.getLazyDiscoverSharedDeps();
return createSecuritySolutionDiscoverAppWrapperGetter({
core: coreStart,
services,
plugins: startPlugins,
store: securityStoreForDiscover,
});
},
};
discoverFeatureRegistry.register(cellRendererFeature);
discoverFeatureRegistry.register(appWrapperFeature);
}
public async getLazyDiscoverSharedDeps() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "one_discover_shared_deps" */
'./one_discover'
);
}
/**
* SubPlugins are the individual building blocks of the Security Solution plugin.
* They are lazily instantiated to improve startup time.
* TODO: Move these functions to ./lazy_sub_plugins.ts
*/
private async createSubPlugins(): Promise<SubPlugins> {
if (!this._subPlugins) {
const { subPluginClasses } = await this.lazySubPlugins();
this._subPlugins = {
alerts: new subPluginClasses.Detections(),
attackDiscovery: new subPluginClasses.AttackDiscovery(),
rules: new subPluginClasses.Rules(),
exceptions: new subPluginClasses.Exceptions(),
cases: new subPluginClasses.Cases(),
dashboards: new subPluginClasses.Dashboards(),
explore: new subPluginClasses.Explore(),
kubernetes: new subPluginClasses.Kubernetes(),
onboarding: new subPluginClasses.Onboarding(),
overview: new subPluginClasses.Overview(),
timelines: new subPluginClasses.Timelines(),
management: new subPluginClasses.Management(),
cloudDefend: new subPluginClasses.CloudDefend(),
cloudSecurityPosture: new subPluginClasses.CloudSecurityPosture(),
threatIntelligence: new subPluginClasses.ThreatIntelligence(),
entityAnalytics: new subPluginClasses.EntityAnalytics(),
assets: new subPluginClasses.Assets(),
investigations: new subPluginClasses.Investigations(),
machineLearning: new subPluginClasses.MachineLearning(),
siemMigrations: new subPluginClasses.SiemMigrations(),
};
}
return this._subPlugins;
}
private async startSubPlugins(
storage: Storage,
core: CoreStart,
plugins: StartPlugins
): Promise<StartedSubPlugins> {
const subPlugins = await this.createSubPlugins();
const alerts = await subPlugins.alerts.start(storage, plugins);
return {
alerts,
attackDiscovery: subPlugins.attackDiscovery.start(),
cases: subPlugins.cases.start(),
cloudDefend: subPlugins.cloudDefend.start(),
cloudSecurityPosture: subPlugins.cloudSecurityPosture.start(),
dashboards: subPlugins.dashboards.start(),
exceptions: subPlugins.exceptions.start(storage),
explore: subPlugins.explore.start(storage),
kubernetes: subPlugins.kubernetes.start(),
management: subPlugins.management.start(core, plugins),
onboarding: subPlugins.onboarding.start(),
overview: subPlugins.overview.start(),
rules: subPlugins.rules.start(storage),
threatIntelligence: subPlugins.threatIntelligence.start(),
timelines: subPlugins.timelines.start(),
entityAnalytics: subPlugins.entityAnalytics.start(
this.experimentalFeatures.riskScoringRoutesEnabled
),
assets: subPlugins.assets.start(),
investigations: subPlugins.investigations.start(),
machineLearning: subPlugins.machineLearning.start(),
siemMigrations: subPlugins.siemMigrations.start(
this.experimentalFeatures.siemMigrationsEnabled
),
};
}
/**
* Lazily instantiate a `SecurityAppStore`. We lazily instantiate this because it requests large dynamic imports. We instantiate it once because each subPlugin needs to share the same reference.
*/
private async store(
coreStart: CoreStart,
startPlugins: StartPlugins,
subPlugins: StartedSubPlugins
): Promise<SecurityAppStore> {
if (!this._store) {
const { createStoreFactory } = await this.lazyApplicationDependencies();
this._store = await createStoreFactory(
coreStart,
startPlugins,
subPlugins,
this.storage,
this.experimentalFeatures
);
}
if (startPlugins.timelines) {
startPlugins.timelines.setTimelineEmbeddedStore(this._store);
}
return this._store;
}
/**
* Lazily instantiate a `SecurityAppStore` for discover.
*/
private async getStoreForDiscover(
coreStart: CoreStart,
startPlugins: StartPlugins,
subPlugins: StartedSubPlugins
): Promise<SecurityAppStore> {
if (!this._securityStoreForDiscover) {
const { createStoreFactory } = await this.lazyApplicationDependencies();
this._securityStoreForDiscover = await createStoreFactory(
coreStart,
startPlugins,
subPlugins,
this.storage,
this.experimentalFeatures
);
}
if (startPlugins.timelines) {
startPlugins.timelines.setTimelineEmbeddedStore(this._securityStoreForDiscover);
}
return this._securityStoreForDiscover;
}
private async registerActions(
store: SecurityAppStore,
history: H.History,
coreSetup: CoreSetup,
services: StartServices
) {
if (!this._actionsRegistered) {
const { registerActions } = await this.lazyActions();
registerActions(store, history, coreSetup, services);
this._actionsRegistered = true;
}
}
/**
* Registers the alerts tables configurations to the triggersActionsUi plugin.
*/
private async registerAlertsTableConfiguration(
triggersActionsUi: TriggersAndActionsUIPublicPluginSetup
) {
if (!this._alertsTableRegistered) {
const { registerAlertsTableConfiguration } =
await this.lazyRegisterAlertsTableConfiguration();
registerAlertsTableConfiguration(
triggersActionsUi.alertsTableConfigurationRegistry,
this.storage
);
this._alertsTableRegistered = true;
}
}
/**
* Registers the plugin updates including status, visibleIn, and deepLinks via the plugin updater$.
*/
private async registerPluginUpdates(core: CoreStart, plugins: StartPlugins) {
const { license$ } = plugins.licensing;
const { capabilities } = core.application;
const { upsellingService, isSolutionNavigationEnabled$ } = this.contract;
// When the user does not have access to SIEM (main Security feature) nor Security Cases feature, the plugin must be inaccessible.
if (!capabilities.siem?.show && !capabilities.securitySolutionCasesV2?.read_cases) {
this.appUpdater$.next(() => ({
status: AppStatus.inaccessible,
visibleIn: [],
}));
// no need to register the links updater when the plugin is inaccessible
return;
}
// Configuration of AppLinks updater registration based on license and capabilities
const {
appLinks: initialAppLinks,
getFilteredLinks,
solutionAppLinksSwitcher,
} = await this.lazyApplicationLinks();
registerDeepLinksUpdater(this.appUpdater$, isSolutionNavigationEnabled$);
const appLinksToUpdate$ = new Subject<AppLinkItems>();
appLinksToUpdate$.next(initialAppLinks);
appLinksToUpdate$
.pipe(combineLatestWith(license$, isSolutionNavigationEnabled$))
.subscribe(([appLinks, license, isSolutionNavigationEnabled]) => {
const links = isSolutionNavigationEnabled ? solutionAppLinksSwitcher(appLinks) : appLinks;
const linksPermissions: LinksPermissions = {
experimentalFeatures: this.experimentalFeatures,
upselling: upsellingService,
capabilities,
uiSettingsClient: core.uiSettings,
...(license.type != null && { license }),
};
updateAppLinks(links, linksPermissions);
});
const filteredLinks = await getFilteredLinks(core, plugins);
appLinksToUpdate$.next(filteredLinks);
}
private registerFleetExtensions(core: CoreStart, plugins: StartPlugins) {
if (!plugins.fleet) {
return;
}
const { registerExtension } = plugins.fleet;
const registerOptions: FleetUiExtensionGetterOptions = {
coreStart: core,
depsStart: plugins,
services: {
upsellingService: this.contract.upsellingService,
},
};
registerExtension({
package: 'endpoint',
view: 'package-policy-edit',
Component: getLazyEndpointPolicyEditExtension(registerOptions),
});
registerExtension({
package: 'endpoint',
view: 'package-policy-response',
Component: getLazyEndpointPolicyResponseExtension(registerOptions),
});
registerExtension({
package: 'endpoint',
view: 'package-generic-errors-list',
Component: getLazyEndpointGenericErrorsListExtension(registerOptions),
});
registerExtension({
package: 'endpoint',
view: 'package-policy-create',
Component: getLazyEndpointPolicyCreateExtension(registerOptions),
});
registerExtension({
package: 'endpoint',
view: 'package-policy-create-multi-step',
Component: LazyEndpointPolicyCreateMultiStepExtension,
});
registerExtension({
package: 'endpoint',
view: 'package-detail-custom',
Component: getLazyEndpointPackageCustomExtension(registerOptions),
});
registerExtension({
package: 'endpoint',
view: 'package-detail-assets',
Component: LazyEndpointCustomAssetsExtension,
});
registerExtension({
package: 'endpoint',
view: 'endpoint-agent-tamper-protection',
Component: getLazyEndpointAgentTamperProtectionExtension(registerOptions),
});
registerExtension({
package: 'cloud_security_posture',
view: 'pli-auth-block',
Component: getLazyCloudSecurityPosturePliAuthBlockExtension(registerOptions),
});
registerExtension({
package: 'cribl',
view: 'package-policy-replace-define-step',
Component: LazyCustomCriblExtension,
});
}
// Lazy loaded dependencies
private lazyHelpersForRoutes() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "lazyHelpersForRoutes" */
'./helpers'
);
}
/**
* The dependencies needed to mount the applications. These are dynamically loaded for the sake of webpack bundling efficiency.
* Webpack is smart enough to only request (and download) this even when it is imported multiple times concurrently.
*/
private lazyApplicationDependencies() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "lazy_application_dependencies" */
'./lazy_application_dependencies'
);
}
/**
* The dependencies needed to mount the applications. These are dynamically loaded for the sake of webpack bundling efficiency.
* Webpack is smart enough to only request (and download) this even when it is imported multiple times concurrently.
*/
private lazySubPlugins() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "lazy_sub_plugins" */
'./lazy_sub_plugins'
);
}
private lazyRegisterAlertsTableConfiguration() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "lazy_register_alerts_table_configuration" */
'./common/lib/triggers_actions_ui/register_alerts_table_configuration'
);
}
private lazyApplicationLinks() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "lazy_app_links" */
'./app_links'
);
}
private lazyActions() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "lazy_actions" */
'./lazy_actions'
);
}
private lazyAssistantSettingsManagement() {
/**
* The specially formatted comment in the `import` expression causes the corresponding webpack chunk to be named. This aids us in debugging chunk size issues.
* See https://webpack.js.org/api/module-methods/#magic-comments
*/
return import(
/* webpackChunkName: "lazy_assistant_settings_management" */
'./lazy_assistant_settings_management'
);
}
}