module

Noir::CLI::QueryCommand

noir query [filters] [paths...] [scan flags]

Attack-surface search. Filters AND together; a comma list inside one filter is OR. --sink any / --signal any / --source any match a non-empty bucket.

Constants

SINGLE_PATTERN_FLAGS = ["--url", "--path", "--handler"] of ::String

One pattern each: a URL or path can hold a comma (matrix params, Rails formats), so the value is not split into an OR list.

VALUE_FLAGS = ["--method", "--url", "--path", "--project", "--handler", "--tech", "--tag", "--param", "--param-type", "--protocol", "--sink", "--source", "--signal", "--validator"] of ::String

Filter flags and the Filters field each one fills. Every one takes a value except the guard switches.

Class methods

parse_filters(args : Array(String)) : Parsed
Source
run(argv : Array(String))
Source

Nested types