Class Brakeman::Rescanner
In: lib/brakeman/rescanner.rb
Parent: Brakeman::Scanner

Class for rescanning changed files after an initial scan

Methods

Included Modules

Brakeman::Util

Constants

KNOWN_TEMPLATE_EXTENSIONS = Brakeman::TemplateParser::KNOWN_TEMPLATE_EXTENSIONS
SCAN_ORDER = [:config, :gemfile, :initializer, :lib, :routes, :template, :model, :controller]

Public Class methods

Public Instance methods

Guess at what kind of file the path contains

Runs checks. Will rescan files if they have not already been scanned

Check controllers, templates, models and libs for data from file and delete it.

Rescans changed files

Handle rescanning when a file is deleted

Rescans a single file

[Validate]