Closed
Description
Background
Brakeman version: 5.4.1
Rails version: 6.1.7
Ruby version: 2.7.7
Issue
Some controllers are being skipped and not scanned because they are in a directory ending in "log'. E.g., app/controllers/n/off_catalog/orders_controller.rb is excluded in AppTree#reject_global_excludes because "log/" is in EXCLUDED_PATHS.
Changing "log/" to "/log/" in EXCLUDED_PATHS fixes this but I'm unsure if that would cause other issues.
Metadata
Assignees
Labels
No labels
Activity