Commit Graph

137 Commits (2.4)

Author SHA1 Message Date
Richard van den Berg 1458f0f21b fix: [misp-wipe] bring wiping up to date with MYSQL.sql 2020-04-23 18:30:13 +02:00
Richard van den Berg 1611b50828 new: [misp-wipe] Add option to enable notice and warninglists 2020-04-23 18:10:39 +02:00
Christophe Vandeplas fb26771e6c fix: [tool] slackbot cosmetic change 2020-04-13 22:25:44 +02:00
Christophe Vandeplas 8a4d9226ab new: [tool] MISP to Slack messaging using ZMQ 2020-04-13 22:21:45 +02:00
Richard van den Berg 91f40e6641 Update misp_retention.py to new api, use local tags 2019-10-14 13:56:19 +02:00
Christophe Vandeplas 44f1b89848 chg: [tool] gen_misp_types_categories uses jq 2019-10-02 09:50:25 +02:00
Christophe Vandeplas e48b1b5dab fix: [tools] Fixes gen types categories script 2019-08-08 12:17:39 +02:00
tom564 d88369a7de
Allow SSL verification to be disabled with config
Allow SSL verification to be disabled with config. If I understand this right this will need to be scheduled with a cronjob if the expiration framework is wanted?
2019-07-16 10:09:18 +10:00
Steve Clement 5cb723b37c
chg: [tools] Added MISPvars from the installer. Added PATH_TO_MISP as a standard. 2019-06-14 23:11:38 +09:00
Trey Darley 1d52eb096d
enable misp-wipewhere MySQL datastore isn't on localhost
The misp-wipe script grabs the MYSQL host parameter from database.conf but it wasn't included in the call to mysqldump.
2019-06-04 17:33:51 +02:00
Trey Darley c854c87765
enable misp-backup where MySQL datastore isn't on localhost
The misp-backup script grabs the MYSQL host parameter from database.conf but it wasn't included in the call to mysqldump.
2019-06-03 15:21:22 +02:00
Alexandre Dulaunoy bc7fc5a490
chg: [tools] unused import module removed 2019-05-27 14:17:10 +02:00
Jop van der Lelie f3e8de52b7 Add script for expiring IP based IOC's 2019-05-21 10:41:33 +02:00
Koen Van Impe 341994dafb misp-wipe ; delete all non-default orgs & users 2019-05-17 17:54:12 +02:00
Richard van den Berg c2a8f0306f Wipe all tmp files, not just the logs 2019-05-14 17:24:47 +02:00
Steve Clement 61de0c1814 chg: [tools] Renamed the script, added a few more tweaks. 2019-04-17 11:25:17 +09:00
Richard van den Berg be3d76d8c1 Wipe new SQL tables in misp-wipe 2019-04-04 11:40:40 +02:00
tom564 bd652c5c60
Fix blank $PATH_TO_MISP
Move  PATH_TO_MISP=${PATH_TO_MISP:-$(locate MISP/app/webroot/index.php|sed 's/\/app\/webroot\/index\.php//')} outside of if statement checking if manual input is required otherwise is only executed if locate is unable to determine path.
2019-04-03 20:56:35 +01:00
Steve Clement 9eeb3cc881 fix: [tools] Fixed empty variable check function. 2019-03-21 14:05:57 +02:00
Steve Clement 28acfb4851 fix: [tools] misp-restore works a little better... still WiP 2019-03-08 09:25:56 +06:00
Steve Clement 96cd7ced47 chg: [tools] misp-restore updates. Still WIP. Not working ATM. 2019-03-04 23:39:08 +06:00
Steve Clement 6d11d6a3cb chg: [tools] Various changes to the misp-backup script to make it more stable. Still WIP. 2019-03-04 23:54:36 +09:00
Steve Clement 640c7f9ac9 chg: [tools] misp-workers.service need to be able to be installed on a stick MISP install (Ubuntu) other flavours want to be marked as such. (and in a seperate directory, ideally, etc/systemd/system)
chg: [tools] Backup script todo added
chg: [tools] worker start script todo and fix me added
2019-02-27 07:58:46 +05:30
Steve Clement ceacaf56d1 Merge branch '2.4' into tools 2019-02-27 07:27:51 +05:30
Steve Clement c6cb8d21fd fix: [doc] gitchangelo from pip now works un Python 3.7 as expected
chg: [doc] Tried to have a more or less clean new Changelog in docs
2019-02-14 16:46:17 +09:00
Christophe Vandeplas 8278c47c5c
fix: [tools] Fixes missing sort in the PyMISP describeTypes generation (#3966) 2018-12-20 13:31:53 +01:00
Chris Ford 774f3c761a fix: [tools] misp-restore.sh incorrectly validating 'BackupFile' from the command line 2018-11-15 11:15:37 -06:00
Steve Clement 153e71b604 fix: [doc] Included git repo of gitchangelog due to Python 3.7 bug fix not yet in release: https://github.com/vaab/gitchangelog/issues/107 2018-10-31 11:41:27 +09:00
Steve Clement 47339b8ba0 chg: [tools] Made it a little more universal 2018-10-29 16:04:51 +09:00
Steve Clement 84f239fee4 new: [tools] Experimental tool to upgrade MISP via GitHub 2018-10-29 13:30:21 +09:00
Steve Clement 9b6c0d31d9 chg: [doc] updated Changelog.md to be more markdown friendly
chg: [tools] Changed the way gen_misp_install_docs.sh parseses the changelog
new: [tools] Added simple tool for git log sanitizing.
2018-10-26 10:38:37 +09:00
Steve Clement 362f03ee00 chg: [tools] Updated gitchangelog.rc for latest version of toll, added to doc generator. 2018-10-25 12:57:13 +09:00
Steve Clement fe5735cc73 new: [docs] Added globalVariables files to be included by all Install Guides
chg: [tools] Updated dependencies on docs creator
chg: [docs] Some minor changes to Ubuntu Install guide and added VariableglobalVariables
chg: [docs] Updated mkdocs.yml with new dependencies
2018-10-24 18:48:24 +09:00
Steve Clement 1193cf8771 chg: [tools] Added sed to gen_misp_install_docs.sh to replace some formatting tildes which mkdocs does not really understand
chg: [docs] Minor touch-up to Changelog.md to correct for formatting issues.
chg: [config] Added correct paths to .gitignore for mkdocs
2018-10-22 10:32:58 +09:00
Steve Clement bb615b92bf new: [tools] Added tool to create MISP INSTALL Docs and push to gh-page, plus it fetche latest Changelog.txt 2018-10-22 09:52:55 +09:00
Steve Clement 5139a80aa2 chg: [tools] removed: #@IgnoreInspection BashAddShebang -- Added a better globbing opt: ./* 2018-10-16 15:07:06 +09:00
Steve Clement 363d00db7a chg: [tools] Updated misp-backup and misp-wipe to be a bit more late 2018 compliant 2018-10-16 13:34:25 +09:00
Steve Clement f67d4350de fix: [tools] small typo in she-bang line 2018-10-11 22:53:04 +09:00
Christophe Vandeplas 569231bcdc new: [tool] Generator for types/categories in all the places of MISP 2018-08-08 12:19:22 +02:00
Raphaël Vinot ecb58da93a fix: Set shebangs, cleanup 2018-06-30 14:39:46 +08:00
Richard van den Berg 2f54353c81 - wipe objects
- update taxonomies, warninglists, galaxies and objectTemplates after wipe
2018-02-01 20:21:06 +01:00
Jérôme Leonard e323fc0730
update: add information for misp-restore.sh script 2018-01-23 14:35:17 +01:00
Jérôme Leonard 25fcacb56e
new: add restore script 2018-01-23 14:34:40 +01:00
Jérôme Leonard ffb8375436
update: add Config php files to backup 2018-01-23 14:34:22 +01:00
iglocska 1d22679d2b fix: match the rate of the pulisher in the subscriber as default 2017-12-20 08:05:54 +01:00
Steffen Sauler 750696ea8e
Fix: shebang mixup
/!bin/sh to !/bin/sh
2017-11-15 16:54:24 +01:00
truckydev 5dff54db00
force int for --sleep
^^
2017-11-14 17:29:07 +01:00
truckydev a21486c328
update args.sleep on typeError
Convert string to int for time.sleep when sub.py use with -t
2017-11-14 17:02:16 +01:00
iglocska 2dc5bcacd6 fix: Updated sub.py 2017-10-27 11:28:09 +02:00
Kevin Allix 2b6ee46e9a Change (where needed) shebang to /usr/bin/env xxx for better portability 2017-06-24 13:37:42 +02:00
Andras Iklody 1eaa8a4f7f Merge pull request #2243 from SHSauler/patch-2
Fix: misp-backup explanation for meaning of variables
2017-06-16 09:39:01 +02:00
Alexandre Dulaunoy ce673df0d5 new: Export default feed list in Markdown format
Simple Python script to dump the default feed list in a Markdown list.
The script is to be used for the automatic generation of the
misp-website and documentation to keep an up-to-date list of feeds in
the various public places of the MISP project.
2017-06-05 10:42:51 +02:00
Steffen Sauler 8b56dc2607 Fix: explanation regarding meaning of variables
Default OutputDirName (current dir) led to error for me on Ubuntu 16.04, tar 1.28. Provided works and is neater.
2017-06-02 00:14:54 +02:00
Alexandre Dulaunoy 39d884788c fix: [misp-zmq] add a Poller for future multi-SUBscriber in ZMQ 2017-05-27 22:03:02 +02:00
Alexandre Dulaunoy 33c0dce29c Remove crap introduced by rope project 2017-05-27 17:09:30 +02:00
Alexandre Dulaunoy 97d15ba88d First version of a Python ZMQ client to get messages from a MISP
instance

usage: sub.py [-h] [-s] [-p PORT] [-r HOST] [-o ONLY] [-t SLEEP]

Generic ZMQ client to gather events, attributes and sighting updates from a
MISP instance

optional arguments:
  -h, --help            show this help message and exit
  -s, --stats           print regular statistics on stderr
  -p PORT, --port PORT  set TCP port of the MISP ZMQ (default: 50000)
  -r HOST, --host HOST  set host of the MISP ZMQ (default: 127.0.0.1)
  -o ONLY, --only ONLY  set filter (misp_json, misp_json_attribute or
                        misp_json_sighting) to limit the output a specific
                        type (default: no filter)
  -t SLEEP, --sleep SLEEP
                        sleep time (default: 2)
2017-05-27 17:01:10 +02:00
Hannah Ward 140d21b8c2
new: Check is user is sudo before wiping misp 2017-04-05 11:34:04 +01:00
Hannah Ward 7a8d3a2d31
fix: Do not echo password on misp-wipe 2017-04-05 11:26:34 +01:00
Richard van den Berg c96729709f * misp-wipe.sh does not backup, so no outputdir is needed
* clear data model cache upon wiping misp
2017-03-17 15:07:49 +01:00
Andras Iklody 390ad0288a Merge pull request #1988 from RichieB2B/ncsc-nl/misp-wipe
Script to wipe (reset) a MISP installation
2017-02-24 12:19:36 +01:00
Richard van den Berg c269e64b0c Clear tables that can be re-populated 2017-02-24 12:12:03 +01:00
Richard van den Berg 40cc8bbea5 Additional table wipes 2016-12-27 16:44:10 +01:00
Richard van den Berg 508239f275 Use OutputDirName for temporary storage 2016-12-15 18:57:02 +01:00
Richard van den Berg 6cb601b302 Remove unneeded config.php variables, keep user 3 2016-12-07 23:01:07 +01:00
Richard van den Berg 46da419dc3 Added misp-wipe.sh 2016-12-07 22:51:57 +01:00
Richard van den Berg 386440deb3 Some adjustments to misp-backup.sh:
- allow setting MISPPath in misp-backup.conf
- use MySQL username/password from database.php by default
- use machine sortable date for output file
- do not store TmdDir name in tar
- use tar non-verbosely
2016-12-07 21:47:20 +01:00
iglocska 79c1bd1ae4 fix: Moved the example API script using SSL client certificate 2016-08-29 21:50:41 +02: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
Alexander J a4c7caa76e Backup files as well 2016-04-07 15:46:20 +02:00
Alexander J 356165807e Update misp-backup.sh 2016-04-07 15:31:47 +02:00
deralexxx 95edae3d91 misp backup script 2016-03-03 21:51:07 +01:00
Iglocska e339f0e646 Fixed various issues with the attribute REST api
- also updated the sample curl scripts
2015-04-14 13:50:51 +02:00
iglocska eb69a6e78f User guide and UI changes
- first set of changes to the user guide, still missing updated images

- some UI changes to make the looks a bit more appealing
2014-03-06 09:20:05 +01:00
iglocska c6fd29fb29 Several features
- Sync for background jobs (pull + push)
- more e-mailing delegated to background jobs
- A bunch of bug fixes and minor changes
2014-01-06 05:15:47 +01:00
Alexandru Ciobanu 5f155f47cc Fixed validation on Event::_add()
Try atomic save for events
Add threat level to JSON sample
2013-11-18 16:36:18 +01:00
Alexandru Ciobanu 233a30b9fd Basic JSON API CRUD [ci skip]
- adds JSON example to shell scripts
    - adds sample JSON event
    - ??? for some redundant Attribute model conditions
    - updates travis with CakePHP installation
2013-11-14 12:43:31 +01:00
Christophe Vandeplas ac5c59e9af minor changes 2013-06-24 15:12:30 +02:00
Noud de Brouwer 50e80e18e8 sync
curl test update using a generic named xml.
2013-01-22 14:12:51 +00:00
noud 2903493205 Merge branch 'master' into develop
Conflicts:
	app/Controller/AttributesController.php
	app/Controller/EventsController.php
2012-12-13 16:03:35 +01:00
noud 094719fa01 Merge branch 'master' into develop
Conflicts:
	app/Controller/AttributesController.php
	app/Controller/EventsController.php
	app/Controller/ServersController.php
	app/Model/Event.php
2012-12-12 18:01:39 +01:00
noud 079ce88793 RESTfull sync
Let RESTfull only work conform the web pages (to Christophes wish),
so add/edit event apart from add/edit attribute.
(there is annotation in the code to revert back to full RESTfull and
add/edit the attribute(s) alongside add/edit the event.)
2012-12-11 16:11:45 +01:00
noud e4dafd3882 RESTfull sync
RESTfull attribute add, edit and view, to be usefull in sync.
2012-12-10 11:32:40 +01:00
noud a4c29a812f XML related.
Made tools/curl/input/event.xml more anonymous.
Events/xml/view.ctp wrongly showed category_order.
REST Event add did not work anymore given GFI sandbox import.
2012-09-18 16:50:07 +02:00
noud 488a535fcf REST
cURL scripts, used besides example-rest.py to do REST testing.
2012-09-03 13:53:44 +02:00
Christophe Vandeplas 79ea3be258 python REST example script 2012-08-31 10:30:45 +02:00