Commit Graph

1366 Commits (2.4)

Author SHA1 Message Date
Sami Mokaddem 9ed111060f
Merge branch 'develop' of github.com:MISP/MISP into develop 2022-09-28 15:44:37 +02:00
Sami Mokaddem 4d4114c6bf
chg: [event-graph] Added entity comment in the graph as tooltip and support of comment in searches 2022-09-28 15:44:30 +02:00
Jakub Onderka 098d95545b fix: [export] Skip empty objects 2022-09-27 08:45:27 +02:00
Jakub Onderka 8b4eb7032e
Merge pull request #8601 from JakubOnderka/code-style
fix: [internal] Code style
2022-09-23 11:06:41 +02:00
Jakub Onderka 3f9898b806
Merge pull request #8612 from JakubOnderka/ssdeep-validation
chg: [validation] Check if ssdeep contain newline character
2022-09-22 17:55:13 +02:00
Jakub Onderka 4ef8f503b3 chg: [validation] Check if ssdeep contain newline character 2022-09-22 17:26:51 +02:00
Jakub Onderka 2873a8da4c fix: [UI] Round percentage change in periodic summary 2022-09-22 15:29:58 +02:00
Jakub Onderka a545966ce3 fix: [internal] Fix typo 2022-09-22 15:29:31 +02:00
Jakub Onderka 23245157cd fix: [UI] Trending tags missing key 2022-09-22 15:28:38 +02:00
Jakub Onderka f169d23be1 fix: [internal] Code style 2022-09-22 15:28:38 +02:00
Jakub Onderka 948c6f2b0a chg: [internal] Mark NidsExport class as abstract 2022-09-22 14:44:58 +02:00
Jakub Onderka 6930842c8b fix: [internal] Do not fetch full cluster for context export 2022-09-20 18:48:41 +02:00
Jakub Onderka 60ba5ceb7f fix: [internal] Undefined index 2022-09-20 18:00:41 +02:00
Jakub Onderka b36cdda337 chg: [internal] Reduce number of SQL queries when fetching taxonomy and galaxies in context export 2022-09-20 18:00:41 +02:00
Jakub Onderka b218672e01 fix: [internal] Cleanup code for context exporter 2022-09-20 18:00:41 +02:00
Jakub Onderka 450031b145
Merge pull request #8489 from JakubOnderka/event-index-cache
new: [sync] Event index cache
2022-09-20 12:15:35 +02:00
Sami Mokaddem a0612d05aa
chg: [periodic_notification] Generate tag trendings for mitre ATTACK if none are provided 2022-09-12 08:55:56 +02:00
Jakub Onderka e570cb07bb fix: [sync] Log when the request started 2022-09-11 10:59:14 +02:00
Jakub Onderka 17981be04d new: [internal] RedisTool 2022-09-11 10:59:14 +02:00
Jakub Onderka 36addef808 new: [sync] Event index cache 2022-09-11 10:59:14 +02:00
Sami Mokaddem d7b07138c1
Merge branch 'develop' of github.com:MISP/MISP into feature-periodic-notification 2022-09-08 15:01:37 +02:00
Sami Mokaddem f33bb2dbc9
chg: [event:getTrendsForTags] Created TrendingTool to help generating trends 2022-09-08 14:03:45 +02:00
Jakub Onderka c367e2b3a1
Merge pull request #8373 from JakubOnderka/mysql-extended
new: [internal] Experimental MysqlExtended driver
2022-09-07 17:12:41 +02:00
Sami Mokaddem f4262c081b
Merge branch 'develop' of github.com:MISP/MISP into feature-periodic-notification 2022-09-06 09:39:23 +02:00
Jakub Onderka 38ba34d4f6 fix: [internal] Throw exception if BackgroundJobsTool is not properly configured 2022-09-05 13:16:33 +02:00
Sami Mokaddem 1d6fe7e0f3
fix: [export:contextExport] Save passed option in the correct function 2022-09-01 09:02:21 +02:00
Sami Mokaddem 5643a067c5
chg: [export:context] Added support of `static` parameter to produce a static HTML output 2022-08-31 11:44:42 +02:00
Johannes Bader e6d039ede8 fixes issue 6379 2022-08-11 17:48:18 +02:00
iglocska 42a30bae98
fix: [warnings] added tlp:clear and tlp:amber+strict to the valid tlp tags
- Clearly, the new tags should be accomodated...
- ... though these ones do not spark joy.
2022-08-11 15:25:53 +02:00
Sami Mokaddem bd33dac909
chg: [workflow] Refactoring and allow running workflow by ID 2022-08-03 16:05:29 +02:00
Sami Mokaddem 151d23a8c2
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows-2 2022-08-01 09:59:44 +02:00
Alexandre Dulaunoy 02cedbf51f
Merge branch '2.4' into develop 2022-07-29 14:38:33 +02:00
Koen Van Impe 67f2f5d425
Update AttributeValidationTool.php 2022-07-29 12:23:55 +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 ba68a93f86
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows-2 2022-07-27 14:18:54 +02:00
Alexandre Dulaunoy 62670edfbc
Merge branch '2.4' into develop 2022-07-27 09:56:31 +02:00
Steve Clement 105734722f
Merge pull request #8509 from SteveClement/i18n
chg: [i18n] Added updated default.pot
2022-07-26 22:28:54 +09:00
Steve Clement d70f2ac529
fix: [i18n] Variables cannot be translated 2022-07-26 14:41:32 +02:00
Sami Mokaddem a1379ddd75
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows-2 2022-07-26 11:50:03 +02:00
Sami Mokaddem cdde1dbe38
fix: [tools:securityAudit] Do not fail if `tls` key does not exist 2022-07-26 11:49:42 +02:00
Sami Mokaddem a092a1da1c
chg: [workflow:zmq_module] Simplified usage 2022-07-25 15:08:17 +02:00
Sami Mokaddem 95e98c27bb
chg: [workflowBlueprint] Clean-up and new method export formats 2022-07-25 14:09:29 +02:00
Sami Mokaddem 510e682b20
fix: [tool:workflowFormatConverter] Fix typo 2022-07-25 13:32:53 +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 c34cd5d990
chg: [Tool:WorkflowGraph] Option to walk a graph without skipping logic nodes 2022-07-22 13:27:42 +02:00
Sami Mokaddem c8528a7c59
chg: [workflows:modules] Renamed parallel tasks into concurrent tasks 2022-07-22 09:56:30 +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 fd2bf8511a
chg: [workflow] Simplified extraction of trigger from workflows 2022-07-20 15:35:31 +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 b162dfed73
chg: [workflow:executeNode] Renamed function 2022-07-18 13:40:22 +02:00
Sami Mokaddem 0202493053
fix: [tools:workflowGraphTool] Fixed detection of edges making the graph cyclic 2022-07-14 10:53:03 +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 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 74ff67d564
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows-2 2022-07-12 14:14:47 +02:00
Jakub Onderka 26cc86fde2
Merge pull request #8205 from JakubOnderka/pull-optim
Pull optim
2022-07-09 09:01:54 +02:00
Jakub Onderka 31b0c3998b
Merge pull request #8470 from JakubOnderka/process-error
chg: [internal] More clear error message in process tool
2022-07-09 08:54:18 +02:00
Sami Mokaddem 99a76812bc
Merge remote-tracking branch 'origin/develop' into feature-workflows-2 2022-07-07 09:09:39 +02:00
Sami Mokaddem 35d7c05582
Merge remote-tracking branch 'origin/2.4' into feature-workflows-2 2022-07-07 09:05:17 +02:00
Sami Mokaddem a220cac1a5
chg: [workflow] Moved directory of custom modules in `Lib` folder 2022-07-07 09:04:09 +02:00
Jakub Onderka 9e75c909e2 fix: [internal] Properly handle zmq exception 2022-07-06 17:20:07 +02:00
Sami Mokaddem 9f9c421140
chg: [tools:FileAccessTool] Added support of append in writeToFile 2022-07-06 15:29:21 +02:00
Jakub Onderka 74ecd2ee9d chg: [internal] More clear error message in process tool 2022-06-30 16:55:04 +02:00
Jakub Onderka 83190f31c2
Merge pull request #8452 from JakubOnderka/restSearchExport-description
chg: [UI] Event export description
2022-06-30 10:10:06 +02:00
Jakub Onderka 47b4c95fe2 chg: [internal] JsonExport cleanup 2022-06-30 09:44:55 +02:00
Sami Mokaddem 4ab4121d05
Merge remote-tracking branch 'origin/develop' into emmekappa86-feature-snort-rule-from-network-connection 2022-06-29 12:37:50 +02:00
Jakub Onderka 640a732c29
Merge pull request #8358 from JakubOnderka/memory-leak-fix
fix: [internal] PHP memory leak
2022-06-29 13:32:26 +02:00
Jakub Onderka 3dc6281676 chg: [internal] Include more types in hash export 2022-06-16 12:54:58 +02:00
chrisr3d 64ee149d5e Merge branch '2.4' of https://github.com/MISP/MISP into develop 2022-06-15 12:51:05 +02:00
Sami Mokaddem 17a32a8131
chg: [workflow] restored execution path support to allow parallel tasks 2022-06-13 11:27:27 +02:00
Sami Mokaddem 6511c3381a
chg: [workflows] Ability to run a workflow from any node and added background job support for parallel tasks 2022-06-13 10:48:59 +02:00
Sami Mokaddem 5a7da21f04
chg: [workflow] Small improvements and refactored behavior of if blocks 2022-06-09 14:08:43 +02:00
Johannes Bader 27e6c60b89 Fixes issue #6379
The NIDS export creates two rules for attributes with type 'email' (a
src and dst rule). However, the same SID was used for both rules. Since
SIDs must be unique for a ruleset, this will be logged as an error by
Suricata and the rule is not loaded (see issue #6379).

This fixes the issue by incrementing the SID before creating the second
email rule.
2022-06-07 21:23:02 +02:00
Jakub Onderka c46fd203a9 new: [email] Unsubscribe 2022-06-06 18:09:46 +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 ec896fe1cd
chg: [workflow] Improved login and `walkGraph` execution logic 2022-05-31 11:58:18 +02:00
Sami Mokaddem d8f8225b9e
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows 2022-05-30 14:37:36 +02:00
Jakub Onderka d8fd3e937a chg: [sync] Simplify galaxy cluster pushing 2022-05-30 08:28:22 +02:00
Jakub Onderka d4deca9330 chg: [sync] Optimise event filtering for push 2022-05-30 08:28:22 +02:00
Jakub Onderka ac82eb3844 chg: [sync] Optimise galaxy cluster pulling 2022-05-30 08:28:21 +02:00
Jakub Onderka bb9567f671 new: [UI] Allow to upload MISP event by pasting data to textarea 2022-05-29 16:21:25 +02:00
Sami Mokaddem b9fb55713e
chg: [tool:pubsub] Allow pushing on workflow topic with additional namespace 2022-05-26 10:58:07 +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 0c172808f7
chg: [workflow] Allow starting walk in graph by specific node id and specific path type 2022-05-25 14:00:37 +02:00
Sami Mokaddem 98e15e78da
chg: [workflow] Renamed GraphNavigator into GraphWalker 2022-05-24 14:14:50 +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
Sami Mokaddem bbb955d8cc
chg: [workflow] Moved modules out of workflow model 2022-05-24 07:59:42 +02:00
Jakub Onderka 07f128272f new: [UI] Add support for webp images 2022-05-23 20:49:29 +02:00
Jakub Onderka a58e58ea9c chg: [UI] Render thumbnails in HiDPI and Webp 2022-05-23 19:02:12 +02:00
Sami Mokaddem 5a554480e9
chg: [workflowGraphTool:navigator] Added helper to navigate the graph based on control modules 2022-05-23 13:43:32 +02:00
Sami Mokaddem 0b7e82b183
chg: [workflow:editor] Throttle pooler if user logged out and bit of cleanup in workflowGraphTool 2022-05-23 09:53:45 +02:00
Jakub Onderka 2f644a2a33 chg: [internal] Use SORT_REGULAR for array_unique 2022-05-22 18:20:12 +02:00
Jakub Onderka 715ca6d1e2 fix: [internal] PHP memory leak 2022-05-22 18:19:45 +02:00
Jakub Onderka e293da740f chg: [internal] Remove QueryTool 2022-05-21 11:40:18 +02:00
Sami Mokaddem 49c2a47f35
chg: [workflow] Fixed inconsistent state in redis and prevent saving cyclic graphs 2022-05-20 17:34:41 +02:00
Luciano Righetti 217be89e00 new: add MysqlExtended DboSource to support index query hints 2022-05-19 11:08:31 +02:00
Luciano Righetti 097c9f8080
Merge pull request #8361 from righel/optimize-event-view-tags
Optimize event view tags
2022-05-17 14:35:19 +02:00
Sami Mokaddem c5af331bc5
Merge branch 'develop' of github.com:MISP/MISP into feature-workflows 2022-05-16 10:50:47 +02:00
Jakub Onderka 781de7dd6a chg: [internal] Do not use uniqid() and openssl_random_pseudo_bytes() methods 2022-05-15 13:04:32 +02:00
Luciano Righetti 5300207ee8 new: add new setting to disable taxonomy checks when browsing data 2022-05-12 11:13:35 +02:00
Sami Mokaddem 140b771989
Merge branch 'webhook' of github.com:MISP/MISP into feature-workflows 2022-05-11 13:05:15 +02:00
iglocska dbdde2f197
new: [background jobs tool] added new shell package 2022-05-11 12:35:05 +02:00
Jakub Onderka 2294232442 fix: [internal] Strict types 2022-05-07 10:40:41 +02:00
Jakub Onderka 6a3253bd2e chg: [API] Add support for ETag checking 2022-05-06 20:31:26 +02:00
Jakub Onderka fa26e9836f fix: [internal] Code cleanup 2022-05-01 14:38:21 +02:00
Jakub Onderka 975f694cd9 new: [freetext] Add support for ja3-fingerprint-md5 import 2022-04-28 18:08:31 +02:00
iglocska b36207a8c2
Merge branch 'custom_email_templates' into develop 2022-04-19 15:25:35 +02:00
iglocska 3e706867e9
new: [emailing] add custom templates to override existing ones
- currently implemented for event publish alerts and user enrollment (password_reset.ctp, alert.ctp)
- simply place the new templates in MISP/app/View/Emails/[text|html]/Custom
2022-04-15 16:28:36 +02:00
Jakub Onderka 104ea79afc chg: [internal] Simplify and speedup code for freetext importing 2022-04-15 14:31:17 +02:00
Jakub Onderka 9e8608b3d3 chg: [jsonTool] Properly handle invalid JSON for PHP 7.2 and older 2022-04-10 09:38:25 +02:00
Jakub Onderka 1a589c64f8 chg [authkeys] Add validation 2022-03-27 18:45:32 +02:00
Jakub Onderka e6202e8078 fixup! new: [test] JSONConverterToolTest 2022-03-26 13:57:24 +01:00
Jakub Onderka b21ad57b47 new: [test] GpgToolTest 2022-03-26 12:10:26 +01:00
Jakub Onderka 6e75c3b560 chg: [gpgTool] Simplify code 2022-03-26 08:41:11 +01:00
Jakub Onderka 5253ada680 chg: [sign] Simplified key handling 2022-03-26 08:41:09 +01:00
Jakub Onderka 9d8fc81678 chg: [internal] Throw exception if Redis class not found 2022-03-19 12:31:55 +01:00
Jakub Onderka f208c656ea chg: [cryptograhicKey] Simplified code for event pushing 2022-03-17 13:58:25 +01:00
iglocska 20fffac92b
chg: [signing validation] re-added to the new ServerSyncTool 2022-03-17 01:44:33 +01:00
iglocska e8dcb31623
Merge branch 'feature/protected_mode' into develop 2022-03-17 01:43:44 +01:00
iglocska 8eff854fce
fix: [signing validation] use the existing event rather than the incoming event for edits
- the ground truth for allowing edits is in the LOCAL version of the event
- prevents tampering attempts

- also cleanup of repetive file upload code
2022-03-17 00:41:55 +01:00
iglocska d49eca93ea
Merge branch 'feature/protected_mode' of github.com:MISP/MISP into feature/protected_mode 2022-03-16 01:34:19 +01:00
iglocska f6b5c7b7e3
chg: [gpgtool] validateGpgKey now also imports the key 2022-03-16 01:29:44 +01:00
iglocska c33230c2cd
Merge branch '2.4' into feature/protected_mode 2022-03-15 23:49:06 +01:00
iglocska 364eaa50c2
new: [event warnings] made modular
- app/Lib/EventWarning contains default warnings
- app/Lib/EventWarning/Custom can be used to just drop event warnings
- use app/Lib/EventWarning/DefaultWarning as a template
2022-03-15 09:30:56 +01:00
iglocska 2cfa89d492
chg: [tmpfiletool] allow reading into string without closing the file 2022-03-14 00:31:36 +01:00
iglocska cd3efdf225
chg: [JSONconvertertool] include cryptographic key 2022-03-13 15:12:05 +01:00
Jakub Onderka cac0e81001
Merge pull request #8154 from JakubOnderka/server-sync-push
chg: [sync] Use ServerSyncTool for pushing events
2022-03-12 13:19:54 +01:00
Sami Mokaddem 21997abc52
fix: [exports:context] Removed spaces 2022-03-10 09:45:47 +01:00
Sami Mokaddem b6c730f8f4
chg: [events:restSearch] Added `context-markdown` export format 2022-03-09 17:49:34 +01:00
Sami Mokaddem f08d29f1e7
Merge branch 'develop' of github.com:MISP/MISP into develop 2022-03-08 13:40:37 +01:00
Sami Mokaddem 155bf23776
new: [events:restSearch] Added `context` export format
The `context` export format includes:
- List of used taxonomies
- List of used galaxy cluster
- List of custom tags
- Mitre Att&ck matrix
2022-03-08 13:40:15 +01:00
Jakub Onderka a60825cbcc fix: [bgjobs] Try to avoid deadlock 2022-02-23 16:05:41 +01:00
Jakub Onderka 0cde5744c6 fix: [bgjobs] First read STDERR, then STDOUT 2022-02-23 16:05:41 +01:00
Jakub Onderka 4959173af6 fix: [bgjobs] Try to close pipes before proc_close 2022-02-23 16:05:41 +01:00
Jakub Onderka 4d9543d00a new: [bgjobs] Allow to set Redis read timeout 2022-02-23 16:05:41 +01:00
Jakub Onderka b32f397949 fix: [internal] CIDR validation 2022-02-23 10:10:57 +01:00
Jakub Onderka 330aa12313 chg: [sync] Use ServerSyncTool for pushing events 2022-02-20 13:56:13 +01:00
iglocska 607de3683c
fix: [tmpdir] default reverted to MISP/app/tmp
- too many access errors for users with /tmp as the default
2022-02-09 09:18:02 +01:00
chrisr3d 6263d4079f Merge branch '2.4' of https://github.com/MISP/MISP into develop 2022-02-01 14:10:19 +01:00
chrisr3d c7d25dcdba
fix: [stix export] Fixed wrong indentation causing variable name errors 2022-02-01 14:08:33 +01:00
Jakub Onderka 2f33b4ad3d new: [UI] Show TLS version for server test 2022-01-22 11:39:49 +01:00
Jakub Onderka 92546d12ff new: [security] Check TLSv1.3 connection 2022-01-22 11:39:49 +01:00
Jakub Onderka 6159a74c88 chg: [connection] Allow to define onConnect callback 2022-01-21 10:18:23 +01:00
Jakub Onderka f32c526bbe new: [security] Allow to specify min_tls_version 2022-01-21 10:18:22 +01:00
Jakub Onderka 3dbddfd9b9 new: [security] securityAuditTls 2022-01-20 16:08:50 +01:00
Jakub Onderka ca58c2467f new: [CLI] Security audit 2022-01-20 10:53:45 +01:00
Jakub Onderka 203cfb2caa
Merge pull request #8065 from fandigunawan/2.4
fix: Removes debug print in AWS S3 Client
2022-01-11 13:52:57 +01:00
Andras Iklody 51e461f44b
Merge pull request #8067 from righel/issue-8064
fix: supervisord_status showing as a worker when its not
2022-01-11 10:17:55 +01:00
Jakub Onderka 03d8eb3d66
Merge pull request #8069 from JakubOnderka/security-audit-old-os
chg: [security] Warn about unsupported OS
2021-12-30 16:40:34 +01:00
Jakub Onderka 66f66d7a3c chg: [security] Warn about unsupported OS 2021-12-30 15:13:47 +01:00
Jakub Onderka 50d284b643
Merge pull request #7986 from JakubOnderka/better-security
chg: [internal] Do not modify session when not necessary
2021-12-30 14:40:01 +01:00
Luciano Righetti 6af197693e fix: supervisord_status showing as a worker when its not 2021-12-30 09:55:52 +01:00
Fandi Gunawan 1591fee9ff
Removes debug print 2021-12-30 02:02:38 +07:00
Luciano Righetti a809b7b1c9 fix: unix timestamps should have a @ prefix 2021-12-28 16:50:08 +01:00
Luciano Righetti 40f83a0329 fix: unix timestamps should have a @ prefix 2021-12-28 16:46:11 +01:00
Richard van den Berg 1593fc1be4 fix: make SimpleBackgroundJobs work on RHEL 7 with supervisorphp/supervisor:^3.0 2021-12-24 11:59:45 +01:00
iglocska 76a0f0617a
chg: [security audit] fixed failures on kernel compilation time
- currently the check makes a lot of invalid assumptions, made it more lax to fail gracefully
2021-12-22 13:00:12 +01:00
chrisr3d f796071d64
Merge branch 'develop' of https://github.com/MISP/MISP into develop 2021-12-20 12:05:42 +01:00
Jakub Onderka d9cc0e8205
Merge pull request #8028 from JakubOnderka/json-convertor-static
chg: [internal] Make JSONConverterTool method static
2021-12-17 18:02:05 +01:00
Sami Mokaddem f6038f9cc8
Merge branch 'develop' of github.com:MISP/MISP into feature-sync-type-filtering 2021-12-17 15:24:56 +01:00
Sami Mokaddem 042e1b296a
fix: [tools:timeline] Usage of correct UUID and disabled polling extrapolation
This half baked feature was making thing confusing for the users. If we ever need it implemented it should be something more robust and configurable.
2021-12-17 11:36:41 +01:00
Jakub Onderka f9eeeed4fe chg: [internal] Make JSONConverterTool method static 2021-12-14 22:35:50 +01:00
chrisr3d 9c76b9ecfa
fix: [stix export] Added parameters to the temporary files deleting function
- Can delete output files when we get an exception
  from the python scirpt
- Can delete a specific list of files that are not
  suffixed with a '.out' extension, like it is the
  case for attributes collections export as STIX 1
2021-12-14 01:54:18 +01:00
chrisr3d bcb6f8d5e3
fix: [stix export] Removed unused variables 2021-12-14 01:53:44 +01:00
chrisr3d 64a30723b7
fix: [stix export] Copy paste issue from merge conflict handling 2021-12-13 16:59:14 +01:00
chrisr3d a8a51ff780
fix: [stix1 export] Syntax typo from merge conflict handling 2021-12-13 16:58:05 +01:00
chrisr3d fadfd10835
Merge branch '2.4' of https://github.com/MISP/MISP into misp-stix 2021-12-13 04:11:47 +01:00
chrisr3d 8af7a00073
chg: [stix export] Merging all the differents changes at different places to support every type of collection export as STIX 1 & 2 2021-12-09 16:52:50 +01:00
Sami Mokaddem 014ae34c53
new: [server:synchronisation] Type filtering during PULL synchronisation
Warning: This feature can introduce unwanted behaviours and inconsistencies
2021-12-09 12:29:03 +01:00
Sami Mokaddem 8cf2914142
new: [event-timeline] Support of image attachments 2021-12-08 12:14:13 +01:00
Alexandre Dulaunoy 38e0a1f6dc
Merge branch '2.4' of github.com:MISP/MISP into develop 2021-11-29 12:16:37 +01:00
Jakub Onderka 708bb6e3f7
Merge pull request #7995 from coolacid/WordWrap
fix: Autocrypt email header force RFC 5322 - 2.1.1 line length limits
2021-11-25 18:13:13 +01:00
Jason Kendall e0bea3119a RFC 5322 - 2.1.1 line length limits
Use '\r\n' instead of PHP_EOL

Use '\r\n' instead of PHP_EOL
2021-11-25 10:50:46 -05:00
Luciano Righetti 08c66ed165 fix: wrong params 2021-11-25 14:34:10 +01:00
Jakub Onderka b34d9bf2f8 chg: [internal] Remove random_compat 2021-11-25 11:58:32 +01:00
Jakub Onderka b100377a73 chg: [internal] Do not modify session when not necessary 2021-11-25 11:58:32 +01:00
Luciano Righetti cab5262d65 fix: improve error handling when supervisor is not available or connection settings are wrong 2021-11-25 10:29:16 +01:00
Sami Mokaddem a968150018
fix: [tools:backgroundjob] Support of legacy systems (3) 2021-11-23 14:42:29 +01:00
Sami Mokaddem 3abe059404
fix: [tools:backgroundjob] Support of legacy systems (3) 2021-11-23 14:42:14 +01:00
Sami Mokaddem dc99aad950
fix: [tools:backgroundjob] Support of legacy systems (2) 2021-11-23 14:34:08 +01:00
Sami Mokaddem fd98014355
fix: [tools:backgroundjob] Support of legacy systems (2) 2021-11-23 14:33:42 +01:00
Sami Mokaddem fb406a05dc
fix: [backgroundjob] Support of legacy system 2021-11-23 14:09:53 +01:00
Sami Mokaddem 4bd337eb42
fix: [backgroundjob] Support of legacy system 2021-11-23 14:09:25 +01:00
Jakub Onderka 7573e89230
Merge pull request #7975 from JakubOnderka/process-tool-selftest
Process tool selftest
2021-11-23 11:52:25 +01:00
Jakub Onderka 1e5ca3dc59
Merge pull request #7577 from JakubOnderka/add-event-cleanup
chg: [internal] Convert array to const
2021-11-23 11:51:58 +01:00
Jakub Onderka 328b326297 fix: [internal] Deleting events 2021-11-22 15:23:50 +01:00
Jakub Onderka 63d9fc7274 chg: [internal] Faster sending images 2021-11-22 09:58:23 +01:00
Jakub Onderka c2bdf167a6 chg: [internal] Slightly optimise CakeResponseTmp 2021-11-22 09:58:23 +01:00
Jakub Onderka 458e900a73 fix: [security] Disable caching of images 2021-11-22 09:58:23 +01:00
Jakub Onderka d5d83fe26d chg: [securityAudit] PHP 7.3 is not supported anymore 2021-11-22 09:58:23 +01:00
Jakub Onderka fc16acb070 new: [securityAudit] Check expose_php setting 2021-11-22 09:58:23 +01:00
Jakub Onderka e13d0bd4ae chg: [internal] New method ProcessTool::whoami 2021-11-22 09:57:39 +01:00
Jakub Onderka 160a26e16f chg: [export] Cleanup code for OpeniocExport and YaraExport 2021-11-22 09:57:39 +01:00
Jakub Onderka dba7d03cfb chg: [stix] Simplified STIX export code 2021-11-22 09:57:39 +01:00
Jakub Onderka acd88ade13 chg: [internal] Use ProcessTool in Exports 2021-11-22 09:57:39 +01:00
Jakub Onderka eb8955b220 new: [securityAudit] Check if xdebug is enabled 2021-11-22 09:57:39 +01:00
Jakub Onderka ac59e1ee54 chg: [bg] Move logging to one place 2021-11-22 09:57:39 +01:00
Jakub Onderka 5cb4aa9697 chg: [process] No need to close pipes 2021-11-22 09:57:39 +01:00
Jakub Onderka 4663c1fff7 new: [bg] Support unix socket for supervisord 2021-11-22 09:57:39 +01:00
Jakub Onderka 1bf78dc969 fix: [internal] Fix checking if system is Linux 2021-11-22 09:57:39 +01:00
Jakub Onderka debb1428ea chg: [securityAudit] Show warning if encryption key is not set 2021-11-22 09:57:39 +01:00
Jakub Onderka 1a719649df chg: [internal] Add BACKGROUND_JOB_ID to new process 2021-11-18 13:22:53 +01:00
Jakub Onderka 0f7d70a825
Merge pull request #7965 from JakubOnderka/bg-worker-simplify
chg: [internal] Bg worker cleanup
2021-11-18 09:46:45 +01:00
Jakub Onderka be0df2b8fa chg: [internal] Bg worker cleanup 2021-11-17 22:01:39 +01:00
Jakub Onderka b8a05f84ec chg: [internal] Use ProcessTool in PubSubTool 2021-11-15 10:22:03 +01:00
Jakub Onderka a31327a19c chg: [internal] Use ProcessTool in SecurityAudit 2021-11-15 10:04:37 +01:00
Jakub Onderka 975bf43041 chg: [internal] Use ProcessTool in StixExport 2021-11-15 10:04:37 +01:00
Jakub Onderka 9793205661 chg: [internal] upload_stix uses ProcessTool 2021-11-15 10:04:37 +01:00
Jakub Onderka d7d8211dd9 chg: [internal] Use ProcessTool in AttachmentTool 2021-11-15 10:04:37 +01:00
Jakub Onderka 98616742cd chg: [internal] Try to use array for processes 2021-11-14 19:09:38 +01:00
Jakub Onderka 81b0a7eed7 fix: [internal] Skip empty line 2021-11-14 19:09:38 +01:00
Jakub Onderka 9c60d64b04 fix: [internal] Update JSON 2021-11-14 19:09:38 +01:00
Jakub Onderka db13698ebd chg: [internal] Better submodule info fetching 2021-11-14 19:09:38 +01:00
Jakub Onderka 0cc7804219 chg: [internal] Current branch and commit checking 2021-11-14 19:09:38 +01:00
Jakub Onderka 736aba20a3 chg: [internal] More clear method names 2021-11-14 19:09:38 +01:00
Jakub Onderka e41a8a785e chg: [internal] Use GitTool for remote version fetching 2021-11-14 19:09:38 +01:00
Jakub Onderka 7074647128 chg: [internal] Authkey resetting 2021-11-14 19:09:37 +01:00
Jakub Onderka 44279f090a chg: [internal] Avoid shell_exec 2021-11-13 10:07:04 +01:00
Jakub Onderka 553036de94
Merge pull request #7955 from JakubOnderka/code-style-background-jobs
chg: [internal] Code style
2021-11-12 11:48:28 +01:00
Jakub Onderka fb99021ab9 chg: [internal] Code style 2021-11-12 09:44:21 +01:00
Jakub Onderka 2d0d5745b9
Merge pull request #7949 from JakubOnderka/server-caching
Server caching
2021-11-11 16:23:38 +01:00
Jakub Onderka 6e3e727805 chg: [internal] pubsub types 2021-11-11 12:05:37 +01:00
Jakub Onderka 6ef90bbc92 chg: [internal] Simplify server caching 2021-11-11 12:05:37 +01:00
Luciano Righetti 565fc26b13 chg: remove track_status setting 2021-11-10 18:24:04 +01:00
Luciano Righetti 5826fafe51 fix: allow start worker by queue type 2021-11-10 16:36:38 +01:00
Luciano Righetti 89c39270e4 fix: issues when worker is stopped, allow null pid and user in worker class 2021-11-10 16:10:42 +01:00
Luciano Righetti 923c2e7741 chg: remove monitor stuff from docbloc 2021-11-10 10:39:44 +01:00
Luciano Righetti fb7e7212ef chg: remove workers monitor script, rely on Supervisor API for all worker-related stuff 2021-11-10 10:36:11 +01:00
chrisr3d 2b624662c3
fix: [stix export] Removing traceback parsing since it is handled in stderr 2021-11-09 17:27:43 +01:00
Luciano Righetti 9e23a2744f chg: merge develop, fix conflicts 2021-11-09 14:23:51 +01:00
Luciano Righetti 2146cd49f7 chg: add background jobs settings to the ui editor 2021-11-09 14:19:07 +01:00
Steve Clement 7929311d80
Merge branch '2.4' into develop 2021-11-09 12:07:23 +01:00
chrisr3d e6d76c73ab Merge branch '2.4' of https://github.com/MISP/MISP into misp-stix 2021-11-09 10:12:17 +01:00
Luciano Righetti 121bc48bad chg: minor refactor 2021-11-09 09:20:54 +01:00
Luciano Righetti e5e6d90f90 fix: minor cs issues 2021-11-09 09:16:37 +01:00
Luciano Righetti 55e9238b46 chg: add redis namespace globally, add auto json de/serializer setting to redis client 2021-11-09 09:12:39 +01:00
Luciano Righetti 4218787934 chg: move initTool() logic to constructor 2021-11-09 08:43:39 +01:00
Luciano Righetti 755ed7a3f5 fix: fix typo 2021-11-08 14:43:26 +01:00
Luciano Righetti 01ef5eb186 fix: replace splat operator, follow cake 2.x private methods naming 2021-11-08 14:30:16 +01:00
Luciano Righetti f2c9d12eae chg: merge develop, fix conflicts. 2021-11-08 11:35:20 +01:00
Jakub Onderka 5569d7d2bf new: [security] Store authkeys for servers encrypted 2021-11-07 17:51:04 +01:00
Alexandre Dulaunoy 9ccc98e6ac
Merge pull request #7817 from fandigunawan/supports-minio
new: Supports MinIO as alternative to AWS S3
2021-11-07 17:45:09 +01:00
Fandi Gunawan 1166aa6d49 Adds default TLS validation to true and supports custom CA path 2021-11-07 18:48:14 +07:00
Jakub Onderka c5f008acd2 new: [internal] BetterSecurity tool 2021-11-05 21:22:04 +01:00
chrisr3d ab3c97718a
chg: [stix1 export] Making STIX1 attributes export parser available 2021-11-05 13:35:23 +01:00
chrisr3d a766fb1b3d
fix: [stix export] Displaying errors with their traceback 2021-11-05 11:34:14 +01:00
Luciano Righetti 7ba758efb0 new: support existing worker controls via supervisor api 2021-11-04 11:42:17 +01:00