A hydrometric rating curve describes the mathematical relationship between stage and discharge. The rating curve app allows users to upload any stage and discharge datasets, develop and optimize rating models as well as save and compare results from previous sessions.
2024-11-08T18:51:04Z WARN '--scanners config' is deprecated. Use '--scanners misconfig' instead. See https://github.com/aquasecurity/trivy/discussions/5586 for the detail. 2024-11-08T18:51:04Z INFO [vulndb] Need to update DB 2024-11-08T18:51:04Z INFO [vulndb] Downloading vulnerability DB... 2024-11-08T18:51:04Z INFO [vulndb] Downloading artifact... repo="ghcr.io/aquasecurity/trivy-db:2" 2024-11-08T18:51:05Z ERROR [vulndb] Failed to download artifact repo="ghcr.io/aquasecurity/trivy-db:2" err="oci download error: failed to fetch the layer: GET https://ghcr.io/v2/aquasecurity/trivy-db/blobs/sha256:6286c928825b62501eaa5bb4cdf1b4b7ab80d303e2d7bd99e927ec1472a8509e: TOOMANYREQUESTS: retry-after: 184.863µs, allowed: 44000/minute" 2024-11-08T18:51:05Z FATAL Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source Error: Process completed with exit code 1.
The trivy scan is failing with
TOOMANYREQUESTS
, though it's only running once as far as I can tell. https://github.com/bcgov/nr-hydrometric-rating-curve/actions/runs/11727757171/job/32730656689?pr=2042024-11-08T18:51:04Z WARN '--scanners config' is deprecated. Use '--scanners misconfig' instead. See https://github.com/aquasecurity/trivy/discussions/5586 for the detail. 2024-11-08T18:51:04Z INFO [vulndb] Need to update DB 2024-11-08T18:51:04Z INFO [vulndb] Downloading vulnerability DB... 2024-11-08T18:51:04Z INFO [vulndb] Downloading artifact... repo="ghcr.io/aquasecurity/trivy-db:2" 2024-11-08T18:51:05Z ERROR [vulndb] Failed to download artifact repo="ghcr.io/aquasecurity/trivy-db:2" err="oci download error: failed to fetch the layer: GET https://ghcr.io/v2/aquasecurity/trivy-db/blobs/sha256:6286c928825b62501eaa5bb4cdf1b4b7ab80d303e2d7bd99e927ec1472a8509e: TOOMANYREQUESTS: retry-after: 184.863µs, allowed: 44000/minute" 2024-11-08T18:51:05Z FATAL Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source Error: Process completed with exit code 1.