MCPcopy
hub / github.com/czlonkowski/n8n-mcp / WorkflowGroup

Interface WorkflowGroup

src/services/audit-report-builder.ts:118–125  ·  view source on GitHub ↗

* Group findings by workflow, returning a Map keyed by workflowId. * Each value includes workflow metadata and sorted findings.

Source from the content-addressed store, hash-verified

116 * Each value includes workflow metadata and sorted findings.
117 */
118interface WorkflowGroup {
119 workflowId: string;
120 workflowName: string;
121 workflowActive: boolean;
122 findings: AuditFinding[];
123 /** Worst severity in the group (lower = more severe). */
124 worstSeverity: number;
125}
126
127function groupByWorkflow(findings: AuditFinding[]): WorkflowGroup[] {
128 const map = new Map<string, WorkflowGroup>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected