-
Notifications
You must be signed in to change notification settings - Fork 158
Closed
Labels
Description
Describe the bug
When eicar_com.zip is uploaded, no notification is triggered. But notification is triggered for eicar.com virus file.
Steps to reproduce
- Upload
eicar_com.zip.
curl -u admin:admin "https://localhost:9200/ocs/v2.php/apps/notifications/api/v1/notifications?format=json" -vk | jqExpected behavior
Expected to get notification like: Virus found in eicar_com.zip. Upload not possible. Virus: Win.Test.EICAR_HDB-1
Actual behavior
No notification for eicar_com.zip file.
noNotif.webm
{
"ocs": {
"meta": {
"message": "",
"status": "",
"statuscode": 200
},
"data": null
}
}Setup
Run clamav:
docker run -d -p 3310:3310 owncloudci/clamavdRun opencloud:
PROXY_ENABLE_BASIC_AUTH=true OCIS_LOG_LEVEL=debug IDM_CREATE_DEMO_USERS=true OC_INSECURE=true ANTIVIRUS_SCANNER_TYPE="clamav" ANTIVIRUS_CLAMAV_SOCKET="tcp://host.docker.internal:3310" POSTPROCESSING_STEPS="virusscan" OC_ASYNC_UPLOADS=true OC_ADD_RUN_SERVICES="antivirus" opencloud/bin/opencloud serverDetails
OpenCloud 1.0.0+22b52a776 Community
OpenCloud Web UI 1.0.0Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done