lazy-actions / gitrivy

GitHub Issue + Trivy Action
MIT License
54 stars 25 forks source link

Please Help! Can't get trivy to scan an image or a container. What does this error mean??? #118

Open alzittel opened 8 months ago

alzittel commented 8 months ago

I'm using RHEL8 and am trying to resolve the following error. I'm using Posdman/trivy since it's understood that RHEL8 will not (or will not soon) support Docker. I'd be more than happy to pay for assistance in resolving my error and get trivy to scan/work. Please help!!

[chris@localhost pr_test]$ trivy image bb-1.1-patch-rollup-2024-01-31-10-55-25.tar.gz 2024-02-08T14:29:32.295-0500 INFO Need to update DB 2024-02-08T14:29:32.295-0500 INFO DB Repository: ghcr.io/aquasecurity/trivy-db 2024-02-08T14:29:32.295-0500 INFO Downloading DB... 42.78 MiB / 42.78 MiB [-----------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 13.72 MiB p/s 3.3s 2024-02-08T14:29:36.471-0500 INFO Vulnerability scanning is enabled 2024-02-08T14:29:36.471-0500 INFO Secret scanning is enabled 2024-02-08T14:29:36.471-0500 INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning 2024-02-08T14:29:36.471-0500 INFO Please see also https://aquasecurity.github.io/trivy/v0.49/docs/scanner/secret/#recommendation for faster secret detection 2024-02-08T14:29:37.696-0500 FATAL image scan error: scan error: unable to initialize a scanner: unable to initialize an image scanner: 4 errors occurred: