Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add acceptance test to cover gem cataloger #207

Merged
merged 1 commit into from
Oct 8, 2020
Merged

Conversation

wagoodman
Copy link
Contributor

The existing gemspec cataloger for image scanning was looking within the specification/ dir instead of the specifications/ dir. This PR adjusts the cataloger and adds acceptance tests against a rails image to compare syft results to inline scan. To do this, additional content-* report parsing was added to the existing inline scan wrapper/compare script to interpret additional results output by inline scanner.

@wagoodman wagoodman added the bug Something isn't working label Oct 8, 2020
@wagoodman wagoodman self-assigned this Oct 8, 2020
test/inline-compare/compare.py Outdated Show resolved Hide resolved
test/inline-compare/compare.py Outdated Show resolved Hide resolved
… dir

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
@wagoodman wagoodman merged commit 335a6b0 into main Oct 8, 2020
@wagoodman wagoodman deleted the add-gem-acceptance branch October 8, 2020 17:13
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
… dir (anchore#207)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants