kubescape / kubevuln

Kubevuln is an in-cluster component of the Kubescape security platform. It scans container images for vulnerabilities, using Grype as its engine.
Apache License 2.0
17 stars 19 forks source link

send full report #194

Closed dwertent closed 6 months ago

dwertent commented 6 months ago

Type

bug_fix


Description

This PR includes a bug fix in the ScanCVE function in the core/services/scan.go file. The main changes include:


PR changes walkthrough

Relevant files                                                                                                                                 
Bug_fix
1 files
scan.go                                                                                                         
    core/services/scan.go

    **The changes in this file are primarily focused on the
    `ScanCVE` function. The variable `cveRetrievedFromStorage`
    has been removed, which was previously used to check if the
    CVE was retrieved from storage. The condition that checked
    this variable and sent an empty report if
    `cveRetrievedFromStorage` was true and `cvep.Content` was
    nil has also been removed. The import statement for
    `github.com/kubescape/storage/pkg/apis/softwarecomposition/v1beta1`
    has been removed as well.**
+0/-9

User description

Overview

codiumai-pr-agent[bot] commented 6 months ago

PR Description updated to latest commit (https://github.com/kubescape/kubevuln/commit/5c93fb9ccde92b4584f73864e3254b45a3bd603a)

codiumai-pr-agent[bot] commented 6 months ago

PR Analysis

github-actions[bot] commented 6 months ago

Summary: