Class: Aspisec::Modules::MongodbCompass
- Inherits:
-
Aspisec::Module
- Object
- Aspisec::Module
- Aspisec::Modules::MongodbCompass
- Defined in:
- lib-ruby/aspisec/modules/mongodb_compass.rb
Overview
MongoDB Compass module.
Inherits Aspisec::Module.
For more examples of methods, see Sqlmap.
Instance Attribute Summary collapse
- #logs ⇒ Location readonly
Attributes inherited from Aspisec::Module
#base, #conf, #locations_list, #name
Instance Method Summary collapse
-
#initialize(conf, logger: nil) ⇒ MongodbCompass
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) ⇒ MongodbCompass
Inherits from Aspisec::Module but has only the conf
argument,
tool_name
is hardcoded for each module.
26 27 28 29 30 |
# File 'lib-ruby/aspisec/modules/mongodb_compass.rb', line 26 def initialize(conf, logger: nil) super(conf, 'mongodb-compass', logger:) @logs = Location.new(@conf, 'logs') @locations_list = %w[logs] end |
Instance Attribute Details
#logs ⇒ Location (readonly)
21 22 23 |
# File 'lib-ruby/aspisec/modules/mongodb_compass.rb', line 21 def logs @logs end |