Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger user notification in case an infected file was found by background scanner #201

Open
PVince81 opened this issue Nov 29, 2017 · 0 comments

Comments

@PVince81
Copy link
Contributor

Usually infected files are caught early and cannot be uploaded.

However, there are some scenarios where an infected file could find itself already on the storage:

  • at the time of the upload, the signature database wasn't up to date or virus was not known yet
  • someone uploaded the file directly to an external storage and bypassing OC

The background scanner which runs with cron is able to find these. Currently we only log an entry in the log about such infected files. (@VicDeo what else ?)

We should also provide a way to send a user notification using the notifications API.

  • I'd say send one to the all admins at least.
  • send to storage owner as well ?
  • we can't send to original uploader as we don't track who uploaded what

As a reminder, such notificaction would appear under the bell icon in the web UI and possibly on desktop and mobile devices of said user.

@VicDeo does the antivirus scan external storages in the background ?

@pmaier1

@PVince81 PVince81 added this to the backlog milestone Nov 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant