Commit Graph

21 Commits (ccf06b7c9cb205c214fe923ca0eb8b30f3f80302)

Author SHA1 Message Date
ag-michael 20fb5cfa2f ** README.md
- LONGTEXT causes sqlalchemy issues, LONGBLOB works great! changed README accordingly.
- Added documentation on how to configure gunicorn to run the production opentaxii server

** misp_taxii_hooks/hooks.py

- Add auto_publish  feature
- Add exception handling
- For MISP.search() `(controller="attributes", value=str(attrib))` was not working at all, changed it to more specific `(controller="attributes", value=str(attrib))`
- Set the default `distribution` to 0 (Your Organization Only), inadvertent sharing of TLP-RED intel could be very bad! This should be configurable in the future
- systemd/journald was taking up lots of ram thanks to gunicorn's excessive logging. I set some of the very noisy `log.info` to `log.debug`

** scripts/run-taxii-poll.py

- Added rate limiting feature
- Continue polling when individual blocks fail to push to the local server

** config/config.default.yaml

- Added auto_publish setting

** scripts/install-remote-server.sh

- Added rate_limit related config lines
2020-07-22 06:49:37 +00:00
ag-michael c0ebb38759 Bugfix: the attribute search in hooks.py 2020-07-12 19:08:26 +00:00
Jeffrey E b29be6a1b4
Fix for working with latest version
It seems that the latest version of pyMISP or MISP itself has changed it data structure. After reviewing the response, this change seemed logical and it is working (at least for me).
2018-12-19 12:26:06 +01:00
Hannah Ward d6fb64c91c Merge branch 'master' of github.com:MISP/MISP-Taxii-Server 2017-11-03 11:47:51 +00:00
Hannah Ward 2262d82cc7
fix: Just in case taxii DOESN'T give us bytes
Fixes #26
2017-11-03 11:47:27 +00:00
davidonzo a718da7016 Fix for "no attribute '_json_full'" error
Fix for "'MISPEvent' object has no attribute '_json_full'" error.
Now events are created in MISP as desired.
2017-10-20 14:47:44 +02:00
Hannah Ward 3854d829e1
fix: Binary content blocks were messing everything 2017-10-19 16:31:06 +01:00
Hannah Ward 461566a819
new: Explain explitly what we're doing at each step of hook 2017-06-29 14:37:54 +01:00
Hannah Ward 61db1d2224
fix: Make it work with array vals 2017-06-16 12:28:10 +01:00
Hannah Ward d68d0bab35
fix: Remove print 2017-06-14 14:16:20 +01:00
Hannah Ward cef25438ea
new: Add dupe checking 2017-06-14 13:52:29 +01:00
Hannah Ward 783a1e9936
fix: Variable name was wrong
fixes #6
2017-05-22 16:45:06 +01:00
Hannah Ward 84d1693261 fix: Allow not checking SSL stuffs 2017-05-12 22:15:40 +01:00
Hannah Ward 28d8c7a018
fix: Removed duplicate checking - sometimes it just wouldn't upload 2017-01-16 16:10:46 +00:00
Hannah Ward dfa2dbc6af
No tempfiles! 2016-11-23 15:31:56 +00:00
Hannah Ward eb292b3cba
Moved to env-var based system 2016-11-23 12:16:30 +00:00
Hannah Ward 0464921b0e
Don't bother pushing if we've no attributes 2016-11-18 14:42:53 +00:00
Hannah Ward 0647e27385
Added rudimentary duplicate checking 2016-11-18 14:42:17 +00:00
Hannah Ward 378bf9cf90
Basic callback done, taxii server will now push to a MISP server 2016-11-18 11:54:58 +00:00
Hannah Ward 3a588632da
OpenTAXII were nice and fixed their mySQL bug <3 2016-11-18 11:45:30 +00:00
Hannah Ward 8adccd851f
Added base configuration files 2016-11-18 09:28:00 +00:00