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

add image manifest to scan summary #233

Merged
merged 3 commits into from
Jun 4, 2024
Merged

add image manifest to scan summary #233

merged 3 commits into from
Jun 4, 2024

Conversation

refaelm92
Copy link
Contributor

Overview

@refaelm92 refaelm92 requested a review from matthyx June 4, 2024 08:33
Copy link

github-actions bot commented Jun 4, 2024

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

Copy link

github-actions bot commented Jun 4, 2024

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

Copy link

github-actions bot commented Jun 4, 2024

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@@ -255,8 +255,12 @@ func (a *BackendAdapter) SubmitCVE(ctx context.Context, cve domain.CVEManifest,
vulnerabilities[i].Designators = finalReport.Designators
}

imageManifest, err := parseImageManifest(sbom)
if err != nil {
return fmt.Errorf("failed to parse image manifest from sbom: %w", err)
Copy link

@RinaO1234 RinaO1234 Jun 4, 2024

Choose a reason for hiding this comment

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

do we want to fail the whole submit in case of this failure? do we have what to retry here at all? feels to me it's better to submit partial report

@matthyx
Copy link
Contributor

matthyx commented Jun 4, 2024

overall LGTM, you did a great job - just fix Rina's concern

Copy link

github-actions bot commented Jun 4, 2024

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: failure
  • Unit test: success
  • Go linting: success

@refaelm92 refaelm92 merged commit 5c843e1 into main Jun 4, 2024
7 checks passed
@matthyx matthyx deleted the img-manifest branch October 1, 2024 10:00
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