8000 refactor: pass both image and tool_input as parameters to capture by westonsteimel · Pull Request #9 · anchore/yardstick · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor: pass both image and tool_input as parameters to capture #9

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

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

westonsteimel
Copy link
Contributor

Allow tools to decide how to handle capturing results based on just an image vs some other input such as an SBOM file.

For grype and syft it didn't matter because both types of input were handled the same way; however, for other tools (like anchorectl), the commands will be different and both the image name and path to the sbom will be needed.

Signed-off-by: Weston Steimel weston.steimel@anchore.com

Allow tools to decide how to handle capturing results based on just an image vs some other input such as an SBOM file.

For grype and syft it didn't matter because both types of input were handled the same way; however, for other tools (like anchorectl), the commands will be different and both the image name and path to the sbom will be needed.

Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
@westonsteimel westonsteimel requested review from wagoodman and a team November 29, 2022 18:48
@westonsteimel westonsteimel merged commit bc1ec40 into main Nov 29, 2022
@westonsteimel westonsteimel deleted the update-capture-params branch November 29, 2022 19:22
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.

2 participants
0