fleet/frontend/interfaces
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
..
activity.ts Microsoft Compliance Partner backend changes (#29540) 2025-06-11 14:22:46 -03:00
campaign.ts Full-stack: Granular host count data for live queries/policies (#27258) 2025-03-19 09:53:55 -07:00
certificates.ts update host details cert card (#29827) 2025-06-13 13:00:41 +01:00
config.ts Add null check to fix manage automations issue (#30154) 2025-06-19 14:51:49 -05:00
config_option.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
datatable_config.ts update UI to react 18 (#17471) 2024-03-13 19:09:16 +00:00
decorators.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
dropdownOption.ts UI: Conditional access - Microsoft Entra (#27982) 2025-04-15 13:55:07 -07:00
empty_table.ts Icons improvements (making frontend consistent with Figma component library) (#14185) 2023-10-31 16:06:38 +00:00
enroll_secret.ts Add/Edit/Delete enroll secret UI (#2645) 2021-11-15 16:16:06 -05:00
errors.ts Add metadata field to end user authentication UI (#24579) 2024-12-10 14:13:15 -06:00
form_field.ts Define new Query interfaces for queries with scheduling features (#12676) 2023-07-12 13:22:56 -07:00
host.ts 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
host_summary.ts (Released bugs) Fleet UI label bugs: Dynamic platform labels, chromeos dashboard filters for missing chromeos hosts (#16680) 2024-02-09 11:02:23 -05:00
host_users.ts Host Details Page: Users table (#1152) 2021-06-22 12:26:57 -07:00
installer.ts Add UI for Fleet Sandbox to download prepackaged installers (#6721) 2022-07-19 14:28:06 -05:00
integration.ts UI: Conditional access - Microsoft Entra (#27982) 2025-04-15 13:55:07 -07:00
invite.ts Fleet UI: 2FA (#24442) 2024-12-05 15:54:43 -05:00
label.ts Add ability to target labels on policies (#27599) 2025-04-02 16:31:03 -05:00
license.js add prettier and have it format all fleet application code (#625) 2021-04-12 14:32:25 +01:00
list_options.ts Use server-side sort for host certificates (#26898) 2025-03-07 12:28:07 -06:00
macadmins.ts Add MDM Card to Windows and All Dashboards and change mdm data source on host details page (#8960) 2022-12-16 15:12:11 -06:00
mdm.ts Linux disk encryption: frontend changes, backend missing private key errors, remove disk encryption endpoints dependence on MDM being enabled (#23714) 2024-11-20 11:58:47 -08:00
notification.ts Fleet UI: Fix policy software automation fail to report as failing (#26044) 2025-02-28 08:45:33 -05:00
operating_system.ts more interface updates (#16644) 2024-02-15 10:35:05 -07:00
osquery_table.ts Frontend of iOS/iPadOS as platforms/labels (#20157) 2024-07-09 09:18:00 -04:00
pack.ts Frontend: Organize response interfaces into appropriate interface directories (#8742) 2022-11-18 11:25:39 -05:00
package_type.ts Fleet UI: Upload and install tarball archives (#27839) 2025-05-02 10:17:09 -04:00
platform.ts Add neon to Linux platform list (#28977) 2025-05-12 17:37:21 -05:00
policy.ts UI: Update conditional access on a per-policy basis (#28658) 2025-05-01 11:43:38 -07:00
query.ts 21855 – Paginate and filter Queries on the server, update platform filtering from compatible to targeted platforms (#24446) 2024-12-11 10:50:28 -08:00
query_report.ts Added server_settings.query_report_cap (#19692) 2024-06-14 12:24:01 -03:00
query_stats.ts Feature: 15605 merge inherited queries and policies (#18771) 2024-05-07 12:10:06 -04:00
registration_form_data.js Remove username from UI (#1168) 2021-06-24 13:42:29 -07:00
registration_form_data.ts Fix missing field in setup confirmation (#2005) 2021-09-10 18:53:28 -05:00
routing.ts UI: Conditional access - Microsoft Entra (#27982) 2025-04-15 13:55:07 -07:00
schedulable_query.ts Ability to add labels to queries (front end) (#26867) 2025-03-12 11:54:29 -07:00
scheduled_query.ts Feature: 15605 merge inherited queries and policies (#18771) 2024-05-07 12:10:06 -04:00
script.ts 29762: Fixed bug with run script modal on FreeTier. (#30138) 2025-06-23 13:03:22 -04:00
software.ts Fleet UI: Host software followup (#30205) 2025-06-23 11:09:20 -04:00
ssoSettings.ts Fleet UI: No role = no access, refactor jsx class components to typescript functional components (#12953) 2023-08-02 11:29:49 -04:00
status_labels.ts Include MIA hosts under total count for Offline hosts (#5854) 2022-05-23 14:11:02 -05:00
target.ts Frontend refactor: To typescript, remove unused testing stubs, functi… (#20306) 2024-07-24 12:08:38 -04:00
team.ts Add UI for enabling manual agent install of a bootstrap package (#28550) 2025-04-29 15:29:21 +01:00
team_subnav.ts UI – Team-level host expiry setting (#16276) 2024-01-25 18:19:49 +00:00
user.ts UI - use new db user settings to persist user's host table column preferences (#25185) 2025-01-09 10:53:43 -08:00
version.ts Auth Redux Removal (#4924) 2022-04-07 09:08:00 -07:00
vulnerability.ts Fleet UI: Improve CVE search responses (#21286) 2024-08-14 11:41:56 -04:00
webhook.ts UI – Activity feed webhook automation modal (#19285) 2024-05-28 13:18:02 -07:00