VeeamON 2024 - Use Code "COMMUNITY10" for 10% Off!
I found no way to edit my last post. there was a small mistake in the XML abobe (“--noui” is missing as paramter). The correct, working, xml:<Antiviruses> <AntivirusInfo Name='Sophos Intercept X' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles%\Sophos\Endpoint Defense\SophosInterceptXCLI.exe' CommandLineParameters='scan --noui %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='[dD]etections(: )*[1-9][0-9]*' IsParallelScanAvailable='false'> <ExitCodes> <ExitCode Type='Success' Description='No threats detected'>0</ExitCode> <ExitCode Type='Error' Description='Error during command handling'>1</ExitCode> <ExitCode Type='Error' Description='Unexpected error during CLI setup'>2</ExitCode> </ExitCodes> </AntivirusInfo></Antiviruses>
For us, the Solution was to remove the Exclusion for C:\VeeamFLR\. We added this Exclusion because of the Veeam KB (https://www.veeam.com/kb1999). But the CLI Scanner from Sophos also does not Scan any Exclusion configured in Sophos Central.As soon as we removed that exclusion, the scan started to work propertly. AntivirusInfos.xml:<Antiviruses> <AntivirusInfo Name='Sophos Intercept X' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles%\Sophos\Endpoint Defense\SophosInterceptXCLI.exe' CommandLineParameters='scan %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='[dD]etections(: )*[1-9][0-9]*' IsParallelScanAvailable='false'> <ExitCodes> <ExitCode Type='Success' Description='No threats detected'>0</ExitCode> <ExitCode Type='Error' Description='Error during command handling'>1</ExitCode> <ExitCode Type='Error' Description='Unexpected error during CLI setup'>2</ExitCode> </ExitCodes> </AntivirusInfo></
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.