fix(stirling-pdf-logs): add support for Stirling-PDF 2.9.2+ log format#1795
Draft
Copilot wants to merge 2 commits into
Draft
fix(stirling-pdf-logs): add support for Stirling-PDF 2.9.2+ log format#1795Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/crowdsecurity/hub/sessions/6518deb4-7872-4455-95ee-45ed2de286e5 Co-authored-by: buixor <990714+buixor@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update grok pattern for Stirling-PDF logs compatibility
fix(stirling-pdf-logs): add support for Stirling-PDF 2.9.2+ log format
May 12, 2026
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.
Stirling-PDF 2.9.2+ changed the failed-login log format: the emitting class changed from
CustomAuthenticationFailureHandlertoAuthController, the level dropped fromERRORtoWARN, and the message structure changed fromFailed login attempt from IP: [X]toInvalid password for user: X from IP: Y.Changes
parsers/s01-parse/crowdsecurity/stirling-pdf-logs.yaml: adds a second grok node alongside the existing one to match the new format, preserving backwards compatibility:.tests/stirling-pdf-logs/stirling-pdf.log: adds three new-format log samples (private IPs)..tests/stirling-pdf-logs/parser.assert: updated to cover the 3 additional entries across all parser stages (s00-raw, s01-parse, s02-enrich).Checklist