Commit Graph

47 Commits (81da1a2fc75b42a73ec9b55c2bfe97c71a699bfe)

Author SHA1 Message Date
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
Andreas Ziegler 898ea1d97c remove whitespace (space/tab) from empty lines 2016-06-04 01:08:16 +02:00
Iglocska 1ba8d1c1f0 Added correlations on a proposal level
- tied into automatic datamodel updates
- correlation is one way only (from proposal to attribute)
- proposals don't correlate with one another

- all distribution rules are adhered to
- further improvements on the upgrade mechanism pipeline
2016-02-17 14:43:33 +01:00
iglocska 0a48ee2c44 Fix to the correlation peformance 2015-12-17 10:25:30 +01:00
iglocska ffe8dbb011 More fixes to the background correlation generation 2015-12-17 01:40:02 +01:00
Iglocska 328c666e3a Merge branch 'master' into feature/sg
Merging all the new changes from master

Conflicts:
	VERSION.json
	app/Console/Command/AdminShell.php
	app/Controller/AttributesController.php
	app/Controller/EventsController.php
	app/Model/Attribute.php
	app/Model/Event.php
	app/Model/Log.php
	app/Model/Server.php
	app/Model/User.php
	app/View/Elements/side_menu.ctp
	app/View/Pages/administration.ctp
	app/View/Users/admin_index.ctp
2015-10-12 09:41:20 +02:00
Iglocska 4a75b1d2b5 Fixed an issue where the recorrelation of all events would run into memory issues
- before the recorrelation admin tool would load all attributes into memory in one go
- now it loads them in chunks of 1k attributes at a time
2015-09-24 10:36:02 +02:00
Iglocska 3fb7764c00 First revision of the upgrade scripts
- .sql file to add all the new fields / tables
- admin tool to convert the old organisation fields to the new objects
- still missing a cleanup method (to remove the old organisation fields once the conversion is done)
2015-09-02 01:34:52 +02:00
Iglocska c44bee0e96 Further progress
- removed some junk
- more work on the background workers
- rewrote the correlation background job - should work correctly now and be a lot more memory efficient
2015-04-20 13:50:14 +02:00
iglocska 71d36b9c64 Several issues fixed
- MYSQL.sql file now correctly includes the task entries
- GenerateCorrelation admin task is now a background job
- Organisation of events pulled now get the org in the server object as the owner instead of the one who initiates the pull
- Small fix to wrapping text in the pivot graph
2014-11-27 14:47:13 +01:00
iglocska 0e744871bd Further work on the scheduled tasks
- Also some changes left off from the previous commit
2013-12-17 11:38:06 +01:00
iglocska 0f80145c6d :q 2013-11-06 10:52:18 +01:00