-
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] agent_status total deprecated, added all and active #151564
[Fleet] agent_status total deprecated, added all and active #151564
Conversation
Pinging @elastic/fleet (Team:Fleet) |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
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.
🚀 Should we add a release note when we deprecate something in the API?
@elastic/security-defend-workflows @kevinlog hey team, could someone review this from your side? It is a small change in Fleet API. |
@@ -25,6 +25,8 @@ export const initialPolicyDetailsState: () => Immutable<PolicyDetailsState> = () | |||
online: 0, | |||
total: 0, | |||
other: 0, | |||
all: 0, |
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.
Got a question, what about all the places where we already use the .total
? Should we change all the .total
references by .all
? Or, is .total
still working as before?
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.
yes, total
still works as it is only deprecated, it should be changed eventually by the time the deprecation is removed (next major)
Summary
Fixes #135980
Marked
total
deprecated in/agent_status
API response, instead addedall
(all agents) andactive
(all - inactive - unenrolled).Checklist