Class: Aspisec::Modules::Semgrep
- Inherits:
-
Aspisec::Module
- Object
- Aspisec::Module
- Aspisec::Modules::Semgrep
- Defined in:
- lib-ruby/aspisec/modules/semgrep.rb
Overview
Semgrep module.
Inherits Aspisec::Module.
For more examples of methods, see Sqlmap.
Instance Attribute Summary collapse
- #logs1 ⇒ Location readonly
- #logs2 ⇒ Location readonly
Attributes inherited from Aspisec::Module
#base, #conf, #locations_list, #name
Instance Method Summary collapse
-
#initialize(conf, logger: nil) ⇒ Semgrep
constructor
Inherits from Aspisec::Module but has only the
conf
argument,tool_name
is hardcoded for each module.
Methods inherited from Aspisec::Module
#check_config, #enabled?, #locations
Constructor Details
#initialize(conf, logger: nil) ⇒ Semgrep
Inherits from Aspisec::Module but has only the conf
argument,
tool_name
is hardcoded for each module.
30 31 32 33 34 35 |
# File 'lib-ruby/aspisec/modules/semgrep.rb', line 30 def initialize(conf, logger: nil) super(conf, 'semgrep', logger:) @logs1 = Location.new(@conf, 'logs1') @logs2 = Location.new(@conf, 'logs2') @locations_list = %w[logs1 logs2] end |