Skip to content

Commit

Permalink
[Fleet] Only expose minimum needed config to browser (#129619) (#129643)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5a06e8f)

Co-authored-by: Josh Dover <[email protected]>
  • Loading branch information
kibanamachine and joshdover authored Apr 6, 2022
1 parent 580727d commit e5456c1
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 e5456c1

Please sign in to comment.