Trivy scan fails the pipeline: `FATAL ... failed to download vulnerability DB ... TOOMANYREQUESTS`.
IntermediateTroubleshootingSecrets, Security and Pipeline Performance
Answer
Likely causes → Rate limits fetching the vulnerability DB from the public registry.
Diagnose → Read the Trivy logs.
Fix → Mirror the DB (--db-repository to an internal registry) or cache ~/.cache/trivy.
Prevent → Cache the DB and fall back to the Java DB mirror when needed.
More on Secrets, Security and Pipeline Performance
A secret printed in logs appears as `***` in GitHub Actions but a base64 variant is visible.Advanced`gitleaks` finds a secret in an old commit, but the file is gone now.Beginner`cosign verify` fails: `no matching signatures: none of the expected identities matched`.AdvancedKyverno `verifyImages` blocks all deploys after rollout: `image verification failed`.AdvancedDependabot/Renovate PRs fail CI with unrelated errors.BeginnerOIDC to Azure/GCP fails: `AADSTS70021: No matching federated identity record found`.Intermediate