lib/contrast/agent/protect/rule.rb in contrast-agent-6.14.0 vs lib/contrast/agent/protect/rule.rb in contrast-agent-6.15.0
- old
+ new
@@ -14,39 +14,38 @@
end
end
# The classes required for All Rasp Rules
require 'contrast/agent/protect/rule/base'
-require 'contrast/agent/protect/rule/base_service'
# The classes required for the XSS Rasp Rule
-require 'contrast/agent/protect/rule/xss'
+require 'contrast/agent/protect/rule/xss/xss'
# The classes required for the SQLI
require 'contrast/agent/protect/rule/default_scanner'
-require 'contrast/agent/protect/rule/sqli'
+require 'contrast/agent/protect/rule/sqli/sqli'
require 'contrast/agent/protect/rule/sqli/default_sql_scanner'
require 'contrast/agent/protect/rule/sqli/mysql_sql_scanner'
require 'contrast/agent/protect/rule/sqli/postgres_sql_scanner'
require 'contrast/agent/protect/rule/sqli/sqlite_sql_scanner'
require 'contrast/agent/protect/rule/sqli/sqli_semantic/sqli_dangerous_functions'
# The classes required for Path Traversal
-require 'contrast/agent/protect/rule/path_traversal'
+require 'contrast/agent/protect/rule/path_traversal/path_traversal'
# The classes required for Command Injection and sub-rules
-require 'contrast/agent/protect/rule/cmd_injection'
+require 'contrast/agent/protect/rule/cmdi/cmd_injection'
require 'contrast/agent/protect/rule/cmdi/cmdi_backdoors'
# The classes required for XXE
-require 'contrast/agent/protect/rule/xxe'
+require 'contrast/agent/protect/rule/xxe/xxe'
require 'contrast/agent/protect/rule/xxe/entity_wrapper'
# The classes required for Untrusted Deserialization
-require 'contrast/agent/protect/rule/deserialization'
+require 'contrast/agent/protect/rule/deserialization/deserialization'
# The classes required for the NoSQLi
-require 'contrast/agent/protect/rule/no_sqli'
+require 'contrast/agent/protect/rule/no_sqli/no_sqli'
require 'contrast/agent/protect/rule/no_sqli/mongo_no_sql_scanner'
# The classes required for Unsafe File Upload
-require 'contrast/agent/protect/rule/unsafe_file_upload'
+require 'contrast/agent/protect/rule/unsafe_file_upload/unsafe_file_upload'