Hi Bhagyesh , you can use QRadar SIEM Functions for SOAR from here : https://exchange.xforce.ibmcloud.com/hub/extension/a9bcc3eaebf2a6efc04258b4964a48a4
On that package you need to use qradar_search function,
Here is an example of what you would like to do on the code:
AQL search to grab the data (try it first on your QRadar):
SELECT DOMAINNAME(domainID), domainID,QIDNAME(qid),LOGSOURCENAME(logSourceId), sourceaddress, destinationaddress, startTime, CATEGORYNAME(category), "SHA256 Hash" , UTF8(payload) FROM events WHERE INOFFENSE('1') ORDER BY startTime ASC LIMIT 10 START 1705586735124 STOP 1705586735125
The script on the qradar_search should look like:
offense = incident.properties.qradar_id
query = "SELECT DOMAINNAME(domainID), domainID,QIDNAME(qid),LOGSOURCENAME(logSourceId), sourceaddress, destinationaddress, startTime, CATEGORYNAME(category), \"SHA256 Hash\" , UTF8(payload) \
FROM events WHERE INOFFENSE("+ offense +") ORDER BY startTime ASC LIMIT 10 START " + str(start_time) + " STOP " + str(stop_time)
inputs.qradar_query = query
You need to get start_time and stop_time from the offense/incident with your code.
Attributes are just as examples the only thing you really need it's UTF8(payload) to grab de payload
Hope it does help
------------------------------
Juan Paulo
IBM
Santiago
------------------------------
Original Message:
Sent: Tue January 16, 2024 11:46 AM
From: Bhagyesh Limbad
Subject: Regarding IBM QRadar Event Payload from Offense Events
Hi all
We have successfully integrated QRadar with IBM SOAR, and everything seems to be in order. However, we are now looking to extract the QRadar event payload from offense events. This information is crucial for some of our automation activities.
I wanted to inquire if it is possible to fetch the payload from QRadar events directly. Your insights and suggestions on this matter would be highly valuable and will significantly aid us in optimising our automation processes.
Thanks,
------------------------------
Bhagyesh Limbad
------------------------------