mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
For #27282 add new idp section on the integration page. This page will show the different statuses for the users idp connection with fleet. **not connected**  **successful connection**  **failed connection**  <!-- Note that API documentation changes are now addressed by the product design team. --> - [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/Committing-Changes.md#changes-files) for more information. - [ ] Added/updated automated tests - [x] Manual QA for all new/changed functionality
16 lines
546 B
TypeScript
16 lines
546 B
TypeScript
import { IGetSCIMDetailsResponse } from "services/entities/idp";
|
|
|
|
const DEFAULT_GET_SCIM_DETAILS_MOCK: IGetSCIMDetailsResponse = {
|
|
last_request: {
|
|
requested_at: "2025-01-29T17:00:00Z",
|
|
status: "success",
|
|
details: "Successfully received end user information from your IdP",
|
|
},
|
|
};
|
|
|
|
// eslint-disable-next-line import/prefer-default-export
|
|
export const createMockGetSCIMDetailsResponse = (
|
|
overrides?: Partial<IGetSCIMDetailsResponse>
|
|
): IGetSCIMDetailsResponse => {
|
|
return { ...DEFAULT_GET_SCIM_DETAILS_MOCK, ...overrides };
|
|
};
|