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

missing redhat dataSource directory #33

Open
fahedouch opened this issue Jun 10, 2024 · 1 comment
Open

missing redhat dataSource directory #33

fahedouch opened this issue Jun 10, 2024 · 1 comment

Comments

@fahedouch
Copy link

fahedouch commented Jun 10, 2024

Hello,

I'm encountering an issue when attempting to build/update vuln-list sources using trivy-db. It appears that the RedHat source directory is no longer present in the vuln-list repository which seems blocking the db updating process

Example of log trace :

2024/06/10 08:52:36 build error:
    github.com/aquasecurity/trivy-db/pkg.build
        /go/pkg/mod/github.com/aquasecurity/[email protected]/pkg/build.go:22
  - insert error:
    github.com/aquasecurity/trivy-db/pkg/vulndb.TrivyDB.Build
        /go/pkg/mod/github.com/aquasecurity/[email protected]/pkg/vulndb/db.go:101
  - redhat update error:
    github.com/aquasecurity/trivy-db/pkg/vulndb.TrivyDB.Insert
        /go/pkg/mod/github.com/aquasecurity/[email protected]/pkg/vulndb/db.go:81
  - error in Red Hat walk:
    github.com/aquasecurity/trivy-db/pkg/vulnsrc/redhat.VulnSrc.Update
        /go/pkg/mod/github.com/aquasecurity/[email protected]/pkg/vulnsrc/redhat/redhat.go:96
  - file walk error:
    github.com/aquasecurity/trivy-db/pkg/utils.FileWalk
        /go/pkg/mod/github.com/aquasecurity/[email protected]/pkg/utils/file.go:44
  - lstat /trivy-cache/vuln-list/redhat: no such file or directory
@knqyf263
Copy link
Collaborator

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

No branches or pull requests

2 participants