diff -r d2ab00839ba5 -r 11db6c7b63d2 src/OsecFS.py --- a/src/OsecFS.py Fri Jul 04 13:43:37 2014 +0200 +++ b/src/OsecFS.py Tue Sep 09 09:16:06 2014 +0200 @@ -189,13 +189,17 @@ def sendNotification (type, message): data = {"msgtype" : type, "text" : message} - sendDataToRest ("notification", data) + + if (type == "information"): + sendDataToRest ("message", data) + else: + sendDataToRest ("notification", data) def sendReadOnlyNotification(): sendNotification("critical", "Filesystem is in read only mode. If you want to export files please initialize an encrypted filesystem.") def sendLogNotPossibleNotification(): - sendNotification ("critical", "Send log entry to opensecurity rest server failed.") + sendNotification("critical", "Send log entry to opensecurity rest server failed.") def sendFileLog(filename, filesize, filehash, hashtype): data = {"filename" : filename, "filesize" : "%s" %(filesize,), "filehash" : filehash, "hashtype" : hashtype}