Skip to content

Commit

Permalink
Add config deprecation for securitySolutionServerless config rename (#…
Browse files Browse the repository at this point in the history
…161321)

## Summary

Title.
  • Loading branch information
pgayvallet committed Jul 6, 2023
1 parent 9d57196 commit 7e4e2bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions x-pack/plugins/security_solution_serverless/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ export const config: PluginConfigDescriptor<ServerlessSecurityConfig> = {
productTypes: true,
},
schema: configSchema,
deprecations: ({ renameFromRoot }) => [
renameFromRoot(
'xpack.serverless.security.productTypes',
'xpack.securitySolutionServerless.productTypes',
{ silent: true, level: 'warning' }
),
],
};

0 comments on commit 7e4e2bb

Please sign in to comment.