-
Notifications
You must be signed in to change notification settings - Fork 68
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
The virus database is older than 7 days! #735
Comments
I'm not sure what the cause is here. My theory would be that there might be some stale definition files on EFS which are not getting updated for some reason |
Hi there, Thanks |
The fresh deploy won't solve this problem, that's when ClamAV is out of date (not the database). I don't know why this is happening as I haven't been able to reproduce it in my own testing 😕. @emmapatterson how frequently are files getting scanned? Is there any downtime? I'm curious if the |
Thanks for the reply, there is definitely downtime, the scans are irregularly throughout the day when our users choose to upload. We saw this same issue when we had built our own lambda from a similar docker image as yourself. This issue was part of the reason we moved over to using this construct. 🤞🏼 we can find a solution |
Hi. This problem is happening in our deployment as well. There are no errors in the logs for the lambda which should be updating the virus definitions. All the files in the virus definitions S3 bucket have been updated today apart from daily.cld which is a week old. Are there any diagnostic techniques you could suggest please? I tried adding --verbose to the freshclam command in assets/lambda/code/scan/lambda.py but I couldn't see the output in the logs. Thanks |
Hello @dontirun, I am also getting the same messages coming through, the update lambda shows no errors
This is the Event I get from the clamscan.cleanRule:
Any advice is much appreciated |
Hi, we are using this module for a client of ours and they are also running into this notification. We have added some debugging and have noticed that whenever ClamAV says that the definitions are too old, the files that are available to ClamAV are indeed very old (more than one year old). Somehow it seems that older files are sometimes mounted in the container, however it is very very hard for us to debug this issue since the layers of wrapping around the codebase (container, serverless function, trigger, etc.) Please help us figure out what is going on here / fix the issue, now the solution cannot be trusted in a production environment! |
really need this, I use it everyday |
Ran in to this issue, fix would be greatly appreciated 👀 |
Linking this discussion since they seem reissued. I think a cleanup process on the EFS is needed |
@dontirun quite a few people are running into this, what are the next steps? |
A community contribution to fix the issue |
Ok thanks for the answer. I will see what the possibilities are from my end. |
Hello,
not sure if it's an issue or I messed the point on how to update it?
refereing this issue #143
issue starting from 2023-01-17
Lambda DownloadDef doesn't report errors logs:
I saw "Update the docker images of the Lambda functions with the latest version of ClamAV by re-running cdk deploy."
We deploy everyday but maybe I miss a way to force this update?
The text was updated successfully, but these errors were encountered: