-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decode_CEF preprocessor fails when MAC address is without separators #27050
Comments
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
The parser is expecting a separator because the documention we used to implement it specified it for
Reference: https://ia801002.us.archive.org/11/items/commoneventformatv25/CommonEventFormatV25.pdf |
I agree that Aruba should stick to the CEF format, but even though they might fix this in the future we have no way of supporting their older software versions. |
PR: #27109 |
Accept MAC addresses that do not contain separators (i.e. `000D60AF1B61`). Fixes elastic#27050
Accept MAC addresses that do not contain separators (i.e. `000D60AF1B61`). Fixes #27050
Describe the enhancement:
Decode_CEF preprocessor needs to support MAC addresses without separating characters.
beats/x-pack/filebeat/processors/decode_cef/cef/types.go
Line 93 in 877d8bc
Describe a specific use case for the enhancement or feature:
While sending syslog in CEF format from Aruba ClearPass we get errors.
Log from Aruba ClearPass:
<143>Jul 26 2021 15:09:34 192.168.203.220 CEF:0|Aruba Networks|ClearPass|6.8.7.120583|2001|Failed Authentications|5|cat=Session Logs dvc=192.168.203.220 duser=0011223359e4 destinationServiceName=TEST_PROD MAC-AUTH Wired dpriv=TEST-VL1, [User Authenticated] cs2=Local:localhost cs2Label=Auth Source requestMethod=MAC-AUTH cs4=UNKNOWN cs4Label=System Posture Token outcome=[Update Endpoint Known], TEST-MerakiAP-VL1, MAC-AUTH-port-mode dmac=0011223359e4 src=192.168.1.78 cn1=0 cn1Label=Error Code rt=Jul 26 2021 15:08:37
Error message:
error in field 'dmac': address 0011223359e4: invalid MAC address
The text was updated successfully, but these errors were encountered: