-
Notifications
You must be signed in to change notification settings - Fork 459
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
Firewall Integrations | Supported Formats #3377
Comments
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
Looks like we already support RFC 5424 timestamps (technically, it's RFC 3339 for the timestamp) for Cisco ASA and FTD. I'll add some pipeline tests for regression tests. I'm not sure about Cisco IOS, though. I'm not finding any concise answers about what formats Cisco IOS supports. Our sample logs seem to suggest it's derived from RFC 3164. I'm not sure if there are other variations (RFC 5424) that are supported. @jamiehynds, do you know if we have access to a Cisco IOS device? Or if we can get sample logs of different formats (if they exist). |
Thanks for looking into it @taylor-swanson. We can probably get a license from Cisco, but I can try to get some samples to avoid spinning up an appliance and manually generating events. I'm not overly worried about IOS as firewalls are the priority for now. |
@jamiehynds, I'm circling back to this issue again. No worries on the IOS side of things. If we can get example logs for the missing items above, that would be great. I can crank them out quickly once I have samples (assuming no other issues come up). That list appears to be:
Regarding Sophos XG, we are already supporting the Central Reporting Format, so no further actions required there. We do have a user complaining our integration doesn't handle TCP delimiters correctly. According them, we should be using null terminators instead of newlines. A PCAP can confirm this. Do we have any way of getting something like that? (This is being handled in #3482) |
@taylor-swanson I've reached out to our partnership contacts at CheckPoint, Fortinet and Sophos - so we can hopefully get access to samples/appliances pretty quickly. Regarding Juniper, we have some sample data from our pipeline tests that I think are in RF3164 format - could we use these as sample data? https://github.com/elastic/integrations/tree/main/packages/juniper_srx/data_stream/log/_dev/test/pipeline |
Thanks, @jamiehynds! Those Juniper logs all appear to be RFC 5424 (that'd be anything that starts with |
@jamiehynds, I looked at Juniper SRX a bit closer for RFC 3164 logs. This looks to be a significant undertaking. Here would be an example log using that format:
The problem is that none of the fields are labeled, so we'd have to have full documentation on every log emitted to know what these fields mean. It might end up being a grok processor for every possible message type if they don't follow a consistent pattern. According to our docs, we only support syslog messages in the format "structured-data + brief". The structured-data part is unique to RFC 5424, not something RFC 3164 can do. Do we have a lot of requests for the RFC 3164 format? If not, I suggest we don't implement it. It's a much worse format that lacks precision in a lot of areas (timestamp, lack of field names, structure, etc). |
@taylor-swanson ++ on not implementing it and just sticking with 5424 support. Not enough demand to warrant such a heavy lift to support 3164. Thanks for looking into it nonetheless. |
We've now reached sufficient progress to close this issue. There are a few outstanding vendors where we need to expand support syslog formats, but will take some time to gather samples from those vendors. Please see this new issue for updates: #4077 |
We currently support several firewall integrations including Cisco, Palo Alto, Check Point and more. However, there are inconsistencies across which formats are supported across each integration (e.g. RFC3164 and RFC5424). We need to ensure each integration is consistent across syslog format supported.
Cisco ASA/FTD/IOS
RFC5424 timestamp format seems to be an option for ASA logs.
Check Point
RFC3164 and RFC5424 are supported. Docs [here](https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_LoggingAndMonitoring_AdminGuide/html_frameset.htm?
[ ] RFC3164(Log exporter only supports RFC 5424)Fortinet
Syslog configuration now includes the option to enable RFC5424 format. Docs here.
Juniper SRX
Palo Alto
Next round of supported formats tracked in #4077
The text was updated successfully, but these errors were encountered: