2024-04-30 00:31:10 +00:00
|
|
|
import { SandboxInfo } from 'app/common/SandboxInfo';
|
2024-03-04 21:22:47 +00:00
|
|
|
|
|
|
|
export type BootProbeIds =
|
|
|
|
'boot-page' |
|
|
|
|
'health-check' |
|
|
|
|
'reachable' |
|
|
|
|
'host-header' |
|
2024-04-30 00:31:10 +00:00
|
|
|
'sandboxing' |
|
2024-05-16 17:09:38 +00:00
|
|
|
'system-user' |
|
2024-05-23 20:40:31 +00:00
|
|
|
'authentication' |
|
|
|
|
'websockets'
|
2024-03-04 21:22:47 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
export interface BootProbeResult {
|
|
|
|
verdict?: string;
|
2024-05-23 20:40:31 +00:00
|
|
|
// Result of check.
|
|
|
|
// "success" is a positive outcome.
|
|
|
|
// "none" means no fault detected (but that the test is not exhaustive
|
|
|
|
// enough to claim "success").
|
|
|
|
// "fault" is a bad error, "warning" a ... warning, "hmm" almost a debug message.
|
|
|
|
status: 'success' | 'fault' | 'warning' | 'hmm' | 'none';
|
2024-03-04 21:22:47 +00:00
|
|
|
details?: Record<string, any>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface BootProbeInfo {
|
|
|
|
id: BootProbeIds;
|
|
|
|
name: string;
|
|
|
|
}
|
|
|
|
|
2024-04-30 00:31:10 +00:00
|
|
|
export type SandboxingBootProbeDetails = SandboxInfo;
|