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

fix: print debug output for issues during snyk enrich. #49

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

mcombuechen
Copy link
Collaborator

This passes the logger instance down to snyk enrich functions to add meaningful debug output.

Closes #47.

SNYK_TOKEN=asdf ./parlay snyk enrich testing/sbom.spdx-2.3.json
7:00AM ERR Failed to fetch vulnerabilities for package. error="Failed to get user info (401 Unauthorized)" purl=pkg:npm/[email protected]
7:00AM ERR Failed to fetch vulnerabilities for package. error="Failed to get user info (401 Unauthorized)" purl=pkg:npm/[email protected]
7:00AM ERR Failed to fetch vulnerabilities for package. error="Failed to get user info (401 Unauthorized)" purl=pkg:npm/[email protected]
7:00AM ERR Failed to fetch vulnerabilities for package. error="Failed to get user info (401 Unauthorized)" purl=pkg:npm/[email protected]
7:00AM ERR Failed to fetch vulnerabilities for package. error="Failed to get user info (401 Unauthorized)" purl=pkg:npm/[email protected]
7:00AM ERR Failed to fetch vulnerabilities for package. error="Failed to get user info (401 Unauthorized)" purl=pkg:npm/[email protected]
7:00AM ERR Failed to fetch vulnerabilities for package. error="Failed to get user info (401 Unauthorized)" purl=pkg:npm/[email protected]
{"spdxVersion":"SPDX-2.3",...

@mcombuechen mcombuechen requested review from garethr and a team as code owners October 31, 2023 06:01
@mcombuechen mcombuechen mentioned this pull request Oct 31, 2023
@mcombuechen mcombuechen merged commit cb64f57 into snyk:main Feb 1, 2024
1 check passed
@mcombuechen mcombuechen deleted the fix/47-snyk-logger branch February 1, 2024 15:11
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.

Snyk cmd missing debug output
2 participants