Commit Graph

116 Commits (791dc9deabd2d7fdfd7c371331eb557d14782372)

Author SHA1 Message Date
iglocska b5ee50d251
Merge branch 'event_recovery' of github.com:MISP/MISP into event_recovery 2020-09-19 18:37:35 +02:00
iglocska 94c37871da
fix: [recovery] various fixes
- to_ids fixed
- background processing made optional
- first/last seen format conversion altering the data's format for the recovery script fixed
- added capture of object first/last seen to the recovery script
2020-09-19 18:35:15 +02:00
mokaddem f56cab6e49
chg: [log] Convert shadowAtribute's fs/ls into understood format 2020-09-18 16:51:53 +02:00
mokaddem e0bf738b11
chg: [log] Convert object's fs/ls into understood format 2020-09-18 16:41:26 +02:00
mokaddem 18097f05db
fix: [log:event_recovery] Delete blocklist entry for recovered event 2020-09-18 15:50:26 +02:00
mokaddem 1074458cf7
fix: [log] Convert attribute's fs/ls into understood format 2020-09-18 15:32:50 +02:00
iglocska c8b61175e8
new: [recovery] script added mock method among other changes
- also added proposals
- add/accept/discard should be fully supported now
2020-09-18 13:42:52 +02:00
iglocska 19d52f312a
new: [recovery] added event deletion recovery tool 2020-09-15 23:54:59 +02:00
iglocska 14ca7ddf49
fix: [internal] fix to various CLI commands breaking on the IP field in the log table not having a default value, fixes #6263 2020-09-08 13:10:10 +02:00
Golbark 3fb47d1cce chg: [internal] Using blocklist instead of blacklist 2020-09-01 16:27:36 +02:00
James Droste 2ae7c7df30 Add the ability to customize the IP header field when logging 2020-08-25 16:29:34 -07:00
Vito Piserchia 850034ecc0 recover from upstream version missing bits 2020-08-17 17:57:30 +02:00
Vito Piserchia 7da8b32ada rebase continue 2020-08-17 17:25:02 +02:00
Jakub Onderka 8338659396 fix: [internal] Fix undefined index notices 2020-08-12 19:33:45 +02:00
mokaddem 9d0597528d
fix: [events:index] Do not show events if org doesn't belong to the SG
Event belonging to an organisation which is not
included in the sharing group assigned to the event will not see the
event on the index anymore.
Fix #6033
Fix #6107
2020-07-21 10:36:15 +02:00
mokaddem ff7ef393c5
fix: [EventShell:enrichment] Improved reporting of error messages 2020-06-05 07:46:46 +02:00
mokaddem 944b613a19
Merge branch '2.4' of github.com:MISP/MISP into pr-5856 2020-05-18 09:22:46 +02:00
mokaddem b724e30282
chg: [user:finaliseAndSendEmail] Aggresively catch errors and log them
while sending email
2020-05-07 17:11:42 +02:00
iglocska 3740e38907
fix: [registration] log entry action shortened to not cause issues 2020-05-07 15:56:08 +02:00
Jakub Onderka a0476bda3d new: [internal] Do not log auhtkeys 2020-05-04 15:13:17 +02:00
mokaddem f2f1fc2170
chg: [Log:beforeSave] Fallback to `SYSTEM` Org if field empty 2020-04-28 11:00:49 +02:00
Jakub Onderka 3c5e44fa8d
chg: [internal] Removed unused function
This function has typo in name `beforeValid*e*te`, so its never called. And because everything works, I think it is safe to remove it.
2020-04-27 23:30:27 +02:00
mokaddem 6bff239740
chg: [user:registration] Added audit log 2020-04-22 10:04:07 +02:00
iglocska 4ded5a73c4
new: [database] New MySQL data source added for debugging
- MySQLObserver datasource added - prepends all queries with the requested controller/action and user ID for better debugging
2020-04-14 15:04:33 +02:00
iglocska ad4074c1d6
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2020-04-07 13:23:25 +02:00
iglocska 4ebc0a7988
new: [inbox] system added
- user self-registration is the first use-case
- if the feature is enabled, users can unauthenticated send a registration request to MISP
  - request includes information on desired org and some privileges (sync / org admin / publisher)
- requests land in the inbox, admins can inspect the registration requests
  - they can accept/discard them individually or en masse
  - users will be notified of their credentials automatically
  - quick user creation if the user asks for an org that doesn't exist yet
