Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Only expose minimum needed config to browser #129619

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

joshdover
Copy link
Contributor

@joshdover joshdover commented Apr 6, 2022

Summary

This changes Fleet's config to only expose the xpack.fleet.agents.enabled flag instead of the entire xpack.fleet.agents.* object to the browser. The other flags were unused.

@joshdover joshdover added Team:Fleet Team label for Observability Data Collection Fleet team auto-backport Deprecated - use backport:version if exact versions are needed v8.2.0 v8.3.0 v8.1.3 v7.17.3 labels Apr 6, 2022
@joshdover joshdover marked this pull request as ready for review April 6, 2022 17:57
@joshdover joshdover requested a review from a team as a code owner April 6, 2022 17:57
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

Copy link
Contributor

@jen-huang jen-huang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit, overall change LGTM

@@ -47,7 +47,9 @@ const DEFAULT_BUNDLED_PACKAGE_LOCATION = path.join(__dirname, '../target/bundled
export const config: PluginConfigDescriptor = {
exposeToBrowser: {
epm: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we remove this line too? we don't have any epm.* configs

@jen-huang jen-huang added the release_note:skip Skip the PR/issue when compiling release notes label Apr 6, 2022
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Test Failures

  • [job] [logs] Default CI Group #12 / alerting api integration spaces only Alerting builtin alertTypes es_query alert runs correctly: use epoch millis - threshold on hit count < > for searchSource search type
  • [job] [logs] Default CI Group #4 / lens app lens metrics should reset the color stops when changing palette to a predefined one

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.2
8.1
7.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Apr 6, 2022
kibanamachine added a commit that referenced this pull request Apr 6, 2022
kibanamachine added a commit that referenced this pull request Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v7.17.3 v8.1.3 v8.2.0 v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants