Commit Graph

622 Commits (a41a438290e3126ee4bcfbcfaec49c89036e4853)

Author SHA1 Message Date
iglocska fc3439acc1
fix: [php 7.2] compatibility 2022-08-04 19:18:45 +02:00
Sami Mokaddem 775d100cbc
fix: [adminShell:correlationTruncate] Correctly update the job 2022-08-04 10:49:04 +02:00
Sami Mokaddem 49575533ad
Merge remote-tracking branch 'origin/develop' into feature-workflows-2 2022-08-04 10:08:56 +02:00
iglocska a04f3964e7
new: [correlation rework] round 2
- long list of fixes
- update scripts
- correlation engine management interface
- recorrelation/truncation tools
- various performance tunings and bug fixes
2022-08-03 15:44:27 +02:00
Sami Mokaddem b8a9bedcbc
fix: [workflows] Clean up and removed unused code 2022-07-25 13:41:13 +02:00
Sami Mokaddem c8528a7c59
chg: [workflows:modules] Renamed parallel tasks into concurrent tasks 2022-07-22 09:56:30 +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
iglocska c93818f180
chg: [LS22] shell updated with the final version used for the exercise 2022-07-07 11:07:55 +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 351a3cfd4e
chg: [workflow] non-blocking workflows are run by background workers 2022-06-24 12:20:03 +02:00
Sami Mokaddem 07b99a1a5a
chg: [workflow] Added more logging while executing WF 2022-06-13 14:36:44 +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
Jakub Onderka ff47e5491f fix: [oidc] Allow to check all users 2022-06-08 16:29:07 +02:00
Jakub Onderka 5cce0d8c41 new: [CLI] Allow to send real email by testEventNotificationEmail call 2022-06-07 09:06:56 +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 2b6365760d fix: [internal] Enabling/disabling correlations 2022-05-26 15:42:16 +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 261fadb909 chg: [correlation] AdminShell::jobGenerateCorrelation method cleanup 2022-05-15 09:20:57 +02:00
Jakub Onderka 7bfc680ab6 fix: [internal] `Cannot use a scalar value as an array` error when updating warninglist 2022-05-15 08:52:51 +02:00
Jakub Onderka 8ee38925ff chg: [CLI] Show errors for updateTaxonomies 2022-05-14 11:11:43 +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 a7b6f7ba46
new: [action module] added background processing 2022-05-11 12:35:52 +02:00
Jakub Onderka f2580dda7a chg: [internal] Top correlations cleanup 2022-05-09 14:34:38 +02:00
Jakub Onderka 95b750b0d1 chg: [internal] Just edit warninglist when updating 2022-05-06 16:41:06 +02:00
iglocska b36207a8c2
Merge branch 'custom_email_templates' into develop 2022-04-19 15:25:35 +02:00
iglocska 2688961cc3
Merge branch 'develop' of github.com:MISP/MISP into develop 2022-04-18 17:59:34 +02:00
iglocska 51132cdc67
new: [LS22] added shell to control other MISP instances for the exercise
- not that interesting for most users, however, it can be used as a basis to build similar scripts
2022-04-18 17:58:50 +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 ff150b8834 chg: [internal] Do not generate export array when initializing Event class 2022-04-10 09:49:21 +02:00
Jakub Onderka 90cd99685f chg: [sync] Simplify code for sighting pushing 2022-03-07 17:45:06 +01:00
Jakub Onderka 97f4df6a37 chg: [CLI] Simplify Admin::dumpCurrentDatabaseSchema 2022-03-02 16:54:08 +01:00
Jakub Onderka 0728ea36f9 new: [CLI] Filter user by ID or e-mail 2022-03-02 15:55:34 +01:00
iglocska 560781caa2
Merge branch 'develop' of github.com:MISP/MISP into develop 2022-03-02 02:14:52 +01:00
iglocska 639a4929e3
new: [sharing group blueprints]
- create a rule based blueprint that is used to create and update a sharing group
- nest sharing groups
- filter organisations by metadata fields
- nested via boolean operators
- CLI exposed
- API exposed
- Lightweight ownership model (only blueprint owner can see and edit the blueprint)
2022-03-02 02:09:20 +01:00
Jakub Onderka 9bc899e3a4 fix: [internal] Append variable just when not null 2022-02-23 16:05:41 +01:00
Jakub Onderka 5ed82b6714 chg: [bgjobs] Add command name to logs 2022-02-23 16:05:41 +01:00
Jakub Onderka 4cac16b757
Merge pull request #8153 from JakubOnderka/more-entropy
chg: [cli] Use more entropy when generating new encryption key
2022-02-19 18:24:44 +01:00
Jakub Onderka 8409a1871e chg: [oidc] Move OIDC to different class 2022-02-19 16:07:11 +01:00
Jakub Onderka f5e32123c5 chg: [oidc] Check user org when checking if user is valid 2022-02-19 16:07:11 +01:00
Jakub Onderka e1774abe80 new: [oidc] Check user validity 2022-02-19 16:07:10 +01:00
Jakub Onderka 20c4ca7985 chg: [cli] Use more entropy when generating new encryption key 2022-02-19 11:16:03 +01:00
Jakub Onderka 92546d12ff new: [security] Check TLSv1.3 connection 2022-01-22 11:39:49 +01:00
Jakub Onderka 613ac448da new: [CLI] admin configLint 2022-01-22 10:36:59 +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 49ed062216
Merge pull request #8072 from JakubOnderka/fix-authkeys-valid
fix: [CLI] Authkey valid - reconnect in case of failure
2022-01-05 17:05:02 +01:00
Jakub Onderka 281b6e837f fix: [CLI] Authkey valid - reconnect in case of failure 2022-01-04 10:40:54 +01:00
Luciano Righetti 57597b9cd7 fix: change simple bg jobs settings to critical, fix notice in server shell 2021-12-23 14:44:38 +01:00
Jakub Onderka 73936bc8fe chg: [cli] Deprecate `cake baseurl` command 2021-12-19 14:05:27 +01:00
Jakub Onderka ff59dde3f8 new: [CLI] user authkey_valid command 2021-12-14 21:00:47 +01:00
Jakub Onderka 8d7df612f3 new: [CLI] Get authkey info by `cake user authkey` 2021-11-25 18:15:22 +01:00
Sami Mokaddem a968150018
fix: [tools:backgroundjob] Support of legacy systems (3) 2021-11-23 14:42:29 +01:00
Sami Mokaddem fb406a05dc
fix: [backgroundjob] Support of legacy system 2021-11-23 14:09:53 +01:00
Jakub Onderka 6a7ce56939 chg: [internal] Add job ID to worker 2021-11-22 14:44:52 +01:00
Jakub Onderka 05e85ce686 chg: [internal] Simplify index.php 2021-11-22 09:58:23 +01:00
Jakub Onderka cc1908a7fd chg: [CLI] Initialize BackgroundJobsTool just when required 2021-11-22 09:58:20 +01:00
Jakub Onderka b322bd55c5 fix: [CLI] Show error when calling methods for managing workers when SimpleBackgroundJobs are enabled 2021-11-22 09:57:39 +01:00
Jakub Onderka e13d0bd4ae chg: [internal] New method ProcessTool::whoami 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
Luciano Righetti 5316766205 fix: ServerShell fails if SimpleBackgroundJobs config does not exists 2021-11-22 09:49:34 +01:00
Jakub Onderka c34dee0b01 chg: [CLI] Start worker help 2021-11-18 12:16:45 +01:00
Jakub Onderka be0df2b8fa chg: [internal] Bg worker cleanup 2021-11-17 22:01:39 +01:00
Jakub Onderka aaf1c01b3d chg: [CLI] Add help for Admin redisReady command 2021-11-13 11:34:27 +01:00
Jakub Onderka 38fa8d8463 fix: [internal] Private property access 2021-11-13 10:07:04 +01:00
Jakub Onderka 2d0d5745b9
Merge pull request #7949 from JakubOnderka/server-caching
Server caching
2021-11-11 16:23:38 +01:00
Andras Iklody e52e7ae29c
Merge pull request #7939 from righel/add_simple_background_jobs
Add simple background jobs
2021-11-11 16:16:41 +01:00
Jakub Onderka 949970ff6e fix: [CLI] redisMemoryUsage 2021-11-11 12:05:37 +01:00
Jakub Onderka bba985d320 new: [CLI] For redisMemoryUsage show also server cache size 2021-11-11 12:05:37 +01:00
iglocska 86e44ded50
fix: [CLI] fixes to the appshell
- always load the configload task
2021-11-11 10:45:21 +01:00
Luciano Righetti f49d2fde09 Merge branch 'develop' into add_simple_background_jobs 2021-11-10 18:09:09 +01:00
iglocska 2e58ff3272
Merge branch 'develop' of github.com:MISP/MISP into develop 2021-11-10 17:10:46 +01:00
iglocska 5c405dac03
fix: [CLI/background jobs] reverted removal of perform command 2021-11-10 17:10:18 +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
Jakub Onderka d8e6422a8d new: [CLI] Redis memory usage diagnostics 2021-11-10 10:32:10 +01:00
Luciano Righetti 69a69e6e10 chg: try to get user via posix method first 2021-11-10 08:37:06 +01:00
Luciano Righetti 30bb52d705 chg: remove sleep from worker poll 2021-11-10 08:27:31 +01:00
Luciano Righetti 9e23a2744f chg: merge develop, fix conflicts 2021-11-09 14:23:51 +01:00
Luciano Righetti edd27440ac fix: bad merge 2021-11-09 09:44:52 +01:00
Luciano Righetti accc6bb9b4 chg: reload conf 2021-11-09 09:13:25 +01:00
Luciano Righetti 4218787934 chg: move initTool() logic to constructor 2021-11-09 08:43:39 +01:00
Luciano Righetti 99b3f9da65 fix: revert bad merge 2021-11-09 08:24:51 +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 012b8c4b21 new: [CLI] admin reencrypt command 2021-11-07 17:51:04 +01:00
Jakub Onderka 0198c7b0db chg: [internal] Make system setting more secure 2021-11-06 21:23:22 +01:00
Jakub Onderka 51feb8034f new: [CLI] Allow to set setting value to `null` 2021-11-06 00:53:52 +01:00
Jakub Onderka c7cbdadccb new: [setting] Allow to encrypt setting 2021-11-05 16:15:52 +01:00
Luciano Righetti f80fcec2db chg: rename settings 2021-11-05 15:46:42 +01:00
Jakub Onderka c9597ba3e9 new: Store system settings in database 2021-11-05 09:19:56 +01:00
Luciano Righetti b6361c0f7c chg: rename conf name 2021-11-04 11:39:10 +01:00
Luciano Righetti b1eaed2b1b chg: merge develop, fix conflicts 2021-11-03 13:54:20 +01:00
Luciano Righetti c3c0c15182 chg: use new bg job tool in post model, refactor command 2021-11-03 10:58:35 +01:00
Luciano Righetti cce5e581d4 fix: add missing jobId param to enqueue() calls 2021-11-02 16:25:43 +01:00
Luciano Righetti dc27f11e0b chg: add user to worker class, make /servers/getWorkers compatible with new bg jobs 2021-10-29 16:20:06 +02:00
Luciano Righetti 321acb629e chg: fix issues with servershell pull/push commands 2021-10-29 14:52:42 +02:00
Jakub Onderka 55a4fb6036
Merge pull request #7899 from JakubOnderka/admin-shell
new: [CLI] New task for removeOrphanedCorrelations and optimiseTables
2021-10-29 12:50:18 +02:00
Jakub Onderka b9ab3332a2 chg: [internal] Better error messages when fetching feeds 2021-10-29 11:59:08 +02:00
Jakub Onderka 30ee33f1ef new: [CLI] New task for removeOrphanedCorrelations and optimiseTables 2021-10-29 10:54:37 +02:00
Luciano Righetti 145b54f401 chg: refactor server shell background jobs to use new tool 2021-10-27 17:03:16 +02:00