class OutputBuilderMermaid

Defined in:

output_builder/mermaid.cr

Constant Summary

CLI_PARAM_LABELS = {"flag" => "flags", "argument" => "arguments", "env" => "env"}

CLI inputs get a plural label; the bucket key is the singular param type.

RENDERED_BUCKETS = Set {"header", "cookie", "query", "json", "form", "path"}

Buckets output_tree renders explicitly, under a label of their own.

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) #
Description copied from class OutputBuilder

Two-argument entry point every -f format answers to, so Noir::OutputFormats.render can hand each builder the same pair. Formats with nothing to say about passive findings inherit this and implement only print(endpoints).


[View source]