Skip to content

Commit 7e4e2bb

Browse files
authored
Add config deprecation for securitySolutionServerless config rename (#161321)
## Summary Title.
1 parent 9d57196 commit 7e4e2bb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • x-pack/plugins/security_solution_serverless/server

x-pack/plugins/security_solution_serverless/server/config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@ export const config: PluginConfigDescriptor<ServerlessSecurityConfig> = {
2020
productTypes: true,
2121
},
2222
schema: configSchema,
23+
deprecations: ({ renameFromRoot }) => [
24+
renameFromRoot(
25+
'xpack.serverless.security.productTypes',
26+
'xpack.securitySolutionServerless.productTypes',
27+
{ silent: true, level: 'warning' }
28+
),
29+
],
2330
};

0 commit comments

Comments
 (0)