Commit Graph

22725 Commits (54821e62979b01be19ea17bb372c5272adee0180)

Author SHA1 Message Date
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 354594f5ca
chg: [workflow] Made sure data is correctly converted before calling the trigger 2022-07-20 16:51:53 +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 6134a1c93f
fix: [sidemenu:workflow] Link correctly redirects to workflow history 2022-07-20 16:50:13 +02:00
Luciano Righetti e53b10d18b
chg: refactor so can be re-used 2022-07-20 16:11:49 +02:00
Luciano Righetti dc4236ef9b
new: add LightPaginator when total page count is not needed/to expensive 2022-07-20 15:56:30 +02:00
Luciano Righetti 3bf34b9df8
Merge pull request #8500 from righel/mysql-config-diagnostics
new: mysql db tuning recommendations in server diagnostics
2022-07-20 15:52:47 +02:00
Sami Mokaddem fd2bf8511a
chg: [workflow] Simplified extraction of trigger from workflows 2022-07-20 15:35:31 +02:00
Sami Mokaddem 3e8889dc90
chg: [workflow:distribution_if] Added `event` scope to be used. 2022-07-20 15:22:11 +02:00
Sami Mokaddem 461860e78d
chg: [workflow:webhook] Renamed parameter 2022-07-20 15:21:41 +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
Luciano Righetti dcd232bd85
fix: missing ACL 2022-07-19 14:05:52 +02:00
Luciano Righetti b4fb6251ce
new: mysql db tuning recommendations in server diagnostics 2022-07-19 13:36:53 +02:00
Sami Mokaddem 7877145960
chg: [workflowBlueprint] Added support of misp-workflow-blueprints repository 2022-07-19 11:50:42 +02:00
Sami Mokaddem 2be9d07502
chg: [workflowBlueprint] Added new column `default` to recognize default BP 2022-07-19 11:48:12 +02:00
Sami Mokaddem 9d891581da
fix: [workflows:editor] Add error node if the module from a blueprint is not known 2022-07-19 11:19:02 +02:00
Sami Mokaddem fb74db2088
chg: [workflows:editor] prevent disabled module to appear in the module select picker 2022-07-19 10:37:46 +02:00
Sami Mokaddem 5f7af508b4
fix: [workflows:editor] Multi-deletion with <delete> key 2022-07-19 10:27:46 +02:00
Sami Mokaddem ce6c8cff49
chg: [workflows:editor] Added notice if no modules are enabled 2022-07-19 10:27:09 +02:00
Sami Mokaddem df54169cdb
chg: [workflows:module_index] Improved notice 2022-07-19 10:18:58 +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 95cfe096b3
new: [workflow:published_if] New module 2022-07-19 09:26:24 +02:00
Sami Mokaddem 61f1fa1718
fix: [workflow:editor] Foxed disabled state of the save button after saving 2022-07-19 09:26:02 +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 b6a11991fd
chg: [workflow:generic_if] Renamed module for consistency 2022-07-19 09:24:50 +02:00
Sami Mokaddem cbec4a4894
new: [workflow:organisation_if] New module 2022-07-19 09:02:44 +02:00
Sami Mokaddem 79eff086cb
fix: [workflow:editor] Make sure to update node's param_id configuration 2022-07-19 09:02:16 +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
Jakub Onderka 44f7418b0d
Merge pull request #8488 from JakubOnderka/response-signing
fix: [internal] Response signing
2022-07-18 18:21:13 +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
Luciano Righetti 8330a3de83
Merge pull request #8497 from brlogan/patch-1
fix: [diag] Correctly set DB session errorCode
2022-07-18 11:06:55 +02:00
Bradley Logan 1838672306
fix: [diag] Correctly set DB session errorCode 2022-07-18 01:17:04 -07:00
Sami Mokaddem c7f80a07ed
fix: [workflows:editor] Make sure to override block setting by module's configuration 2022-07-18 09:54:22 +02:00
Sami Mokaddem df3bc9a063
new: [workflow:distribution_if] module 2022-07-18 09:53:28 +02:00
Sami Mokaddem 6f15d18e62
chg: [workflow:tag_if] Added support of `event_attribute` scope and improved integration with queryModuleServer 2022-07-15 14:49:16 +02:00
Sami Mokaddem f6d752890a
new: [workflow] Added simplistic webhoob listener in tools/ 2022-07-15 11:47:44 +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 2a31408555
fix: [workflow] Create table sql statement updated 2022-07-14 14:07:35 +02:00
Sami Mokaddem 0202493053
fix: [tools:workflowGraphTool] Fixed detection of edges making the graph cyclic 2022-07-14 10:53:03 +02:00
Jakub Onderka ed35474c61
Merge pull request #8491 from JakubOnderka/fix-undefined-variable-vol2
fix: [internal] Undefined variable $mayModify
2022-07-14 09:59:38 +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 5b0cc93e48
fix: [Module:execute_workflow] Saving log in DB no longer fails anymore 2022-07-13 16:07: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 b07433374a
chg: [workflowBlueprint] Added mermaid support
Created new generic field for markdown
2022-07-13 14:43:13 +02:00
Sami Mokaddem 0d5361fcb6
Merge remote-tracking branch 'origin/develop' into feature-workflows-2 2022-07-13 11:46:53 +02:00
Sami Mokaddem 6f9d9a20d4
new: [event-report] Added support of mermaid 2022-07-13 11:41:31 +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