Scan files with clamdscan #77
No reviewers
Labels
No Label
Priority
Critical
Priority
High
Priority
Low
Priority
Normal
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Type
Breaking
Type
Documentation
Type
Enhancement
Type
Feature
Type
Report
Type
Security
Type
Suggestion
Type
Testing
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: infrastructure/extensions-website#77
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "scan-file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this does
Internally
FileValidation
record;clamdscan
is called in a background task, so no scanning will happen unless./manage.py process_tasks
is running.In the admin
files.File
admin;In the front-end
files.view_file
) permission;File
admin page for staff accounts with relevant permissions (being in moderators group is not enough).Screenshots
Scan statuses in admin's list of files:
Scan results inlined in File's admin:
Custom action in the admin
Warning shown to staff accounts with a "view File" permission:
Flag in the approval queue
Also only shown to staff accounts with a "view File" permission
TODO
WIP: Scan a file with clamdscanto Scan a file with clamdscanScan a file with clamdscanto Scan files with clamdscan