Skip to main content

Variable: DashboardSessionsOverviewSchema

const DashboardSessionsOverviewSchema: ZodObject<{
items: ZodArray<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<..., ..., ..., ..., ...>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ZodOptional<...>;
violation_breakdown: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ZodOptional<...>;
violation_breakdown: ZodOptional<...>;
}, 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<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ZodOptional<...>;
violation_breakdown: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ...;
violation_breakdown: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ...;
violation_breakdown: ...;
}, 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<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ZodOptional<...>;
violation_breakdown: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ...;
violation_breakdown: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ...;
violation_breakdown: ...;
}, ZodTypeAny, "passthrough">>, "many">;
}, ZodTypeAny, "passthrough">>, "many">;
pagination: ZodObject<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>;
}, "passthrough", ZodTypeAny, objectOutputType<{
items: ZodArray<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<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ZodOptional<...>;
violation_breakdown: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ...;
violation_breakdown: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ...;
violation_breakdown: ...;
}, 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<...>;
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">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ...;
violation_breakdown: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "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<...>;
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">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ...;
violation_breakdown: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">;
}, ZodTypeAny, "passthrough">>, "many">;
pagination: ZodObject<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>;
}, ZodTypeAny, "passthrough">, objectInputType<{
items: ZodArray<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<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">, objectInputType<{
critical: ZodOptional<...>;
high: ZodOptional<...>;
medium: ZodOptional<...>;
low: ZodOptional<...>;
total: ZodOptional<...>;
}, ZodTypeAny, "passthrough">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ZodOptional<...>;
violation_breakdown: ZodOptional<...>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type: ...;
violation_breakdown: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type: ...;
violation_breakdown: ...;
}, 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<...>;
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">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ...;
violation_breakdown: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "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<...>;
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">>;
detection_type_violation_breakdown: ZodArray<ZodObject<{
detection_type: ...;
violation_breakdown: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">;
}, ZodTypeAny, "passthrough">>, "many">;
pagination: ZodObject<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
limit: ZodOptional<ZodNumber>;
skip: ZodOptional<ZodNumber>;
total_items: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>;
}, ZodTypeAny, "passthrough">>;

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

Paginated session inventory; absent items are not silently converted to an empty list.