Commit Graph

67 Commits (2.4)

Author SHA1 Message Date
Jakub Onderka 305b3be44d chg: [module] Keep connection between requests 2023-12-05 12:47:50 +01:00
Jakub Onderka 8b5fb3240a chg: [internal] Use curl when possible 2023-12-05 12:47:50 +01:00
Jakub Onderka f720706a4f chg: [UI] Import module cleanup 2022-12-15 10:04:45 -05:00
Jakub Onderka beab72d61d chg: [internal] Move module perms to one place 2022-10-27 12:48:24 +02:00
Sami Mokaddem 69a555053d
chg: [trigger:enrichment-before-query] Include module being queried in triggerData 2022-10-21 08:46:10 +02:00
Sami Mokaddem ac34456697
chg: [module:queryModuleServer] Allow skipping trigger execution 2022-08-25 10:54:15 +02:00
Sami Mokaddem c79324528b
fix: [eventReport:downloadMarkdownFromURL] Added support of trigger for that function 2022-08-24 10:36:00 +02:00
iglocska cbfb2b74ee
fix: [modules] only run the workflow if it's enabled, fixes #8531
- blocked event report fetches from URL
2022-08-11 14:59:59 +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 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 87b92109d2
chg: [workflow] Various fixes, improved enrichment support and new logic module 2022-07-15 11:47:08 +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 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
iglocska a7b6f7ba46
new: [action module] added background processing 2022-05-11 12:35:52 +02:00
iglocska a4cba3fdc6
new: [modules] action module type added
- hooking function type
- add a hooking point via `$this->Module->executeActions($hook_name, $user, $input, $logging_options, $error)`
- will execute the enabled modules for the hook name and depending on the module's type (blocking/not blocking) allow for breaking the execution when false is returned.
- For a sample skeleton, see the misp-modules project
2022-05-04 01:23:13 +02:00
Jakub Onderka 8b219c73b5 chg: [modules] Use JsonTool 2021-10-18 09:04:06 +02:00
Jakub Onderka dc3651709e fix: [internal] Remove warning when modules are not reachable 2020-11-01 15:19:57 +01:00
mokaddem 1f41b68812
Merge branch '2.4' of github.com:MISP/MISP into feature-report-extract-data 2020-10-26 14:16:13 +01:00
mokaddem 2143cdf83d
chg: [eventReport] Improved html_to_markdown module handling 2020-10-26 13:45:54 +01:00
Jakub Onderka b0c28858c0 chg: [module] Allow to specify module timeout 2020-10-22 19:47:18 +02:00
Jakub Onderka c346066cf9 chg: [module] Better error handling 2020-10-22 16:39:34 +02:00
Jakub Onderka 2130aa2c6f chg: [module] Move serialization into module class 2020-10-22 16:38:46 +02:00
Jakub Onderka 54fa714c29 fix: [modules] Better error handling for connection problems 2020-10-22 13:10:07 +02:00
Jakub Onderka 0ff3e0602c chg: [module] Allow module settings to be dict with setting description 2020-10-22 13:04:55 +02:00
Jakub Onderka 150600e4af chg: [module] Serialize post data at one place 2020-10-22 12:58:17 +02:00
Jakub Onderka 8b81895997 fix: [module] Throw exception if response JSON is invalid 2020-10-22 12:55:06 +02:00
Jakub Onderka 8da3679c73 chg: [module] Remove unused variable from Module::getModules method 2020-10-22 12:54:23 +02:00
Jakub Onderka cef7021f9d chg: [internal] More checks in Module model 2020-10-09 23:10:42 +02:00
Jakub Onderka 4d38673129
chg: [internal] Log exception when querying modules 2020-06-05 11:08:26 +02:00
iglocska 2d0259ce13 fix: [CS] coding standards script re-run 2018-11-23 14:11:33 +01:00
iglocska 60110a597c fix: [Cortex] Unset cortex content-type header when doing a GET request 2018-09-11 12:48:54 +02:00
iglocska 242b4fd4bc chg: [Cortex] Don't set the content type header for cortex 2018-09-10 14:38:19 +02:00
iglocska a81894f14c chg: [CS] Changed to PSR-2
- to make contributions easier, adopted PSR-2
- used php-cs-fixer to rework the style
- *sniff sniff* Goodbye tab indentation
2018-07-19 11:48:22 +02:00
Andras Iklody 39899e56f9
fix: [Cortex] fixed Cortex auth issue 2018-06-19 11:07:01 +02:00
iglocska d8e34c757f fix: low timeout added for module introspection to fix performance bottlenecks 2018-04-27 22:32:48 +02:00
iglocska 2af8bfec4e new: Added event enrichment functionality
- select and run a set of enrichments on all applicable attributes of the event
- exposed to the API
- exposed to the command line tool
- adheres to attribute distributions
2018-04-24 16:41:09 +02:00
iglocska c266d69e83 fix: Fixed mess-up with the cortex settings 2018-04-13 15:28:07 +02:00
iglocska 570fe32764 new: Added improvements to the Cortex settings
- allow for configuring SSL options for Cortex
- previously the API key was not passed to Cortex on GET requests only on POST, breaking Cortex 2 compatibility
2018-04-13 14:22:08 +02:00
iglocska 010ca69295 fix: Added pre-fix to cortex2 authorization header 2018-03-26 17:38:23 +02:00
iglocska 4e6f57dcf3 new: Add authorization header for Cortex 2 integration 2018-03-26 17:36:58 +02:00
John Doe 39d3c58ca3 Fixes display of <select> (dropdown), closes #3005 2018-03-12 16:46:03 +08:00
iglocska a2205fba31 new: Limit modules to a single organisation
- new settings in serverSettings
2018-01-13 12:22:14 +01:00
iglocska 9ccdc579a6 new: New module type: Cortex
- similar to Enrichment modules except for not having the options to run hover
2017-05-03 13:13:36 +02:00
iglocska 68718fed99 fix: Set the content header for module lookups 2017-05-02 16:42:45 +02:00
Andreas Ziegler 25e52a6786 chg: remove some references to variables 2016-09-15 17:08:58 +02:00
iglocska e013d6429d new: Simple diagnostic tool for the modules added 2016-08-25 17:42:46 +02:00
iglocska 822b0bf8fa chg: Cleanup of the controllers and models
- removed incorrect, useless boiler plate comments
- kept useful comments intact
- added some missing line breaks to make the codebase a bit more uniform
- removed some obviously obsolete TODO comments
2016-08-25 11:38:37 +02:00