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
Luciano Righetti
9bb95db27e
chg: remove hardcode response, map shell/cmd names.
2021-10-26 11:14:11 +02:00
Luciano Righetti
35cf34fab2
Merge branch 'develop' into add_simple_background_jobs
2021-10-26 10:55:13 +02:00
Luciano Righetti
5b08bc3578
chg: pass sql Job to new job handler
2021-10-26 10:31:17 +02:00
Luciano Righetti
f3d05e6ff8
add: add initial new simple background jobs.
2021-10-21 13:39:26 +02:00
Jakub Onderka
e96c850272
fix: [CLI] Cluster publishing
2021-10-20 11:45:07 +02:00
Jakub Onderka
3773fdff93
new: [CLI] Assign UserSetting to list output
2021-10-18 10:08:20 +02:00
Jakub Onderka
459afd6f67
chg: [internal] Code cleanup for Server::pull method
2021-10-16 09:26:42 +02:00
Jakub Onderka
d983d10c14
chg: [internal] Use FileAccessTool for publishing sightings
2021-10-12 11:09:37 +02:00
Jakub Onderka
0faf986b78
fix: [shell] EventShell::contactemail command
2021-10-09 15:44:55 +02:00
Jakub Onderka
3562899af0
chg: [internal] Background processing refactoring
2021-10-09 15:00:28 +02:00
Jakub Onderka
96d2199726
fix: [internal] Server save setting file
2021-10-08 15:28:31 +02:00
Jakub Onderka
923f2501d3
fix: [internal] Bad merge
2021-10-05 19:41:57 +02:00
Sami Mokaddem
9a6d0b2b96
Merge remote-tracking branch 'origin/2.4' into develop
2021-10-05 16:15:44 +02:00
Jakub Onderka
544c9ee8b9
new: [internal] Store MISP live status also in Redis
2021-10-04 10:07:32 +02:00
Jakub Onderka
c48ad84708
Merge pull request #7779 from JakubOnderka/create-job
...
new: [internal] Method Job::createJob
2021-09-30 13:51:58 +02:00
Jakub Onderka
48016120b7
chg: [internal] Use AdminSetting::getSetting method
2021-09-30 13:09:46 +02:00
Jakub Onderka
ac4f042868
new: [internal] Method Job::createJob
2021-09-30 13:05:29 +02:00
Jakub Onderka
4c75854d07
new: [CLI] UserShell::ip_user command
2021-09-27 15:01:53 +02:00
Jakub Onderka
8ee60523b3
Merge pull request #7772 from JakubOnderka/update-cleanup
...
chg: [internal] Cleanup AdminShell::{updateJSON,runUpdates}
2021-09-27 13:16:40 +02:00
Jakub Onderka
fdf6f5ca9e
chg: [internal] Cleanup AdminShell::{updateJSON,runUpdates}
2021-09-26 21:52:18 +02:00
Jakub Onderka
353a503384
new: [CLI] New tasks that will check if Redis is available
2021-09-26 21:41:02 +02:00
Luciano Righetti
19af2d8d82
fix: incorrect check for alertemail and publishSightings event commands
2021-09-24 16:04:10 +02:00
Luciano Righetti
e3d0769f12
fix: incorrect check for publish event command
2021-09-24 14:08:31 +02:00
Jakub Onderka
81eddfdb76
chg: [internal] Do not fetch keys from db for authkey login
2021-09-15 09:51:02 +02:00
Jakub Onderka
9afce6f2cf
Merge pull request #7725 from JakubOnderka/server-shell
...
chg: [internal] Simplify ServerShell code
2021-09-13 09:42:07 +02:00
Jakub Onderka
a539b2ee7c
Merge pull request #7579 from JakubOnderka/publish_alerts_summary_only_deprecate
...
chg: [alert] Deprecate `MISP.publish_alerts_summary_only`
2021-09-07 12:19:01 +02:00
Jakub Onderka
9c1fc45330
new: [shell] Tag merging
2021-09-07 12:14:51 +02:00
Jakub Onderka
ef410687a7
chg: [internal] Simplify ServerShell code
2021-09-03 08:48:44 +02:00
Jakub Onderka
902be03f2b
new: [CLI] User shell
2021-08-25 09:48:14 +02:00
Jakub Onderka
157dbed32b
chg: [sync] Simplify server post test code
2021-08-21 11:29:14 +02:00
Matjaz Rihtar
eaae8c3ca7
fix: [shells] Sync improved cmd line help to 9d7da310
2021-08-16 21:56:04 +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
Jakub Onderka
3bc4f90122
new: [test] Check schema diagnostics in CI
2021-08-03 14:38:50 +02:00
Jakub Onderka
5c56518aaf
fix: [test] After CLI setSetting change
2021-07-26 12:37:17 +02:00
iglocska
567bcdc1ca
chg: [CLI] better error messages when a setting change fails
...
- explain why it failed
- explain how a user can override it
2021-07-26 10:23:57 +02:00
Jakub Onderka
82065624ac
fix: [internal] Argument parsing for testEventNotificationEmail command
2021-07-20 15:24:01 +02:00
Jakub Onderka
52d8ac6060
chg: [alert] Deprecate `publish_alerts_summary_only`, this option just duplicate `event_alert_metadata_only`
2021-07-20 15:19:10 +02:00
mokaddem
7a01c4a813
Merge remote-tracking branch 'origin/2.4' into develop
2021-07-16 15:15:11 +02:00
mokaddem
e7fd73e50e
chg: [user:updateToAdvancedAuthKeys] Functionality accessible via the CLI
2021-07-16 15:13:55 +02:00
Jakub Onderka
f747d98877
Merge pull request #6817 from JakubOnderka/upload-sightings
...
chg: [sync] New separate method for uploading sightings to remote server
2021-07-09 12:25:16 +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
Jakub Onderka
a1212f2df6
new: [log] LogShell
2021-05-03 13:44:44 +02:00
Jakub Onderka
ad1b373766
new: [log] Audit log
2021-05-03 13:44:44 +02:00
iglocska
0d348bfd01
new: [Correlations] Added cached toplist
...
- stored via zset in redis
- very fast, but needs to be generated
- generation background processed
2021-04-27 00:40:40 +02:00
iglocska
823a870ca0
Merge branch 'develop' of github.com:MISP/MISP into develop
2021-04-25 17:54:53 +02:00
iglocska
5622546d5d
new: [correlations] added new background task for correlating individual values
2021-04-25 17:40:41 +02:00
Andras Iklody
6734e9d30e
Merge pull request #7366 from righel/allow-cake-cli-set-null-settings
...
fix: allow setting org_id=0 via cake console, add --force option
2021-04-23 15:08:34 +02:00
Luciano Righetti
da0f9c4148
fix: allow setting org_id=0 via cake console, add --force option to force settings.
2021-04-23 12:01:07 +02:00
mokaddem
7675427170
new: [galaxyCluster:wipe_default] New endpoint to wipe out all default clusters
2021-04-21 12:53:05 +02:00
mokaddem
eb0db3226e
new: [Console] New API shell to create API documentation from RestResponseComponent
2021-04-01 11:13:51 +02:00
Jeroen Pinoy
70a28372f3
new: [cli] enable all tags for a taxonomy
2021-03-24 20:36:51 +00:00
mokaddem
d7de209623
fix: [command:admin] UpdateTaxonomies provides correct feedback
...
Fix #7132
2021-03-24 11:34:50 +01:00
Matjaz Rihtar
d76a066ccb
fix: [shells] Additional command line help
2021-03-19 19:09:50 +01:00
Matjaz Rihtar
93b2355260
fix: [shells] Fixed/improved command line help
2021-03-18 23:45:20 +01:00
Jakub Onderka
683e52702d
new: [sync] When saving sightings, push just new sightings
2021-03-14 09:28:15 +01:00
Jakub Onderka
d989759211
Merge pull request #7191 from JakubOnderka/create-no-need
...
fix: [internal] Remove unnecessary create call
2021-03-11 12:14:16 +01:00
Jakub Onderka
a748134551
fix: [internal] Remove unnecessary create call
2021-03-11 12:03:00 +01:00
Jakub Onderka
3f12e95571
new: [test] Alert email generating
2021-03-06 12:03:53 +01:00
Jakub Onderka
29040c4f1c
new: [email] New setting `MISP.event_alert_metadata_only`
2021-03-06 10:39:16 +01:00
Jakub Onderka
d523025b6d
new: [email] Command for testing generated alert email
2021-03-06 10:39:16 +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
iglocska
64879b836e
new: [CLI] check if updates are done yet or not
...
usage:
- /var/www/MISP/app/Console/cake Admin updatesDone [blocking]
- returns True or False based on whether it is done
- When the blocking parameter is set, it will not return until all updates are done
2021-02-25 11:37:37 +01:00
iglocska
df6c68ad88
new: [devshell] added a new shell for developer related tasks
...
- 1 task currently, cleanFeedDefault
- runs some cleanup on the feed definition file to remove local IDs etc
2021-02-17 13:06:05 +01:00
Jakub Onderka
a5ff4d40bf
fix: [CLI] Check user existence
2021-02-08 08:26:49 +01:00
mokaddem
e93526c19e
chg: [console:admin] Improved feedback when updating object templates. Fix #6715
2021-01-22 10:49:33 +01:00
iglocska
b8823b86e2
new: [correlation] added system to exclude certain values from the correlation engine
...
- simply add values at /exclude_correlations
- new values coming in will not correlate if they trip over the values listed there
- to remove existing correlations run the cleaner tool on the above endpoint
- values can be 1:1 matches, or substring searches (denoted with a leading, ending, or both '%')
- https://www.google.com/% will match anything starting with https://www.google.com/
- %google.com% will match anything that contains google.com
2021-01-07 09:31:38 +01:00
iglocska
b9d69bc2e3
fix: [statistics] Local org flag fixed to show the correct count
2020-12-18 12:23:09 +01:00
iglocska
bd303874ca
fix: [mistake in a comment fixed]
2020-12-18 12:22:31 +01:00
iglocska
db2c92b591
new: [Statistics shell] Added new statistics shell
...
- (R)etrieval (o)f (m)etrics (m)atrix (e)xtended (f)or (s)tatistics
- run it via /var/www/MISP/app/Console/cake Statistics rommelfs
2020-12-18 12:15:57 +01:00
Jakub Onderka
4d0daf6981
new: [CLI] Import events with compressed file support
...
Useful for importing big files
2020-12-09 17:06:04 +01:00
mokaddem
150b4cb7d1
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0
2020-11-09 10:07:43 +01:00
iglocska
3c8b9c0fe4
chg: [statistics shell] yearly growth now takes a local only flag as parameter
2020-10-25 09:11:45 +01:00
iglocska
ecda5c3f7b
new: [statistics shell] year over year org growth added
2020-10-25 09:06:24 +01:00
iglocska
adea237af3
chg: [statistics shell] added org engagement function to get insights on first event creation
2020-10-25 08:36:28 +01:00
Jakub Onderka
49660255fe
new: [av] Malware protection for uploaded files
2020-10-22 16:38:07 +02:00
Jakub Onderka
46ba51a32e
new: [sync] Show client certificate info in connection test
2020-10-19 09:57:06 +02:00
iglocska
79394d0933
fix: [CLI] missing ;
2020-10-01 15:28:24 +02:00
Richard van den Berg
bb8981353b
chg: [Shell] Add MISP.osuser for updates. Fix #6368
2020-10-01 13:47:51 +02:00
mokaddem
eb84b3344f
Merge remote-tracking branch 'origin/2.4' into galaxy-cluster2.0
2020-09-22 12:08:12 +02:00