I found this page <https://blog.grufo.com/2021/04/12/postfix-amavis-und-aktueller-eset-version-7/> but unfortunately it doesn't work. Some parameters are not correct.
Which ones? Apart from the blog's unfortunate formatting, the parameters don't look wrong. Does this work?:
[ 'ESET Software ESETS Command Line Interface', '/opt/eset/efs/sbin/cls/cls', '--subdir {}', [0], [1, 10, 50, 100], qr/result="([^"]+)"/ ],