Analyzer::Elixir::Bandit
Inherits Analyzer::Elixir::Plug < Analyzer::Elixir::ElixirEngine < FileScanEngine < Analyzer < FileHelper < Reference < Object
Bandit (https://github.com/mtrudel/bandit) is the modern HTTP
server that ships with Phoenix 1.7+ and is increasingly used to
host raw Plug.Router modules. Route registration syntax inside
the router is identical to Plug.Router, so we reuse the Plug
extraction logic and only rename the analyzer so endpoints get
tagged with the elixir_bandit technology.
Class methods
Instance methods
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.