Skip to main content

Variable: DashboardSessionOverviewItemSchema

const DashboardSessionOverviewItemSchema: ZodObject<{
application_id: ZodString;
application_name: ZodString;
} & {
session_id: ZodString;
last_session_activity: ZodOptional<ZodNullable<ZodString>>;
violation_status: ZodString;
violation_breakdown: ZodObject<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, "passthrough", ZodTypeAny, objectOutputType<{
application_id: ZodString;
application_name: ZodString;
} & {
session_id: ZodString;
last_session_activity: ZodOptional<ZodNullable<ZodString>>;
violation_status: ZodString;
violation_breakdown: ZodObject<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">, objectInputType<{
application_id: ZodString;
application_name: ZodString;
} & {
session_id: ZodString;
last_session_activity: ZodOptional<ZodNullable<ZodString>>;
violation_status: ZodString;
violation_breakdown: ZodObject<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<ZodNumber>;
high: ZodOptional<ZodNumber>;
medium: ZodOptional<ZodNumber>;
low: ZodOptional<ZodNumber>;
total: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, ZodTypeAny, "passthrough">>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ZodOptional<ZodString>;
violation_breakdown: ZodOptional<ZodObject<{
critical: ...;
high: ...;
medium: ...;
low: ...;
total: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>>;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/mgmt-dashboard-sessions.ts:47

One session inventory entry; status and detector names are forward-compatible strings.