Skip to main content

Module script

Module script 

Source

Functions§

run_script_rules
Run all script rules defined in the config against the enriched graph. Script rules are rules with a command field in [rules]. Each script rule receives { graph, options } as JSON on stdin — the enriched graph (nodes, edges, analyses) plus the rule’s options — and emits diagnostics as newline-delimited JSON on stdout.