Cortex XDR integration with XSOAR - Module facing error Script failed to run: Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cortex XDR integration with XSOAR - Module facing error Script failed to run: Error

L1 Bithead

Hi Everyone,

 

we are integrating the XDR with XSOAR we are facing script error.

 

Kindly find below attached error message of advanced test full report  and screenshot of kindly guide us.

 

Executed: test-module
Instance Cortex XDR - IR_instance_1b262b3c8-5968-43c8-8c7b-c94d9a62a249
Arguments {}
Start time 2024-06-13T11:27:29.47131302Z


Exception message is [Traceback (most recent call last):
File "/tmp/pyrunner/_script_docker_python_loop.py", line 735, in <module>
exec(code, sub_globals, sub_globals)
File "<string>", line 352, in <module>
File "/usr/local/lib/python3.10/base64.py", line 11, in <module>
import binascii
ImportError: Error loading shared library libz.so.1: Exec format error (needed by /usr/local/lib/python3.10/lib-dynload/binascii.cpython-310-x86_64-linux-gnu.so)
]

End time 2024-06-13T11:27:29.710080701Z

3 REPLIES 3

L2 Linker

Has XDR integration ever worked for you?
I would verify that you have the most updated XDR integration content pack from the marketplace.

Looking at the screenshot that you shared, API key ID and API key values looked a bit odd.

If this integration has not worked for you, I would verify that you entered the values correctly.

Hi Ysato,

I have reinstalled the XDR module updated one from marketplace and regenerated the API keys and ID tried even same Error "Script Failed to run"

attached screenshot for reference.

L2 Linker

Thank you for confirming.

The error message suggests that the issue is related to libz.so.1 which is a part of zlib library.

Could you reinstall zlib and make sure it is linked to libz.so.1 for the correct architecture?

 

To Reinstall

sudo apt-get update
sudo apt-get install --reinstall zlib1g

 Ensure Proper Linking

ldd /usr/local/lib/python3.10/lib-dynload/binascii.cpython-310-x86_64-linux-gnu.so

Check for Architecture Compatibility

file /lib/x86_64-linux-gnu/libz.so.1  
  • 341 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!