Files
ocis/services/_includes/antivirus-config-example.yaml
T
Florian SchadeandMartin d2973de823 enhancement: enable icap preview mode and fix client according to the spec (#8062)
* enhancement: enable icap preview mode and use a forked icap client which fixes tcp socket keepalive

* enhancement: make use of human time for the icap timout config option

* enhancement: update icap-client

* enhancement: bump icap client library and deprecate ANTIVIRUS_ICAP_TIMEOUT env

* chore: vendor icap library

* enhancement: set preview size only if greater than 0

* Update services/antivirus/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

* enhancement: add changelog

---------

Co-authored-by: Martin <github@diemattels.at>
2024-01-05 19:56:35 +00:00

39 lines
643 B
YAML

# Autogenerated
# Filename: antivirus-config-example.yaml
file: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9277
token: ""
pprof: false
zpages: false
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
infected-file-handling: delete
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
tls_insecure: false
tls_root_ca_certificate: ""
enable_tls: false
username: ""
password: ""
scanner:
type: clamav
clamav:
socket: /run/clamav/clamd.ctl
icap:
timeout: 0
scan_timeout: 5m0s
url: icap://127.0.0.1:1344
service: avscan
max-scan-size: ""