lib/brakeman/options.rb in brakeman-min-2.6.2 vs lib/brakeman/options.rb in brakeman-min-2.6.3
- old
+ new
@@ -53,10 +53,14 @@
end
opts.separator ""
opts.separator "Scanning options:"
+ opts.on "-A", "--run-all-checks", "Run all default and optional checks" do
+ options[:run_all_checks] = true
+ end
+
opts.on "-a", "--[no-]assume-routes", "Assume all controller methods are actions (default)" do |assume|
options[:assume_all_routes] = assume
end
opts.on "-e", "--escape-html", "Escape HTML by default" do
@@ -241,9 +245,13 @@
opts.separator ""
opts.on "-k", "--checks", "List all available vulnerability checks" do
options[:list_checks] = true
+ end
+
+ opts.on "--optional-checks", "List optional checks" do
+ options[:list_optional_checks] = true
end
opts.on "--rake", "Create rake task to run Brakeman" do
options[:install_rake_task] = true
end