You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for reporting this! I'm wondering if this will only work for the last quote enclosed value? Will this work if there are multiple quote enclosed values or if the value is in between other values?
I had Cisco Firepower extension part of CEF that looked similar to this.
They enclosed value in quotes instead of escaping "=" symbols.
I would propose to use this regex
([^=\s]+)=((?:[\\]=|[^="])+|"[^"]+")(?:\s|$)
there
jc/jc/parsers/cef.py
Line 218 in ee3b873
And trim possible quotes in normalization
item[key] = value.strip(string.whitespace+'"')
jc/jc/parsers/cef.py
Line 354 in ee3b873
Obviously I can miss some edge cases with this regex so feel free to correct me :)
The text was updated successfully, but these errors were encountered: