Skip to content

Commit

Permalink
[Fleet] Only expose minimum needed config to browser (#129619)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5a06e8f)
  • Loading branch information
joshdover committed Apr 6, 2022
1 parent c9c18f0 commit 20c8584
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/plugins/fleet/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ export { AgentNotFoundError } from './errors';
export const config: PluginConfigDescriptor = {
exposeToBrowser: {
epm: true,
agents: true,
agents: {
enabled: true,
},
},
deprecations: ({ deprecate, renameFromRoot, unused, unusedFromRoot }) => [
deprecate('enabled', '8.0.0'),
Expand Down

0 comments on commit 20c8584

Please sign in to comment.