Commit Graph

  • 33def54fa9 Moves default actions to be part of the rules Felipe Zimmerle 2020-04-06 20:27:10 -03:00
  • 36457f36bf Fix: FILES variable does not use multipart part name for key martinhsv 2020-08-04 14:34:27 -07:00
  • 288e9dbb3e Add new transformation call phpArgsNames marshal09 2020-08-25 05:21:16 -04:00
  • f18595f428 Makes regular expression selection on collections key case insensitive Felipe Zimmerle 2020-11-24 22:39:12 -03:00
  • 560f81200f Adding DragonFlyBSD support. David Carlier 2020-12-04 11:25:52 +00:00
  • 7857031f56 Having macro to support variable modificator count v3/dev/issue_215 Felipe Zimmerle 2020-12-02 13:58:02 -03:00
  • b8478b11bb Adds support to setvar string manipulation v3/dev/issue_340 Felipe Zimmerle 2020-12-01 21:50:15 -03:00
  • 587cbf3915 Having the QA on GitHub workflow Felipe Zimmerle 2020-11-06 14:14:31 -03:00
  • 7ebb81b037 Using a custom VariableMatch* implementation Felipe Zimmerle 2020-11-22 11:04:24 -03:00
  • ec7d2db400 Avoids to cleanup GeoIp on ModSecurity destructor Felipe Zimmerle 2020-11-16 11:39:26 -03:00
  • d242f0cd54 Fix memory leak of RuleMessages objects martinhsv 2020-11-08 10:31:38 -08:00
  • 9d398d8144 Produce not-supported error for ctl:forceRequestBodyVariable, ctl:auditEngine martinhsv 2020-11-05 13:56:38 -08:00
  • 0396e89619 Implement id ranges for ctl:ruleRemoveTargetById martinhsv 2020-10-21 13:55:46 -07:00
  • bb7bd975bf Refactoring on Action - having RuleWithAction and RuleWithActionsProperties Felipe Zimmerle 2020-09-23 13:48:15 -03:00
  • 1efd5e460d Constify Transaction on variable resolution Felipe Zimmerle 2020-09-18 11:41:55 -03:00
  • b2256e4442 Uses unique_ptr on REMOTE_USER Felipe Zimmerle 2020-09-18 11:34:31 -03:00
  • cc699bc794 Reduce the workload on VariableValue Felipe Zimmerle 2020-09-17 19:51:34 -03:00
  • 856a84106a Adds support for string_view in Variable Felipe Zimmerle 2020-08-26 11:20:12 -03:00
  • 7f1633c1c2 Removes copy form VariableValue Felipe Zimmerle 2020-08-26 09:18:36 -03:00
  • 71d9b9e70f Replaces getKeyWithCollection with getName on VariableValue Felipe Zimmerle 2020-08-25 12:52:04 -03:00
  • de4f6d6474 Removes unecessary ptr copy form VariableValue Felipe Zimmerle 2020-08-25 09:52:16 -03:00
  • 943da64fe7 Delays variable name resolution to whenever it is necessary Felipe Zimmerle 2020-08-25 09:14:40 -03:00
  • a73e08f9ba Cosmetics: Using VariableValues instead of std::vector<...> Felipe Zimmerle 2020-08-24 12:57:47 -03:00
  • 3a8daaf791 Refactoring on variables::Variable Felipe Zimmerle 2020-08-21 19:48:05 -03:00
  • 3a72237d25 Use std::shared_ptr for variable resolution WGH 2020-07-28 18:46:03 +03:00
  • 26632466ab Having RunTimeString in a better shape Felipe Zimmerle 2020-08-20 14:16:26 -03:00
  • 8d2f05c48d Removes init from SetVar Felipe Zimmerle 2020-08-20 09:05:33 -03:00
  • 1bbbd92df8 Use 'equal_range' instead of full scan for rule exceptions Felipe Zimmerle 2020-08-10 09:51:02 -03:00
  • ed6092ec32 Remove unnecessary copying in transformations WGH 2020-07-22 03:14:51 +03:00
  • b58cb9c2a8 Make all "rule id" variables of type RuleId WGH 2020-07-24 20:12:35 +03:00
  • f115018157 Makes RuleWithActions const in run time operations Felipe Zimmerle 2019-05-08 11:08:24 -03:00
  • 3c6356110b Introduces ActionWithExecution Felipe Zimmerle 2020-06-08 13:09:47 -03:00
  • fc0fef3646 Makes Lua::run const Felipe Zimmerle 2020-06-08 13:01:45 -03:00
  • 3efc14bc08 Removes method isDisruptive from Action class Felipe Zimmerle 2020-06-05 11:51:45 -03:00
  • 9f264d6f54 Action: make sure that null constructor is not used Felipe Zimmerle 2020-06-04 21:06:19 -03:00
  • e0cd76355f Computes auditlog during rules load time Felipe Zimmerle 2020-06-03 20:57:27 -03:00
  • 3832042531 actions: Removes Rule parameter from runtime execute Felipe Zimmerle 2020-05-18 21:33:03 -03:00
  • a8d34873c8 actions: Compute the rule association during rules load Felipe Zimmerle 2020-05-18 15:08:17 -03:00
  • 5e5180c93b tests: Romoves unused header from a test case Felipe Zimmerle 2020-05-18 14:18:21 -03:00
  • bfaff92a51 tests: Prints test number on segfault Felipe Zimmerle 2020-05-18 12:53:16 -03:00
  • 1dc684a28b Replaces lower case implementation Felipe Zimmerle 2019-03-20 13:59:30 -03:00
  • 193c794fb7 Makes operator to use string_view Felipe Zimmerle 2019-03-05 12:26:44 -03:00
  • 5a736492b4 Improves rules dump for better testing Felipe Zimmerle 2019-04-11 10:18:03 -03:00
  • 43b1c4f459 Better error handling when loading configurations Felipe Zimmerle 2019-03-21 09:45:04 -03:00
  • 2bc522431f Adds method getVariableNames to variables Felipe Zimmerle 2019-04-08 15:50:42 -03:00
  • 7ac2fd5fb0 Cosmetics: Defining a type for RuleId Felipe Zimmerle 2019-03-20 16:21:28 -03:00
  • f7307ef2a4 Moves rule* headers to src/ Felipe Zimmerle 2019-02-26 21:59:08 -03:00
  • 8d0017919f Cleanup on Action class Felipe Zimmerle 2019-03-15 01:56:40 -03:00
  • df51dd06ef Removes RuleMessage from action execute signature Felipe Zimmerle 2019-03-15 01:35:07 -03:00
  • 5cb58b412c Refactoring: Makes transformations to work with new execute signature Felipe Zimmerle 2019-02-26 15:39:27 -03:00
  • ef9a63e610 Move travis to use a new version of Ubuntu nikolas 2019-10-31 09:55:09 -03:00
  • 8bb1a90c4f Cosmetics: fix some cppcheck complains Felipe Zimmerle 2020-04-29 10:19:49 -03:00
  • 1f7d202985 Refactoring: rename evaluate to execute on actions Felipe Zimmerle 2019-02-25 21:47:51 -03:00
  • 6cdbad05ad Refactoring in the Rule class to make it more elegant Felipe Zimmerle 2019-02-25 20:22:38 -03:00
  • 5c40997028 Rule: isMarker is no longer necessary Felipe Zimmerle 2019-02-25 11:32:43 -03:00
  • 766b373c3b Adds new method for rule merge Felipe Zimmerle 2020-04-14 11:33:17 -03:00
  • cb0d298ded Moves default actions to be part of the rules Felipe Zimmerle 2020-04-06 20:27:10 -03:00
  • 1e954f5d54 Fix: FILES variable does not use multipart part name for key martinhsv 2020-08-04 14:34:27 -07:00
  • 452faa55ce Add new transformation call phpArgsNames marshal09 2020-08-25 05:21:16 -04:00
  • 910a1877a9 Makes regular expression selection on collections key case insensitive Felipe Zimmerle 2020-11-24 22:39:12 -03:00
  • be22fba989 testing v3/dev/testing Felipe Zimmerle 2020-11-24 22:39:12 -03:00
  • 17e3ec7787 Testing github workflow v3/dev/github-actions-test Felipe Zimmerle 2020-11-06 14:14:31 -03:00
  • 0096b17787 Using a custom VariableMatch* implementation Felipe Zimmerle 2020-11-22 11:04:24 -03:00
  • cf4f1b776b Avoids to cleanup GeoIp on ModSecurity destructor Felipe Zimmerle 2020-11-16 11:39:26 -03:00
  • a6fe74d1af Fix memory leak of RuleMessages objects martinhsv 2020-11-08 10:31:38 -08:00
  • 65ced72918 Produce not-supported error for ctl:forceRequestBodyVariable, ctl:auditEngine martinhsv 2020-11-05 13:56:38 -08:00
  • b83d1f1d06 Implement id ranges for ctl:ruleRemoveTargetById martinhsv 2020-10-21 13:55:46 -07:00
  • 39ac4760ea Refactoring on Action - having RuleWithAction and RuleWithActionsProperties Felipe Zimmerle 2020-09-23 13:48:15 -03:00
  • 730328897d Constify Transaction on variable resolution Felipe Zimmerle 2020-09-18 11:41:55 -03:00
  • 3317f498f6 Uses unique_ptr on REMOTE_USER Felipe Zimmerle 2020-09-18 11:34:31 -03:00
  • 09ec92e66a Reduce the workload on VariableValue Felipe Zimmerle 2020-09-17 19:51:34 -03:00
  • 44791be5e0 Adds support for string_view in Variable Felipe Zimmerle 2020-08-26 11:20:12 -03:00
  • 68c3aa97a6 Removes copy form VariableValue Felipe Zimmerle 2020-08-26 09:18:36 -03:00
  • 952473368a Replaces getKeyWithCollection with getName on VariableValue Felipe Zimmerle 2020-08-25 12:52:04 -03:00
  • c24cdf6313 Removes unecessary ptr copy form VariableValue Felipe Zimmerle 2020-08-25 09:52:16 -03:00
  • 045e66d624 Delays variable name resolution to whenever it is necessary Felipe Zimmerle 2020-08-25 09:14:40 -03:00
  • a8ba54e1ab Cosmetics: Using VariableValues instead of std::vector<...> Felipe Zimmerle 2020-08-24 12:57:47 -03:00
  • f917d07950 Refactoring on variables::Variable Felipe Zimmerle 2020-08-21 19:48:05 -03:00
  • 1b13e041ce Use std::shared_ptr for variable resolution WGH 2020-07-28 18:46:03 +03:00
  • 7d4cb31b72 Having RunTimeString in a better shape Felipe Zimmerle 2020-08-20 14:16:26 -03:00
  • 5f853f1511 Removes init from SetVar Felipe Zimmerle 2020-08-20 09:05:33 -03:00
  • 281a4caabb Use 'equal_range' instead of full scan for rule exceptions Felipe Zimmerle 2020-08-10 09:51:02 -03:00
  • 85b9e36d0b Remove unnecessary copying in transformations WGH 2020-07-22 03:14:51 +03:00
  • bbaffc8f3d Make all "rule id" variables of type RuleId WGH 2020-07-24 20:12:35 +03:00
  • d023ddffcd Makes RuleWithActions const in run time operations Felipe Zimmerle 2019-05-08 11:08:24 -03:00
  • a733313589 Introduces ActionWithExecution Felipe Zimmerle 2020-06-08 13:09:47 -03:00
  • 0a8c808f7a Makes Lua::run const Felipe Zimmerle 2020-06-08 13:01:45 -03:00
  • f703e5795f Removes method isDisruptive from Action class Felipe Zimmerle 2020-06-05 11:51:45 -03:00
  • 61c4319b14 Action: make sure that null constructor is not used Felipe Zimmerle 2020-06-04 21:06:19 -03:00
  • e9adb6c68f Computes auditlog during rules load time Felipe Zimmerle 2020-06-03 20:57:27 -03:00
  • c90325062b actions: Removes Rule parameter from runtime execute Felipe Zimmerle 2020-05-18 21:33:03 -03:00
  • 2ee9ccffa9 actions: Compute the rule association during rules load Felipe Zimmerle 2020-05-18 15:08:17 -03:00
  • a4cd7a0091 tests: Romoves unused header from a test case Felipe Zimmerle 2020-05-18 14:18:21 -03:00
  • 7095b7db27 tests: Prints test number on segfault Felipe Zimmerle 2020-05-18 12:53:16 -03:00
  • f945086ec4 Replaces lower case implementation Felipe Zimmerle 2019-03-20 13:59:30 -03:00
  • 301f724e9e Makes operator to use string_view Felipe Zimmerle 2019-03-05 12:26:44 -03:00
  • d5158f1afc Improves rules dump for better testing Felipe Zimmerle 2019-04-11 10:18:03 -03:00
  • 46acbd81a0 Better error handling when loading configurations Felipe Zimmerle 2019-03-21 09:45:04 -03:00
  • 3fb4266ebf Adds method getVariableNames to variables Felipe Zimmerle 2019-04-08 15:50:42 -03:00
  • 5504f63b21 Cosmetics: Defining a type for RuleId Felipe Zimmerle 2019-03-20 16:21:28 -03:00