Commit Graph

  • 60d89608be Replaces getKeyWithCollection with getName on VariableValue Felipe Zimmerle 2020-08-25 12:52:04 -03:00
  • c5beb0d15a Removes unecessary ptr copy form VariableValue Felipe Zimmerle 2020-08-25 09:52:16 -03:00
  • 5fc3ed1e23 Delays variable name resolution to whenever it is necessary Felipe Zimmerle 2020-08-25 09:14:40 -03:00
  • 759fc1eabe Cosmetics: Using VariableValues instead of std::vector<...> Felipe Zimmerle 2020-08-24 12:57:47 -03:00
  • 6c79e716e7 Refactoring on variables::Variable Felipe Zimmerle 2020-08-21 19:48:05 -03:00
  • bac54787af Use std::shared_ptr for variable resolution WGH 2020-07-28 18:46:03 +03:00
  • 5a7f3b97a2 Having RunTimeString in a better shape Felipe Zimmerle 2020-08-20 14:16:26 -03:00
  • f5b6df5abd Removes init from SetVar Felipe Zimmerle 2020-08-20 09:05:33 -03:00
  • 5c1095e4e9 Use 'equal_range' instead of full scan for rule exceptions Felipe Zimmerle 2020-08-10 09:51:02 -03:00
  • e2c622d7db Remove unnecessary copying in transformations WGH 2020-07-22 03:14:51 +03:00
  • 592c8f0b19 Make all "rule id" variables of type RuleId WGH 2020-07-24 20:12:35 +03:00
  • bf98e3424f Makes RuleWithActions const in run time operations Felipe Zimmerle 2019-05-08 11:08:24 -03:00
  • 6a5ff56c8e Introduces ActionWithExecution Felipe Zimmerle 2020-06-08 13:09:47 -03:00
  • 838ff53ed4 Makes Lua::run const Felipe Zimmerle 2020-06-08 13:01:45 -03:00
  • 4c1ca56259 Removes method isDisruptive from Action class Felipe Zimmerle 2020-06-05 11:51:45 -03:00
  • a79bfa5c28 Action: make sure that null constructor is not used Felipe Zimmerle 2020-06-04 21:06:19 -03:00
  • c7813a1973 Computes auditlog during rules load time Felipe Zimmerle 2020-06-03 20:57:27 -03:00
  • d6e8352873 actions: Removes Rule parameter from runtime execute Felipe Zimmerle 2020-05-18 21:33:03 -03:00
  • 1b705aeb54 actions: Compute the rule association during rules load Felipe Zimmerle 2020-05-18 15:08:17 -03:00
  • 6ea4340a15 tests: Romoves unused header from a test case Felipe Zimmerle 2020-05-18 14:18:21 -03:00
  • 65f73442e7 tests: Prints test number on segfault Felipe Zimmerle 2020-05-18 12:53:16 -03:00
  • 69d1112da3 Replaces lower case implementation Felipe Zimmerle 2019-03-20 13:59:30 -03:00
  • 1d33015934 Makes operator to use string_view Felipe Zimmerle 2019-03-05 12:26:44 -03:00
  • 9699ec7f44 Improves rules dump for better testing Felipe Zimmerle 2019-04-11 10:18:03 -03:00
  • 62d894f98e Better error handling when loading configurations Felipe Zimmerle 2019-03-21 09:45:04 -03:00
  • 303a4a3b2e Adds method getVariableNames to variables Felipe Zimmerle 2019-04-08 15:50:42 -03:00
  • 7d03e3505a Cosmetics: Defining a type for RuleId Felipe Zimmerle 2019-03-20 16:21:28 -03:00
  • 1071fadfd7 Moves rule* headers to src/ Felipe Zimmerle 2019-02-26 21:59:08 -03:00
  • 8191b7efc8 Cleanup on Action class Felipe Zimmerle 2019-03-15 01:56:40 -03:00
  • 73dfd3aa5f Removes RuleMessage from action execute signature Felipe Zimmerle 2019-03-15 01:35:07 -03:00
  • 7640f7b40b Refactoring: Makes transformations to work with new execute signature Felipe Zimmerle 2019-02-26 15:39:27 -03:00
  • 3c0c4a8ba0 Move travis to use a new version of Ubuntu nikolas 2019-10-31 09:55:09 -03:00
  • 08e63662e8 Cosmetics: fix some cppcheck complains Felipe Zimmerle 2020-04-29 10:19:49 -03:00
  • affdc49a9e Refactoring: rename evaluate to execute on actions Felipe Zimmerle 2019-02-25 21:47:51 -03:00
  • 47ec32fba8 Refactoring in the Rule class to make it more elegant Felipe Zimmerle 2019-02-25 20:22:38 -03:00
  • ff79de3237 Rule: isMarker is no longer necessary Felipe Zimmerle 2019-02-25 11:32:43 -03:00
  • be4d242a75 Adds new method for rule merge Felipe Zimmerle 2020-04-14 11:33:17 -03:00
  • 7d1c37a42b Moves default actions to be part of the rules Felipe Zimmerle 2020-04-06 20:27:10 -03:00
  • 89c63387f2 Fix: FILES variable does not use multipart part name for key martinhsv 2020-08-04 14:34:27 -07:00
  • 409c5e491d Add new transformation call phpArgsNames marshal09 2020-08-25 05:21:16 -04:00
  • 310cbf899b Fix the typo LEI BAO 2021-01-06 14:20:36 +08:00
  • ae128ad94d Having the Sec[Request|Response]BodyAccess deprecated v3/dev/3.1-experimental-test Felipe Zimmerle 2020-12-23 12:31:07 -03:00
  • 62d35fbf97 Adds support to config warnings Felipe Zimmerle 2020-12-22 18:20:46 -03:00
  • bf87f11036 Cosmetics: Refactoring on regression utility Felipe Zimmerle 2020-12-22 18:16:35 -03:00
  • aa018d4eb8 Fix memory leaks in ValidateSchema martinhsv 2020-12-16 11:48:10 -08:00
  • 571a59bad8 Moves fixDefaultActions to Rules Felipe Zimmerle 2020-12-21 10:10:37 -03:00
  • fa877bd5fc Avoid warnings while generating the parser Felipe Zimmerle 2020-12-18 11:18:03 -03:00
  • bedc9a1eb0 Fix memory leak of ValidateDTD's dtd object martinhsv 2020-12-15 09:48:03 -08:00
  • e0f39b3211 cosmetics: Fix compilation warnings to please QA Felipe Zimmerle 2020-12-14 09:30:10 -03:00
  • 7f31746ca2 Testing gcc-problem-matcher on ci/workflow Felipe Zimmerle 2020-12-10 11:22:50 -03:00
  • 3a55909eae Using setenv instead of putenv on SetEnv action Felipe Zimmerle 2020-12-09 18:39:24 -03:00
  • ba0007a474 Having the QA on GitHub workflow Felipe Zimmerle 2020-11-06 14:14:31 -03:00
  • eec1f00bea Using a custom VariableMatch* implementation Felipe Zimmerle 2020-11-22 11:04:24 -03:00
  • 97762dc1bc Avoids to cleanup GeoIp on ModSecurity destructor Felipe Zimmerle 2020-11-16 11:39:26 -03:00
  • ab6754712c Fix memory leak of RuleMessages objects martinhsv 2020-11-08 10:31:38 -08:00
  • 29364052cd Produce not-supported error for ctl:forceRequestBodyVariable, ctl:auditEngine martinhsv 2020-11-05 13:56:38 -08:00
  • c258cff815 Implement id ranges for ctl:ruleRemoveTargetById martinhsv 2020-10-21 13:55:46 -07:00
  • 5b204642ab Refactoring on Action - having RuleWithAction and RuleWithActionsProperties Felipe Zimmerle 2020-09-23 13:48:15 -03:00
  • 1f80055f63 Constify Transaction on variable resolution Felipe Zimmerle 2020-09-18 11:41:55 -03:00
  • 7afcd3046d Uses unique_ptr on REMOTE_USER Felipe Zimmerle 2020-09-18 11:34:31 -03:00
  • 820396f784 Reduce the workload on VariableValue Felipe Zimmerle 2020-09-17 19:51:34 -03:00
  • 8fa4fc67af Adds support for string_view in Variable Felipe Zimmerle 2020-08-26 11:20:12 -03:00
  • 155bb1a51f Removes copy form VariableValue Felipe Zimmerle 2020-08-26 09:18:36 -03:00
  • 1eedf3e898 Replaces getKeyWithCollection with getName on VariableValue Felipe Zimmerle 2020-08-25 12:52:04 -03:00
  • ae74d37f96 Removes unecessary ptr copy form VariableValue Felipe Zimmerle 2020-08-25 09:52:16 -03:00
  • 9f0e345f43 Delays variable name resolution to whenever it is necessary Felipe Zimmerle 2020-08-25 09:14:40 -03:00
  • 64bffdebc4 Cosmetics: Using VariableValues instead of std::vector<...> Felipe Zimmerle 2020-08-24 12:57:47 -03:00
  • d5cae10d3a Refactoring on variables::Variable Felipe Zimmerle 2020-08-21 19:48:05 -03:00
  • 6528c95765 Use std::shared_ptr for variable resolution WGH 2020-07-28 18:46:03 +03:00
  • bff82cd80d Having RunTimeString in a better shape Felipe Zimmerle 2020-08-20 14:16:26 -03:00
  • d3ba2318d6 Removes init from SetVar Felipe Zimmerle 2020-08-20 09:05:33 -03:00
  • 0f1d3bfc3e Use 'equal_range' instead of full scan for rule exceptions Felipe Zimmerle 2020-08-10 09:51:02 -03:00
  • 904fd030f9 Remove unnecessary copying in transformations WGH 2020-07-22 03:14:51 +03:00
  • d7e9e0aa5b Make all "rule id" variables of type RuleId WGH 2020-07-24 20:12:35 +03:00
  • 28c3cb3176 Makes RuleWithActions const in run time operations Felipe Zimmerle 2019-05-08 11:08:24 -03:00
  • 0a3b658969 Introduces ActionWithExecution Felipe Zimmerle 2020-06-08 13:09:47 -03:00
  • 7693bd33b9 Makes Lua::run const Felipe Zimmerle 2020-06-08 13:01:45 -03:00
  • 11111b5826 Removes method isDisruptive from Action class Felipe Zimmerle 2020-06-05 11:51:45 -03:00
  • 1522e7cd0a Action: make sure that null constructor is not used Felipe Zimmerle 2020-06-04 21:06:19 -03:00
  • c38051324d Computes auditlog during rules load time Felipe Zimmerle 2020-06-03 20:57:27 -03:00
  • bf3a1d84ff actions: Removes Rule parameter from runtime execute Felipe Zimmerle 2020-05-18 21:33:03 -03:00
  • eb3e05646d actions: Compute the rule association during rules load Felipe Zimmerle 2020-05-18 15:08:17 -03:00
  • 374203b000 tests: Romoves unused header from a test case Felipe Zimmerle 2020-05-18 14:18:21 -03:00
  • c44b5f95b1 tests: Prints test number on segfault Felipe Zimmerle 2020-05-18 12:53:16 -03:00
  • e5846e3fd3 Replaces lower case implementation Felipe Zimmerle 2019-03-20 13:59:30 -03:00
  • fc24f34843 Makes operator to use string_view Felipe Zimmerle 2019-03-05 12:26:44 -03:00
  • 96efe83174 Improves rules dump for better testing Felipe Zimmerle 2019-04-11 10:18:03 -03:00
  • 78d9575dd2 Better error handling when loading configurations Felipe Zimmerle 2019-03-21 09:45:04 -03:00
  • 942de22069 Adds method getVariableNames to variables Felipe Zimmerle 2019-04-08 15:50:42 -03:00
  • 5bd6c58385 Cosmetics: Defining a type for RuleId Felipe Zimmerle 2019-03-20 16:21:28 -03:00
  • 999af35e22 Moves rule* headers to src/ Felipe Zimmerle 2019-02-26 21:59:08 -03:00
  • da618a6b7d Cleanup on Action class Felipe Zimmerle 2019-03-15 01:56:40 -03:00
  • 3dcfc2582e Removes RuleMessage from action execute signature Felipe Zimmerle 2019-03-15 01:35:07 -03:00
  • 68f85628dd Refactoring: Makes transformations to work with new execute signature Felipe Zimmerle 2019-02-26 15:39:27 -03:00
  • 44c63d1048 Move travis to use a new version of Ubuntu nikolas 2019-10-31 09:55:09 -03:00
  • d9d074f661 Cosmetics: fix some cppcheck complains Felipe Zimmerle 2020-04-29 10:19:49 -03:00
  • 55b68fdebc Refactoring: rename evaluate to execute on actions Felipe Zimmerle 2019-02-25 21:47:51 -03:00
  • f605359ca5 Refactoring in the Rule class to make it more elegant Felipe Zimmerle 2019-02-25 20:22:38 -03:00
  • 81542a0676 Rule: isMarker is no longer necessary Felipe Zimmerle 2019-02-25 11:32:43 -03:00
  • 2b9ec1a0f1 Adds new method for rule merge Felipe Zimmerle 2020-04-14 11:33:17 -03:00