2020-04-07 13:21:01 +02:00
iglocska c6739b7659
chg: [syslog] added title of log entry 2020-04-01 23:53:08 +02:00
iglocska bae2717eaf
new: [API] Enveloping improvements
- user controlled envelope settings to control memory estimation for attribute/event sizes
- logging of potentially too large events for the current memory envelope
- tuning of the default values
- added a divider for the event:attribute conversion to account for objects / event level contextualisation / correlations
2020-01-29 22:33:27 +01:00
Andras Iklody 91a045c13f
Merge pull request #5208 from JakubOnderka/patch-34
Simplify user profile logging
2019-12-11 19:28:32 +01:00
Richard van den Berg 1c6278d354 Select right servers for pushing sightings 2019-11-29 11:54:15 +01:00
iglocska 288df9d8e7
chg: [internal] Renamed log action name for db worker issues to be <= 20 characters in length
- it was a restriction based on the db schema of the log table from before
2019-11-18 11:35:10 +01:00
mokaddem 5e8720c8ee
chg: [update] Added special log action for workers performing the DB
update
2019-10-15 12:07:29 +02:00
Jakub Onderka 688bab2778 chg: [internal] Simplify UserController::admin_edit 2019-10-11 20:35:27 +02:00
Jakub Onderka 2abe4c5946 chg: [internal] Do not log passwords 2019-09-23 07:49:42 +02:00
iglocska 850159627a
Merge branch '2.4' of github.com:MISP/MISP into 2.4 2019-09-13 11:51:05 +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
mokaddem 813d222bf4
chg: [decaying] Added log entry if formula cannot be loaded 2019-09-12 14:10:17 +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
iglocska c5fe480745
chg: [logging] Truncate description lengths that would be longer than what the DB can store with the default setup 2019-08-13 12:03:30 +02:00
iglocska 122ff89f2f
new: [setting] Disable DB logging completely, fixes #4921
- Not recommended, but for certain use-cases it might be desirable
2019-07-31 09:52:05 +02:00
iglocska 36b43f1306
fix: [security] Org admins could reset credentials for site admins
- org admins have the inherent ability to reset passwords for all of their org's users
- this however could be abused if for some reason the host org of an instance would create org admins
  - the org admin could set a password manually for the site admin or simply use the API key of the site admin to impersonate them
- the potential for abuse is very circumstancial as it requires the host org to create lower privilege org admins instead of the usual site admins
- only org admins of the same organisation as the site admin could abuse this

- as reported by Raymond Schippers
2019-06-11 11:05:34 +02:00
iglocska e89b4525ad
new: [logging] Added paranoid logging mode
- will log ANY query's (UI/API):
  - http method
  - requested URL

- optionally disable DB logging for paranoid log entries
2019-05-17 11:45:20 +02:00
Nikos Filippakis 9d59b10368 Publish events to Kafka
Signed-off-by: Nikos Filippakis <nikolaos.filippakis@cern.ch>
2019-03-18 15:53:22 +01:00
Nikos Filippakis b783b5e393 Fix checking of incorrect flags when publishing to ZMQ
* Check Plugin.ZeroMQ_event_notifications_enable instead of Plugin.ZeroMQ_attribute_notifications_enable in Event.php
* Check Plugin.ZeroMQ_audit_notifications_enable instead of Plugin.ZeroMQ_user_notifications_enable in Log.php
* Check Plugin.ZeroMQ_object_notifications_enable instead of Plugin.ZeroMQ_attribute_notifications_enable in MispObject.php

Signed-off-by: Nikos Filippakis <nikolaos.filippakis@cern.ch>
2019-03-13 11:51:40 +01:00
Christophe Vandeplas 67efc70bf5 fix: [style] consistent space indentation 2019-02-10 13:08:55 +01:00
iglocska a81894f14c chg: [CS] Changed to PSR-2
- to make contributions easier, adopted PSR-2
- used php-cs-fixer to rework the style
- *sniff sniff* Goodbye tab indentation
2018-07-19 11:48:22 +02:00
Hannah Ward f7f5296de6
fix: Make indentation line up 2018-07-12 11:03:01 +01:00
Hannah Ward a70f8e45d8
new: Add ability to log to elasticsearch 2018-07-10 17:01:57 +01:00
StefanKelm 9951590ef8
Update Log.php 2018-04-23 15:06:56 +02:00
StefanKelm 739210c58f
Update Log.php
Alphabetically sort list of Actions pull-down menu within "Search Logs"
2018-04-23 14:59:01 +02:00