File Upload Malware Scanning

To configure anti-malware scanning for file uploads, add the following secrets in the Configuration Manager:

Key Path Key Name Key Value
kv/<environment>/<application>/app-settings feature-upload-malware-detection 1
kv/<environment>/<application>/app-settings feature-upload-malware-use-remote 1
kv/<environment>/<application>/app-settings feature-upload-malware-endpoint API endpoint
kv/<environment>/<application>/app-settings feature-upload-malware-apikey subscription-key
kv/<environment>/<application>/app-settings feature-upload-malware-timeout 30

 

Key Description
feature-upload-malware-detection Set to 1 to enable anti-malware scanning or 0 to disable it.
feature-upload-malware-use-remote Legacy setting. Always set it to 1 (0 was for a local anti-malware engine available only on legacy on-premise deployments).
feature-upload-malware-endpoint API endpoint of the scan engine.
feature-upload-malware-apikey Subscription key for the scan engine.
feature-upload-malware-timeout Duration in minutes to wait for a response from the scan engine before rejecting the file.
Default: 30.