Skip to content

missing redhat dataSource directory  #33

@fahedouch

Description

@fahedouch

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/trivy-db@v0.0.0-20230116084806-4bcdf1c414d0/pkg/build.go:22
  - insert error:
    github.com/aquasecurity/trivy-db/pkg/vulndb.TrivyDB.Build
        /go/pkg/mod/github.com/aquasecurity/trivy-db@v0.0.0-20230116084806-4bcdf1c414d0/pkg/vulndb/db.go:101
  - redhat update error:
    github.com/aquasecurity/trivy-db/pkg/vulndb.TrivyDB.Insert
        /go/pkg/mod/github.com/aquasecurity/trivy-db@v0.0.0-20230116084806-4bcdf1c414d0/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/trivy-db@v0.0.0-20230116084806-4bcdf1c414d0/pkg/vulnsrc/redhat/redhat.go:96
  - file walk error:
    github.com/aquasecurity/trivy-db/pkg/utils.FileWalk
        /go/pkg/mod/github.com/aquasecurity/trivy-db@v0.0.0-20230116084806-4bcdf1c414d0/pkg/utils/file.go:44
  - lstat /trivy-cache/vuln-list/redhat: no such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions