Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Regression in 31_file_package_verify analyzer introduced in v0.9.0. #965

Closed
Vijay-P opened this issue Apr 6, 2021 · 2 comments
Closed

Comments

@Vijay-P
Copy link
Contributor

Vijay-P commented Apr 6, 2021

Is this a request for help?:
No

Is this a BUG REPORT or a FEATURE REQUEST? (choose one):
BUG REPORT - REGRESSION

Version of Anchore Engine and Anchore CLI if applicable:
engine version >= v0.9.0

What happened:
In 57d1c30, methods were removed from anchore_engine/analyzers/utils.py that were used by anchore_engine/analyzers/modules/31_file_package_verify.py. This caused the analyzer module in question to fail silently. Later, having mistaken this change to be intentional, 31_file_package_verify.py was removed in 48dec35.

What did you expect to happen:
Analyzer should be present and functional.

Resolution Plan
Map new syft output containing RPM, DPKG, and APK file manifest data into file_package_verify analyzer output format (to be consumed by rest of system).
Related issue in Syft: anchore/syft#371

@Vijay-P Vijay-P added the bug label Apr 6, 2021
@Vijay-P Vijay-P changed the title Regression in 31_file_package_verify analyzer. Regression in 31_file_package_verify analyzer introduced in v0.9.0. Apr 6, 2021
@zhill
Copy link
Member

zhill commented Apr 6, 2021

This impacts Engine v0.9.0+

@zhill
Copy link
Member

zhill commented Apr 6, 2021

This failure is only indicated by a log message in the analyzer service. The data itself is only exposed in the policy engine's "packages" gate via the "verify" trigger. Only users that leverage that specific trigger will be impacted.

@zhill zhill added this to the v1.0.0 milestone Apr 17, 2021
@zhill zhill closed this as completed Apr 17, 2021
@zhill zhill modified the milestones: v1.0.0, v0.10.0 May 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants