mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Fleet UI: MDM > ABM fix org_name key (#9655)
This commit is contained in:
parent
100399878d
commit
9d594e1b4e
4 changed files with 2 additions and 29 deletions
|
|
@ -8,7 +8,7 @@ export interface IMdmApple {
|
|||
export interface IMdmAppleBm {
|
||||
default_team?: string;
|
||||
apple_id: string;
|
||||
organization_name: string;
|
||||
org_name: string;
|
||||
mdm_server_url: string;
|
||||
renew_date: string;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ const Mdm = (): JSX.Element => {
|
|||
<h4>Apple ID</h4>
|
||||
<p>{mdmAppleBm.apple_id}</p>
|
||||
<h4>Organization name</h4>
|
||||
<p>{mdmAppleBm.organization_name}</p>
|
||||
<p>{mdmAppleBm.org_name}</p>
|
||||
<h4>MDM Server URL</h4>
|
||||
<p>{mdmAppleBm.mdm_server_url}</p>
|
||||
<h4>Renew date</h4>
|
||||
|
|
|
|||
|
|
@ -22,9 +22,6 @@ const REQUEST_RESPONSE_MAPPINGS: IResponses = {
|
|||
// request query string is hostname, uuid, or mac address; response is host detail excluding any
|
||||
// expensive data operations
|
||||
"targets?query={*}": RESPONSES.hosts,
|
||||
"mdm/apple": RESPONSES.mdmApple,
|
||||
"mdm/apple_bm": RESPONSES.mdmAppleBm,
|
||||
"mdm/profile": RESPONSES.mdmEnrollmentProfile,
|
||||
},
|
||||
POST: {
|
||||
// request body is ISelectedTargets
|
||||
|
|
|
|||
|
|
@ -11,27 +11,6 @@ const count = {
|
|||
targets_missing_in_action: 0,
|
||||
};
|
||||
|
||||
// MDM TODO: Remove mock when backend is merged
|
||||
const mdmApple = {
|
||||
common_name: "Mock backend response APSP:04b46ce0-xxxx-xxxx-xxxx-xxxxxxxx",
|
||||
serial_number: "Mock backend response 123938388712",
|
||||
issuer:
|
||||
"Mock backend response Apple Application Integration 2 Certification Authority",
|
||||
renew_date: "2023-09-30T00:00:00Z",
|
||||
};
|
||||
|
||||
// MDM TODO: Remove mock when backend is merged
|
||||
const mdmAppleBm = {
|
||||
default_team: "Mock backend response Apples",
|
||||
apple_id: "Mock backend response test@example.com",
|
||||
organization_name: "Mock backend response Fleet Device Management",
|
||||
mdm_server_url: "Mock backend response https://fleet.organization.com/mdm",
|
||||
renew_date: "2023-09-30T00:00:00Z",
|
||||
};
|
||||
|
||||
// MDM TODO: Remove mock when backend is merged
|
||||
const mdmEnrollmentProfile = {};
|
||||
|
||||
const hosts = {
|
||||
hosts: [
|
||||
{
|
||||
|
|
@ -389,7 +368,4 @@ export default {
|
|||
count,
|
||||
hosts,
|
||||
labels,
|
||||
mdmApple,
|
||||
mdmAppleBm,
|
||||
mdmEnrollmentProfile,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue