Class: ScanTemplate::Web

Inherits:
Domain::Model show all
Defined in:
lib/domain/scan_template/model.rb

Defined Under Namespace

Classes: Paths, Patterns, Performance

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Domain::Model

columns, from_csv, from_json, headers, primary_key, table_name, #to_csv, #to_hash, #to_s, view

Constructor Details

#initialize(attributes = {}) ⇒ Web

Returns a new instance of Web.



112
113
114
115
116
117
# File 'lib/domain/scan_template/model.rb', line 112

def initialize(attributes = {})
  @paths = Paths.new(attributes[:paths]) if attributes[:paths]
  @patterns = Patterns.new(attributes[:patterns]) if attributes[:patterns]
  @performance = Performance.new(attributes[:performance]) if attributes[:performance]
  super(attributes)
end

Instance Attribute Details

#dont_scan_multi_use_devicesObject

Returns the value of attribute dont_scan_multi_use_devices.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def dont_scan_multi_use_devices
  @dont_scan_multi_use_devices
end

#include_query_stringsObject

Returns the value of attribute include_query_strings.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def include_query_strings
  @include_query_strings
end

#pathsObject

Returns the value of attribute paths.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def paths
  @paths
end

#patternsObject

Returns the value of attribute patterns.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def patterns
  @patterns
end

#performanceObject

Returns the value of attribute performance.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def performance
  @performance
end

#test_common_usernames_and_passwordsObject

Returns the value of attribute test_common_usernames_and_passwords.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def test_common_usernames_and_passwords
  @test_common_usernames_and_passwords
end

#test_xss_in_single_scanObject

Returns the value of attribute test_xss_in_single_scan.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def test_xss_in_single_scan
  @test_xss_in_single_scan
end

#user_agentObject

Returns the value of attribute user_agent.



108
109
110
# File 'lib/domain/scan_template/model.rb', line 108

def user_agent
  @user_agent
end