Skip to content

PUT /hosts/{id}/device_mapping should only trigger a resend of profiles when the IdP value changes #41239

@lucasmrod

Description

@lucasmrod

Fleet version: 4.81.2


Related to https://github.com/fleetdm/confidential/issues/14785.

💥  Actual behavior

PUT /api/_version_/fleet/hosts/{id}/device_mapping unconditionally triggers a resend of profiles with IdP variables, even if the email being set is the same email already set.

🛠️ To fix

🧑‍💻  Steps to reproduce

  1. Configure a configuration profile with IdP e-mail variables.
  2. Manually run PUT /api/_version_/fleet/hosts/{id}/device_mapping

Metadata

Metadata

Assignees

Labels

#g-orchestrationOrchestration product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.P2Urgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needbugSomething isn't working as documentedcustomer-numa

Type

No type

Projects

Status

✔️Awaiting QA

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions