Sophos SPL AVScanner exit codes

Where can I find documentation on the exit codes used by the avscanner component of Sophos SPL? I want to run the scanner as part of a build pipeline and fail it if there is a detection. I have only been able to run it on clean files and I can see it returns 0 (as expected) but what does it return when it detects something?

Any idea where I can find this information?



Updated the tags
[edited by: Gladys at 6:07 AM (GMT -7) on 29 May 2024]