Commit Graph

49 Commits (471840ce33233a8d9db86766d007153f66727e8d)

Author SHA1 Message Date
Sami Mokaddem a0b92e4c7b
fix: [workflow:evaluateConfition] Fixed bug in `in_and` operator to make it order independant 2024-04-12 10:31:22 +02:00
Sami Mokaddem fb1c6bb0bc
chg: [workflow] Jinja template rendering is done automatically based on param options 2023-10-25 10:52:59 +02:00
Sami Mokaddem fc8cf9ee8c
fix: [workflow:baseModule] Only build fast lookup array if trigger is using the MISP core format 2023-10-09 14:25:46 +02:00
Sami Mokaddem b2fcbba5f7
new: [workflow-module] Added debug function to send custom request to debug endpoint 2023-07-20 15:50:12 +02:00
Sami Mokaddem 44e031d6e6
chg: [workflow:matchingItems] Improved any_value and any_value_from for IF::Generic and Filter::Generic 2023-07-12 14:03:14 -04:00
Sami Mokaddem 16a9b24c73
chg: [workflow-modules:edition] General improvements, fixed modified data not being reflected in rData and small refactoring 2023-07-12 09:48:33 -04:00
Sami Mokaddem dc9a1489e1
Merge branch 'develop' of github.com:MISP/MISP into feature-workflow-filtering-modules 2023-05-03 14:57:04 +02:00
Sami Mokaddem a548fbc8a9
chg: [workflow] Updated filter add/reset and added support + fixed bunch of bugs
Also added raw (patched) drawflow library source code
2023-05-03 14:56:38 +02:00
Sami Mokaddem 39408794ef
fix: [workflow:baseModule] Removed unused line 2023-02-23 10:45:00 +01:00
Sami Mokaddem fd93ac9c5e
new: [workflow] Initial work on filtering modules - WiP 2022-11-11 09:45:38 +01:00
Sami Mokaddem 209d2cc251
chg: [workflowModule:baseModule] Added helper function to collect matching elements 2022-10-31 16:05:01 +01:00
Sami Mokaddem f479cc858a
new: [workflow:baseModule] Added diagnostic support and support of arbitrary URL for webhook module 2022-09-08 15:43:02 +02:00
Sami Mokaddem e9e0d3d203
new: [workflowBaseModule] Allow jinja template rendering using misp-module 2022-08-25 10:54:53 +02:00
Sami Mokaddem a2923513a5
chg: [workflow:baseModule] New helper function and better usage of the `equals` filter operator 2022-08-05 14:32:05 +02:00
Sami Mokaddem 762f1a7c9a
chg: [workflow] Changed the format of the graph 2022-07-29 10:26:14 +02:00
Sami Mokaddem e265057d24
chg: [workflow] Added an `id` in all module instead of relying on the label 2022-07-27 15:41:21 +02:00
Sami Mokaddem 098696aadb
chg: [workflows:if] Usage of Hash::get instead of extract for non-containable operators 2022-07-27 12:01:05 +02:00
Sami Mokaddem 8f1b07d698
new: [workflow] Added support of estimated overhead for triggers 2022-07-27 10:44:00 +02:00
Sami Mokaddem f89e48a75a
chg: [workflows] Improved pagination and added trigger scope 2022-07-26 14:45:35 +02:00
Sami Mokaddem a092a1da1c
chg: [workflow:zmq_module] Simplified usage 2022-07-25 15:08:17 +02:00
Sami Mokaddem b8a9bedcbc
fix: [workflows] Clean up and removed unused code 2022-07-25 13:41:13 +02:00
Sami Mokaddem 79e6d2bf54
chg: [workflow] Usage of format converter tool to convert passed data into MISP core format 2022-07-21 11:18:59 +02:00
Sami Mokaddem 94804f7776
chg: [workflow:baseModule] Automatically convert into MISP core format if `misp_core_format` is set 2022-07-20 16:51:03 +02:00
Sami Mokaddem 2011bf3670
chg: [workflow] Added support of misp_core_format in triggers and modules
Allow trigger to specify if their passed data is compliant with the MISP core format from the RFC. As for module, they can specify if they expect data under the MISP core format to be working properly.
2022-07-20 15:19:33 +02:00
Sami Mokaddem 4211cdd15d
chg: [workflow] Made action modules inherit the `WorkflowBaseActionModule` class 2022-07-20 15:06:41 +02:00
Sami Mokaddem 27cbdf9a5c
chg: [workflow] Removed duplicated module parameter related to blocking and added notice in editor 2022-07-19 09:52:58 +02:00
Sami Mokaddem 25ab443371
fix: [workflow:BaseModule] Always fetch event if it's missing 2022-07-19 09:25:30 +02:00
Sami Mokaddem 508424aa37
chg: [workflow] Convert to MISP Core format before passing data to the workflow 2022-07-18 13:42:10 +02:00
Sami Mokaddem df3bc9a063
new: [workflow:distribution_if] module 2022-07-18 09:53:28 +02:00
Sami Mokaddem 87b92109d2
chg: [workflow] Various fixes, improved enrichment support and new logic module 2022-07-15 11:47:08 +02:00
Sami Mokaddem bb37a25e3a
chg: [workflow] Added option to globally stop workflow execution
Not sure if it's relevant since an output can only have one connection
2022-07-13 16:09:35 +02:00
Sami Mokaddem 5b27ecd843
chg: [workflow] Prevent and notify multiple connection for the same output 2022-07-13 15:38:51 +02:00
Sami Mokaddem a220cac1a5
chg: [workflow] Moved directory of custom modules in `Lib` folder 2022-07-07 09:04:09 +02:00
Sami Mokaddem bab33d42b9
chg: [workflow] Renaming and UI Improvements 2022-07-06 14:40:35 +02:00
Sami Mokaddem 2cebf5d158
chg: [workflow] Various improvement and fixes for misp-modules 2022-07-05 15:51:25 +02:00
Sami Mokaddem 1461f06638
chg: [workflow] Added WorkflowBaseTriggerModule class to be extended by triggers 2022-06-24 09:25:02 +02:00
Sami Mokaddem df8f0f9ed0
new: [workflow_module:webhook] Added new webhook module 2022-06-22 13:38:19 +02:00
Sami Mokaddem 487f62fd84
chg: [workflow:editor] Mainly improved UI 2022-06-15 14:24:39 +02:00
Sami Mokaddem bcff20cc50
chg: [workflow] Added support of module filtering, improved system and small clean-up 2022-06-10 16:11:47 +02:00
Sami Mokaddem b55778a87f
fix: [workflows:view] Init `is_misp_module` variable 2022-06-01 10:46:01 +02:00
Sami Mokaddem e802f2f92a
chg: [workflow] Renamed triggerIndex and triggerView into moduleIndex and moduleView 2022-06-01 08:22:26 +02:00
Sami Mokaddem 9e29830dfa
chg: [workflow] Better module loading and execution errors get propagated to the caller for blocking path 2022-05-30 14:34:45 +02:00
Sami Mokaddem 86555e4d60
chg: [workflow] Better arg parsing and if modules support attribute filters 2022-05-26 10:59:28 +02:00
Sami Mokaddem fc738b67a0
chg: [workflow] Allow passing data between modules 2022-05-25 16:25:00 +02:00
Sami Mokaddem f0c633a3a3
chg: [workflow] Small refactoring and allow GraphWalker to execute logic nodes 2022-05-25 14:36:25 +02:00
Sami Mokaddem 6d8da897c2
chg: [workflow] Added `executeWorkflowsForTrigger` - WiP 2022-05-24 15:59:41 +02:00
Sami Mokaddem 05c0aaf94b
chg: [workflows] Fixes for misp-modules integration and allowed all modules to publish to zmq 2022-05-24 15:25:58 +02:00
Sami Mokaddem 256be59135
chg: [workflow] Added loading actionmodule from misp-module and small refacto 2022-05-24 14:11:49 +02:00
Sami Mokaddem b0fd607379
chg: [workflow] Refactored module system to load modules from directory rather than hardcoded in a main class 2022-05-24 10:02:39 +02:00