Skip to content
代码片段 群组 项目
提交 d861078f 编辑于 作者: Katrin Leinweber's avatar Katrin Leinweber
浏览文件

Mention GHCR's TOOMANYREQUESTS response example

上级 b21d45e6
No related branches found
No related tags found
无相关合并请求
...@@ -613,7 +613,7 @@ Scanning images in external private registries is not supported when [FIPS mode] ...@@ -613,7 +613,7 @@ Scanning images in external private registries is not supported when [FIPS mode]
#### Create and use a Trivy Java database mirror #### Create and use a Trivy Java database mirror
When the `trivy` scanner is used and a `jar` file is encountered in a container image being scanned, `trivy` downloads an additional `trivy-java-db` vulnerability database. By default, the `trivy-java-db` database is hosted as an [OCI artifact](https://oras.land/docs/quickstart/) at `ghcr.io/aquasecurity/trivy-java-db:1`. If this registry is [not accessible](#running-container-scanning-in-an-offline-environment), one solution is to mirror the `trivy-java-db` to a more accessible container registry: When the `trivy` scanner is used and a `jar` file is encountered in a container image being scanned, `trivy` downloads an additional `trivy-java-db` vulnerability database. By default, the `trivy-java-db` database is hosted as an [OCI artifact](https://oras.land/docs/quickstart/) at `ghcr.io/aquasecurity/trivy-java-db:1`. If this registry is [not accessible](#running-container-scanning-in-an-offline-environment) or responds with `TOOMANYREQUESTS`, one solution is to mirror the `trivy-java-db` to a more accessible container registry:
```yaml ```yaml
mirror trivy java db: mirror trivy java db:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册