Client attempting to set up a SIEM Agent for CloudSOC on an Ubuntu Server version 22.04.3 LTS
Running with Python3 Client is getting "ImportError: No module named requests.exceptions"
CASB Support ensured pre-requisites were met and Client was following the SIEM API Tech Doc
CSAB Support also getting same error in Lab as client did in their environment after running 'sudo sh install.sh'
Analyzed logs further discovered that "requirements.txt" file that came zipped with the SIEM Agent had old 'requests' library version 2.11.1 inside it
requirements.txt file contents as received in SIEM Agent zipped file:
Before the Change:
Edited "requirements.txt" file to contain latest requests version 2.31.0
Re-ran SIEM agent install command sudo sh install.sh
SIEM Agent installed successfully on the Lab Ubuntu Server and when Agent was run it successfully pulled data from Lab CloudSOC tenant