Add UniFi Controller CEF integration#105
Merged
Merged
Conversation
Mirror content/ruleset/unifi_controller from wazuh/operations: CEF activity-log decoders and rules for UniFi Network Application (controller) events (WiFi client connect/disconnect/roam and admin UI/API access).
Point the decoder/rules cp commands at integrations/unifi_controller/ instead of the operations content/ruleset/ path, and drop the operations-specific unifi_ap path reference.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new UniFi Controller integration to the integrations/ catalog to decode and alert on UniFi Network Application CEF activity logs received over syslog (client connectivity events and admin access events).
Changes:
- Introduces a UniFi Controller decoder to extract key CEF extension fields (event ID, client/AP identifiers, RSSI, user, IP, site, etc.).
- Adds rule mappings for connect/disconnect/roam/admin-access events plus a correlation rule for repeated disconnects.
- Provides documentation and sample logs to support setup and validation via Wazuh tooling.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| integrations/unifi_controller/unifi_controller_decoder.xml | New decoder for UniFi Network CEF syslog logs with field extraction. |
| integrations/unifi_controller/unifi_controller_rules.xml | New alerting rules and a correlation rule for repeated disconnects. |
| integrations/unifi_controller/README.md | Setup and validation instructions for installing and testing the integration. |
| integrations/unifi_controller/log_samples.txt | Sample CEF log lines for local validation/testing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
leonfullxr
marked this pull request as ready for review
July 21, 2026 09:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the UniFi Controller integration under
integrations/. It parses UniFi Network Application (controller) CEF activity logs (CEF:0|Ubiquiti|UniFi Network|...) delivered over syslog, covering WiFi client connect / disconnect / roam events and administrator access to the UniFi Network UI/API. Distinct from the UniFi AP syslog ruleset.