-
Notifications
You must be signed in to change notification settings - Fork 623
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
Support fluent-bit 1.7.0 dev, rc #3133
Labels
Comments
popey
added a commit
that referenced
this issue
Mar 2, 2025
This fixes issue #3133 by updating the regex pattern for fluent-bit binary detection to better handle ANSI escape sequences and multiple null bytes between the version string and "Fluent Bit" text. The change also makes the %s format specifier optional, supporting all variations in fluent-bit binary signatures.
4 tasks
popey
added a commit
that referenced
this issue
Mar 2, 2025
This fixes issue #3133 by updating the regex pattern for fluent-bit binary detection to better handle ANSI escape sequences and multiple null bytes between the version string and "Fluent Bit" text. The change also makes the %s format specifier optional, supporting all variations in fluent-bit binary signatures. Signed-off-by: Alan Pope <alan.pope@anchore.com>
popey
added a commit
that referenced
this issue
Mar 7, 2025
Loading
Loading status checks…
Signed-off-by: Alan Pope <alan.pope@anchore.com>
popey
added a commit
that referenced
this issue
Mar 7, 2025
Loading
Loading status checks…
* fix: improve fluent-bit binary detection regex pattern This fixes issue #3133 by updating the regex pattern for fluent-bit binary detection to better handle ANSI escape sequences and multiple null bytes between the version string and "Fluent Bit" text. The change also makes the %s format specifier optional, supporting all variations in fluent-bit binary signatures. Signed-off-by: Alan Pope <alan.pope@anchore.com> * test: add fluent-bit 1.7.0-dev-3 test fixture for issue #3133 Signed-off-by: Alan Pope <alan.pope@anchore.com> --------- Signed-off-by: Alan Pope <alan.pope@anchore.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
What would you like to be added:
Support some versions of fluent-bit in binary detection
1.7.0-dev-3 - 1.7.0-dev-9, 1.7.0-rc4 - 1.7.0-rc8 are not detected
Additional context:
OK : [NUL]1.7.0[NUL]%sFluent Bit
NG : [NUL]1.7.0[NUL]\x1b[1m[NUL]%sFluent Bit
OK : [NUL]1.7.0[NUL]Fluent Bit
NG : [NUL]1.7.0[NUL]\x1b[1m[NUL]%sFluent Bit
The text was updated successfully, but these errors were encountered: