-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Hide Fleet Server policies in standalone agent instructions #98787
[Fleet] Hide Fleet Server policies in standalone agent instructions #98787
Conversation
Pinging @elastic/fleet (Feature:Fleet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small copy suggestion, otherwise LGTM 🚀
const showFleetServerWarning = | ||
excludeFleetServer && packages.some((pkg) => pkg.name === FLEET_SERVER_PACKAGE); | ||
|
||
const collectedIntegrationsCount = packages.filter( | ||
(pkg) => !excludeFleetServer || pkg.name !== FLEET_SERVER_PACKAGE | ||
).length; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: would be good to useMemo()
these
'xpack.fleet.agentReassignPolicy.packageBadgeFleetServerWarning', | ||
{ | ||
defaultMessage: | ||
'The Fleet Server integration will not collect data in standalone mode.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'The Fleet Server integration will not collect data in standalone mode.', | |
'Fleet Server will not be enabled in standalone mode.', |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @Zacqary |
Summary
Closes #97707
Hides agent policies with
is_default_fleet_server: true
in theRun standalone
flyout:And shows a warning for other policies with the Fleet Server integration: