mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
This relates to #12577 --------- Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com> Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
43 lines
1.2 KiB
TypeScript
43 lines
1.2 KiB
TypeScript
import { MdmProfileStatus } from "interfaces/mdm";
|
|
import { IndicatorStatus } from "components/StatusIndicatorWithIcon/StatusIndicatorWithIcon";
|
|
|
|
interface IAggregateDisplayOption {
|
|
value: MdmProfileStatus;
|
|
text: string;
|
|
iconName: IndicatorStatus;
|
|
tooltipText: string;
|
|
}
|
|
|
|
const AGGREGATE_STATUS_DISPLAY_OPTIONS: IAggregateDisplayOption[] = [
|
|
{
|
|
value: "verified",
|
|
text: "Verified",
|
|
iconName: "success",
|
|
tooltipText:
|
|
"These hosts applied all OS settings. Fleet verified with osquery.",
|
|
},
|
|
{
|
|
value: "verifying",
|
|
text: "Verifying",
|
|
iconName: "successPartial",
|
|
tooltipText:
|
|
"These hosts acknowledged all MDM commands to apply OS settings. " +
|
|
"Fleet is verifying the OS settings are applied with osquery.",
|
|
},
|
|
{
|
|
value: "pending",
|
|
text: "Pending",
|
|
iconName: "pendingPartial",
|
|
tooltipText:
|
|
"These hosts will receive MDM command to apply OS settings when the host come online.",
|
|
},
|
|
{
|
|
value: "failed",
|
|
text: "Failed",
|
|
iconName: "error",
|
|
tooltipText:
|
|
"These host failed to apply the latest OS settings. Click on a host to view error(s).",
|
|
},
|
|
];
|
|
|
|
export default AGGREGATE_STATUS_DISPLAY_OPTIONS;
|