fleet/server/service/testdata/profiles
Lucas Manuel Rodriguez 608f768dd7
Add support for IdP department to SCIM and add FLEET_VAR_HOST_END_USER_IDP_DEPARTMENT fleet variable (#30375)
#29609

Verified the changes with [Entra ID's
validator](https://scimvalidator.microsoft.com/) and adding the
department attribute to the tester:
<img width="1312" alt="Screenshot 2025-06-27 at 8 54 32 AM"
src="https://github.com/user-attachments/assets/45a5deb8-7c65-49df-b3e8-eb05bea11f6b"
/>
<img width="1312" alt="Screenshot 2025-06-27 at 8 54 21 AM"
src="https://github.com/user-attachments/assets/91b554b5-b0b9-4bb6-a0cf-4e3b40e6ce21"
/>

- Tested with Okta
- TODO: Test with Entra ID and Google Workspace.
- I decided to not fail profile deployment if a user has no department
because it's not a required attribute, instead the
`FLEET_VAR_HOST_END_USER_IDP_DEPARTMENT` will be replaced with the empty
string.

---

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] If database migrations are included, checked table schema to
confirm autoupdate

(https://github.com/fleetdm/fleet/blob/main/docs/Configuration/yaml-files.md#L485)
- For database migrations:
- [X] Checked schema for all modified table for columns that will
auto-update timestamps during migration.
- [X] Confirmed that updating the timestamps is acceptable, and will not
cause unwanted side effects.
- [X] Ensured the correct collation is explicitly set for character
columns (`COLLATE utf8mb4_unicode_ci`).
- [X] Added/updated automated tests
- [X] Manual QA for all new/changed functionality
2025-06-29 15:23:03 -03:00
..
custom-profile-validation.mobileconfig Add support for IdP department to SCIM and add FLEET_VAR_HOST_END_USER_IDP_DEPARTMENT fleet variable (#30375) 2025-06-29 15:23:03 -03:00
custom-scep-digicert-validation.mobileconfig NDES variable validation (#28734) 2025-05-01 14:40:06 -05:00
custom-scep-validation.mobileconfig Custom SCEP renewal (#28616) 2025-04-30 15:31:45 -04:00
custom-scep-validation2.mobileconfig NDES cert renewal (#28712) 2025-05-01 12:16:45 -05:00
custom-scep.mobileconfig Custom SCEP renewal (#28616) 2025-04-30 15:31:45 -04:00
custom-scep2.mobileconfig NDES cert renewal (#28712) 2025-05-01 12:16:45 -05:00
digicert-validation.mobileconfig Additional CA validation (#27169) 2025-03-19 08:27:55 -05:00
digicert-validation2.mobileconfig Additional CA validation (#27169) 2025-03-19 08:27:55 -05:00
digicert.mobileconfig Custom SCEP integration (#27121) 2025-03-17 10:59:07 -05:00
digicert2.mobileconfig Fixed data replacement issue and empty UPN issue in DigiCert integration (#27574) 2025-03-27 11:27:21 -05:00