Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ClamAV result descr as X-Virus-ID header
Signed-off-by: Khaled Emara <mail@KhaledEmara.dev>
- Loading branch information
db85381
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hello, as I commented on my original issue, #133 for returning the detected virus info back to the ICAP client, it might be even better to make this custom response header configurable in the config.toml file, for instance, our WAF expects to receive X-Virus-Name in response header for detected virus in the uploaded file, using this hard coded X-Virus-ID as fallback only when nothing is specified in the config.toml file