Commit Graph

106 Commits (3bc4f901223c9782dd688a4f4993481e2cdb9b94)

Author SHA1 Message Date
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
mokaddem e7fd73e50e
chg: [user:updateToAdvancedAuthKeys] Functionality accessible via the CLI 2021-07-16 15:13:55 +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
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
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
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
Jakub Onderka 49660255fe new: [av] Malware protection for uploaded files 2020-10-22 16:38:07 +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
Golbark 3a0bedb104 chg: [internal] Using Allowedlist instead of Whitelist 2020-09-01 16:28:20 +02:00
Steve Clement 031565de46
fix: [www] webserver user is www on OpenBSD 2020-06-01 14:33:38 +09:00
mokaddem 27ac2aa05f
fix: [console:admin] getSetting can be used to retrieve all settings 2020-04-06 13:57:55 +02:00
iglocska 9f3f50544f
fix: [CLI] change authkey description fixed 2020-03-02 23:02:57 +01:00
iglocska eb6b260c5e
fix: [CLI] allow for calling the update via the CLI without passing a process ID 2020-02-26 16:18:37 +01:00
iglocska 363d0cd69a
new: [logging] Log user IPs on login
- feature is optional and needs to be enabled in the server settings
- on successful login logs the associated user ID for a given IP (30 day retention)
- also logs the IP for the associated user ID (indefinite retention)
- added two command line tools to query
  - Get IPs For User ID: MISP/app/Console/cake Admin UserIP [user_id]
  - Get User ID For User IP: MISP/app/Console/cake Admin IPUser [ip]
2020-02-20 16:07:10 +01: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
Jakub Onderka c4db35bbf8
fix: [CLI] Die if setting name is not correct 2020-01-27 10:12:36 +01:00
mokaddem 0b1c71e1d9
chg: [dbschema] Pretty print db_schema and removed Object.comment and
ShadowAttr.comment from the index list
2020-01-23 11:48:47 +01:00
mokaddem 7be275aced
chg: [diagnostic:DBIndexes] Cleanup, bug fix and updated db_schema 2019-12-18 16:21:13 +01:00
mokaddem 637e2806ef
new: [diagnostic:DBIndexes] Added complete diagnostic for database
indexes
2019-12-18 15:53:20 +01:00
iglocska 34f1031188
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-12-16 13:20:59 +01:00
iglocska 0d3e4dbf46
fix: [CLI] updateObjectTemplates handles fetching the user correctly now 2019-12-16 13:20:19 +01:00
Sami Mokaddem 2be36fb611
chg: [Console:admin] Allow `travis` user to bring the database up to date 2019-12-16 12:46:37 +01:00
StefanKelm 79ad82f58b
Update AdminShell.php
Adding "wwwrun" as a user since it is common under SUSE Linux
2019-11-21 10:31:06 +01:00
mokaddem 0087a49fcc
chg: Usage of camelCase instead of snake_case 2019-10-29 09:57:25 +01:00
mokaddem ae5d900b40
chg: [update] Keep track of update number in job - WiP 2019-09-30 15:31:49 +02:00
mokaddem 900317d5fe
Merge remote-tracking branch 'origin/2.4' into revisedUpdateProcess 2019-09-30 10:40:01 +02:00
Jakub Onderka bd9d65a2a1
fix: [shell] Update updateWarningLists from CLI 2019-09-27 14:18:35 +02:00
mokaddem 84290eaae6
chg: [dbSchemaDiagnostic] Added support of db_version 2019-09-26 15:20:32 +02:00
mokaddem c72f04dd90
Merge branch '2.4' into revisedUpdateProcess 2019-09-26 12:13:49 +02:00
iglocska 3240a6cac4
new: [CLI] Added cleanup tool to purge all events related to a feed
- Simply run /var/www/MISP/app/Console/cake Admin purgeFeedEvents [user_id] [feed_id]
- works for CSV/Freetext feeds
2019-09-13 10:48:43 +02:00
iglocska 75acd63c46
fix: [security] Fix to a vulnerability related to the server index
- along with various support tools
- more information coming soon
2019-09-09 13:00:21 +02:00
mokaddem 91768dc881
Merge branch '2.4' of github.com:MISP/MISP into revisedUpdateProcess 2019-09-09 11:42:03 +02:00
Bechkalo Evgeny 9cf2ef3a46 fix: more issues with PostgreSQL
- fixed error during update Job date_modified field (SQLSTATE[22008]:
Datetime field overflow: 7 ERROR:  date/time field value out of range)
- fixed error during fetching events while updating from feeds (
SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for
table events)
- fixed Feed edit view with wrong boolean forms (combobox instead
checkbox)
2019-08-29 18:36:47 +03:00
mokaddem 5c3f2a8c80
chg: [update] Update function name are more explicit 2019-08-14 12:26:54 +02:00
mokaddem 0fe9b490b8
Merge branch 'workerForDBUpdate' into revisedUpdateProcess 2019-08-14 12:14:39 +02:00
iglocska c6c8dc1696
new: [CLI] Added cleanCaches command 2019-08-01 15:15:20 +02:00
iglocska ce7dc6ecb0
fix: [CLI] admin->setDatabaseVersion fixed 2019-07-08 15:46:29 +02:00
iglocska 1c9cf7f484
fix: [upgrade process] For the recovery script, also take "failed" upgrades into account
- not all update script errors are actual failures, some insertions of table rows that already exist to resolve potential previous update issues would otherwise not be flagged
2019-05-22 11:01:46 +02:00
mokaddem 8418e89c7f fix: [update] Started changing worker place in the update process 2019-05-08 15:07:26 +02:00
mokaddem e6b8f32729 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-05-08 11:59:07 +02:00
mokaddem 3d74ce99ef chg: [adminShell] Added recovery function to replay updates
It fetches the last successful DB update number in the log, then
re-apply all of them up to the latest available.
2019-05-08 11:51:26 +02:00
Steve Clement 44e5f940a2 fix: [AdminShell] Yet another tyope :( 2019-05-08 17:44:15 +09:00
Steve Clement db0fb9432e fix: [AdminShell] Fixed typo 2019-05-08 17:41:28 +09:00