Variable: DashboardApplicationViolationBreakdownSchema
const DashboardApplicationViolationBreakdownSchema: ZodObject<{
detection_type_violation_breakdown: ZodOptional<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">>;
total_violating: ZodOptional<ZodNumber>;
}, "passthrough", ZodTypeAny, objectOutputType<{
detection_type_violation_breakdown: ZodOptional<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">>;
total_violating: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">, objectInputType<{
detection_type_violation_breakdown: ZodOptional<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">>;
total_violating: ZodOptional<ZodNumber>;
}, ZodTypeAny, "passthrough">>;
Defined in: src/models/mgmt-dashboard.ts:92
Per-application violation breakdown response - detector by detector.