Class: CodeCheck::Brakeman
- Inherits:
-
AbstractCommand
- Object
- AbstractCommand
- CodeCheck::Brakeman
- Defined in:
- lib/command/code_check/ruby/brakeman.rb
Overview
Template for Brakeman check
Instance Method Summary collapse
Instance Method Details
#template ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/command/code_check/ruby/brakeman.rb', line 7 def template 'docker run ' \ '--rm ' \ '--volume %<pwd>s:/code ' \ '%<image_name>s ' \ '--config-file /code/%<config_file>s ' \ '--force-scan ' \ '--quiet ' \ '--output report.json ' \ '--only-files ' \ '%<source_files>s' end |