Closed noahtalerman closed 8 months ago
Please add your planning poker estimate with Zenhub @roperzh
Please add your planning poker estimate with Zenhub @gillespi314
Heads-up that I updated the description of this issue to allow GitOps to read the following endpoints:
GET /api/latest/fleet/mdm/hosts/:host_id/profiles
GET /api/latest/fleet/hosts/identifier/:identifier
We discussed in stand-up that it was okay to make this change.
As a last sanity check, I have been looking at the issue that implemented GitOps and seems like we were in close communication with ~customer-domon
every time we needed to give GitOps read access to endpoints as this was their request. Raising this in case you want to sanity check w/them.
cc: @noahtalerman @marko-lisica @georgekarrv
Hey @roperzh thanks for the heads up! I think let's go ahead with making the change and updating the permissions docs.
If the customer has any concerns when they read the release notes or docs then they'll let us know then.
FYI @ksatter
@noahtalerman @rachaelshaw do you have any thoughts about adding a query parameter named for_update
to the endpoints listed above?
This is to keep them consistent with the other gitops exception we have:
@roperzh I think up to @rachaelshaw but here's my thoughts:
Can we give read-access to the GitOps user w/o adding the for_update
query param?
It's likely we give GitOps read access to other endpoints in the future.
I'm wary of going down the road of adding a for_update
parameter every time we want to give the GitOps user read access to some endpoints.
Why? I think it's confusing for the API user. If I'm writing an automation that hits GET /hosts/identifier/:identifier
do I have to use it?
Can we give read-access to the GitOps user w/o adding the
for_update
query param?It's likely we give GitOps read access to other endpoints in the future.
@roperzh I agree with @noahtalerman about leaving out the for_update
parameter, if we can. If a parameter doesn't change anything about the data being returned (which looks like it doesn't, it's just an extra authorization step for GitOps users, right?) then I think it adds complexity we don't need.
@rachaelshaw thank you very much!! Do you want me to get rid of for_update
? Or create a story for that?
@roperzh let's bring to Feature Fest; it's been around for awhile, right? (cc @noahtalerman)
will do, and yes! it's been around since we released gitops
Paired with Roberto to verify fix.
Docs PR is here (needs to be merged): https://github.com/fleetdm/fleet/pull/17367
@Patagonia121, heads up, this customer request was shipped in Fleet 4.47.
Puppet module tuned, GitOps user now in sync, Secure Fleet, unfettered.
Goal
Changes
Product
GET /api/latest/fleet/mdm/hosts/:host_id/profiles
GET /api/latest/fleet/hosts/identifier/:identifier
Engineering
QA
Risk assessment
Manual testing steps
Testing notes
Confirmation