2022-08-05 13:27:10 +00:00
|
|
|
|
export const LABEL_SLUG_PREFIX = "labels/";
|
|
|
|
|
|
2022-10-19 22:24:42 +00:00
|
|
|
|
export const DEFAULT_SORT_HEADER = "display_name";
|
2022-08-05 13:27:10 +00:00
|
|
|
|
export const DEFAULT_SORT_DIRECTION = "asc";
|
2022-08-23 17:29:44 +00:00
|
|
|
|
export const DEFAULT_PAGE_SIZE = 20;
|
2022-08-05 13:27:10 +00:00
|
|
|
|
|
|
|
|
|
export const HOST_SELECT_STATUSES = [
|
|
|
|
|
{
|
|
|
|
|
disabled: false,
|
|
|
|
|
label: "All hosts",
|
2022-10-10 18:07:47 +00:00
|
|
|
|
value: "",
|
2022-11-22 22:15:17 +00:00
|
|
|
|
helpText: "All hosts added to Fleet.",
|
2022-08-05 13:27:10 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
disabled: false,
|
|
|
|
|
label: "Online hosts",
|
|
|
|
|
value: "online",
|
2022-11-22 22:15:17 +00:00
|
|
|
|
helpText: "Hosts that will respond to a live query.",
|
2022-08-05 13:27:10 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
disabled: false,
|
|
|
|
|
label: "Offline hosts",
|
|
|
|
|
value: "offline",
|
2022-11-22 22:15:17 +00:00
|
|
|
|
helpText: "Hosts that won’t respond to a live query.",
|
2022-08-05 13:27:10 +00:00
|
|
|
|
},
|
2022-10-14 20:21:30 +00:00
|
|
|
|
{
|
|
|
|
|
disabled: false,
|
|
|
|
|
label: "Missing hosts",
|
|
|
|
|
value: "missing",
|
|
|
|
|
helpText: "Hosts that have been offline for 30 days or more.",
|
|
|
|
|
},
|
2022-08-05 13:27:10 +00:00
|
|
|
|
{
|
|
|
|
|
disabled: false,
|
|
|
|
|
label: "New hosts",
|
|
|
|
|
value: "new",
|
2022-11-22 22:15:17 +00:00
|
|
|
|
helpText: "Hosts added to Fleet in the last 24 hours.",
|
2022-08-05 13:27:10 +00:00
|
|
|
|
},
|
|
|
|
|
];
|