Jakub Onderka
75a1e6e9da
fix: [periodic summary] Fetch just users from database that are enabled
2022-09-21 12:47:50 +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
6f4564e900
fix: [serverShell:sendPeriodicSummaryToUsers] Typo in periods
2022-09-12 15:04:29 +02:00
Jakub Onderka
a974808238
new: [CLI] Option to fetch remote server index
2022-09-11 10:59:14 +02:00
Jakub Onderka
f8b5b22aea
Merge pull request #8572 from JakubOnderka/correlation-value-transaction
...
chg: [correlation] Faster saving correlations
2022-09-10 20:44:29 +02:00
Jakub Onderka
db78a98bd4
chg: [CLI] Do not call ConfigLoad twice
2022-09-10 20:07:08 +02:00
Sami Mokaddem
7cd3b35d61
chg: [user:periodic_notification] General improvements and added CLI support
2022-08-31 11:51:36 +02: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
6a7ce56939
chg: [internal] Add job ID to worker
2021-11-22 14:44:52 +01:00
Jakub Onderka
cc1908a7fd
chg: [CLI] Initialize BackgroundJobsTool just when required
2021-11-22 09:58:20 +01:00
Luciano Righetti
5316766205
fix: ServerShell fails if SimpleBackgroundJobs config does not exists
2021-11-22 09:49:34 +01:00
Luciano Righetti
4218787934
chg: move initTool() logic to constructor
2021-11-09 08:43:39 +01:00
Luciano Righetti
f80fcec2db
chg: rename settings
2021-11-05 15:46:42 +01:00
Luciano Righetti
b1eaed2b1b
chg: merge develop, fix conflicts
2021-11-03 13:54:20 +01:00
Luciano Righetti
321acb629e
chg: fix issues with servershell pull/push commands
2021-10-29 14:52:42 +02:00
Jakub Onderka
b9ab3332a2
chg: [internal] Better error messages when fetching feeds
2021-10-29 11:59:08 +02:00
Luciano Righetti
145b54f401
chg: refactor server shell background jobs to use new tool
2021-10-27 17:03:16 +02:00
Jakub Onderka
459afd6f67
chg: [internal] Code cleanup for Server::pull method
2021-10-16 09:26:42 +02:00
Sami Mokaddem
9a6d0b2b96
Merge remote-tracking branch 'origin/2.4' into develop
2021-10-05 16:15:44 +02:00
Jakub Onderka
ac4f042868
new: [internal] Method Job::createJob
2021-09-30 13:05:29 +02:00
Jakub Onderka
ef410687a7
chg: [internal] Simplify ServerShell code
2021-09-03 08:48:44 +02:00
Jakub Onderka
157dbed32b
chg: [sync] Simplify server post test code
2021-08-21 11:29:14 +02:00
Matjaz Rihtar
4d86ac4842
Merge branch '2.4' into cmdLineHelp
...
# Conflicts:
# app/Console/Command/AdminShell.php
# app/Console/Command/EventShell.php
# app/Model/Server.php
2021-08-16 19:06:11 +02:00
Amaury Leroy
987473a7fe
function pushAll -- push all servers
2021-05-19 14:59:23 +02:00
Amaury Leroy
c34d320186
function cacheServerAll -- cache all server
2021-05-19 14:55:19 +02:00
Matjaz Rihtar
93b2355260
fix: [shells] Fixed/improved command line help
2021-03-18 23:45:20 +01:00
iglocska
78a48ddc87
new: [server shell] list servers, fixes #7115
...
- simple human readable listing
- kept the old weird JSON producing listServers intact
2021-03-03 00:30:35 +01:00
mokaddem
150b4cb7d1
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0
2020-11-09 10:07:43 +01:00
Jakub Onderka
46ba51a32e
new: [sync] Show client certificate info in connection test
2020-10-19 09:57:06 +02:00
mokaddem
eb84b3344f
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0
2020-09-22 12:08:12 +02:00
mokaddem
28890d0ee7
fix: [serverShell:cacheFeeds] Correct usage of __n function. Fix #6238
2020-09-01 08:42:13 +02:00
mokaddem
afbf870e16
fix: [feed:importFreeText] Make sure to update the timestamp when soft-deleting after delta-merge
...
Fix #6013
2020-07-21 12:13:59 +02:00
mokaddem
ad81c60986
Merge branch '2.4' of github.com:MISP/MISP into galaxy-cluster2.0
2020-07-21 08:09:25 +02:00
mokaddem
f3a9481c61
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0
2020-07-01 16:22:55 +02:00
Jakub Onderka
f0fa71627d
chg: [internal] Better job progress and status logging
2020-06-28 09:06:27 +02:00
mokaddem
e48763a1c1
chg: [server:pull] Improved pull process for galaxyClusters
2020-06-10 09:37:25 +02:00
Jakub Onderka
fdb7f1d78b
new: [cli] Command for pulling from all remote servers
2020-06-09 10:19:22 +02:00
mokaddem
dcd3664bba
Merge branch '2.4' of github.com:MISP/MISP into pr-5256
2020-05-18 14:14:51 +02:00
iglocska
15d6c30649
new: [sync] (for now) undocumented force pull added
...
- can only be triggered via the CLI for now
- usage: /var/www/MISP/app/Console/cake Server pull [user_id] [server_id] [technique] [force]
- the force flag has to be passed as 'force' to avoid accidentally triggering it
- What it does:
- pulls ignoring the timetamp differences
- this means that even older states of events, attributes, objects are ingested
- useful for when wanting to reset an event / all events to align with an upstream server
- Caveats:
- attributes added on the low side are maintained
- tags added on the low side are maintained
- keep in mind this WILL override attributes that are soft deleted
2020-05-14 09:34:49 +02:00
Jakub Onderka
94b36c9259
chg: [feed] Provide more info when caching feeds about failures
2020-05-11 15:00:52 +02:00
mokaddem
d71b9a9dc6
fix: [Console:Server] Added `configLoad` task. Fix #5793
2020-04-27 11:51:04 +02:00
iglocska
af881189e5
new: [config load task] Added a task that will reload the settings on any console shell execution, fixes #5498
...
- helps with background workers being forced to fetch new settings whenever they start a new job
2020-02-10 15:15:59 +01:00
mokaddem
4100af2a30
chg: [console:server] Stop execution if user does not exists
2020-01-22 16:07:59 +01:00
Sami Mokaddem
c628375e96
fix: [serverShell] Stopped usage of reserver keyword
...
Renamed function name to let PHP 5.x parse the shell script correctly
2020-01-21 14:05:22 +01:00
iglocska
b3771f3913
fix: [CLI] invalid variable used for server caching log entry
2019-12-10 09:24:56 +01:00
Andras Iklody
add02eb29a
Merge pull request #5280 from vpiserchia/fix-feed-cli
...
Server shell: use the right array key
2019-11-26 19:30:58 +01:00
Richard van den Berg
dd963c2e21
Sync sightings on push, pull and push on add
2019-11-22 21:53:51 +01:00
Jan Skalny
0ef0cf49cb
new: [cli] server connectivity test
2019-10-22 20:13:11 +02:00
Vito Piserchia
3190ff88ea
Server shell: use the right array key
2019-10-08 09:30:24 +02:00
Jakub Onderka
7d438673c1
chg: [feed] Handle exceptions for ServerShell::enqueueFeedCache
2019-09-02 20:37:18 +02:00