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
  • Loading branch information
joshdover authored Apr 6, 2022
1 parent e046687 commit 5a06e8f
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 @@ -47,7 +47,9 @@ const DEFAULT_BUNDLED_PACKAGE_LOCATION = path.join(__dirname, '../target/bundled
export const config: PluginConfigDescriptor = {
exposeToBrowser: {
epm: true,
agents: true,
agents: {
enabled: true,
},
},
deprecations: ({ renameFromRoot, unused, unusedFromRoot }) => [
// Unused settings before Fleet server exists
Expand Down

0 comments on commit 5a06e8f

Please sign in to comment.