Skip to content

Commit

Permalink
docs: add info about trivy-java-db and trivy-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Oct 3, 2024
1 parent db412b2 commit 097bbad
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,13 @@ jobs:
severity: 'CRITICAL,HIGH'
```

### Using cache for trivy-db
Recently, there has been an increase in cases of receiving the `TOOMANYREQUESTS` error when downloading the `trivy-db`.
### Using cache for Trivy databases
Recently, there has been an increase in cases of receiving the `TOOMANYREQUESTS` error when downloading the Trivy databases (`trivy-db`, `trivy-java-db` and `trivy-checks`).

If you’re performing multiple scans, it makes sense to use [action/cache](https://github.com/actions/cache) to cache the `trivy-db`.
If you’re performing multiple scans, it makes sense to use [action/cache](https://github.com/actions/cache) to cache one or more databases.

The example below saves the `trivy-db` for each day in the cache:

The example below saves the trivy-db for each day:
```yaml
name: build
on:
Expand Down

0 comments on commit 097bbad

Please sign in to comment.