authelia: set target_user meta and align bf user-enum distinct key#1796
authelia: set target_user meta and align bf user-enum distinct key#1796Copilot wants to merge 2 commits into
target_user meta and align bf user-enum distinct key#1796Conversation
Agent-Logs-Url: https://github.com/crowdsecurity/hub/sessions/3ccb9240-1172-44d6-897a-ab79d73f74a2 Co-authored-by: buixor <990714+buixor@users.noreply.github.com>
target_user meta and align bf user-enum distinct key
|
Hello @Copilot and thank you for your contribution! I'm a bot that helps maintainers to validate scenarios and ensure they include all the required information. The following items have errors: crowdsecurity/crs-exclusion-plugin-cpanel:
crowdsecurity/crs-exclusion-plugin-dokuwiki:
crowdsecurity/crs-exclusion-plugin-drupal:
crowdsecurity/crs-exclusion-plugin-nextcloud:
crowdsecurity/crs-exclusion-plugin-phpbb:
crowdsecurity/crs-exclusion-plugin-phpmyadmin:
crowdsecurity/crs-exclusion-plugin-wordpress:
crowdsecurity/crs-exclusion-plugin-xenforo:
Mitre ATT&CKInformation about mitre attack can be found here.
Expected format is (where labels:
classification:
- attack.TXXXXCVEsIf your scenario covers a specific CVE (Common Vulnerabilities and Exposures), please add it. Expected format is (where labels:
classification:
- cve.CVE-XXX-XXXBehaviorsPlease identify the behavior(s) your scenario is targeting. You can find the list of available behaviors here. Expected format is (where labels:
behavior: <behavior>See the labels documentation for more information. |
Description
Authelia brute-force alerts were missing targeted username context because the parser only populated
evt.Meta.userwhile brute-force context expectsevt.Meta.target_user. This updates the parser/scenario path to emit and usetarget_userconsistently for Authelia brute-force detections.target_userinLePresidente/authelia-logsfrom parsed username.LePresidente/authelia-bf_user-enumto deduplicate onevt.Meta.target_userinstead ofevt.Meta.user.target_useris present on parsed events and alert events.Checklist