mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
36 lines
1.0 KiB
TypeScript
36 lines
1.0 KiB
TypeScript
export type IOsqueryPlatform =
|
|
| "darwin"
|
|
| "macOS"
|
|
| "windows"
|
|
| "Windows"
|
|
| "linux"
|
|
| "Linux";
|
|
|
|
export type IPlatformString =
|
|
| ""
|
|
| "darwin"
|
|
| "windows"
|
|
| "linux"
|
|
| "darwin,windows,linux"
|
|
| "darwin,windows"
|
|
| "darwin,linux"
|
|
| "windows,linux";
|
|
|
|
export const SUPPORTED_PLATFORMS = ["darwin", "windows", "linux"] as const;
|
|
|
|
// TODO: revisit this approach pending resolution of https://github.com/fleetdm/fleet/issues/3555.
|
|
export const MACADMINS_EXTENSION_TABLES: Record<string, IOsqueryPlatform[]> = {
|
|
file_lines: ["darwin", "linux", "windows"],
|
|
filevault_users: ["darwin"],
|
|
google_chrome_profiles: ["darwin", "linux", "windows"],
|
|
macos_profiles: ["darwin"],
|
|
mdm: ["darwin"],
|
|
munki_info: ["darwin"],
|
|
munki_install: ["darwin"],
|
|
// network_quality: ["darwin"], // TODO: add this table if/when it is incorporated into orbit
|
|
puppet_info: ["darwin", "linux", "windows"],
|
|
puppet_logs: ["darwin", "linux", "windows"],
|
|
puppet_state: ["darwin", "linux", "windows"],
|
|
macadmins_unified_log: ["darwin"],
|
|
};
|