Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shepilov
Copy link
Contributor

  • New configuration options are available to enable and configure the antivirus service, including the ClamAV server address, timeout, and the
    maximum file size to scan.
  • A new client has been implemented to communicate with the ClamAV server and request file scans.
  • A new worker has been added to perform file scans in the background. When a file is uploaded, a job is created to scan it.
  • The file model has been updated to include the antivirus scan status (e.g., pending, clean, infected).
  • The API has been updated to expose the antivirus configuration and file scan status to the client applications.

@shepilov shepilov requested a review from a team as a code owner December 10, 2025 09:18
Comment on lines +55 to +52
if e.Verb != realtime.EventCreate {
return false
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't that mean that viruses could be added to existing files or even that an infected version could replace a clean one?!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, I haven't looked yet into the version created, and I'll do it in separate PR

@shepilov shepilov merged commit a93ccdb into master Dec 16, 2025
4 checks passed
@shepilov shepilov deleted the clamav branch December 16, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants