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

Create nginx binary classifier #1988

Merged
merged 4 commits into from
Aug 3, 2023
Merged

Create nginx binary classifier #1988

merged 4 commits into from
Aug 3, 2023

Conversation

SemProvoost
Copy link
Contributor

Create nginx binary classifier

Closes #1945

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.

Are you able to add a couple tests for this? There are a few ways to do this: copy a small amount out of the binary that contains the version, you can see examples of this in the test fixtures here. Alternately, you can extract a binary from a (small, hopefully) image, see examples here.

syft/pkg/cataloger/binary/default_classifiers.go Outdated Show resolved Hide resolved
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! 👍

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 cataloger for Nginx built from source
2 participants