Commit b5994be8 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

docs: add Trivy scan badges

parent 272ff56c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -262,7 +262,7 @@ This template can be configured with the following **environment variables**:

| Input / Variable | Description                                                                          | Default value                                  |
| ------------------------------- | ------------------------------------------------------------------------------------ | ---------------------------------------------- |
| `image` / `ANSIBLE_IMAGE` | The Docker image used to run Ansible. The image may contain your Ansible sources. <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/cytopia/ansible:latest-tools` |
| `image` / `ANSIBLE_IMAGE` | The Docker image used to run Ansible. The image may contain your Ansible sources. <br/>:warning: **set the version required by your project** | `registry.hub.docker.com/cytopia/ansible:latest-tools` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-ANSIBLE_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-ANSIBLE_IMAGE) |
| `project-dir` / `ANSIBLE_PROJECT_DIR` | Ansible project root directory                                                       | `.`                                            |
| `base-app-name` / `ANSIBLE_BASE_APP_NAME` | Base application name                  | `$CI_PROJECT_NAME` ([see GitLab doc](https://docs.gitlab.com/ee/ci/variables/predefined_variables.html)) |
| `environment-url` / `ANSIBLE_ENVIRONMENT_URL`       | Default environments url _(only define for static environment URLs declaration)_<br/>_supports late variable expansion (ex: `https://%{environment_name}.acme.com`)_ | _none_ |
@@ -380,7 +380,7 @@ Here are its parameters:

| Input / Variable | Description                               | Default value                 |
| ----------------------- | ----------------------------------------- | ----------------------------- |
| `lint-image` / `ANSIBLE_LINT_IMAGE` | The Docker image used to run Ansible Lint | `registry.hub.docker.com/haxorof/ansible-lint:latest` |
| `lint-image` / `ANSIBLE_LINT_IMAGE` | The Docker image used to run Ansible Lint | `registry.hub.docker.com/haxorof/ansible-lint:latest` <br/>[![Trivy Badge](https://to-be-continuous.gitlab.io/doc/secu/trivy-badge-ANSIBLE_LINT_IMAGE.svg)](https://to-be-continuous.gitlab.io/doc/secu/trivy-ANSIBLE_LINT_IMAGE) |
| `lint-disabled` / `ANSIBLE_LINT_DISABLED` | Set to `true` to disable the `ansible lint` analysis  | _none_ (enabled) |

In addition to a textual report in the console, this job produces the following report, kept for one day: