| `image` / `MAVEN_IMAGE` | The Docker image used to run Maven <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/library/maven:latest`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-MAVEN_IMAGE) |
| `image` / `MAVEN_IMAGE` | The Docker image used to run Maven <br/>:warning: **set the version required by your project** | `docker.io/library/maven:latest`<br/>[](https://to-be-continuous.gitlab.io/doc/secu/trivy-MAVEN_IMAGE) |
@@ -56,7 +56,7 @@ The Maven template uses some global configuration throughout all jobs.
### About `$MAVEN_IMAGE`
Each job in the template will use the defined container image to provide the Maven and Java runtime to the job context.
That's why it is mandatory that you set the version of Maven as required by your project (e.g. `registry-1.docker.io/library/maven:3.9.9-eclipse-temurin-21` for Maven 3.9.9 on Eclipse Temurin JDK 21).
That's why it is mandatory that you set the version of Maven as required by your project (e.g. `docker.io/library/maven:3.9.9-eclipse-temurin-21` for Maven 3.9.9 on Eclipse Temurin JDK 21).
#### Use of the Maven Wrapper
@@ -492,9 +492,9 @@ The template uses GitLab registries and authentication defaults. See the Docker
| Input / Variable | Description | Default value |
| `sbom-image` / `MAVEN_SBOM_IMAGE` | The image used to perform and complete the Security Bill of Materials | `registry.hub.docker.com/anchore/syft:debug` |
| `sbom-image` / `MAVEN_SBOM_IMAGE` | The image used to perform and complete the Security Bill of Materials | `docker.io/anchore/syft:debug` |
| `sbom-opts` / `MAVEN_SBOM_OPTS` | SBOM options to complete the Security Bill of Materials | `--override-default-catalogers rpm-db-cataloger,alpm-db-cataloger,apk-db-cataloger,dpkg-db-cataloger,portage-cataloger,nix-store-cataloger,java` |
| `trivy-image` / `MAVEN_TRIVY_IMAGE` | The image to perform container security scanning | `registry.hub.docker.com/aquasec/trivy:latest` |
| `trivy-image` / `MAVEN_TRIVY_IMAGE` | The image to perform container security scanning | `docker.io/aquasec/trivy:latest` |
Other Trivy parameters shall be configured using [Trivy environment variables](https://aquasecurity.github.io/trivy/latest/docs/references/configuration/cli/trivy_image/#options).