Update parser to look at both sshd and sshd-session log lines (#1093)
authorCyril Brulebois <cyril@debamax.com>
Sun, 6 Apr 2025 21:32:53 +0000 (23:32 +0200)
committerCyril Brulebois <cyril@debamax.com>
Sun, 6 Apr 2025 21:52:07 +0000 (23:52 +0200)
commitc0dd54324b1785aa03ed4dbdf2bf61963c2d10b0
tree551adc856b867b2bbca114852b0bc359efe97001
parent28550776c7151dd512d0494672b5fc0cccea054a
Update parser to look at both sshd and sshd-session log lines (#1093)

This is a stripped down version of the following upstream commit in the
hub repository: c9c4fd0e5f7b2edc6c1d3367d0948123dc6e0120

There were a number of changes in the tests between our copy of the hub and
that commit, so let's focus on the actual code fix instead of trying to play
the “backport the context” game.

Gbp-Pq: Name 0021-backport-sshd-session-support.patch
hub1/.index.json
hub1/parsers/s01-parse/crowdsecurity/sshd-logs.yaml