Hi all,
We are trying to process input from the incident name field "Name "
'QRadar ID 29857 , Port Scan - FW-003-192.168.89.41-178.60.254.205'
Using a Rule that will run a script that will parse and get the values splitted between -, using the following small code example script
tokens = incident.name.split('-')
incident.min_code = f'{tokens[1].strip()}-{tokens[2].strip()}'
Just a question, cause we are getting the following error.
Rule 'Include basic fields to an incident' is unable to update the Incident 'QRadar ID 29857 , Port Scan - FW-003-192.168.89.41-178.60.254.205' because: no viable alternative at input ''{tokens[1].strip()}-{tokens[2].strip()}''
Any ideas? It seems an error on the input value
Many thanks
Oscar
------------------------------
Oscar López
------------------------------