Sami Mokaddem
ec7f60eb22
fix: [workflow:editor] Gracefully catch case when trying to access an unknown module id
2022-09-14 09:08:13 +02: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
121c1270fb
new: [workflows:execute_module] Added stateless node execution
2022-09-05 10:40:44 +02:00
Benni0
4caad64928
fix: Class 'Folder' not found #8544
2022-08-17 16:23:17 +02:00
Sami Mokaddem
8494c6d187
fix: [worflow:walkGraph] Correct usage of oganisation key
2022-08-04 15:12:30 +02:00
iglocska
61ec464b4d
fix: [workflow] description field default set
2022-08-04 11:28:24 +02:00
Sami Mokaddem
bd33dac909
chg: [workflow] Refactoring and allow running workflow by ID
2022-08-03 16:05:29 +02:00
Sami Mokaddem
44b2a1c3cd
new: [workflow:debugging] Added debugging capability by POSTing workflow exec to an URL
2022-08-03 11:45:17 +02:00
Sami Mokaddem
9f4093a311
chg: [workflow:walkGraph] Simplified condition and logging
2022-08-02 14:25:39 +02:00
Sami Mokaddem
eaa8daa39d
chg: [workflow:executeNode] Improved logging and error catching
2022-08-02 13:47:36 +02:00
Sami Mokaddem
076f2aee64
fix: [workflow:executeForTrigger] Differentiate between error and blocked outcome
2022-08-02 13:42:35 +02:00
Sami Mokaddem
dc5e3d051a
fix: [workflow:executeNode] Make disabled node fails
2022-08-02 13:41:57 +02:00
Sami Mokaddem
a578d0a833
fix: [workflow:validation] Make sure a workflow has one and only one trigger
2022-07-29 10:59:12 +02:00
Sami Mokaddem
60ceed59fa
fix: [workflow] Fixed in walkGraph
2022-07-29 10:24:47 +02:00
Sami Mokaddem
d069d72f35
chg: [workflow] Changed the format of the graph WiP
...
Made a clear separation between node data and module data
2022-07-29 08:33:59 +02:00
Sami Mokaddem
9e8a481b32
chg: [workflow:executeWorkflowForTrigger] Log execution outcome
2022-07-27 12:03:45 +02:00
Sami Mokaddem
c3cd5e5827
chg: [workflow] Started renaming `block` into `module`
2022-07-26 11:32:15 +02:00
Sami Mokaddem
5e29f975d1
chg: [workflow] Enable some module by default when updating
2022-07-26 11:16:08 +02:00
Sami Mokaddem
106d6aa299
chg: [workflows:module_index] Added support of mass enable/disable
2022-07-26 11:07:52 +02:00
Sami Mokaddem
51fa6fd6d8
fix: [workflow] Remove leftovers from previous design with [non]blocking paths from triggers
2022-07-25 13:29:03 +02:00
Sami Mokaddem
ab26b27268
chg: [workflow] added `addWorkflow` function in model
2022-07-25 13:24:15 +02:00
Sami Mokaddem
fb62a38d7a
chg: [workflow:editor] Show warning for path leading to blocking nodes from non-blocking context
2022-07-22 13:28:56 +02:00
Sami Mokaddem
702d2f8a5e
chg: [workflow:attachNotification] Added warning about using a blocking module in a non-blocking trigger
2022-07-22 10:06:18 +02:00
Sami Mokaddem
798e440f57
chg: [workflows:editor] Sort modules in the sidebar by their name
2022-07-21 14:42:40 +02:00
Sami Mokaddem
0de1656f32
fix: [workflow] Log error message on the disk as well upon module execution error
...
This is needed as currently log entries are rollbacked if the trigger was called from the beforeSave context
2022-07-20 16:53:17 +02:00
Sami Mokaddem
fd2bf8511a
chg: [workflow] Simplified extraction of trigger from workflows
2022-07-20 15:35:31 +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
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
0067c8f448
chg: [workflow:module_index] Added notice for modules that failed to load
2022-07-19 09:01:32 +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
b162dfed73
chg: [workflow:executeNode] Renamed function
2022-07-18 13:40:22 +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
ebb31aadaf
new: [workflow:mermaid] New tool to convert graph into mermaid notation
2022-07-13 10:42:43 +02:00
Sami Mokaddem
a048098be5
new: [GraphvizDot] New tool to convert workflow graph into dot notation
2022-07-12 15:51:27 +02:00
Sami Mokaddem
73a5762a6d
chg: [workflows:module_view] Added listening workflows in trigger module view
2022-07-07 09:28:28 +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
14f1ffab8b
chg: [workflow:logging] Added logging to file in addition to DB logging
...
This is used to mitigate a bug that prevent log entries to be saved in the log table if they are inserted in a `beforeSave` context. The bug append because cakephp rolls back any pending entry in the transaction.
2022-07-06 15:31:16 +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
dbcedbc505
chg: [workflow] Various improvement and added support of `enrichment_before_query` trigger
2022-07-05 11:19:18 +02:00
Sami Mokaddem
8e746960a1
chg: [workflow] Improved integration with settings + added global setting to enable/disable workflow feature
2022-06-24 12:45:20 +02:00
Sami Mokaddem
351a3cfd4e
chg: [workflow] non-blocking workflows are run by background workers
2022-06-24 12:20:03 +02:00
Sami Mokaddem
a13c1a39e9
chg: [workflow] Improved logging capabilities and stop aborting execution if non-blocking module return false
2022-06-24 11:22:26 +02:00
Sami Mokaddem
e2882a773d
chg: [workflow:editor] Added possibility to include workflow parts + various fixes
2022-06-22 11:57:43 +02:00
Sami Mokaddem
7d4cc65f2e
chg: [workflow] Added toggling trigger state from the index
2022-06-17 10:06:11 +02:00
Sami Mokaddem
574deccac8
new: [workflow] Added toggling module state
2022-06-17 09:20:27 +02:00
Sami Mokaddem
6f8d1c0441
chg: [workflow:editor] Save current state with CTRL+S
2022-06-13 15:58:53 +02:00
Sami Mokaddem
07b99a1a5a
chg: [workflow] Added more logging while executing WF
2022-06-13 14:36:44 +02:00
Sami Mokaddem
c63ff3b21d
chg: [workflow] Increment workflow counter each time a trigger is called
2022-06-13 14:10:06 +02:00