Skip to main content

vulkro dataflow

Document data flows. For every input surface (REST endpoints plus events), vulkro dataflow traces the functions and classes the data passes through, the sinks and stores it reaches, and how it is protected (sanitisers) or classified (PII). The result is a connected graph you can render as Mermaid, DOT, or JSON, or as a Markdown document.

By default every input surface is documented ("all flows"); the filter flags below narrow the view. This command documents rather than gates, so it never exits 1.

Usage

vulkro dataflow [PATH]
ArgumentDescriptionDefault
PATHPath to the project root..

Flags

FlagDescription
--format, -f <FORMAT>table (default), json, mermaid, dot, markdown. The console Data flow map reads the json form.
--reaching-sinkOnly document flows that reach at least one security-relevant sink.
--sensitiveOnly document flows that carry classified (PII) data.
--min-severity <SEV>Only document flows whose worst reached sink is at least this severe: critical, high, medium, low, info.
--source <SUBSTR>Only document flows whose input-surface label contains this substring (case-insensitive), for example --source /users.
--no-cacheBypass the per-file extraction cache.
--force-appBypass the framework self-scan heuristic (see vulkro discover).
--force-all-rulesBypass the posture-based rule-applicability gate.

Output formats

FormatUse
tableHuman-readable summary, one row per input surface.
jsonStructured nodes + edges + flows. The desktop console graph reads this.
mermaidMermaid flowchart LR source, paste into a Markdown doc.
dotGraphviz DOT source.
markdownOne documentation section per input surface.

Exit codes

  • 0 success.
  • 2 argument error or internal failure.

Exit 1 is not used: dataflow documents, it does not gate.

Examples

# Human summary of every input surface.
vulkro dataflow .

# Only flows that reach a High-or-worse sink, as Mermaid.
vulkro dataflow . --reaching-sink --min-severity high --format mermaid

# Only PII-carrying flows from the /users surface, as JSON.
vulkro dataflow . --sensitive --source /users --format json > flows.json