Hello,
I would like to redirect some error messages of my custom action script to QRadar.
It works great when I execute script with arguments directly in console CLI, but it doesn't work when executed in jail, here is the output message in Admin Panel :
/custom_action_scripts/customaction_1.script: line 255: echo: write error: Operation not permitted
-----------------------------------
And the line 255 is the following, I guess the error is due to my socket utilization :
echo "$(date '+%b %d %T') trigger.sh Type=Script_Execution|Result=$state|Errors=${error::-2}|envRuleID=$envRuleID|envRuleName=$envRuleName|QRadarIP=$QRadarIP|jsonPayload=$jsonString" > /dev/udp/127.0.0.1/514Do you have best pratices to redirect content to QRadar ? (logger, netcat, JSON POST ?)
Thank you !
------------------------------
Clément BONNAL
------------------------------