Commit Graph

61 Commits (80bfe9463d0878060bffadcb47b146cfb92c92e5)

Author SHA1 Message Date
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 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
Steve Clement 5844d2534d fix: [AdminShell] Added apache user 2019-05-08 17:21:29 +09:00
Steve Clement 95bfb9783f Merge branch '2.4' into tools 2019-05-08 17:20:33 +09:00
Steve Clement 968035c218
fix: [AdminShell] very dirt fix to get updateObjectTemplates working (#4585)
fix: [AdminShell] very dirt fix to get updateObjectTemplates working
2019-05-08 09:14:48 +09:00
Steve Clement b7ccee7e72 chg: [AdminShell] Some comments on current state of bugs 2019-05-08 09:13:59 +09:00
Steve Clement c6f26909b3 chg: [AdminShell] Let's at least tell what ID was not found. 2019-05-08 09:12:18 +09:00
Steve Clement 9280cc736b fix: [AdminShell] very dirt fix to get updateObjectTemplates working from the CLI 2019-05-08 09:09:41 +09:00
Steve Clement ef4c99d964 fix: [AdminShell] Misplaced the debug message. 2019-05-07 11:31:26 +09:00
Steve Clement 536d199a21 chg: [AdminShell] Let the user know as which user he exectued the script. 2019-05-07 11:24:09 +09:00
Steve Clement 022a3c9d9f fix: [AdminShell] CentOS/RHEL use 'apache' by default. 2019-05-07 11:22:31 +09:00
Steve Clement 3e58ecadcb
Merge pull request #4556 from SteveClement/tools
chg: [AdminShell] return the name of the setting change and what we changed it to
2019-05-01 22:30:21 +09:00
Steve Clement 9bccd93826 chg: [AdminShell] Adde PHP_EOLs where it made sense. (QoL enhancement) 2019-05-01 22:27:38 +09:00
Steve Clement 082cf53225 chg: [AdminShell] return the name of the setting change and what we changed it to. 2019-05-01 13:47:44 +09:00
mokaddem 47e13c8369 chg: [updates] Implented changes requested by the PR's review #4534. 2019-04-29 11:09:04 +02:00
iglocska 29598c2475 new: [API] Update JSON exposed to the API 2019-04-10 10:09:25 +02:00
iglocska e549179e43 chg: [CLI] line-break added at the end of execution 2019-04-10 08:50:25 +02:00
iglocska e175433ecd fix: [merge] issue 2019-04-10 08:40:03 +02:00
iglocska f52f847445 Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-04-10 08:36:16 +02:00
iglocska bc98a44c58 new: [CLI] Update all JSON structures in one shot 2019-04-10 08:29:28 +02:00
Steve Clement 356a4636d5
Merge branch '2.4' into submoduleUpdatev4 2019-04-10 13:15:35 +09:00
iglocska 90fc9f26c2 new: [CLI] Worker management added
- Added a more exhaustive worker management CLI script package
  - list workers
  - start a worker
  - restart a worker
  - kill a worker
2019-04-09 13:32:35 +02:00
iglocska 79aed910a9 new: [CLI] reset / set a user's API key via the CLI 2019-04-07 16:24:44 +02:00
mokaddem 95bdff2093 chg: [diagnostic:submodule] continued sync DB after pull done - WiP 2019-04-05 16:04:22 +02:00
mokaddem fe00c4d193 chg: [diagnostic:submodule] Started integration of update DB after pull
with workers
2019-04-05 14:28:19 +02:00
iglocska aaf6738064 new: [CLI] Set default role via the CLI 2019-04-04 16:35:27 +02:00
iglocska 3bf3cca970 new: [CLI] Added restartworkers and update MISP 2019-04-02 10:18:00 +02:00
Steve Clement fdb8378522 new: [cli] Added getWorkers to cake Admin Shell. It returns a JSON with the status of the current workers. 2019-03-01 10:57:39 +05:30
iglocska 7eb3809bf0 new: [CLI] execute all db updates to bring MISP up to date with any changes
- mimics logging in via the UI
2019-02-09 20:57:34 +01:00
iglocska fe1a7b8947 new: [CLI] Server settings refactored, fixes #4074
- moved most of the codebase to the model
- streamlining of the setting change
- hooked the callback system into the CLI version of the setter
2019-02-01 14:44:52 +01:00
iglocska 33b5fa8535 fix: [CLI] Added bruteforce protection cleaning 2018-12-02 21:39:01 +01:00
iglocska 3852129f12 new: [CLI] Get the API key of a given user using the CLI
- simply run /var/www/MISP/app/Console/cake Admin getAuthkey [user_email]
2018-07-28 09:06:06 +02:00
Steve Clement cd8518482a chg: [CLI] Updated admin commands and added FIXMEs 2018-07-10 13:52:21 +02:00
Andras Iklody 29cc84f0e2
fix: [CLI] mixup corrected 2018-07-10 13:18:43 +02:00
Andras Iklody eaae089b26
fix: [CLI] Update noticelists correctly passes the user data 2018-07-09 14:58:41 +02:00
Steve Clement 93e335675e new: [CLI] Added update commands for Taxonomies, Warning Lists, Notice Lists and Object Templates 2018-07-08 17:07:36 -04:00
Steve Clement c6e68348f5 chg: [CLI] added force argument 2018-07-08 16:49:47 -04:00
Steve Clement 983d3c26b2
fix: [adminTools] undeclared variable removal 2018-07-05 18:20:26 +02:00
Steve Clement 7c101b4e49 - Quick command to update galaxies 2018-07-05 09:23:17 +02:00
iglocska 948be561d5 chg: [CLI] Convert "false" and "true" for setSettings to 0 and 1 respectively, fixes #3408 2018-07-04 14:01:57 +02:00
iglocska 596d6b54d5 new: [CLI] Added CLI tool to downgrade DB version 2018-06-15 23:01:33 +02:00
iglocska cf49732799 fix: Fixed issues with non string server settings when changing them via the console 2018-04-08 23:11:51 +02:00
iglocska 66a0dec11c new: Added server setting management via the command line
- Usage:

  - /var/www/MISP/app/Console/cake Admin getSetting [setting]
    - setting is optional, if none set "all" is assumed
    - returns all or a specific setting's current value and metadata

  - /var/www/MISP/app/Console/cake Admin setSetting [setting] [value]
    - set a given server setting by full setting name
    - for example the following will enable the import services:
      -  /var/www/MISP/app/Console/cake Admin setSetting "Plugin.Import_services_enable" 1

- This feature was created in support of the CIRCL global conglomerate's APAC HQ in Tokyo
2018-04-01 17:31:31 +02:00
iglocska 48843b60ec fix: Fix and cleanup script for a specific bug
- rare occurance, but some MISP servers enter an upgrade loop causing massive amounts of log entries
- this patch cleans up the bug preventing further upgrade loops as well as offers a script to clean up the fallout
2017-01-30 09:16:43 +01:00
iglocska ffe880621e new: Disable correlation
- globally
- on an event level
- on an attribute level
2016-12-22 15:30:06 +01:00
Andreas Ziegler 0fe692c56a remove whitespace at end of line 2016-06-04 01:10:45 +02:00
Andreas Ziegler bba7e60e85 remove empty lines at end of files 2016-06-04 01:10:05 +02:00