Skip to content
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

Add redis binary classifier #1438

Merged
merged 5 commits into from
Jan 6, 2023
Merged

Add redis binary classifier #1438

merged 5 commits into from
Jan 6, 2023

Conversation

noqcks
Copy link
Contributor

@noqcks noqcks commented Jan 5, 2023

Fixes #1437

EDIT: WIP. Revising this regex.
EDIT2: Unfortunately this doesn't seem to work for some earlier redis versions. Seems like there's no stable way to get a version from parsing the redis-server binary. Closing for now.
EDIT3: I found that I can parse redis-cli with stability across versions. Reopened this PR.

Signed-off-by: Benji Visser <benji@093b.org>
@noqcks noqcks closed this Jan 5, 2023
Signed-off-by: Benji Visser <benji@093b.org>
@noqcks noqcks reopened this Jan 5, 2023
Signed-off-by: Benji Visser <benji@093b.org>
@noqcks noqcks changed the title Add redis-server binary classifier Add redisbinary classifier Jan 5, 2023
@noqcks noqcks changed the title Add redisbinary classifier Add redis binary classifier Jan 5, 2023
noqcks added 2 commits January 5, 2023 14:04
Signed-off-by: Benji Visser <benji@093b.org>
Signed-off-by: Benji Visser <benji@093b.org>
@noqcks noqcks requested a review from kzantow January 6, 2023 17:03
Copy link
Contributor

@kzantow kzantow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution, this LGTM! 👍

@kzantow kzantow merged commit db386ba into anchore:main Jan 6, 2023
@noqcks noqcks deleted the benji.visser/redis-server-binary-classifier branch January 6, 2023 18:59
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
Signed-off-by: Benji Visser <benji@093b.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add binary matcher for redis
2 participants