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

feat: convert SBOM into scan results #110

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

snyk-tim
Copy link
Contributor

A client to convert an SBOM into an array of ScanResults.

@snyk-tim snyk-tim requested a review from a team as a code owner March 11, 2025 10:24
@snyk-tim snyk-tim force-pushed the feat/UNIFY-530-convert-sbom branch 2 times, most recently from af41332 to fc9321e Compare March 11, 2025 10:26
@snyk-tim snyk-tim force-pushed the feat/UNIFY-530-convert-sbom branch from fc9321e to 819c885 Compare March 11, 2025 12:11
@snyk-tim snyk-tim force-pushed the feat/UNIFY-530-convert-sbom branch from 819c885 to bafc38d Compare March 11, 2025 12:13

mockHTTPClient := mocks.NewMockSBOMService(response, func(r *http.Request) {
assert.Equal(t, http.MethodPost, r.Method)
assert.Equal(t, "/hidden/orgs/org1/sboms/convert?version=2025-03-06~beta", r.RequestURI)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this include the base URL?

@snyk-tim snyk-tim merged commit 40d8336 into feature/sbom-monitor Mar 11, 2025
7 checks passed
@snyk-tim snyk-tim deleted the feat/UNIFY-530-convert-sbom branch March 11, 2025 15:12
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.

3 participants