-
Notifications
You must be signed in to change notification settings - Fork 843
Add full name (IdP host vital) as a variable in configuration profiles #30888
Copy link
Copy link
Closed
Labels
#g-mdmMDM product groupMDM product group:productProduct Design department (shows up on 🦢 Drafting board)Product Design department (shows up on 🦢 Drafting board)customer-reedtimmerstoryA user story defining an entire featureA user story defining an entire feature~customer promiseA feature request, or user story for a request, that Fleet has contractually agreed to deliverA feature request, or user story for a request, that Fleet has contractually agreed to deliver
Milestone
Metadata
Metadata
Assignees
Labels
#g-mdmMDM product groupMDM product group:productProduct Design department (shows up on 🦢 Drafting board)Product Design department (shows up on 🦢 Drafting board)customer-reedtimmerstoryA user story defining an entire featureA user story defining an entire feature~customer promiseA feature request, or user story for a request, that Fleet has contractually agreed to deliverA feature request, or user story for a request, that Fleet has contractually agreed to deliver
Type
Projects
Status
Done
Status
Done
Goal
Roadmap item
💻 Inject foreign host vitals from your identity provider (IdP) and variables in scripts and configuration profiles
Original requests
customer-reedtimmer's needs.Context
Changes
Product
$FLEET_VAR_HOST_END_USER_IDP_FULL_NAMEvariable as specified in this YAML reference PR.Engineering
QA
Risk assessment
Test plan
Using an IdP (one of Okta, Entra ID, Google Workspace, and Authentik), create a user and add the
givenName(SCIM way of saying "first name") andfamilyName("last name") to construct the end user's full name. Also take note of the (userName) (email most of the time)Automatically enroll a macOS host and when you hit the local account creation screen, create a user with the same email as the user you created in your IdP.See commentVerify that the "Full name" shows up on the host's Host details page.
Create a configuration profiles with the variable
$FLEET_VAR_HOST_END_USER_IDP_FULL_NAMEand add it to Fleet.When a host has a full name in Fleet that's constructed with only the first name from the IdP, verify that the first name is what appears in the profile. Repeat this for the last name.see commentIn the IdP, update an end user's full name. Verify that the full name changes in Fleet (Host details page and API that powers it). Verify that Fleet resends the configuration profile that includes the
$FLEET_VAR_HOST_END_USER_IDP_FULL_NAMEvariable.In the IdP, when configuring the SCIM app, don't map first name and last name. Save the app in the IdP and verify that you see an error message in Fleet under Settings > Integrations > IdP. Verify that an error shows up in Okta and share a screenshot of the error in the the comment section of this story.
Testing notes
Confirmation