The below workaround applicable for all the ESAP versions where it is affected and not able to run and collect the OPSWAT diagnostic logs.
Step 1: Download the file,
$ ls
ps-esap-3.8.0-diag-tool-v3-v4-mac.zip
Step 2: Unzip the file by decompress it.
$ unzip ps-esap-3.8.0-diag-tool-v3-v4-mac.zip
Step 3: List out the files after the uncompression
$ ls -al
total 8
drwx------+ 6 staff 192 Jul 28 07:19 .
drwxr-xr-x+ 15 staff 480 Jul 28 06:49 ..
[email protected] 4 staff 128 Jul 28 07:13 ps-esap-3
-rw-r--r-- 1 staff 170 Jul 28 07:12 ps-esap-3.8.0-diag-tool-v3-v4-mac.zip
Step 4: Change directory to ps-esap-3 folder.
$ cd ps-esap-3
$ $ ls -al
total 8
[email protected] 4 staff 128 Jul 28 07:13 .
drwx------+ 6 staff 192 Jul 28 07:19 ..
[email protected] 3 staff 96 Jul 28 07:13 OpswatDiagnoseTool.app
[email protected] 1 staff 127 Sep 28 2016 RunOpswatDiagnoseTool.sh
Step 5: Setup permissions for scripts and binary.
$ find . -iname "*.sh" | xargs -I{} chmod a+x "{}"
$ chmod a+x OpswatDiagnoseTool.app/Contents/MacOS/OpswatDiagnoseTool
Step 6: Take off the application from quarantine
$ sudo xattr -rd com.apple.quarantine OpswatDiagnoseTool.app/
Step 7: Run the .sh file to collect the OPSWAT diagnostics report.
$ ./RunOpswatDiagnoseTool.sh
Do you want to run this as root?
Please enter Y for yes and N for noNote: We are working on notarize each binary on the tool, and then, try to notarize the whole tool as a permanent solution. Once we have the complete work done, will update this KB accordingly.