Skip to content

[Fleet] Restrict output type for Fleet Server#149873

Merged
nchaulet merged 4 commits intoelastic:mainfrom
nchaulet:feature-restrict-output-type-fleet-server
Jan 30, 2023
Merged

[Fleet] Restrict output type for Fleet Server#149873
nchaulet merged 4 commits intoelastic:mainfrom
nchaulet:feature-restrict-output-type-fleet-server

Conversation

@nchaulet
Copy link
Copy Markdown
Member

Summary

Resolve #148896

Logstash is not a valid output type for Fleet Server.
That PR fix that by disalowing settings logstash as an output type for Fleet Server (in addition of the existing restriction for APM)

UI Changes

Screen Shot 2023-01-30 at 1 07 20 PM

How to test?

  1. Create a dummy logstash output no need to add real certificate
  2. create a fleet server policy, you should not be able to set logstash as an output

@nchaulet nchaulet added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.7.0 labels Jan 30, 2023
@nchaulet nchaulet self-assigned this Jan 30, 2023
@nchaulet nchaulet requested a review from a team as a code owner January 30, 2023 18:22
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@nchaulet
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

Copy link
Copy Markdown
Member

@kpollich kpollich left a comment

Choose a reason for hiding this comment

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

Code LGTM 🚀 - Appreciate the separate module + tests

…m:nchaulet/kibana into feature-restrict-output-type-fleet-server
@nchaulet nchaulet enabled auto-merge (squash) January 30, 2023 21:05
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
fleet 767 768 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 923.3KB 923.3KB -43.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
fleet 121.6KB 121.8KB +275.0B

History

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

cc @nchaulet

@nchaulet nchaulet merged commit e2e5863 into elastic:main Jan 30, 2023
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Jan 30, 2023
@nchaulet nchaulet deleted the feature-restrict-output-type-fleet-server branch January 30, 2023 21:59
kqualters-elastic pushed a commit to kqualters-elastic/kibana that referenced this pull request Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fleet] Fleet Server Policy should forbid setting Logstash as its output

5 participants