class OutputBuilderJsonl

Defined in:

output_builder/jsonl.cr

Instance Method Summary

Instance methods inherited from class OutputBuilder

analyzer_failures : Array(AnalyzerFailure) analyzer_failures, analyzer_failures=(analyzer_failures : Array(AnalyzerFailure)) analyzer_failures=, bake_endpoint(url : String, params : Array(Param)) bake_endpoint, io : IO io, io=(io : IO) io=, logger : NoirLogger logger, ob_puts(message) ob_puts, output_file : String output_file, print(endpoints : Array(Endpoint), passive_results : Array(PassiveScanResult))
print
print

Constructor methods inherited from class OutputBuilder

new(options : Hash(String, YAML::Any)) new

Instance Method Detail

def print(endpoints : Array(Endpoint), passive_results : Array(PassiveScanResult) = [] of PassiveScanResult) #

Passive findings were dropped from JSONL entirely (only the JSON builder mapped them). Emit each finding on its own line after the endpoints so a -P scan's secrets/etc. survive the JSONL pipeline. Consumers tell the two apart by shape (endpoints carry url/method, findings carry id/info).


[View source]