[Fleet][RBAC v2] Update agent_status route to use calculateRouteAuthz#147696
Conversation
2efe8ee to
6a48b92
Compare
.../plugins/security_solution/server/endpoint/services/fleet/endpoint_fleet_services_factory.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Do we use this API in all of this areas of Security Solution?
I thought it was only used in Policy Details, but maybe I'm wrong. Let me know
There was a problem hiding this comment.
Yeah, you're right. I'll remove the other artifacts' privileges.
There was a problem hiding this comment.
please revert. This was by design to provide the ability for the caller to still access an internal client if needed.
There was a problem hiding this comment.
I see. Will revert so that asScoped has the internal client.
.../plugins/security_solution/server/endpoint/services/fleet/endpoint_fleet_services_factory.ts
Outdated
Show resolved
Hide resolved
.../plugins/security_solution/server/endpoint/services/fleet/endpoint_fleet_services_factory.ts
Outdated
Show resolved
Hide resolved
180a782 to
4f0ac7a
Compare
|
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
|
Pinging @elastic/fleet (Team:Fleet) |
kpollich
left a comment
There was a problem hiding this comment.
Reapproving for Fleet codeowners review since it seems like @juliaElastic's review came before a Fleet team ping.
refs elastic/pull/145361 refs elastic/security-team/issues/5539 fixes elastic/security-team/issues/5620
…-ref HEAD~1..HEAD --fix'
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @ashokaditya |
Summary
Follow up PR to update
api/fleet/agent_statusroute.refs /pull/145361
refs elastic/security-team/issues/5539
Checklist
For maintainers