diff --git a/.claude/settings.json b/.claude/settings.json index ddd06716db..abcc1bc05b 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -641,8 +641,7 @@ "~/.cache/pip", "~/.cache/pre-commit", "~/.docker/buildx", - "~/.local/share/worktrees", - "~/.venvs" + "~/.local/share/worktrees" ], "denyRead": [ "~/.aws", diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 2525d5bdaf..3afca0f735 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -167,13 +167,19 @@ own stack, `+tor` on a variant that pins `services.tor.enabled` false, `+multi` on a role with `reachability.single_mode: true`, or any axis that fights the run's own `mode`, `network`, `distros`, `filesystem` or `architectures` input, or `:arm64` on a role whose `meta/services.yml` declares -`architectures: [amd64]`. +`architectures: [amd64]`, or `%centos:arm64` on a row installing a package whose +`meta/packages.yml` centos entry declares `architectures: [amd64]`. Such a +package entry narrows only its own distro and architecture pair: an unpinned +row that draws it moves to another architecture of the same distro, so the +role keeps every other pair. That is also what a retrigger replays: `--failed` reads the glyphs off the failed job's title and writes them back as a token, so the row comes back in the mode, network mode, distribution and architecture it died on rather than on whatever the rotation would pick next. The architecture is replayed because it is the -machine the job ran on, not a preference it could fall back from. The +machine the job ran on, not a preference it could fall back from, unless a +package entry no longer publishes that pair: the replay then keeps the distro, +drops the architecture and warns. The filesystem is deliberately left out. A title states the kind the matrix *assigned*, which a deploy is allowed to fall back from, so pinning it would both misstate what the job ran on and turn the kind into a @@ -281,6 +287,7 @@ reproduces by re-running the same sweep: | distro | `(position + sweep) % len(distro pool)` | | filesystem | `(position // len(distro pool) + sweep) % len(filesystem pool)` | | architecture | `(position + sweep) % len(architecture pool)` | +| 🔬 vulnerability engine | `(position // (len(distro pool) * len(filesystem pool)) + sweep) % 3` over 🔺 trivy, 🍇 grype, 🐙 osv | A role offers at most two modes in practice — swarm needs its own stack, host needs the absence of one — so a row flips between its two modes on consecutive @@ -309,6 +316,12 @@ conflict, not an overwrite. The distro, filesystem and architecture glyphs follow it in the label (`🐳🧅🌀🦓🦾`), so a title says which combination died without opening the job. +The vulnerability engine is the odometer digit above distro and filesystem, and its glyph follows the architecture glyph in the label (`🐳🧅🌀🦓🦾🔺`). +The deploy-time scan of `sys-ctl-hlth-runtime` then runs Syft and that engine only, plus Grype over the source-built runtimes Syft finds. +The `vulnerability-db` job of [call-test-deploy.yml](call-test-deploy.yml) downloads the Trivy, Grype and OSV databases once per day into the Actions cache; each deploy job restores the Grype database and the drawn engine's into `build/vulnerability-db`, which the stack and every swarm node mount read-only, and fails when one is missing, so no deploy job downloads a database itself. +Under act these steps are skipped: the deploy draws its engine and refreshes the shared host directory `INFINITO_VULNERABILITY_DB_HOST_PATH`, which [workflow.sh](../../scripts/tests/deploy/act/workflow.sh) binds into the job container at the same path. +`cron-images-mirror-all.yml` writes the findings of its `scan` job per image and per CVE into the job summary and the `vulnerability-findings` artifact; dispatched with `issues: false` it is a dry run that leaves the issues untouched. + ### Stopping on failure `chunk_gate` (default `true`) decides whether the chain stops at its first diff --git a/.github/workflows/call-orchestrator.yml b/.github/workflows/call-orchestrator.yml index ab701ccdaf..04da142767 100644 --- a/.github/workflows/call-orchestrator.yml +++ b/.github/workflows/call-orchestrator.yml @@ -375,13 +375,13 @@ jobs: secrets: inherit report-main-failures: - name: 🐞 Report main role failures + name: 🐞 Report main role failures and runtime vulnerabilities needs: - test-deploy-chunk-0 - test-deploy-chunk-1 - test-deploy-chunk-2 - test-deploy-chunk-3 - if: ${{ always() && github.ref == 'refs/heads/main' && (contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')) }} + if: ${{ always() && github.ref == 'refs/heads/main' }} runs-on: ubuntu-26.04 permissions: issues: write @@ -390,9 +390,18 @@ jobs: steps: - uses: actions/checkout@v7.0.0 - name: 🐞 Open or append issues for failed roles + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: python3 -m cli.meta.ci.report_failures --run-id "${{ github.run_id }}" --repo "${{ github.repository }}" + - name: "📥 Load the GHCR mirror prefix SPOT into job env" + if: ${{ !cancelled() }} + run: grep '^INFINITO_GHCR_MIRROR_PREFIX=' default.env >> "$GITHUB_ENV" + - name: 🛡️ Open, update and close the runtime vulnerability issues + if: ${{ !cancelled() }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: python3 -m cli.meta.ci.runtime_vulnerabilities --run-id "${{ github.run_id }}" --repo "${{ github.repository }}" --ref "${GITHUB_REF}" --dir "${RUNNER_TEMP}/rescue-diagnostics" done: name: 🏁 Finish pipeline diff --git a/.github/workflows/call-test-deploy.yml b/.github/workflows/call-test-deploy.yml index 94c0484bcd..30f05ece8f 100644 --- a/.github/workflows/call-test-deploy.yml +++ b/.github/workflows/call-test-deploy.yml @@ -261,12 +261,103 @@ jobs: --offset "${PLAN_OFFSET}" \ >> "$GITHUB_STEP_SUMMARY" + vulnerability-db: + name: 🔬 Vulnerability databases + runs-on: ubuntu-26.04 + timeout-minutes: 60 + + steps: + - uses: actions/checkout@v7.0.0 + + - name: 📅 Resolve the database day + id: day + shell: bash + run: echo "day=$(date -u +%F)" >> "$GITHUB_OUTPUT" + + - name: 🔺 Trivy database + id: trivy + if: ${{ !env.ACT }} + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: build/vulnerability-db/trivy + key: vulnerability-db-trivy-${{ steps.day.outputs.day }} + + - name: 🍇 Grype database + id: grype + if: ${{ !env.ACT }} + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: build/vulnerability-db/grype + key: vulnerability-db-grype-${{ steps.day.outputs.day }} + + - name: 🐙 OSV database + id: osv + if: ${{ !env.ACT }} + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: build/vulnerability-db/osv + key: vulnerability-db-osv-${{ steps.day.outputs.day }}-${{ hashFiles('roles/sys-ctl-hlth-runtime/meta/services.yml') }} + + - name: 🔧 Set up Python + if: ${{ !env.ACT && (steps.trivy.outputs.cache-hit != 'true' || steps.grype.outputs.cache-hit != 'true' || steps.osv.outputs.cache-hit != 'true') }} + uses: actions/setup-python@v6 + with: + python-version: "3.12" + cache: pip + cache-dependency-path: pyproject.toml + + - name: 📥 Download the missing databases + if: ${{ !env.ACT && (steps.trivy.outputs.cache-hit != 'true' || steps.grype.outputs.cache-hit != 'true' || steps.osv.outputs.cache-hit != 'true') }} + shell: bash + env: + MISSING: >- + ${{ steps.trivy.outputs.cache-hit != 'true' && 'trivy' || '' }} + ${{ steps.grype.outputs.cache-hit != 'true' && 'grype' || '' }} + ${{ steps.osv.outputs.cache-hit != 'true' && 'osv' || '' }} + run: | + set -euo pipefail + PYTHON=python bash scripts/install/python.sh + # shellcheck disable=SC2086 + python -m cli.contributing.security.database --dir build/vulnerability-db --engines ${MISSING} + + - name: 📤 Hand the Trivy database to this run's deploy jobs + if: ${{ !env.ACT }} + uses: actions/upload-artifact@v7.0.1 + with: + name: vulnerability-db-${{ inputs.index }}-trivy + path: build/vulnerability-db/trivy + if-no-files-found: error + retention-days: 3 + overwrite: true + + - name: 📤 Hand the Grype database to this run's deploy jobs + if: ${{ !env.ACT }} + uses: actions/upload-artifact@v7.0.1 + with: + name: vulnerability-db-${{ inputs.index }}-grype + path: build/vulnerability-db/grype + if-no-files-found: error + retention-days: 3 + overwrite: true + + - name: 📤 Hand the OSV database to this run's deploy jobs + if: ${{ !env.ACT }} + uses: actions/upload-artifact@v7.0.1 + with: + name: vulnerability-db-${{ inputs.index }}-osv + path: build/vulnerability-db/osv + if-no-files-found: error + retention-days: 3 + overwrite: true + deploy: name: "${{ matrix.label }}" if: needs.discover.outputs.apps != '' && needs.discover.outputs.apps != '[]' runs-on: ${{ matrix.runner }} timeout-minutes: 355 - needs: discover + needs: + - discover + - vulnerability-db # TODO: verify in a CI deploy that a cancel drops queued jobs from this # group and that an identical row of a second run queues behind it. @@ -321,6 +412,32 @@ jobs: shell: bash run: nohup ./scripts/tests/deploy/ci/host-metrics-sampler.sh "${INFINITO_RESCUE_DIAGNOSTICS_BASE}/host-metrics.log" >/dev/null 2>&1 & + - name: "🍇 Restore the Grype database" + if: ${{ !env.ACT && matrix.engine != '' }} + uses: actions/download-artifact@v8 + with: + name: vulnerability-db-${{ inputs.index }}-grype + path: build/vulnerability-db/grype + + - name: "🔬 Restore the ${{ matrix.engine }} database" + if: ${{ !env.ACT && matrix.engine != '' && matrix.engine != 'grype' }} + uses: actions/download-artifact@v8 + with: + name: vulnerability-db-${{ inputs.index }}-${{ matrix.engine }} + path: build/vulnerability-db/${{ matrix.engine }} + + - name: "🔬 Pin the deploy to the restored databases" + if: ${{ !env.ACT }} + shell: bash + env: + ENGINE: ${{ matrix.engine }} + run: | + set -euo pipefail + { + echo "INFINITO_VULNERABILITY_ENGINE=${ENGINE}" + echo "INFINITO_VULNERABILITY_DB_HOST_PATH=${GITHUB_WORKSPACE}/build/vulnerability-db" + } >> "${GITHUB_ENV}" + - name: 💽 Mount the empty spare disk at /mnt if: ${{ !env.ACT }} shell: bash diff --git a/.github/workflows/call-test-workspace.yml b/.github/workflows/call-test-workspace.yml index 64753dff93..4aac8113e7 100644 --- a/.github/workflows/call-test-workspace.yml +++ b/.github/workflows/call-test-workspace.yml @@ -126,6 +126,12 @@ jobs: run: | set -euo pipefail HOST_WORKDIR="$(pwd -P)" + if [[ "${ACT:-}" == "true" ]]; then + db_host_path="${INFINITO_VULNERABILITY_DB_HOST_PATH:?scripts/tests/deploy/act/workflow.sh passes the shared host directory}" + else + db_host_path="${RUNNER_TEMP:?GitHub sets RUNNER_TEMP for every job}/vulnerability-db" + fi + mkdir -p "${db_host_path}" docker run --rm \ -e GITHUB_ACTIONS=true \ @@ -148,8 +154,10 @@ jobs: -e INFINITO_CACHE_PACKAGE_HOST_PATH \ -e INFINITO_GHCR_MIRROR \ -e INFINITO_GHCR_MIRROR_PREFIX \ + -e INFINITO_VULNERABILITY_DB_HOST_PATH="${db_host_path}" \ --network host \ -v "${HOST_WORKDIR}:${HOST_WORKDIR}" \ + -v "${db_host_path}:${db_host_path}" \ -v "/mnt/docker:/var/lib/docker" \ -v "/var/run/docker.sock:/var/run/docker.sock" \ -w "${HOST_WORKDIR}" \ diff --git a/.github/workflows/cron-images-mirror-all.yml b/.github/workflows/cron-images-mirror-all.yml index 3f1619f873..a09a4ed028 100644 --- a/.github/workflows/cron-images-mirror-all.yml +++ b/.github/workflows/cron-images-mirror-all.yml @@ -22,9 +22,14 @@ on: default: "." type: string images_per_hour: - description: "⏱️ Optional throttle: max images mirrored per hour" + description: "⏱️ Optional throttle: max Docker Hub copies per hour (default 150)" required: false type: string + issues: + description: "🛡️ Sync the vulnerability issues; off is a dry run" + required: false + default: true + type: boolean workflow_call: inputs: @@ -43,9 +48,14 @@ on: type: string default: "." images_per_hour: - description: "Optional throttle: max images mirrored per hour" + description: "Optional throttle: max Docker Hub copies per hour (default 150)" required: false type: string + issues: + description: "Open, update and close the vulnerability issues; false is a dry run" + required: false + default: true + type: boolean secrets: DOCKERHUB_USERNAME: required: false @@ -69,7 +79,7 @@ jobs: env: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - IMAGES_PER_HOUR: ${{ github.event.inputs.images_per_hour || inputs.images_per_hour || '50' }} + IMAGES_PER_HOUR: ${{ github.event.inputs.images_per_hour || inputs.images_per_hour || '150' }} steps: - name: ⬇️ Checkout @@ -117,3 +127,70 @@ jobs: GHCR_PREFIX: ${{ inputs.ghcr_prefix || 'mirror' }} REPO_ROOT: ${{ inputs.repo_root || '.' }} run: bash scripts/meta/mirror/sync/all.sh + + scan: + name: 🔬 Scan the mirror + needs: sync + runs-on: ubuntu-26.04 + timeout-minutes: 355 + permissions: + contents: read + issues: write + + env: + INFINITO_GHCR_MIRROR_PREFIX: ${{ inputs.ghcr_prefix || 'mirror' }} + + steps: + - name: 🧹 Free disk space + uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true + + - name: ⬇️ Checkout + uses: actions/checkout@v7.0.0 + + - name: 🔧 Setup Python + uses: actions/setup-python@v6 + with: + python-version: "3.12" + cache: pip + cache-dependency-path: pyproject.toml + + - name: 📦 Install Python deps + run: PYTHON=python bash scripts/install/python.sh + + - name: 🗂️ SBOM tree by digest + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: build/security/sbom + key: security-sbom-${{ github.run_id }} + restore-keys: security-sbom- + + - name: 🔬 Scan every pinned image + run: make test-security + + - name: 📊 Count the findings per image and per CVE + if: ${{ !cancelled() }} + run: python -m cli.contributing.security.summary --report build/test-reports/security.json --counts build/test-reports/security-counts.json --summary "$GITHUB_STEP_SUMMARY" + + - name: ⬆️ Upload the findings + if: ${{ !cancelled() }} + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v4.6.1 + with: + name: vulnerability-findings + path: | + build/test-reports/security.json + build/test-reports/security-counts.json + if-no-files-found: error + + - name: 🛡️ Open, update and close the vulnerability issues + if: ${{ !cancelled() && (github.event_name == 'schedule' || inputs.issues) }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: python -m cli.contributing.security.issues --report build/test-reports/security.json --repo "${{ github.repository }}" diff --git a/Dockerfile b/Dockerfile index 2daf00a14b..b3ac4fb1be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,12 @@ # scripts/image/build.sh. # Example values: # INFINITO_PARENT_IMAGE=ghcr.io/kevinveenbirkenbach/pkgmgr-arch:stable +# INFINITO_LINT_RUNNER (host|docker, SPOT default.env) selects the stage `full` +# builds on: lint-docker with the lint toolchain, lint-host without it. ARG INFINITO_PARENT_IMAGE -FROM ${INFINITO_PARENT_IMAGE} AS full +# nocheck: dockerfile-arg-default +ARG INFINITO_LINT_RUNNER=host +FROM ${INFINITO_PARENT_IMAGE} AS base ARG NIX_CONFIG @@ -31,8 +35,10 @@ COPY scripts/install ${INFINITO_SRC_DIR}/scripts/install # hadolint ignore=SC1090 RUN set -euo pipefail; \ - source <(grep -hE '^INFINITO_(FILESYSTEM_INSTALL_SCRIPT|APT_UBUNTU_MIRRORS)=' "${INFINITO_SRC_DIR}/default.env"); \ - INFINITO_APT_UBUNTU_MIRRORS="${INFINITO_APT_UBUNTU_MIRRORS:?}" /bin/bash "${INFINITO_SRC_DIR}/scripts/install/apt-mirrors.sh"; \ + source <(grep -hE '^INFINITO_(FILESYSTEM_INSTALL_SCRIPT|APT_UBUNTU_MIRRORS|APT_UBUNTU_PORTS_MIRRORS)=' "${INFINITO_SRC_DIR}/default.env"); \ + INFINITO_APT_UBUNTU_MIRRORS="${INFINITO_APT_UBUNTU_MIRRORS:?}" \ + INFINITO_APT_UBUNTU_PORTS_MIRRORS="${INFINITO_APT_UBUNTU_PORTS_MIRRORS:?}" \ + /bin/bash "${INFINITO_SRC_DIR}/scripts/install/apt-mirrors.sh"; \ /bin/bash "${INFINITO_SRC_DIR}/scripts/install/dnf-mirrors.sh"; \ /bin/bash "${INFINITO_SRC_DIR}/${INFINITO_FILESYSTEM_INSTALL_SCRIPT:?}" @@ -55,6 +61,44 @@ RUN set -euo pipefail; \ ANSIBLE_COLLECTIONS_DIR="${HOME}/.ansible/collections" \ bash "${INFINITO_SRC_DIR}/scripts/install/ansible.sh" +FROM base AS lint-host + +FROM base AS lint-docker + +SHELL ["/bin/bash", "-o", "pipefail", "-lc"] + +COPY packaging ${INFINITO_SRC_DIR}/packaging +COPY roles/sys-svc-container/files/shell ${INFINITO_SRC_DIR}/roles/sys-svc-container/files/shell +COPY roles/sys-lint/meta/services.yml ${INFINITO_SRC_DIR}/roles/sys-lint/meta/services.yml +COPY utils/cache/__init__.py ${INFINITO_SRC_DIR}/utils/cache/__init__.py +COPY utils/cache/files.py ${INFINITO_SRC_DIR}/utils/cache/files.py +COPY utils/cache/gitignore.py ${INFINITO_SRC_DIR}/utils/cache/gitignore.py +COPY utils/roles/__init__.py ${INFINITO_SRC_DIR}/utils/roles/__init__.py +COPY utils/roles/custom.py ${INFINITO_SRC_DIR}/utils/roles/custom.py +COPY utils/roles/mapping.py ${INFINITO_SRC_DIR}/utils/roles/mapping.py +COPY utils/install ${INFINITO_SRC_DIR}/utils/install + +# hadolint ignore=DL3008,DL3033,DL3041,SC1090 +RUN set -euo pipefail; \ + source <(grep -hE '^INFINITO_(PYTHON|DOCKER_CLI|PACKAGE|INTERPRETERS)_INSTALL_SCRIPT=' "${INFINITO_SRC_DIR}/default.env"); \ + /bin/bash "${INFINITO_SRC_DIR}/${INFINITO_PYTHON_INSTALL_SCRIPT:?}"; \ + /bin/bash "${INFINITO_SRC_DIR}/${INFINITO_DOCKER_CLI_INSTALL_SCRIPT:?}"; \ + /bin/bash "${INFINITO_SRC_DIR}/${INFINITO_PACKAGE_INSTALL_SCRIPT:?}"; \ + /bin/bash "${INFINITO_SRC_DIR}/${INFINITO_INTERPRETERS_INSTALL_SCRIPT:?}" + +SHELL ["/bin/bash", "-o", "pipefail", "-c"] + +RUN PYTHONPATH="${INFINITO_SRC_DIR}" python3 -m utils.install.lint action ansible python php ruby shellcheck dockerfile markdown mermaid makefile + +# hadolint ignore=DL3006 +FROM lint-${INFINITO_LINT_RUNNER} AS full + +ARG NIX_CONFIG +ARG INFINITO_SRC_DIR +ARG INFINITO_VENV_DIR + +SHELL ["/bin/bash", "-o", "pipefail", "-lc"] + COPY . ${INFINITO_SRC_DIR} # hadolint ignore=DL3008,DL3033,DL3041,SC1090 diff --git a/Makefile b/Makefile index 844a84b0af..8218c56b20 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ SHELL := /bin/bash .SHELLFLAGS := -euo pipefail -c # SPOT: Global environment is defined in scripts/meta/env/load.sh. -ENV_SH ?= $(CURDIR)/scripts/meta/env/load.sh +override ENV_SH := $(CURDIR)/scripts/meta/env/load.sh export ENV_SH # For non-interactive bash, BASH_ENV is sourced so the env layer applies to *all* Make recipes. @@ -790,11 +790,6 @@ security-apparmor-teardown: echo "[apparmor] AppArmor module is not loaded — skipping teardown"; \ fi -.PHONY: security-runtimes -# List the PHP runtime of every pinned role image from registry metadata, without pulling, and fail on one below its security floor. -security-runtimes: - @"$${PYTHON}" -m cli.contributing.security.runtimes - .PHONY: setup # Run the setup step after generating .dockerignore. setup: fix-dockerignore dotenv @@ -981,6 +976,14 @@ test-performance: install INFINITO_COMPILE=0 \ bash scripts/tests/code/wrapper.sh scripts/tests/code/run.sh +.PHONY: test-security +# Scan every pinned role image of the GHCR mirror with Trivy, Grype and OSV over Syft SBOMs cached by digest (not part of `test`). +test-security: + @"$${PYTHON}" -m cli.contributing.security.scan \ + --cache-dir build/security \ + --report build/test-reports/security.json \ + --workers 4 + .PHONY: test-signed # Verify HEAD is signed. # Note: `git log %G?` returns N for unsigned; gates the pre-push hook against unsigned tips. diff --git a/TODO.md b/TODO.md index 0a6346cab3..1bef4f139a 100644 --- a/TODO.md +++ b/TODO.md @@ -6,6 +6,7 @@ - backup docker to local für ca optimieren - Drop the `php_memory_unlimited` mount ([memory-unlimited.ini](roles/sys-svc-compose-php/files/memory-unlimited.ini), `memory_limit = -1`) from each role whose image ships PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later, and the file, its install task, `FILE_PHP_MEMORY_UNLIMITED_INI` and [its lint](tests/lint/ansible/roles/meta/test_php_memory_unlimited_reaches_fpm.py) once no role mounts it. It is the interim mitigation for CVE-2026-109618 and overrides the per-role `service_memory_mb` share, so a single request can exhaust the container instead of hitting a PHP limit. Still mounted by `web-app-magento` (`markoshust/magento-php:8.4-fpm`, PHP 8.4.21), `web-app-mailu` (`ghcr.io/heviat/webmail:2024.06`, the OIDC flavor, built 2025-04-04) and `web-app-phpldapadmin` (`phpldapadmin/phpldapadmin:2.3.11`, built 2026-05-15). `web-app-fusiondirectory` (`nfrastack/fusiondirectory:1.5`, PHP 7.4.33 on Alpine 3.15, end of life and never patched) carries it as `PHP_MEMORY_LIMIT=-1` in `templates/env.j2` instead (the image's pool sets `php_admin_value[memory_limit]` from it, so a conf.d ini cannot reach FPM) and drops it under the same rule. `web-app-magento` keeps the 756M its `nginx.conf.sample` (`PHP_VALUE`) and `pub/.user.ini` set and keeps `post_max_size` below a quarter of that limit. - Fork [rpardini/docker-registry-proxy](https://github.com/rpardini/docker-registry-proxy) and teach the bundled nginx to handle GCP Artifact Registry redirect URLs (`/artifacts-downloads/namespaces//repositories//downloads/`). Currently `gcr.io` blob pulls are bypassed via `NO_PROXY=…,gcr.io,storage.googleapis.com,googleusercontent.com` in [compose/registry-cache/proxy.conf](compose/registry-cache/proxy.conf), which is a workaround that disables caching for those registries. Long-term: rebase upstream's `proxy.conf` / `sub_filter` rules to recognise the new redirect shape, ship the fix in our fork, point `compose/registry-cache/Dockerfile` (or its image tag) at the fork, and drop the `NO_PROXY` bypass. +- Move the self-built Python bases of `svc-ai-s1` and `svc-ai-nllb-engine` to the current Python minor and drop their `# nocheck: docker-version` hold in [svc-ai-s1](roles/svc-ai-s1/meta/services.yml) and [svc-ai-nllb-engine](roles/svc-ai-nllb-engine/meta/services.yml). `svc-ai-s1` stays on `3.12-slim` while `jeff` at the pinned ref requires Python `>=3.12,<3.13`; `svc-ai-nllb-engine` stays on `3.13-slim` while [build.sh](roles/svc-ai-nllb-engine/files/shell/build.sh) pins `torch==2.9.1`, which ships no cp315 wheel. Bump `jeff` and `torch` first, then the base; the updater's 3.15.2 bump broke both builds in main run 43131801262 (Discourse#1, translate#2). ## Testing diff --git a/aliases b/aliases index 3615cc2536..eafd50f609 100644 --- a/aliases +++ b/aliases @@ -154,7 +154,7 @@ alias i8se2='m setup' alias i8sece='m setup-clean' alias i8sepa='m security-apparmor-teardown' alias i8sepu='m system-purge' -alias i8seru='m security-runtimes' +alias i8seru='m test-security' alias i8source='source scripts/meta/env/load.sh' # load the project .env + venv python into the current shell alias i8ta='m autoformat' alias i8tare='m autoformat-restage' diff --git a/cli/administration/deploy/ci/gh.py b/cli/administration/deploy/ci/gh.py index 7620d7b682..be140be945 100644 --- a/cli/administration/deploy/ci/gh.py +++ b/cli/administration/deploy/ci/gh.py @@ -2,6 +2,7 @@ from __future__ import annotations +import contextlib import json import re import subprocess @@ -32,21 +33,17 @@ def _run(args: list[str]) -> str: def _branch_remote() -> str: """The remote the current branch tracks (e.g. a fork), falling back to ``remote.pushDefault``, then 'origin' or the only configured remote.""" - try: + with contextlib.suppress(subprocess.CalledProcessError): upstream = _run( ["git", "rev-parse", "--abbrev-ref", "--symbolic-full-name", "@{upstream}"] ) if "/" in upstream: return upstream.split("/", 1)[0] - except subprocess.CalledProcessError: - pass remotes = _run(["git", "remote"]).split() - try: + with contextlib.suppress(subprocess.CalledProcessError): push_default = _run(["git", "config", "--get", "remote.pushDefault"]) if push_default in remotes: return push_default - except subprocess.CalledProcessError: - pass if "origin" in remotes: return "origin" if not remotes: diff --git a/cli/administration/deploy/ci/selections.py b/cli/administration/deploy/ci/selections.py index d7c43a83c5..783cd6fbe7 100644 --- a/cli/administration/deploy/ci/selections.py +++ b/cli/administration/deploy/ci/selections.py @@ -28,10 +28,14 @@ stopped, instead of aggregating to role ids and guessing the rest. from __future__ import annotations +import sys from typing import TYPE_CHECKING -from utils.github.variant import axes, selection +from cli.meta.ci import matrix +from utils.cache import PROJECT_ROOT +from utils.github.variant import axes, pools, selection from utils.github.variant.vpn import VPN_DEPLOY_MODES +from utils.packages.registry import published_architectures if TYPE_CHECKING: from collections.abc import Iterable, Mapping @@ -73,15 +77,18 @@ def failed_selections(jobs: list[dict], *, strict: bool = False) -> list[str]: if state == "success" or (strict and state != "failure"): continue label = axes.parse_label(str(job.get("name", ""))) + variants = tuple(int(part) for part in label.variant.split(",") if part) tokens.add( selection.describe( selection.Pin( app, - tuple(int(part) for part in label.variant.split(",") if part), + variants, label.mode, label.network, label.distro or None, - architecture=label.architecture or None, + architecture=_replayable_architecture( + app, variants, label.distro, label.architecture + ), vpn=label.vpn if label.mode in VPN_DEPLOY_MODES else None, ) ) @@ -89,6 +96,51 @@ def failed_selections(jobs: list[dict], *, strict: bool = False) -> list[str]: return sorted(tokens) +def _replayable_architecture( + app: str, variants: tuple[int, ...], distro: str, architecture: str +) -> str | None: + """The architecture pin a replay may carry. + + A job the matrix planned before a package narrowed its pair would come + back as a token the pin check refuses, and one refused token aborts the + whole dispatch. The architecture is dropped instead, with a warning, and + the rotation picks one the row's packages are published for. + + Args: + app: role id of the failed job. + variants: the variant shards its title names. + distro: the distro its title names, ``""`` when none. + architecture: the architecture its title names, ``""`` when none. + """ + if not architecture or not distro: + return architecture or None + if not any( + architecture not in narrowed.get(distro, pools.ARCHITECTURES) + for narrowed in published_architectures(PROJECT_ROOT).values() + ): + return architecture + rounds = matrix.deployed_rounds(app) + services = tuple( + dict.fromkeys( + role + for index in variants or (0,) + if index < len(rounds) + for role in rounds[index] + ) + ) + if (distro, architecture) in axes.row_pairs( + app, (distro,), pools.ARCHITECTURES, services + ): + return architecture + print( + f"warning: {app}: replaying the failed {distro}:{architecture} job " + f"without its :{architecture} pin; a package the row installs is not " + f"published for that pair (meta/packages.yml architectures)", + file=sys.stderr, + ) + return None + + def collapse_to_roles(tokens: Iterable[str]) -> list[str]: """The same selections with every axis dropped, one entry per role. diff --git a/cli/administration/deploy/container/__init__.py b/cli/administration/deploy/container/__init__.py index d2b646e40a..9cf3feab47 100644 --- a/cli/administration/deploy/container/__init__.py +++ b/cli/administration/deploy/container/__init__.py @@ -1,10 +1,6 @@ from __future__ import annotations -from pathlib import Path - -PROJECT_ROOT: Path = Path(__file__).resolve().parents[4] - -from .command import ( # noqa: E402 +from .command import ( main, remove_container, run_in_container, diff --git a/cli/administration/deploy/container/command.py b/cli/administration/deploy/container/command.py index 1bd75bf4a8..9936226a92 100644 --- a/cli/administration/deploy/container/command.py +++ b/cli/administration/deploy/container/command.py @@ -8,7 +8,7 @@ import sys import time import uuid -from . import PROJECT_ROOT +from utils.cache import PROJECT_ROOT INFINITO_SRC_DIR = os.environ["INFINITO_SRC_DIR"] diff --git a/cli/administration/deploy/dedicated/apps.py b/cli/administration/deploy/dedicated/apps.py index 154bda63fa..3402bc9fe7 100644 --- a/cli/administration/deploy/dedicated/apps.py +++ b/cli/administration/deploy/dedicated/apps.py @@ -1,30 +1,6 @@ from __future__ import annotations import sys -from pathlib import Path - - -def _dump_inventory_full(inventory: str) -> None: - """ - Print the full inventory file content (raw) to simplify CI debugging. - """ - - print("\n[DEBUG] Full inventory dump:") - print(f"[DEBUG] inventory path: {inventory}") - - if not Path(inventory).exists(): - print("[DEBUG] inventory file does not exist") - return - - try: - with Path(inventory).open(encoding="utf-8", errors="replace") as f: - content = f.read() - - print("\n===== BEGIN INVENTORY FILE =====") - print(content.rstrip("\n")) - print("===== END INVENTORY FILE =====\n") - except Exception as exc: - print(f"[DEBUG] failed to read inventory: {exc}") def validate_application_ids(inventory: str, app_ids: list[str]) -> None: @@ -40,7 +16,7 @@ def validate_application_ids(inventory: str, app_ids: list[str]) -> None: if not invalid: return - print("\n[ERROR] Some application_ids are invalid for this inventory:\n") + print(f"\n[ERROR] Some application_ids are invalid for inventory {inventory}:\n") for app_id, status in invalid.items(): reasons = [] if not status.get("in_roles", True): @@ -49,5 +25,4 @@ def validate_application_ids(inventory: str, app_ids: list[str]) -> None: reasons.append("not present in inventory") print(f" - {app_id}: {', '.join(reasons)}") - _dump_inventory_full(inventory) sys.exit(1) diff --git a/cli/administration/deploy/development/README.md b/cli/administration/deploy/development/README.md index 71dc1e3886..03fae57745 100644 --- a/cli/administration/deploy/development/README.md +++ b/cli/administration/deploy/development/README.md @@ -201,7 +201,7 @@ flowchart LR | ------------------------ | --------------- | --------------------------------- | | compose `initialize` / `reinstall` | yes | named roots + orphaned closure | | compose `update` | no | ansible extra-var only | -| compose CI matrix (`legacy_resolver` direct) | no | co-deploy superset, no prune | +| compose CI matrix (`_resolve_round_include` direct) | no | co-deploy superset, no prune | | swarm (`utils.tests.swarm.derive_includes`) | yes | named roots + orphaned closure | The swarm path applies the same cut through the `blocked` parameter of diff --git a/cli/administration/deploy/development/__init__.py b/cli/administration/deploy/development/__init__.py index 3655de3009..a9b50fb880 100644 --- a/cli/administration/deploy/development/__init__.py +++ b/cli/administration/deploy/development/__init__.py @@ -1,9 +1,5 @@ from __future__ import annotations -from pathlib import Path - -PROJECT_ROOT: Path = Path(__file__).resolve().parents[4] - -from .cli import main # noqa: E402 +from .cli import main __all__ = ["main"] diff --git a/cli/administration/deploy/development/build.py b/cli/administration/deploy/development/build.py index 3ec0913d0c..4fa15489d7 100644 --- a/cli/administration/deploy/development/build.py +++ b/cli/administration/deploy/development/build.py @@ -4,7 +4,8 @@ import os import subprocess from typing import TYPE_CHECKING -from . import PROJECT_ROOT +from utils.cache import PROJECT_ROOT + from .env import resolve_distro if TYPE_CHECKING: diff --git a/cli/administration/deploy/development/common.py b/cli/administration/deploy/development/common.py index 7b6b1a1d95..d9e9267d08 100644 --- a/cli/administration/deploy/development/common.py +++ b/cli/administration/deploy/development/common.py @@ -9,7 +9,8 @@ from __future__ import annotations import os from typing import TYPE_CHECKING -from . import PROJECT_ROOT +from utils.cache import PROJECT_ROOT + from .env import resolve_distro if TYPE_CHECKING: diff --git a/cli/administration/deploy/development/compose.py b/cli/administration/deploy/development/compose.py index bcfbfb8d6f..91db369b4f 100644 --- a/cli/administration/deploy/development/compose.py +++ b/cli/administration/deploy/development/compose.py @@ -1,5 +1,6 @@ from __future__ import annotations +import contextlib import os import subprocess import time @@ -11,6 +12,7 @@ from utils.env.handlers.infinito.cache.conf import KEY as CACHE_CONF_KEY from utils.env.handlers.infinito.cache.conf import RELATIVE as CACHE_CONF from .coredns import CoreDNSCorefileRenderer +from .docker_root import cleanup_docker_root from .env import compose_file_args from .network import detect_outer_network_mtu from .proc import run_streaming @@ -25,6 +27,16 @@ PACMAN_CACHE_SCRIPT = "/usr/local/bin/pacman-cache.sh" PACMAN_CONF = "/etc/pacman.conf" +def prepare_vulnerability_db(path: Path) -> None: + """Create the shared vulnerability database directory as the calling user. + + Args: + path: ``INFINITO_VULNERABILITY_DB_HOST_PATH``. + """ + with contextlib.suppress(PermissionError): + path.mkdir(parents=True, exist_ok=True) + + class Compose: """Wrapper around `docker compose` for the dev/CI stack.""" @@ -215,6 +227,15 @@ class Compose: f"size={out.stat().st_size if out.exists() else 'n/a'}" ) + def _prepare_vulnerability_db(self, env: dict[str, str]) -> None: + path = env.get("INFINITO_VULNERABILITY_DB_HOST_PATH") + if not path: + raise SystemExit( + "INFINITO_VULNERABILITY_DB_HOST_PATH is not set; " + "run 'make dotenv' to generate the .env single source of truth" + ) + prepare_vulnerability_db(Path(path)) + def _render_cache_artifacts(self) -> None: """Render the generated cache files the overrides mount. @@ -236,6 +257,7 @@ class Compose: print(">>> Starting compose stack (coredns + infinito)") env = self._base_env() + self._prepare_vulnerability_db(env) keys = [ "INFINITO_BUILD", "INFINITO_DISTRO", @@ -289,9 +311,11 @@ class Compose: def down(self) -> None: """Tear down the stack.""" - from .down import down_stack - - down_stack(repo_root=self.repo_root, distro=self.distro) + print(">>> Stopping compose stack and removing volumes") + try: + self.run(["down", "--remove-orphans", "-v"]) + finally: + cleanup_docker_root() def exec( self, diff --git a/cli/administration/deploy/development/deploy/cli.py b/cli/administration/deploy/development/deploy/cli.py index fab77f9f1f..6beacfe898 100644 --- a/cli/administration/deploy/development/deploy/cli.py +++ b/cli/administration/deploy/development/deploy/cli.py @@ -9,9 +9,6 @@ from cli.administration.deploy.development.common import ( make_compose, resolve_container, ) -from cli.administration.deploy.development.inventory import ( - _build_services_overrides_for_round as build_services_overrides_for_round, -) from cli.administration.deploy.development.inventory import ( plan_dev_inventory_matrix, prune_orphans_after_disable, @@ -25,6 +22,9 @@ from cli.administration.inventory.provision.services.disabler import ( find_provider_roles, parse_services_disabled, ) +from utils.roles.applications.variants import ( + services_overrides_for_round as build_services_overrides_for_round, +) from .drill import _maybe_recover_drill from .purge import _purge_app_entities diff --git a/cli/administration/deploy/development/deploy/purge.py b/cli/administration/deploy/development/deploy/purge.py index 49a12f2624..e8127b89d5 100644 --- a/cli/administration/deploy/development/deploy/purge.py +++ b/cli/administration/deploy/development/deploy/purge.py @@ -5,7 +5,7 @@ from __future__ import annotations import os import subprocess -from cli.administration.deploy.development import PROJECT_ROOT +from utils.cache import PROJECT_ROOT def _purge_app_entities(*, container: str, app_ids: list[str]) -> None: diff --git a/cli/administration/deploy/development/docker_root.py b/cli/administration/deploy/development/docker_root.py new file mode 100644 index 0000000000..c1f5d52a72 --- /dev/null +++ b/cli/administration/deploy/development/docker_root.py @@ -0,0 +1,47 @@ +from __future__ import annotations + +import os +import subprocess +from pathlib import Path + +from .profile import Profile + + +def _resolve_docker_root() -> Path: + raw = (os.environ.get("INFINITO_DOCKER_VOLUME") or "").strip().rstrip("/") + if not raw: + raise RuntimeError("INFINITO_DOCKER_VOLUME must be set") + return Path(raw) + + +def _wipe_docker_root(docker_root: Path) -> None: + if not docker_root.exists(): + print(f">>> Docker root does not exist, nothing to clean: {docker_root}") + return + print(f">>> CI cleanup: wiping Docker root: {docker_root}") + subprocess.run(["sudo", "rm", "-rf", str(docker_root)], check=True) + subprocess.run(["sudo", "mkdir", "-p", str(docker_root)], check=True) + subprocess.run( + ["sudo", "chown", f"{os.getuid()}:{os.getgid()}", str(docker_root)], + check=True, + ) + leftovers = sorted(entry.name for entry in docker_root.iterdir()) + if leftovers: + raise RuntimeError( + f"Docker root survived the wipe: {docker_root} still holds {leftovers}" + ) + + +def _should_wipe_docker_root() -> bool: + if not Profile().docker_root_ephemeral(): + return False + return os.environ.get("INFINITO_PRESERVE_DOCKER_CACHE") != "true" + + +def cleanup_docker_root() -> None: + if not _should_wipe_docker_root(): + docker_vol = os.environ.get("INFINITO_DOCKER_VOLUME") or "(unset)" + print(f">>> Skipping Docker root wipe: {docker_vol}") + return + docker_root = _resolve_docker_root() + _wipe_docker_root(docker_root) diff --git a/cli/administration/deploy/development/down.py b/cli/administration/deploy/development/down.py index 2bd29871d6..abde5a9983 100644 --- a/cli/administration/deploy/development/down.py +++ b/cli/administration/deploy/development/down.py @@ -1,69 +1,19 @@ from __future__ import annotations -import os -import subprocess -from pathlib import Path from typing import TYPE_CHECKING -from . import PROJECT_ROOT +from utils.cache import PROJECT_ROOT + +from .compose import Compose from .env import resolve_distro if TYPE_CHECKING: import argparse - - -def _resolve_docker_root() -> Path: - raw = (os.environ.get("INFINITO_DOCKER_VOLUME") or "").strip().rstrip("/") - if not raw: - raise RuntimeError("INFINITO_DOCKER_VOLUME must be set") - return Path(raw) - - -def _wipe_docker_root(docker_root: Path) -> None: - if not docker_root.exists(): - print(f">>> Docker root does not exist, nothing to clean: {docker_root}") - return - print(f">>> CI cleanup: wiping Docker root: {docker_root}") - subprocess.run(["sudo", "rm", "-rf", str(docker_root)], check=True) - subprocess.run(["sudo", "mkdir", "-p", str(docker_root)], check=True) - subprocess.run( - ["sudo", "chown", f"{os.getuid()}:{os.getgid()}", str(docker_root)], - check=True, - ) - leftovers = sorted(entry.name for entry in docker_root.iterdir()) - if leftovers: - raise RuntimeError( - f"Docker root survived the wipe: {docker_root} still holds {leftovers}" - ) - - -def _should_wipe_docker_root() -> bool: - from .profile import Profile - - if not Profile().docker_root_ephemeral(): - return False - return os.environ.get("INFINITO_PRESERVE_DOCKER_CACHE") != "true" - - -def _cleanup_docker_root() -> None: - if not _should_wipe_docker_root(): - docker_vol = os.environ.get("INFINITO_DOCKER_VOLUME") or "(unset)" - print(f">>> Skipping Docker root wipe: {docker_vol}") - return - docker_root = _resolve_docker_root() - _wipe_docker_root(docker_root) + from pathlib import Path def down_stack(*, repo_root: Path, distro: str) -> None: - from .compose import Compose - - print(">>> Stopping compose stack and removing volumes") - try: - Compose(repo_root=repo_root, distro=distro).run( - ["down", "--remove-orphans", "-v"] - ) - finally: - _cleanup_docker_root() + Compose(repo_root=repo_root, distro=distro).down() def add_parser(sub: argparse._SubParsersAction) -> None: diff --git a/cli/administration/deploy/development/init.py b/cli/administration/deploy/development/init.py index 52784c5949..8547f937d4 100644 --- a/cli/administration/deploy/development/init.py +++ b/cli/administration/deploy/development/init.py @@ -9,6 +9,11 @@ from cli.administration.inventory.provision.services.disabler import ( parse_services_disabled, ) from cli.meta.runtime import detect_runtime +from plugins.filter.merge.with_defaults import merge_with_defaults +from utils.roles.applications.variants import ( + services_overrides_for_round as build_services_overrides_for_round, +) +from utils.security.deploy import deploy_inventory_overrides from .common import make_compose from .inventory import ( @@ -17,9 +22,6 @@ from .inventory import ( plan_dev_inventory_matrix, prune_orphans_after_disable, ) -from .inventory import ( - _build_services_overrides_for_round as build_services_overrides_for_round, -) from .storage import detect_storage_constrained from .variant_select import ( add_variant_args, @@ -110,6 +112,11 @@ def handler(args: argparse.Namespace) -> int: raise SystemExit("--vars must be a JSON object") extra_vars = parsed + extra_vars = dict(extra_vars or {}) + extra_vars["applications"] = merge_with_defaults( + extra_vars.get("applications") or {}, deploy_inventory_overrides() + ) + forced_storage_constrained = ( None if args.force_storage_constrained is None diff --git a/cli/administration/deploy/development/inventory/__init__.py b/cli/administration/deploy/development/inventory/__init__.py index 5fab98bf9d..1eb68379c3 100644 --- a/cli/administration/deploy/development/inventory/__init__.py +++ b/cli/administration/deploy/development/inventory/__init__.py @@ -20,14 +20,17 @@ Internal layout (one module per responsibility): * :mod:`.spec` — :class:`~.spec.DevInventorySpec` + ``PlanEntry`` type * :mod:`.payload` — variant payload pick + ``--vars`` bake -* :mod:`.legacy_resolver` — ``CombinedResolver``-driven include resolution +* :mod:`.legacy_resolver` - orphan pruning after ``disable`` * :mod:`.planner` — :func:`plan_dev_inventory_matrix` * :mod:`.builder` — :func:`build_dev_inventory` + matrix orchestrator -The private helpers (``_resolve_round_include`` and friends) are -re-exported below because unit tests historically patch them under this -package path. New tests SHOULD patch the submodule path directly -(e.g. ``inventory.legacy_resolver._resolve_round_include``). +The round's include set is resolved by +``utils.roles.applications.variants._resolve_round_include``. + +The private helpers (``_bake_overrides`` and friends) are re-exported +below because unit tests historically patch them under this package +path. New tests SHOULD patch the submodule path directly +(e.g. ``inventory.payload._bake_overrides``). ``DevInventorySpec`` and ``PlanEntry`` are imported but deliberately absent from ``__all__``: listing a re-exported class makes autodoc document it here @@ -38,11 +41,7 @@ annotation. Importing them from this package keeps working either way. from __future__ import annotations from .builder import build_dev_inventory, build_dev_inventory_matrix -from .legacy_resolver import ( - _build_services_overrides_for_round, - _resolve_round_include, - prune_orphans_after_disable, -) +from .legacy_resolver import prune_orphans_after_disable from .payload import _bake_overrides, _resolve_variant_payloads from .planner import filter_plan_to_variants, plan_dev_inventory_matrix from .spec import DevInventorySpec as DevInventorySpec @@ -50,8 +49,6 @@ from .spec import PlanEntry as PlanEntry __all__ = [ "_bake_overrides", - "_build_services_overrides_for_round", - "_resolve_round_include", "_resolve_variant_payloads", "build_dev_inventory", "build_dev_inventory_matrix", diff --git a/cli/administration/deploy/development/inventory/legacy_resolver.py b/cli/administration/deploy/development/inventory/legacy_resolver.py index 77870a4a30..39e5a398cb 100644 --- a/cli/administration/deploy/development/inventory/legacy_resolver.py +++ b/cli/administration/deploy/development/inventory/legacy_resolver.py @@ -1,74 +1,24 @@ -"""Default (non-variant) include resolution for the matrix planner. +"""Orphan pruning for the matrix planner's rounds after a `disable`. When NO primary app ships a `meta/variants.yml`, the planner falls back -to this path — the `CombinedResolver` walks `dependencies` and -`shared:`-edges in the variant-merged services map and Jinja flags are -evaluated at deploy time against `group_names`. `run_after` is NOT -followed for inclusion (it is a pure ordering hint), so a variant that -disables a service does not get the provider re-added through the -ordering edge. This module owns the include resolution that path needs -and nothing else; the round's variant-merged services maps come from +to the `CombinedResolver`, which walks `dependencies` and `shared:`-edges +in the variant-merged services map; Jinja flags are evaluated at deploy +time against `group_names`. `run_after` is NOT followed for inclusion (it +is a pure ordering hint), so a variant that disables a service does not +get the provider re-added through the ordering edge. The round's include +set and its variant-merged services maps come from `utils.roles.applications.variants`, which the CI selection resolves its -closure from as well. +closure from as well; this module cuts that include once `disable` drops +a provider. """ from __future__ import annotations from typing import TYPE_CHECKING -from utils.roles.applications.variants import services_overrides_for_round - if TYPE_CHECKING: from collections.abc import Iterable, Sequence -_build_services_overrides_for_round = services_overrides_for_round - - -def _resolve_round_include( - *, - primary_apps: Sequence[str], - services_overrides: dict[str, dict], -) -> tuple[str, ...]: - """Resolve transitive prerequisites for each primary app under a - round's variant-merged services map. Returns the full include set - in stable order (deps first per primary, primary last; primaries - iterated in the user-provided order). - - A non-invokable prerequisite is dropped from the result. The include - set becomes an inventory group per entry and a deploy id the play - dispatches, and `utils.roles.stage` only ever loops over invokable - paths, so a non-invokable id could never be dispatched from one. - Keeping it would abort the round before ansible starts, which is - what `user-workstation` did to every desktop round, and inventing a - group for it instead would produce one nothing dispatches. The role - still reaches the host through whatever pulled it into the closure: - a meta dependency, or the service edge `sys-service-loader` reads. - - The resolver import is deferred so the host-side import surface - stays lean for callers that never need the variant-aware planner - (e.g. lint/validation). - """ - from cli.meta.roles.applications.resolution.combined.resolver import ( - CombinedResolver, - ) - from utils.roles.required_by_coverage import role_is_invokable - - resolver = CombinedResolver( - services_overrides=services_overrides, follow_run_after=False - ) - out: list[str] = [] - seen: set[str] = set() - for app_id in primary_apps: - deps = resolver.resolve(app_id) - for dep in deps: - if dep != app_id and dep not in seen and role_is_invokable(dep): - out.append(dep) - seen.add(dep) - if app_id not in seen: - out.append(app_id) - seen.add(app_id) - return tuple(out) - def prune_orphans_after_disable( *, diff --git a/cli/administration/deploy/development/inventory/planner.py b/cli/administration/deploy/development/inventory/planner.py index 5de21fe475..849b4d9389 100644 --- a/cli/administration/deploy/development/inventory/planner.py +++ b/cli/administration/deploy/development/inventory/planner.py @@ -2,7 +2,8 @@ Pure function — reads role metadata via cached YAML helpers and emits ``PlanEntry`` tuples; no filesystem side effects. The include set per -round is resolved by the ``CombinedResolver`` (see ``.legacy_resolver``): +round is resolved by the ``CombinedResolver`` (see +``utils.roles.applications.variants._resolve_round_include``): each role contributes its own pulled-in providers and the include is the union. A service-key is therefore pulled in as soon as ANY role in the round-aware closure says it should be (literal ``True`` OR the diff --git a/cli/administration/deploy/development/profile.py b/cli/administration/deploy/development/profile.py index ab3e80f61d..61de2cce0a 100644 --- a/cli/administration/deploy/development/profile.py +++ b/cli/administration/deploy/development/profile.py @@ -3,6 +3,16 @@ from __future__ import annotations import os +import sys + +from utils.env.handlers.infinito.cache import paths + +_NOTICED: set[str] = set() + + +def infra_owns_cache() -> bool: + """True iff the infra runner marked the cache base as its own.""" + return (paths.base() / "infra.owner").is_file() def _declared(name: str) -> bool | None: @@ -32,6 +42,15 @@ class Profile: def cache_stack_enabled(self) -> bool: """True iff the pull-through cache stack should be loaded.""" + if infra_owns_cache(): + if not _NOTICED: + _NOTICED.add("infra.owner") + print( + f"NOTICE: the infra runner owns {paths.base()} (infra.owner); " + "the legacy cache stack stays off", + file=sys.stderr, + ) + return False declared = _declared("INFINITO_CACHE_STACK") return (not self.is_ci()) if declared is None else declared diff --git a/cli/administration/inventory/credentials/__main__.py b/cli/administration/inventory/credentials/__main__.py index fd0230bb9a..facdc7c2bb 100755 --- a/cli/administration/inventory/credentials/__main__.py +++ b/cli/administration/inventory/credentials/__main__.py @@ -28,7 +28,7 @@ from typing import Any from ruamel.yaml import YAML from ruamel.yaml.comments import CommentedMap -from cli.administration.inventory.provision.ruamel_io import round_trip_yaml +from cli.administration.inventory.ruamel_io import round_trip_yaml from utils.manager.inventory import InventoryManager from .emit import ( diff --git a/cli/administration/inventory/credentials/reset/cli.py b/cli/administration/inventory/credentials/reset/cli.py index 74c7e0e913..299d9765c3 100644 --- a/cli/administration/inventory/credentials/reset/cli.py +++ b/cli/administration/inventory/credentials/reset/cli.py @@ -23,7 +23,7 @@ from cli.administration.inventory.provision.project import ( detect_project_root, ) from cli.administration.inventory.provision.reset import reset_credentials -from cli.administration.inventory.provision.ruamel_io import ( +from cli.administration.inventory.ruamel_io import ( dump_document, load_document, ) diff --git a/cli/administration/inventory/mesh/inventory.py b/cli/administration/inventory/mesh/inventory.py index 3f96985ea8..c4f2ac6966 100644 --- a/cli/administration/inventory/mesh/inventory.py +++ b/cli/administration/inventory/mesh/inventory.py @@ -5,7 +5,7 @@ import re from pathlib import Path from typing import Any -from cli.administration.inventory.provision.ruamel_io import load_document +from cli.administration.inventory.ruamel_io import load_document from utils import PROJECT_ROOT from utils.cache.yaml import load_yaml_any from utils.networks.mesh import ( diff --git a/cli/administration/inventory/mesh/transport.py b/cli/administration/inventory/mesh/transport.py index 69d23568da..39e2220575 100644 --- a/cli/administration/inventory/mesh/transport.py +++ b/cli/administration/inventory/mesh/transport.py @@ -4,7 +4,7 @@ import shlex from configparser import ConfigParser from typing import TYPE_CHECKING -from cli.administration.inventory.provision.ruamel_io import ( +from cli.administration.inventory.ruamel_io import ( dump_document, load_document, ) diff --git a/cli/administration/inventory/mesh/write.py b/cli/administration/inventory/mesh/write.py index 2b4cf4b214..f74406138a 100644 --- a/cli/administration/inventory/mesh/write.py +++ b/cli/administration/inventory/mesh/write.py @@ -4,7 +4,7 @@ from typing import TYPE_CHECKING from ruamel.yaml.comments import CommentedMap, CommentedSeq -from cli.administration.inventory.provision.ruamel_io import ( +from cli.administration.inventory.ruamel_io import ( dump_document, ensure_map, load_document, diff --git a/cli/administration/inventory/provision/credentials_generator.py b/cli/administration/inventory/provision/credentials_generator.py index b0a3a4f826..61964959f8 100644 --- a/cli/administration/inventory/provision/credentials_generator.py +++ b/cli/administration/inventory/provision/credentials_generator.py @@ -12,9 +12,13 @@ from cli.administration.inventory.credentials.emit import ( credentials_map, declared_credentials, ) +from cli.administration.inventory.ruamel_io import ( + dump_document, + ensure_map, + load_document, +) from .role_resolver import resolve_role_path -from .ruamel_io import dump_document, ensure_map, load_document if TYPE_CHECKING: from pathlib import Path diff --git a/cli/administration/inventory/provision/host_vars.py b/cli/administration/inventory/provision/host_vars.py index 550f51aa6e..b35eb17bcb 100644 --- a/cli/administration/inventory/provision/host_vars.py +++ b/cli/administration/inventory/provision/host_vars.py @@ -6,10 +6,14 @@ from typing import TYPE_CHECKING, Any from ruamel.yaml.comments import CommentedMap +from cli.administration.inventory.ruamel_io import ( + dump_document, + load_document, + vault_value, +) from utils.cache.yaml import load_yaml_any from .passwords import generate_random_password -from .ruamel_io import dump_document, load_document, vault_value if TYPE_CHECKING: from pathlib import Path diff --git a/cli/administration/inventory/provision/mirror_overrides.py b/cli/administration/inventory/provision/mirror_overrides.py index fb59acacde..6d2c666032 100644 --- a/cli/administration/inventory/provision/mirror_overrides.py +++ b/cli/administration/inventory/provision/mirror_overrides.py @@ -2,10 +2,13 @@ from __future__ import annotations from typing import TYPE_CHECKING +from cli.administration.inventory.ruamel_io import ( + dump_document, + ensure_map, + load_document, +) from utils.cache.yaml import load_yaml_any -from .ruamel_io import dump_document, ensure_map, load_document - if TYPE_CHECKING: from pathlib import Path diff --git a/cli/administration/inventory/provision/network_mode.py b/cli/administration/inventory/provision/network_mode.py index dacd835ed4..b61a48625b 100644 --- a/cli/administration/inventory/provision/network_mode.py +++ b/cli/administration/inventory/provision/network_mode.py @@ -9,10 +9,9 @@ from __future__ import annotations import os from typing import TYPE_CHECKING +from cli.administration.inventory.ruamel_io import dump_document, load_document from utils.networks.reachability import NODE_MODES -from .ruamel_io import dump_document, load_document - if TYPE_CHECKING: from pathlib import Path diff --git a/cli/administration/inventory/provision/reset.py b/cli/administration/inventory/provision/reset.py index ea0f570aa5..3be98acd0a 100644 --- a/cli/administration/inventory/provision/reset.py +++ b/cli/administration/inventory/provision/reset.py @@ -16,11 +16,11 @@ from typing import TYPE_CHECKING from ruamel.yaml.comments import CommentedMap from cli.administration.inventory.credentials.vault import is_ruamel_vault +from cli.administration.inventory.ruamel_io import dump_document, load_document from utils.manager.credential_key import CREDENTIALS_KEY, SECRETS_KEY from utils.roles.mapping import ROLE_FILE_META_SECRETS, ROLE_FILE_VARS_MAIN from .credentials_generator import generate_credentials_for_roles -from .ruamel_io import dump_document, load_document from .users_generator import generate_user_passwords, required_user_policies if TYPE_CHECKING: diff --git a/cli/administration/inventory/provision/services/disabler.py b/cli/administration/inventory/provision/services/disabler.py index 26755c2995..bf19066264 100644 --- a/cli/administration/inventory/provision/services/disabler.py +++ b/cli/administration/inventory/provision/services/disabler.py @@ -6,7 +6,7 @@ from typing import TYPE_CHECKING from ruamel.yaml.comments import CommentedMap -from cli.administration.inventory.provision.ruamel_io import ( +from cli.administration.inventory.ruamel_io import ( dump_document, load_document, round_trip_yaml, diff --git a/cli/administration/inventory/provision/tor_node.py b/cli/administration/inventory/provision/tor_node.py index 450a4290d2..f510cc45da 100644 --- a/cli/administration/inventory/provision/tor_node.py +++ b/cli/administration/inventory/provision/tor_node.py @@ -13,8 +13,11 @@ from __future__ import annotations from typing import TYPE_CHECKING from cli.administration.inventory.onion import ensure_node_onion - -from .ruamel_io import dump_document, ensure_map, load_document +from cli.administration.inventory.ruamel_io import ( + dump_document, + ensure_map, + load_document, +) if TYPE_CHECKING: from pathlib import Path diff --git a/cli/administration/inventory/provision/users_generator.py b/cli/administration/inventory/provision/users_generator.py index 4acd36ee76..203908019f 100644 --- a/cli/administration/inventory/provision/users_generator.py +++ b/cli/administration/inventory/provision/users_generator.py @@ -13,12 +13,17 @@ from __future__ import annotations from collections.abc import Mapping from typing import TYPE_CHECKING, Any +from cli.administration.inventory.ruamel_io import ( + dump_document, + ensure_map, + load_document, + vault_value, +) from utils.cache.users import get_user_defaults from utils.cache.yaml import load_yaml_any from utils.roles.mapping import ROLE_FILE_META_USERS from .passwords import generate_declared_user_password -from .ruamel_io import dump_document, ensure_map, load_document, vault_value if TYPE_CHECKING: from pathlib import Path diff --git a/cli/administration/inventory/provision/ruamel_io.py b/cli/administration/inventory/ruamel_io.py similarity index 94% rename from cli/administration/inventory/provision/ruamel_io.py rename to cli/administration/inventory/ruamel_io.py index 79f4a6e02d..b138d2e748 100644 --- a/cli/administration/inventory/provision/ruamel_io.py +++ b/cli/administration/inventory/ruamel_io.py @@ -1,6 +1,6 @@ -"""Round-trip YAML access for the inventory files this package rewrites. +"""Round-trip YAML access for the inventory files the inventory CLIs rewrite. -The counterpart to :mod:`yaml_io`, which reads values. Everything here keeps +The counterpart to :mod:`.provision.yaml_io`, which reads values. Everything here keeps comments, quoting and vault tags intact, because host_vars is hand-edited as often as it is generated. """ diff --git a/cli/administration/recover/full.py b/cli/administration/recover/full.py index b73bbe888a..af35c52c6e 100644 --- a/cli/administration/recover/full.py +++ b/cli/administration/recover/full.py @@ -59,11 +59,11 @@ def plan(root: Path) -> tuple[list[tuple[str, str]], list[str]]: except ValueError as error: unreadable.append(f"{repo}: {error}") continue - files_glob, dump_glob = manifest.globs_of(names) + files_glob, dump_globs = manifest.globs_of(names) files_dir = names["files_dir"] if rtype == "volume": steps += [(rtype, str(vol)) for vol in sorted(generation.glob(files_glob))] - if any(generation.glob(dump_glob)): + if any(hit for glob in dump_globs for hit in generation.glob(glob)): steps.append(("database", str(generation))) elif (generation / files_dir).is_dir(): steps.append((rtype, str(generation / files_dir))) diff --git a/cli/administration/roles/marker.py b/cli/administration/roles/marker.py index 796f350031..bbc147ad25 100644 --- a/cli/administration/roles/marker.py +++ b/cli/administration/roles/marker.py @@ -12,31 +12,29 @@ import shutil import stat from typing import TYPE_CHECKING -from utils.roles.custom import PREFIX +from utils.roles.custom import MARKER_FILE, MARKER_HEADER, PREFIX, marker_fields if TYPE_CHECKING: from pathlib import Path -MARKER_FILE = ".infinito-custom-role" -MARKER_HEADER = "# infinito-nexus custom role" -_MARKER_LIMIT = 4096 - -def marker_text(directory: str, group: str, provenance: str) -> str: +def marker_text(directory: str, group: str, provenance: str, version: str) -> str: """Return the content of the marker file. Args: directory: the name the role directory is placed as under ``roles/``. group: the inventory group the role was pulled for. provenance: the source and resolved commit the role was placed from. + version: the semver the source's manifests declare; empty for none. """ - return ( + text = ( f"{MARKER_HEADER}\ndirectory: {directory}\ngroup: {group}\n" f"source: {provenance}\n" ) + return f"{text}version: {version}\n" if version else text -def write_marker(role: Path, group: str, provenance: str) -> None: +def write_marker(role: Path, group: str, provenance: str, version: str) -> None: """Write the marker into a staged role, replacing whatever entry holds its name. The entry is removed without following it and the marker is created @@ -47,6 +45,7 @@ def write_marker(role: Path, group: str, provenance: str) -> None: role: the staged role directory, named as it is placed. group: the inventory group the role was pulled for. provenance: the source and resolved commit the role was placed from. + version: the semver the source's manifests declare; empty for none. """ marker = role / MARKER_FILE try: @@ -61,7 +60,7 @@ def write_marker(role: Path, group: str, provenance: str) -> None: marker, os.O_WRONLY | os.O_CREAT | os.O_EXCL | os.O_NOFOLLOW, 0o600 ) with os.fdopen(descriptor, "w", encoding="utf-8") as handle: - handle.write(marker_text(role.name, group, provenance)) + handle.write(marker_text(role.name, group, provenance, version)) def is_placed(path: Path) -> bool: @@ -70,7 +69,7 @@ def is_placed(path: Path) -> bool: Args: path: an entry of the role search directory. """ - return not path.is_symlink() and _fields(path).get("directory") == path.name + return not path.is_symlink() and marker_fields(path).get("directory") == path.name def provenance(path: Path) -> str: @@ -79,7 +78,7 @@ def provenance(path: Path) -> str: Args: path: a role directory :func:`is_placed` accepts. """ - return _fields(path).get("source", "") + return marker_fields(path).get("source", "") def custom_entries(roles_dir: Path) -> list[Path]: @@ -98,19 +97,3 @@ def placed_roles(roles_dir: Path) -> list[Path]: roles_dir: the role search directory. """ return [entry for entry in custom_entries(roles_dir) if is_placed(entry)] - - -def _fields(role: Path) -> dict[str, str]: - try: - descriptor = os.open( - role / MARKER_FILE, os.O_RDONLY | os.O_NOFOLLOW | os.O_NONBLOCK - ) - except OSError: - return {} - with os.fdopen(descriptor, encoding="utf-8", errors="replace") as handle: - if not stat.S_ISREG(os.fstat(descriptor).st_mode): - return {} - lines = handle.read(_MARKER_LIMIT).splitlines() - if not lines or lines[0] != MARKER_HEADER: - return {} - return dict(line.split(": ", 1) for line in lines[1:] if ": " in line) diff --git a/cli/administration/roles/placement.py b/cli/administration/roles/placement.py index e00d7ba019..74ede5473c 100644 --- a/cli/administration/roles/placement.py +++ b/cli/administration/roles/placement.py @@ -115,9 +115,9 @@ def _place(declared: dict[str, Source], roles_dir: Path, work_dir: Path) -> list staging = _holder(work_dir, group, holders) / group origin = stage(group, source, staging) _check_role(group, staging) - write_marker(staging, group, origin) + write_marker(staging, group, origin.provenance, origin.version) staged.append((staging, roles_dir / group)) - lines.append(f"{group}: {origin}") + lines.append(f"{group}: {origin.provenance}") for _staging, target in staged: _check_target(target) dropped = [entry for entry in undeclared if is_placed(entry)] diff --git a/cli/administration/roles/source.py b/cli/administration/roles/source.py index 1c7208d504..8fa62d6dc9 100644 --- a/cli/administration/roles/source.py +++ b/cli/administration/roles/source.py @@ -9,13 +9,28 @@ import subprocess import tarfile import tempfile from pathlib import Path -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, NamedTuple -from utils.roles.custom import CustomRoleError +from utils.cache.files import read_text +from utils.roles.custom import CustomRoleError, manifest_version if TYPE_CHECKING: from .declaration import Source + +class Staged(NamedTuple): + """What :func:`stage` copied. + + Args: + provenance: the source and, for a pinned version, the resolved commit. + version: the semver the source repository's manifests declare at + that commit (or in the local checkout); empty for none. + """ + + provenance: str + version: str + + _COPY_IGNORE = shutil.ignore_patterns(".git", ".claude", "__pycache__") _DROPPED_ENV = frozenset( { @@ -67,7 +82,7 @@ def check(group: str, source: Source, placements: list[Path], roles_dir: Path) - ) -def stage(group: str, source: Source, target: Path) -> str: +def stage(group: str, source: Source, target: Path) -> Staged: """Copy the role of ``source`` into ``target`` and describe what was copied. Args: @@ -76,7 +91,8 @@ def stage(group: str, source: Source, target: Path) -> str: target: a path that does not exist yet; it becomes the role directory. Returns: - The source and, for a pinned version, the resolved commit. + The source with, for a pinned version, the resolved commit, and the + semver the repository root's manifests declare. Raises: CustomRoleError: the source cannot be read, or it holds an entry, @@ -89,7 +105,10 @@ def stage(group: str, source: Source, target: Path) -> str: f"{group}: source.path is not a directory in the source" ) shutil.copytree(content, target, symlinks=True, ignore=_COPY_IGNORE) - return source.describe() + return Staged( + source.describe(), + manifest_version(lambda name: _local_text(Path(source.url) / name)), + ) with tempfile.TemporaryDirectory(prefix="infinito-custom-role-") as scratch: _git(scratch, ["init", "--quiet", "--bare"], f"{group}: git init failed") _git( @@ -130,6 +149,7 @@ def stage(group: str, source: Source, target: Path) -> str: ["archive", "--format=tar", tree], f"{group}: git archive of source.path failed", ) + version = manifest_version(lambda name: _blob_text(scratch, commit, name)) target.mkdir() try: with tarfile.open(fileobj=io.BytesIO(archive)) as tar: @@ -138,7 +158,24 @@ def stage(group: str, source: Source, target: Path) -> str: raise CustomRoleError( f"{group}: source.path holds an entry the pull refuses to unpack: {exc}" ) from exc - return f"{source.describe()} (commit {commit})" + return Staged(f"{source.describe()} (commit {commit})", version) + + +def _local_text(path: Path) -> str | None: + if path.is_symlink() or not path.is_file(): + return None + try: + return read_text(str(path)) + except UnicodeDecodeError: + return None + + +def _blob_text(scratch: str, commit: str, name: str) -> str | None: + try: + blob = _git(scratch, ["show", f"{commit}:{name}"], f"no {name} at {commit}") + except CustomRoleError: + return None + return blob.decode(errors="replace") def _check_local( diff --git a/cli/build/i18n/__init__.py b/cli/build/i18n/__init__.py index e69de29bb2..d6d5d9657d 100644 --- a/cli/build/i18n/__init__.py +++ b/cli/build/i18n/__init__.py @@ -0,0 +1 @@ +READY_TIMEOUT_SECONDS = 3600 diff --git a/cli/build/i18n/__main__.py b/cli/build/i18n/__main__.py index 8afda2ecbf..f81fecad4a 100644 --- a/cli/build/i18n/__main__.py +++ b/cli/build/i18n/__main__.py @@ -22,6 +22,7 @@ from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor from contextlib import contextmanager from pathlib import Path +from cli.build.i18n import READY_TIMEOUT_SECONDS from utils.cache.files import PROJECT_ROOT from utils.i18n.catalog import ( adopt_template, @@ -31,20 +32,18 @@ from utils.i18n.catalog import ( read_catalog, write_catalog, ) -from utils.i18n.client import BATCH_SIZE +from utils.i18n.client import BATCH_SIZE, LibreTranslate from utils.i18n.extract import core_messages, docs_template +from utils.i18n.gateway import server from utils.i18n.languages import ( DOMAINS, domain_languages, load_languages, ) -from utils.i18n.gateway import ( - READY_TIMEOUT_SECONDS, - LibreTranslate, +from utils.i18n.libretranslate import ( download_status, - server, + served_languages, ) -from utils.i18n.libretranslate import served_languages from utils.i18n.placeholders import Rejected from utils.i18n.translate import ( apply, @@ -214,9 +213,7 @@ def one_catalog(client: LibreTranslate, domain: str, code: str) -> None: criteria.update( value.reason for value in outcome.values if isinstance(value, Rejected) ) - discarded += apply( - chunk, outcome.values, taken, criteria, outcome.engines - ) + discarded += apply(chunk, outcome.values, taken, criteria, outcome.engines) refused += outcome.refused damaged += outcome.damaged refusal = outcome.refusal or refusal @@ -238,7 +235,10 @@ def translate(domains: list[str], requested: list[str], redeploy: bool = False) supported = domain_languages(loaded, domain) unsupported = sorted(set(requested) - set(supported)) if unsupported: - print(f"{', '.join(unsupported)} is not a language this repository names", file=sys.stderr) + print( + f"{', '.join(unsupported)} is not a language this repository names", + file=sys.stderr, + ) return 2 work += [ (domain, code) diff --git a/cli/build/i18n/tune.py b/cli/build/i18n/tune.py index 9ba93a47e5..d279b1f5dc 100644 --- a/cli/build/i18n/tune.py +++ b/cli/build/i18n/tune.py @@ -14,11 +14,11 @@ from concurrent.futures import ThreadPoolExecutor from pathlib import Path from statistics import median +from cli.build.i18n import READY_TIMEOUT_SECONDS from utils.cache.files import PROJECT_ROOT from utils.i18n.catalog import catalog_path, read_catalog +from utils.i18n.client import LibreTranslate from utils.i18n.libretranslate import ( - READY_TIMEOUT_SECONDS, - LibreTranslate, download_status, served_languages, server, diff --git a/cli/console/repl.py b/cli/console/repl.py index 1f3cc39ebb..a29875fd06 100644 --- a/cli/console/repl.py +++ b/cli/console/repl.py @@ -12,6 +12,7 @@ folder, everything else runs with the current path prepended. from __future__ import annotations import contextlib +import importlib import shlex import sys @@ -56,7 +57,7 @@ from .runner import ( ) with contextlib.suppress(ImportError): - import readline # noqa: F401 + importlib.import_module("readline") __all__ = [ "AUTHOR", diff --git a/cli/contributing/mirror/sync/__main__.py b/cli/contributing/mirror/sync/__main__.py index 538d834e6a..e352a15538 100644 --- a/cli/contributing/mirror/sync/__main__.py +++ b/cli/contributing/mirror/sync/__main__.py @@ -70,7 +70,7 @@ def main() -> int: "--images-per-hour", type=_validate_positive_int, default=None, - help="Optional throttle: max images to mirror per hour (best-effort).", + help="Optional throttle: max Docker Hub copies per hour (best-effort); other registries are not throttled.", ) args = parser.parse_args() @@ -83,11 +83,6 @@ def main() -> int: last_start_ts: float | None = None for img in chain(iter_role_images(repo_root), iter_runner_images(repo_root)): - last_start_ts = _throttle_before_next_copy( - images_per_hour=args.images_per_hour, - last_start_ts=last_start_ts, - ) - total += 1 src = f"docker://{img.source}" dest = f"docker://{provider.image_base(img)}:{img.version}" @@ -117,6 +112,11 @@ def main() -> int: ) continue + if img.registry == "docker.io": + last_start_ts = _throttle_before_next_copy( + images_per_hour=args.images_per_hour, + last_start_ts=last_start_ts, + ) print(f"[mirror] {label}: {src} -> {dest}", flush=True) provider.mirror(img) diff --git a/cli/contributing/network/diagnose/report.py b/cli/contributing/network/diagnose/report.py index ad7ef6bcee..2314b6e9ae 100644 --- a/cli/contributing/network/diagnose/report.py +++ b/cli/contributing/network/diagnose/report.py @@ -2,6 +2,7 @@ from __future__ import annotations +import contextlib import os import socket import sys @@ -104,12 +105,10 @@ def has_ipv6_default_route() -> bool: for raw in out.splitlines(): if "default" in raw and " dev lo" not in raw: return True - try: + with contextlib.suppress(OSError): v6_text = Path("/proc/net/ipv6_route").read_text() # nocheck: cache-read for raw in v6_text.splitlines(): parts = raw.split() if len(parts) >= 10 and parts[0] == "0" * 32 and parts[-1] != "lo": return True - except OSError: - pass return False diff --git a/cli/contributing/network/diagnose/tools.py b/cli/contributing/network/diagnose/tools.py index 5637cef544..70d3499f2f 100644 --- a/cli/contributing/network/diagnose/tools.py +++ b/cli/contributing/network/diagnose/tools.py @@ -2,6 +2,7 @@ from __future__ import annotations +import contextlib import os import shutil import sys @@ -13,13 +14,11 @@ from cli.contributing.network.diagnose.format import cmd_capture def detect_distro_id(*, os_release_path: str = "/etc/os-release") -> str: """Return the distro id from /etc/os-release, lowercased; empty string when unreadable.""" - try: + with contextlib.suppress(OSError): text = Path(os_release_path).read_text() # nocheck: cache-read for raw in text.splitlines(): if raw.startswith("ID="): return raw.split("=", 1)[1].strip().strip('"').lower() - except OSError: - pass return "" diff --git a/cli/contributing/security/README.md b/cli/contributing/security/README.md index 8c43a9dbaf..58a3aa7957 100644 --- a/cli/contributing/security/README.md +++ b/cli/contributing/security/README.md @@ -1,3 +1,11 @@ # Security 🛡️ -Repository-side security reports over the declared role artefacts, such as the language runtimes the pinned images ship, read from registry metadata without pulling. +Repository-side vulnerability tooling over the pinned role images, built on the engine pipeline of [sys-ctl-hlth-runtime](../../../roles/sys-ctl-hlth-runtime/README.md). + +| Command | What it does | +|---|---| +| `make test-security` | Runs `scan`: Syft builds an SBOM of every pinned image straight from the GHCR mirror, cached by digest under `build/security/sbom`, and Trivy, Grype and OSV scan that SBOM tree with the role's threshold and suppressions. Every finding at the threshold goes to `build/test-reports/security.json`, a suppressed one with its `suppressed_until` day. The scan fails only on an engine or mirror error; the unsuppressed findings reach the vulnerability issues instead. | +| `python -m cli.contributing.security.database --dir --engines ...` | Downloads the Trivy, Grype and OSV databases a CI deploy reads. | +| `python -m cli.contributing.security.summary --report --counts --summary ` | Counts the failing findings of the report per image and per CVE, plus the suppressed total, into a JSON file and appends the tables to a Markdown summary. | +| `python -m cli.contributing.security.issues --report --repo ` | Opens one `vulnerability` issue per image of the report that lists its CVEs, suppressed ones with their `suppressed_until` day, updates it while it stays, and closes it once no engine reports a CVE for the image. The head line counts the CVEs per severity. | +| `python -m cli.meta.ci.runtime_vulnerabilities --run-id --repo --ref --dir ` | Run by the `report-main-failures` job of every `main` run, never for another ref: reads the hlth-runtime lines of the deploys' `rescue-diagnostics-*` journals into the same issue format under its own `vulnerability-runtime` label, one issue per image and one `host ` issue per distro. It closes an issue only when a deploy of the run scanned that target without an engine error and reported nothing, so neither sync ever touches the other's issues. | diff --git a/cli/contributing/security/database/__init__.py b/cli/contributing/security/database/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/cli/contributing/security/database/__main__.py b/cli/contributing/security/database/__main__.py new file mode 100755 index 0000000000..7f8a01367f --- /dev/null +++ b/cli/contributing/security/database/__main__.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python3 +from __future__ import annotations + +import argparse +from pathlib import Path + +from utils.security.database import fetch_databases, fetch_url +from utils.security.engine import SCANNERS +from utils.security.pipeline import pipeline + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser( + description="Download the vulnerability databases a CI deploy reads." + ) + parser.add_argument( + "--dir", required=True, help="Database root, one directory per engine" + ) + parser.add_argument( + "--engines", + required=True, + nargs="+", + choices=SCANNERS, + help="Databases to download", + ) + args = parser.parse_args(argv) + p = pipeline() + errors = fetch_databases( + p, Path(args.dir).resolve(), args.engines, p.default_runner, fetch_url + ) + for error in errors: + print(f"❌ {error}") + return 1 if errors else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/cli/contributing/security/issues/__init__.py b/cli/contributing/security/issues/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/cli/contributing/security/issues/__main__.py b/cli/contributing/security/issues/__main__.py new file mode 100755 index 0000000000..12ad3fece6 --- /dev/null +++ b/cli/contributing/security/issues/__main__.py @@ -0,0 +1,317 @@ +#!/usr/bin/env python3 +from __future__ import annotations + +import argparse +import json +import subprocess +from typing import TYPE_CHECKING, Any, NamedTuple + +from utils.cache.files import read_text +from utils.security.pipeline import pipeline + +if TYPE_CHECKING: + from collections.abc import Callable, Iterable, Mapping, Sequence + + +class Tracker(NamedTuple): + """One family of vulnerability issues, owned by one label. + + Args: + label: the label every issue of the family carries; a sync lists, + updates and closes only issues of this label. + color: the label colour. + description: the label description. + source: renders the line under the head line from the first row. + artifact: where the rows the body leaves out are kept. + gone: the comment an issue closes with. + covers: ``(report, title) -> bool``, whether the report speaks for + the issue of that title, so its absence may close it. + """ + + label: str + color: str + description: str + source: Callable[[Mapping[str, Any]], str] + artifact: str + gone: str + covers: Callable[[Mapping[str, Any], str], bool] + + +LABEL = "vulnerability" +LABEL_COLOR = "B60205" +LABEL_DESCRIPTION = "A pinned image carries a CVE at the scan threshold" +MIRROR = Tracker( + label=LABEL, + color=LABEL_COLOR, + description=LABEL_DESCRIPTION, + source=lambda row: f"Mirror: `{row['mirror']}@{row['digest']}`", + artifact="the `vulnerability-findings` artifact of the scan run", + gone="No engine reports a CVE at the threshold for this image any more.", + covers=lambda report, _title: not report["errors"], +) +ISSUE_LIMIT = "1000" +GH_TIMEOUT_SECONDS = 120 +GH_FAILURES = (subprocess.CalledProcessError, subprocess.TimeoutExpired) +COLUMNS = ( + "id", + "severity", + "engine", + "role", + "service", + "package", + "installed", + "fixed", + "suppressed_until", +) +BODY_LIMIT = 60000 + + +def title(row: Mapping[str, Any]) -> str: + """Return the stable issue title of one image.""" + return f"🛡️ {row['image']}" + + +def grouped(rows: Iterable[Mapping[str, Any]]) -> dict[str, list[Mapping[str, Any]]]: + """Group the report rows by issue title.""" + groups: dict[str, list[Mapping[str, Any]]] = {} + for row in rows: + groups.setdefault(title(row), []).append(row) + return groups + + +def severity_counts(rows: Iterable[Mapping[str, Any]]) -> str: + """Return the distinct CVE count per severity, e.g. ``CRITICAL 7, HIGH 42``.""" + cves: dict[str, set[str]] = {} + for row in rows: + cves.setdefault(row["severity"], set()).add(row["id"]) + order = pipeline().SEVERITIES + ranked = sorted( + cves, + key=lambda s: (order.index(s) if s in order else len(order), s), + ) + return ", ".join(f"{severity} {len(cves[severity])}" for severity in ranked) + + +def body(rows: Sequence[Mapping[str, Any]], tracker: Tracker) -> str: + """Render the issue body of one image, unsuppressed and CRITICAL rows first. + + A suppressed CVE stays listed with its ``suppressed_until`` day, so the + issue remains open while the suppression runs. The head line ends in + :func:`severity_counts`. The table stops before the body would exceed + ``BODY_LIMIT`` and names how many rows it left out. + """ + first = rows[0] + cves = {row["id"] for row in rows} + suppressed = {row["id"] for row in rows if row["suppressed_until"]} + head = [ + ( + f"`{first['image']}` carries {len(cves)} CVE(s) at the scan threshold, " + f"{len(suppressed)} of them suppressed: {severity_counts(rows)}." + ), + "", + tracker.source(first), + "", + "| " + " | ".join(COLUMNS) + " |", + "|" + "---|" * len(COLUMNS), + ] + tail = [ + "", + ( + "Suppress a CVE in the owning role's `meta/services.yml` under " + "`.security.suppressions`, see " + "`docs/contributing/actions/testing/suppression.md`." + ), + ] + table = [ + "| " + " | ".join(str(row[column] or "-") for column in COLUMNS) + " |" + for row in sorted( + rows, + key=lambda r: ( + r["suppressed_until"] is not None, + r["severity"] != "CRITICAL", + *(str(r[c]) for c in COLUMNS), + ), + ) + ] + budget = BODY_LIMIT - len("\n".join(head + tail)) - 200 + shown = [] + for line in table: + budget -= len(line) + 1 + if budget < 0: + break + shown.append(line) + hidden = len(table) - len(shown) + if hidden: + shown += [ + "", + f"{hidden} more row(s) are in {tracker.artifact}.", + ] + return "\n".join(head + shown + tail) + + +def sync( + report: Mapping[str, Any], + repo: str, + gh: Callable[[Sequence[str]], str], + tracker: Tracker, +) -> list[str]: + """Open, update and close one issue per image. + + Args: + report: ``findings`` (the rows) and ``errors``, plus whatever + ``tracker.covers`` reads. + repo: ``owner/name``. + gh: runs ``gh`` with the given arguments and returns its stdout. + tracker: the issue family; only issues of its label are touched. + + Returns: + What was done, one line per issue action; a ``failed`` line for a + ``gh`` call that failed, while the other issues still run. At most + one open issue per image survives, the others close as duplicates. + An image whose CVE table changed gets a comment listing its + unresolved CVEs and an updated body; an unchanged table leaves the + issue alone. An issue without rows is only closed when + ``tracker.covers`` says the report speaks for it, so an image that + failed to scan or was not scanned keeps its issue open. + """ + gh( + [ + "label", + "create", + tracker.label, + "--repo", + repo, + "--color", + tracker.color, + "--description", + tracker.description, + "--force", + ] + ) + issues = json.loads( + gh( + [ + "issue", + "list", + "--repo", + repo, + "--label", + tracker.label, + "--state", + "open", + "--json", + "number,title,body", + "--limit", + ISSUE_LIMIT, + ] + ) + ) + actions = [] + existing: dict[str, Mapping[str, Any]] = {} + for issue in sorted(issues, key=lambda issue: issue["number"]): + kept = existing.setdefault(issue["title"], issue) + if kept is not issue: + args = [ + "issue", + "close", + str(issue["number"]), + "--repo", + repo, + "--comment", + f"Duplicate of #{kept['number']}: one issue per image.", + ] + actions.append( + attempt( + gh, args, f"closed duplicate #{issue['number']} {issue['title']}" + ) + ) + groups = grouped(report["findings"]) + for name, rows in sorted(groups.items()): + text = body(rows, tracker) + issue = existing.get(name) + if issue is None: + args = [ + "issue", + "create", + "--repo", + repo, + "--title", + name, + "--label", + tracker.label, + "--body", + text, + ] + actions.append(attempt(gh, args, f"opened {name}")) + continue + number = str(issue["number"]) + if normalized(issue.get("body") or "") == normalized(text): + actions.append(f"unchanged #{number} {name}") + continue + comment = [ + "issue", + "comment", + number, + "--repo", + repo, + "--body", + f"Still unresolved:\n\n{text}", + ] + actions.append(attempt(gh, comment, f"commented #{number} {name}")) + edit = ["issue", "edit", number, "--repo", repo, "--body", text] + actions.append(attempt(gh, edit, f"updated #{number} {name}")) + for name, issue in sorted(existing.items()): + if name not in groups and tracker.covers(report, name): + args = [ + "issue", + "close", + str(issue["number"]), + "--repo", + repo, + "--comment", + tracker.gone, + ] + actions.append(attempt(gh, args, f"closed #{issue['number']} {name}")) + return actions + + +def normalized(text: str) -> str: + return "\n".join( + line.rstrip() for line in text.replace("\r\n", "\n").strip().splitlines() + ) + + +def attempt(gh: Callable[[Sequence[str]], str], args: Sequence[str], done: str) -> str: + try: + gh(args) + except GH_FAILURES as exc: + return f"failed {done}: {exc}" + return done + + +def run_gh(args: Sequence[str]) -> str: + return subprocess.run( + ["gh", *args], + capture_output=True, + text=True, + check=True, + timeout=GH_TIMEOUT_SECONDS, + ).stdout + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser( + description="Mirror the make test-security report into GitHub issues." + ) + parser.add_argument("--report", required=True, help="The make test-security report") + parser.add_argument("--repo", required=True, help="owner/name") + args = parser.parse_args(argv) + report = json.loads(read_text(args.report)) + lines = sync(report, args.repo, run_gh, MIRROR) + for line in lines: + print(line) + return 1 if any(line.startswith("failed ") for line in lines) else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/cli/contributing/security/runtimes/__init__.py b/cli/contributing/security/runtimes/__init__.py deleted file mode 100644 index eec6d4835a..0000000000 --- a/cli/contributing/security/runtimes/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -from pathlib import Path - -PROJECT_ROOT: Path = Path(__file__).resolve().parents[4] - -__all__ = ["PROJECT_ROOT"] diff --git a/cli/contributing/security/runtimes/__main__.py b/cli/contributing/security/runtimes/__main__.py deleted file mode 100755 index 7495c6b12d..0000000000 --- a/cli/contributing/security/runtimes/__main__.py +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env python3 -from __future__ import annotations - -import argparse -from concurrent.futures import ThreadPoolExecutor - -from utils.docker.image.discovery import ImageRef, iter_role_images -from utils.docker.image.runtime import ( - build_instructions, - load_php_floors, - php_finding, - php_runtime, -) - -from . import PROJECT_ROOT - -WORKERS = 4 -OS_NAME = "linux" -ARCHITECTURE = "amd64" - - -def _instructions(ref: ImageRef) -> list[str] | None: - return build_instructions( - f"{ref.registry}/{ref.name}", - ref.version, - os_name=OS_NAME, - architecture=ARCHITECTURE, - ) - - -def report(refs: list[ImageRef], probed: list, floors: dict[str, str]) -> int: - """Print one line per image that ships PHP and return the exit code. - - Args: - refs: the pinned role images. - probed: :func:`build_instructions` result per ref, in the same order. - floors: see :func:`load_php_floors`. - - Returns: - ``1`` when an image is below its floor or the registry gave no answer - for one, ``0`` otherwise. - """ - findings = 0 - unknown = [] - with_php = 0 - for ref, instructions in zip(refs, probed, strict=True): - if instructions is None: - unknown.append(f"{ref.role}:{ref.service} ({ref.source})") - continue - runtime = php_runtime(instructions) - if runtime is None: - continue - with_php += 1 - if runtime.version: - php = runtime.version - elif runtime.lines: - php = f"line {', '.join(runtime.lines)}" - else: - php = f"package {', '.join(runtime.packages)}" - finding = php_finding(runtime, floors) - if finding: - findings += 1 - print(f"❌ {ref.role}:{ref.service} {ref.source} PHP {php}: {finding}") - elif runtime.version: - print(f"✅ {ref.role}:{ref.service} {ref.source} PHP {php}") - else: - print( - f"❔ {ref.role}:{ref.service} {ref.source} PHP {php}: " - "patch level not in the registry metadata" - ) - for entry in unknown: - print(f"⚠️ {entry}: the registry gave no answer") - print( - f"\n{len(refs)} image(s): {with_php} ship PHP, {findings} below the " - f"floor, {len(unknown)} unanswered" - ) - return 1 if findings or unknown else 0 - - -def main(argv=None) -> int: - argparse.ArgumentParser( - description=( - "List the PHP runtime of every pinned role image from registry " - "metadata, without pulling, and fail on one below its security floor." - ) - ).parse_args(argv) - floors = load_php_floors() - refs = sorted(iter_role_images(PROJECT_ROOT), key=lambda r: (r.role, r.service)) - with ThreadPoolExecutor(max_workers=WORKERS) as pool: - probed = list(pool.map(_instructions, refs)) - return report(refs, probed, floors) - - -if __name__ == "__main__": - raise SystemExit(main()) diff --git a/cli/contributing/security/scan/__init__.py b/cli/contributing/security/scan/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/cli/contributing/security/scan/__main__.py b/cli/contributing/security/scan/__main__.py new file mode 100755 index 0000000000..b17b06fb10 --- /dev/null +++ b/cli/contributing/security/scan/__main__.py @@ -0,0 +1,413 @@ +#!/usr/bin/env python3 +from __future__ import annotations + +import argparse +import datetime as dt +import json +import shutil +import tempfile +from concurrent.futures import ThreadPoolExecutor +from pathlib import Path +from typing import TYPE_CHECKING, Any + +from utils import PROJECT_ROOT +from utils.cache.files import read_text +from utils.docker.image.discovery import ImageRef, iter_role_images +from utils.docker.mirror import mirror_image +from utils.docker.registry import image_platform_digest +from utils.security.engine import ROLE, SBOM_BUILDER, SCANNERS +from utils.security.pipeline import engine_image, pipeline, role_services, user_runtime +from utils.security.suppressions import role_suppressions + +if TYPE_CHECKING: + from collections.abc import Callable, Mapping, Sequence + from types import ModuleType + +OS_NAME = "linux" +ARCHITECTURE = "amd64" + + +def mirror_ref(ref: ImageRef) -> str: + """Return the GHCR mirror repository of a pinned image. + + Raises: + SystemExit: the mirror namespace cannot be resolved. + """ + mirrored = mirror_image(f"{ref.registry}/{ref.name}") + if mirrored is None: + raise SystemExit( + "the GHCR mirror is not resolvable: set INFINITO_GHCR_MIRROR_PREFIX " + "and a GitHub remote or GITHUB_REPOSITORY" + ) + return mirrored + + +def resolve_digests( + refs: Sequence[ImageRef], + digest_of: Callable[[str, str], str | None], + workers: int, +) -> tuple[dict[str, list[ImageRef]], dict[str, str], list[str]]: + """Group the pinned images by the digest their mirror copy serves. + + Args: + refs: the pinned images. + digest_of: ``(mirror repository, tag) -> digest``. + workers: parallel registry requests. + + Returns: + ``(refs by digest, mirror repository by digest, errors)``. + """ + mirrors = [mirror_ref(ref) for ref in refs] + with ThreadPoolExecutor(max_workers=workers) as pool: + digests = list( + pool.map( + lambda pair: digest_of(pair[0], pair[1].version), + zip(mirrors, refs, strict=True), + ) + ) + grouped: dict[str, list[ImageRef]] = {} + sources: dict[str, str] = {} + errors = [] + for ref, mirror, digest in zip(refs, mirrors, digests, strict=True): + if digest is None: + errors.append( + f"{ref.role}:{ref.service} {mirror}:{ref.version}: the mirror served no digest" + ) + continue + grouped.setdefault(digest, []).append(ref) + sources.setdefault(digest, mirror) + return grouped, sources, errors + + +def targets_of(p: ModuleType, grouped: Mapping[str, Sequence[ImageRef]]) -> list: + """Return one pipeline target per digest, owned by every role service pinning it.""" + return [ + p.Target( + key=digest.removeprefix("sha256:"), + kind="container", + ref=digest, + label=refs[0].source, + owners=tuple(sorted({(ref.role, ref.service) for ref in refs})), + owner_tags=tuple( + sorted({((ref.role, ref.service), ref.version) for ref in refs}) + ), + ) + for digest, refs in sorted(grouped.items()) + ] + + +def sbom_step(p: ModuleType, layout, target, source: str): + args = [ + "scan", + f"registry:{source}@{target.ref}", + "-o", + f"syft-json={p.SBOM}/{target.key}.syft.json", + "-o", + f"cyclonedx-json={p.SBOM}/{target.key}.cdx.json", + "-q", + ] + scratch = p.scratch_of(SBOM_BUILDER, target.key) + return p.Step( + f"syft {target.label}", + p.run_argv( + layout, + SBOM_BUILDER, + engine_image(SBOM_BUILDER), + args, + target=None, + extra_env={}, + scratch=scratch, + ), + p.SUCCESS, + scratch, + False, + ) + + +def trivy_step(p: ModuleType, layout, target, os_args: Sequence[str]): + args = [ + "sbom", + *p.TRIVY_COMMON, + "--skip-db-update", + "--skip-java-db-update", + "--cache-backend", + "memory", + "--scanners", + "vuln", + *os_args, + "--format", + "json", + "--output", + f"{p.WORK}/{target.key}.trivy.json", + f"{p.SBOM}/{target.key}.cdx.json", + ] + scratch = p.scratch_of("trivy", target.key) + return p.Step( + f"trivy {target.label}", + p.run_argv( + layout, + "trivy", + engine_image("trivy"), + args, + target=None, + extra_env={}, + scratch=scratch, + ), + p.SUCCESS, + scratch, + False, + ) + + +def grype_step(p: ModuleType, layout, target): + args = [ + f"sbom:{p.SBOM}/{target.key}.syft.json", + "-o", + "json", + "--file", + f"{p.WORK}/{target.key}.grype.json", + "-q", + ] + scratch = p.scratch_of("grype", target.key) + return p.Step( + f"grype {target.label}", + p.run_argv( + layout, + "grype", + engine_image("grype"), + args, + target=None, + extra_env={"GRYPE_DB_AUTO_UPDATE": "false"}, + scratch=scratch, + ), + p.SUCCESS, + scratch, + False, + ) + + +def scan_tree( + p: ModuleType, + targets: Sequence, + sources: Mapping[str, str], + config, + layout, + runner, +) -> tuple[list, list[str]]: + """Build the missing SBOMs, then run every scanner over the SBOM tree. + + Returns: + ``(findings, errors)``. + """ + images = {engine: engine_image(engine) for engine in SCANNERS} + databases = p.prepare_databases(config, images, layout, runner) + errors = p._flat(databases.values()) + scanners = [engine for engine, lines in databases.items() if not lines] + + pending = [ + target + for target in targets + if not all(path.is_file() for path in p.sbom_paths(layout, target)) + ] + results = p.run_lanes( + [[sbom_step(p, layout, target, sources[target.ref])] for target in pending], + runner, + config.workers, + layout.work, + ) + errors += p._flat(results) + failed = { + target.key for target, lines in zip(pending, results, strict=True) if lines + } + ready = [target for target in targets if target.key not in failed] + + lanes = [] + today = dt.datetime.now(tz=dt.UTC).date() + for target in ready: + if "trivy" in scanners: + os_args = p.trivy_os_args(layout, target, scanners, config, today) + lanes.append([trivy_step(p, layout, target, os_args)]) + if "grype" in scanners: + lanes.append([grype_step(p, layout, target)]) + if "osv" in scanners and ready: + for target in ready: + cdx = p.sbom_paths(layout, target)[1] + (layout.work / f"{target.key}.osv.cdx.json").write_text( + json.dumps(p.osv_sbom(json.loads(read_text(str(cdx))))), + encoding="utf-8", + ) + lanes.append([p.osv_sbom_step(layout, images["osv"], ready, config)]) + errors += p._flat(p.run_lanes(lanes, runner, config.workers, layout.work)) + + findings = [] + for target in ready: + for engine, parse in (("trivy", p.parse_trivy), ("grype", p.parse_grype)): + report = layout.work / f"{target.key}.{engine}.json" + if engine in scanners and report.is_file(): + findings += parse(json.loads(read_text(str(report))), target.key) + batched = layout.work / "osv.json" + if batched.is_file(): + by_file = { + f"{p.WORK}/{target.key}.osv.cdx.json": target.key for target in ready + } + findings += p.parse_osv( + json.loads(read_text(str(batched))), by_file.__getitem__ + ) + return findings, errors + + +def suppressions_of(p: ModuleType, roles: Sequence[str]): + """Return the declared suppressions of *roles*, keyed by role and service.""" + return p.Suppressions( + containers={ + role: { + service: tuple( + p.Suppression( + id=entry.id, image_tag=entry.image_tag, until=entry.until + ) + for entry in entries + ) + for service, entries in role_suppressions( + PROJECT_ROOT / "roles", role + ).items() + } + for role in sorted(set(roles)) + }, + host={}, + ) + + +def report_rows(verdicts: Sequence, sources: Mapping[str, str]) -> list[dict[str, Any]]: + """Return every verdict as a row for the issue tracker. + + A suppressed row carries the suppression's last day in + ``suppressed_until``; a failing row carries ``None`` there. + """ + rows = [] + for verdict in verdicts: + finding = verdict.finding + role, service = verdict.owner + rows.append( + { + "engine": finding.engine, + "role": role, + "service": service, + "image": verdict.target.label, + "mirror": sources[verdict.target.ref], + "digest": verdict.target.ref, + "id": finding.id, + "ids": list(finding.ids), + "severity": finding.severity, + "package": finding.package, + "installed": finding.installed, + "fixed": finding.fixed, + "suppressed_until": ( + verdict.rule.until.isoformat() if verdict.suppressed else None + ), + } + ) + return rows + + +def failing(rows: Sequence[Mapping[str, Any]]) -> list[Mapping[str, Any]]: + """Return the rows no suppression covers.""" + return [row for row in rows if row["suppressed_until"] is None] + + +def scan_config(p: ModuleType, workers: int): + services = role_services() + runtime = services["runtime"] + return p.scan_config( + { + "targets": ["container"], + "engines": [*SCANNERS, SBOM_BUILDER], + "severity": runtime["severity"], + "fixed_only": runtime["fixed_only"], + "workers": workers, + "db_update": True, + "trivy_unmatched_os": services["trivy"]["unmatched_os"], + } + ) + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser( + description=( + "Build a Syft SBOM of every pinned role image straight from the GHCR " + "mirror, cached by digest, and scan the SBOM tree with Trivy, Grype " + f"and OSV at the threshold and suppressions of {ROLE}." + ) + ) + parser.add_argument("--cache-dir", required=True, help="SBOM tree and databases") + parser.add_argument( + "--report", required=True, help="JSON file the failing findings go to" + ) + parser.add_argument( + "--workers", required=True, type=int, help="Parallel engine runs" + ) + args = parser.parse_args(argv) + + p = pipeline() + config = scan_config(p, args.workers) + refs = sorted( + iter_role_images(PROJECT_ROOT), key=lambda ref: (ref.role, ref.service) + ) + grouped, sources, errors = resolve_digests( + refs, + lambda image, tag: image_platform_digest( + image, tag, os_name=OS_NAME, architecture=ARCHITECTURE + ), + config.workers, + ) + targets = targets_of(p, grouped) + cache = Path(args.cache_dir).resolve() + (cache / "sbom").mkdir(parents=True, exist_ok=True) + work = Path(tempfile.mkdtemp(prefix="run-", dir=cache)) + try: + layout = p.Layout( + runtime=user_runtime(), + databases=cache / "db", + sbom=cache / "sbom", + work=work, + excludes=(), + ) + findings, scan_errors = scan_tree( + p, targets, sources, config, layout, p.default_runner + ) + p.prune_sboms(layout, targets) + finally: + shutil.rmtree(work) + errors += scan_errors + judged = p.verdicts( + findings, + {target.key: target for target in targets}, + config, + suppressions_of(p, [ref.role for ref in refs]), + dt.datetime.now(tz=dt.UTC).date(), + ) + rows = report_rows(judged, sources) + report = Path(args.report) + report.parent.mkdir(parents=True, exist_ok=True) + report.write_text( + json.dumps({"findings": rows, "errors": errors}, indent=2), encoding="utf-8" + ) + for verdict in judged: + line = f"{verdict.where()}: {verdict.detail()}" + print( + f"ℹ️ {line} suppressed until {verdict.rule.until}" + if verdict.suppressed + else f"❌ {line}" + ) + for error in errors: + print(f"❌ {error}") + failures = failing(rows) + print( + f"\n{len(refs)} pinned image(s), {len(targets)} digest(s), " + f"{len(failures)} failing and {len(rows) - len(failures)} suppressed " + f"finding(s), {len(errors)} error(s)" + ) + return 1 if errors else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/cli/contributing/security/summary/__init__.py b/cli/contributing/security/summary/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/cli/contributing/security/summary/__main__.py b/cli/contributing/security/summary/__main__.py new file mode 100755 index 0000000000..3bd7f1b223 --- /dev/null +++ b/cli/contributing/security/summary/__main__.py @@ -0,0 +1,106 @@ +#!/usr/bin/env python3 +from __future__ import annotations + +import argparse +import json +from pathlib import Path +from typing import TYPE_CHECKING, Any + +from utils.cache.files import read_text + +if TYPE_CHECKING: + from collections.abc import Iterable, Mapping + +TOP = 25 + + +def counts(report: Mapping[str, Any]) -> dict[str, Any]: + """Count the failing findings of a ``make test-security`` report. + + Returns: + ``findings``, ``suppressed`` and ``errors`` totals, plus per image and + per CVE the distinct CVEs or images and the failing rows behind them. + """ + images: dict[str, dict[str, set[str] | int]] = {} + cves: dict[str, dict[str, set[str] | int]] = {} + failing = [row for row in report["findings"] if row["suppressed_until"] is None] + for row in failing: + image = images.setdefault(row["image"], {"cves": set(), "findings": 0}) + image["cves"].add(row["id"]) + image["findings"] += 1 + cve = cves.setdefault(row["id"], {"images": set(), "findings": 0}) + cve["images"].add(row["image"]) + cve["findings"] += 1 + return { + "findings": len(failing), + "suppressed": len(report["findings"]) - len(failing), + "errors": len(report["errors"]), + "per_image": { + name: {"cves": len(entry["cves"]), "findings": entry["findings"]} + for name, entry in sorted(images.items()) + }, + "per_cve": { + name: {"images": len(entry["images"]), "findings": entry["findings"]} + for name, entry in sorted(cves.items()) + }, + } + + +def _table( + title: str, rows: Iterable[tuple[str, int, int]], columns: tuple[str, str, str] +) -> list[str]: + lines = [f"### {title}", "", f"| {' | '.join(columns)} |", "|---|---|---|"] + lines.extend(f"| `{name}` | {first} | {second} |" for name, first, second in rows) + return [*lines, ""] + + +def markdown(summary: Mapping[str, Any]) -> str: + """Render :func:`counts` as a job summary, largest first.""" + per_image = sorted( + summary["per_image"].items(), key=lambda item: (-item[1]["cves"], item[0]) + ) + per_cve = sorted( + summary["per_cve"].items(), key=lambda item: (-item[1]["images"], item[0]) + ) + lines = [ + "## 🔬 Vulnerability scan of the mirror", + "", + ( + f"{summary['findings']} failing finding(s) in {len(per_image)} image(s), " + f"{len(per_cve)} CVE(s), {summary['suppressed']} suppressed finding(s), " + f"{summary['errors']} scan error(s)." + ), + "", + ] + lines += _table( + f"Images (top {TOP})", + ((name, entry["cves"], entry["findings"]) for name, entry in per_image[:TOP]), + ("image", "CVEs", "findings"), + ) + lines += _table( + f"CVEs (top {TOP})", + ((name, entry["images"], entry["findings"]) for name, entry in per_cve[:TOP]), + ("CVE", "images", "findings"), + ) + return "\n".join(lines) + + +def main(argv=None) -> int: + parser = argparse.ArgumentParser( + description="Count the findings of a make test-security report per image and per CVE." + ) + parser.add_argument("--report", required=True, help="The make test-security report") + parser.add_argument("--counts", required=True, help="JSON file the counts go to") + parser.add_argument( + "--summary", required=True, help="Markdown file the summary is appended to" + ) + args = parser.parse_args(argv) + summary = counts(json.loads(read_text(args.report))) + Path(args.counts).write_text(json.dumps(summary, indent=2), encoding="utf-8") + with Path(args.summary).open("a", encoding="utf-8") as handle: + handle.write(markdown(summary) + "\n") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/cli/contributing/update/README.md b/cli/contributing/update/README.md index dd6fa1823c..7e8f2f564c 100644 --- a/cli/contributing/update/README.md +++ b/cli/contributing/update/README.md @@ -48,8 +48,15 @@ it. Types: on Docker Hub), `strip: true` removes it again so a pin without the upstream's `v` stays without it. +A pin whose asset is fetched by digest names its companion checksum beside the +type (`checksum_key`, `checksum_url`), see +[checksum.py](../../../utils/update/checksum.py). + A `repository` + `ref` pin that declares a source with `key: ref` is bumped -from that source alone, the repository updater skips it. +from that source alone, the repository updater skips it. A bump to a name the +repository lists as neither branch nor tag +(`git ls-remote refs/heads/ refs/tags/`), or one that +lookup cannot confirm, is withheld and reported on stderr. An `http_regex` source with a `template` fills it with the pattern's named groups instead of taking the first group, for a tag built from several upstream @@ -60,7 +67,7 @@ freeswitch: version: "v1.10.12-v3.0.23" update: type: http_regex - url: https://raw.githubusercontent.com/bigbluebutton/docker/develop/repos/tags + url: https://raw.githubusercontent.com/bigbluebutton/docker/main/repos/tags pattern: 'repos/bigbluebutton (?Pv[0-9.]+)\nrepos/freeswitch (?Pv[0-9.]+)' template: "{freeswitch}-{bbb}" ``` diff --git a/cli/meta/categories/invokable/__init__.py b/cli/meta/categories/invokable/__init__.py index 1798e533ab..681b460135 100644 --- a/cli/meta/categories/invokable/__init__.py +++ b/cli/meta/categories/invokable/__init__.py @@ -1,9 +1,5 @@ from __future__ import annotations -from pathlib import Path - -PROJECT_ROOT: Path = Path(__file__).resolve().parents[4] - -from .command import main # noqa: E402 +from .command import main __all__ = ["main"] diff --git a/cli/meta/categories/invokable/command.py b/cli/meta/categories/invokable/command.py index 506ce4c616..518943850e 100755 --- a/cli/meta/categories/invokable/command.py +++ b/cli/meta/categories/invokable/command.py @@ -21,8 +21,7 @@ from plugins.filter.invokable_paths import ( get_invokable_paths, get_non_invokable_paths, ) - -from . import PROJECT_ROOT +from utils.cache import PROJECT_ROOT def main() -> None: diff --git a/cli/meta/ci/runtime_vulnerabilities.py b/cli/meta/ci/runtime_vulnerabilities.py new file mode 100644 index 0000000000..f505cff499 --- /dev/null +++ b/cli/meta/ci/runtime_vulnerabilities.py @@ -0,0 +1,272 @@ +"""Mirror the hlth-runtime findings of a main run's deploys into GitHub issues.""" + +from __future__ import annotations + +import argparse +import functools +import json +import os +import re +import sys +from pathlib import Path +from typing import TYPE_CHECKING, Any + +from cli.contributing.security.issues.__main__ import ( + GH_FAILURES, + Tracker, + run_gh, + sync, + title, +) +from utils import PROJECT_ROOT +from utils.docker.image.discovery import image_source +from utils.roles.entity.apps import apps_for_entity +from utils.security.engine import ROLE + +if TYPE_CHECKING: + from collections.abc import Callable, Iterator, Sequence + +MAIN_REF = "refs/heads/main" +ARTIFACTS = "rescue-diagnostics-*" +MIRROR_PREFIX_ENV = "INFINITO_GHCR_MIRROR_PREFIX" +UNMANAGED = "unmanaged container " +FINDING = re.compile( + r"(?:❌|⚠️?|ℹ️?) (?P\S+) (?Pcontainer|host) (?P.+?): " + r"(?P\S+) (?P[A-Z]+) (?P.+) (?P\S+) " + r"\((?:fixed in (?P.+)|no fix)\)" + r"(?: suppressed until (?P\d{4}-\d{2}-\d{2}))?$" +) +EVENT_MARK = '{"event": "hlth_runtime.' +EVENT = re.compile(r"\{\"event\": \"hlth_runtime\.(?:target|summary)\".*$") +RUNTIME = Tracker( + label="vulnerability-runtime", + color="D93F0B", + description="hlth-runtime reports a CVE at the threshold on a main deploy", + source=lambda row: f"Runtime: `{row['runtime']}`", + artifact="the `rescue-diagnostics-*` artifacts of the main run", + gone="No main deploy that scanned this target reports a CVE at the threshold any more.", + covers=lambda report, title: title in report["scanned"], +) + + +def host_image(distro: str) -> str: + """Return the stable image field of the host scan of one distro's deploy node.""" + return f"host {distro}" + + +def upstream(label: str, prefix: str) -> str: + """Return the image reference an issue title names for a running image. + + Args: + label: the image name the container runs, + ``[registry/]repository[:tag][@digest]``. + prefix: the GHCR mirror prefix, see ``INFINITO_GHCR_MIRROR_PREFIX``. + + Returns: + A mirror copy as the upstream pull reference the mirror scan titles + its issue with, any other image, such as a local build, as it runs. + """ + name = label.split("@", 1)[0] + mirrored = re.fullmatch( + rf"ghcr\.io/[^/]+/[^/]+/{re.escape(prefix)}/(?P.+)", name + ) + if mirrored is None: + return name + repository, separator, tag = mirrored["upstream"].rpartition(":") + if not separator or "/" in tag: + return mirrored["upstream"] + return image_source(repository, tag) + + +@functools.cache +def roles_of(stack: str) -> str | None: + """Return the roles of a compose project or swarm stack, comma-joined.""" + return ",".join(apps_for_entity(stack, roles_dir=PROJECT_ROOT / "roles")) or None + + +def row(found: re.Match, distro: str, prefix: str) -> dict[str, Any]: + """Return one finding line as an issue row.""" + engine = found["engine"] + if found["kind"] == "host": + image = runtime = host_image(distro) + role, service = ROLE, engine + else: + scope = found["scope"] + if scope.startswith(UNMANAGED): + role, service, label = None, None, scope.removeprefix(UNMANAGED) + else: + owner, label = scope.split(" ", 1) + stack, service = owner.split("/", 1) + role = roles_of(stack) + image, runtime = upstream(label, prefix), label.split("@", 1)[0] + return { + "engine": engine, + "role": role, + "service": service, + "image": image, + "runtime": runtime, + "id": found["id"], + "severity": found["severity"], + "package": found["package"], + "installed": found["installed"], + "fixed": found["fixed"] or "", + "suppressed_until": found["until"], + } + + +def target_image(event: dict[str, Any], distro: str, prefix: str) -> str: + """Return the image field of the target one ``hlth_runtime.target`` event names.""" + if event["kind"] == "host": + return host_image(distro) + return upstream(event["image"].rsplit("@", 1)[0], prefix) + + +def journals(artifact: Path) -> Iterator[tuple[str, Path]]: + """Yield ``(distro, journal)`` for every journal one artifact holds.""" + for path in sorted(artifact.rglob("*journal.txt")): + parts = path.relative_to(artifact).parts + if len(parts) > 1 and ( + path.name == "journal.txt" or path.name.endswith(".journal.txt") + ): + yield parts[0], path + + +def read_journal( + path: Path, distro: str, prefix: str +) -> tuple[list[dict[str, Any]], set[str], int]: + """Read the hlth-runtime lines of one journal. + + Returns: + ``(rows, titles, errors)``: one row per finding line, the issue + title of every target an event names, and the engine errors the + summary events count plus every event line that does not parse. + """ + rows: list[dict[str, Any]] = [] + seen: set[str] = set() + failed = 0 + with path.open(encoding="utf-8", errors="replace") as handle: + for line in handle: + text = line.rstrip("\n") + if "(fixed in " in text or "(no fix)" in text: + found = FINDING.search(text) + if found is not None: + rows.append(row(found, distro, prefix)) + continue + event = EVENT.search(text) if EVENT_MARK in text else None + if event is None: + continue + try: + data = json.loads(event.group(0)) + except json.JSONDecodeError: + failed += 1 + continue + if data["event"] == "hlth_runtime.summary": + failed += data["errors"] + else: + seen.add(title({"image": target_image(data, distro, prefix)})) + return rows, seen, failed + + +def collect(root: Path, prefix: str) -> dict[str, Any]: + """Read every rescue artifact below *root* into one issue report. + + Args: + root: holds one directory per downloaded artifact. + prefix: the GHCR mirror prefix. + + Returns: + ``findings``: one row per distinct finding; ``errors``: one line per + journal whose check runs reported engine errors or an unreadable + event; ``scanned``: the issue titles of every target a journal + without such an error scanned, the only issues an absent finding + may close. + """ + rows: dict[tuple, dict[str, Any]] = {} + scanned: set[str] = set() + blocked: set[str] = set() + errors: list[str] = [] + for artifact in sorted(path for path in root.iterdir() if path.is_dir()): + for distro, path in journals(artifact): + found, seen, failed = read_journal(path, distro, prefix) + rows.update((tuple(sorted(item.items())), item) for item in found) + (blocked if failed else scanned).update(seen) + if failed: + errors.append(f"{path.relative_to(root)}: {failed} engine error(s)") + return { + "findings": [rows[key] for key in sorted(rows, key=str)], + "errors": errors, + "scanned": sorted(scanned - blocked), + } + + +def report( + *, + run_id: str, + repo: str, + ref: str, + dest: Path, + prefix: str, + gh: Callable[[Sequence[str]], str], +) -> list[str]: + """Sync the runtime vulnerability issues of one main run. + + Args: + run_id: the workflow run whose deploys are reported. + repo: ``owner/name``. + ref: the ref the run built; anything but ``refs/heads/main`` files + nothing. + dest: where the rescue artifacts are downloaded. + prefix: the GHCR mirror prefix. + gh: runs ``gh`` with the given arguments and returns its stdout. + + Returns: + What was done, one line per action; a ``failed`` line when the + download failed, which then syncs nothing. + """ + if ref != MAIN_REF: + return [f"skipped: {ref} is not {MAIN_REF}, no issue is filed"] + try: + gh( + [ + "run", + "download", + run_id, + "--repo", + repo, + "--pattern", + ARTIFACTS, + "-D", + str(dest), + ] + ) + except GH_FAILURES as exc: + return [f"failed downloading the {ARTIFACTS} artifacts of {run_id}: {exc}"] + found = collect(dest, prefix) + errors = [f"error {line}" for line in found["errors"]] + return [*errors, *sync(found, repo, gh, RUNTIME)] + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser( + description="Mirror the hlth-runtime findings of a main run into GitHub issues." + ) + parser.add_argument("--run-id", required=True) + parser.add_argument("--repo", required=True, help="owner/name") + parser.add_argument("--ref", required=True, help="The ref the run built") + parser.add_argument("--dir", required=True, help="Download directory") + args = parser.parse_args(argv) + lines = report( + run_id=args.run_id, + repo=args.repo, + ref=args.ref, + dest=Path(args.dir), + prefix=os.environ[MIRROR_PREFIX_ENV], + gh=run_gh, + ) + for line in lines: + print(line) + return 1 if any(line.startswith("failed ") for line in lines) else 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/cli/meta/ci/validate.py b/cli/meta/ci/validate.py index 1bdbb60715..1c4a8ba51a 100644 --- a/cli/meta/ci/validate.py +++ b/cli/meta/ci/validate.py @@ -149,6 +149,9 @@ def problems( continue deployed = matrix.with_deployed_services(discovered[(pin.app, variant)]) try: + row_architectures = axes.row_architectures( + pin.app, architectures, deployed["services"] + ) axes.check_pins( pin.app, "" if variant is None else str(variant), @@ -164,8 +167,9 @@ def problems( vpn_mode=vpn_mode, distros=distros, filesystems=filesystems, - architectures=axes.row_architectures( - pin.app, architectures, deployed["services"] + architectures=row_architectures, + pairs=axes.row_pairs( + pin.app, distros, row_architectures, deployed["services"] ), ) except SystemExit as refusal: diff --git a/cli/meta/roles/applications/complexity/graph.py b/cli/meta/roles/applications/complexity/graph.py index 747586d4ee..b1c1bc3b11 100644 --- a/cli/meta/roles/applications/complexity/graph.py +++ b/cli/meta/roles/applications/complexity/graph.py @@ -10,7 +10,6 @@ from utils.roles.applications.services.registry import ( build_service_registry_from_roles_dir, is_explicit_truth, ) -from utils.roles.deploy import role_has_stack # noqa: F401 - re-exported for callers from utils.roles.mapping import ROLE_FILE_META_SERVICES, ROLE_FILE_VARS_MAIN if TYPE_CHECKING: diff --git a/cli/meta/roles/applications/complexity/model.py b/cli/meta/roles/applications/complexity/model.py index f7d05c27f7..86e3752c07 100644 --- a/cli/meta/roles/applications/complexity/model.py +++ b/cli/meta/roles/applications/complexity/model.py @@ -9,7 +9,7 @@ from typing import TYPE_CHECKING, Any, NamedTuple from utils.cache.applications import get_variants from utils.env.parser import env_setting -from utils.roles.deploy import role_deploy_modes +from utils.roles.deploy import role_deploy_modes, role_has_stack from utils.roles.lifecycle import tested_lifecycles from utils.roles.meta_lookup import ( MetaServicesShapeError, @@ -23,7 +23,6 @@ from .graph import ( direct_dep_roles, is_application_role, resolve_transitively, - role_has_stack, truth_predicate, ) diff --git a/compose.yml b/compose.yml index 1d15c923ae..69ed6243ff 100644 --- a/compose.yml +++ b/compose.yml @@ -26,6 +26,7 @@ services: dockerfile: Dockerfile args: INFINITO_PARENT_IMAGE: ${INFINITO_PARENT_IMAGE:?Run 'make dotenv' to generate the .env single source of truth} + INFINITO_LINT_RUNNER: ${INFINITO_LINT_RUNNER:?Run 'make dotenv' to generate the .env single source of truth} INFINITO_SRC_DIR: ${INFINITO_SRC_DIR:?Run 'make dotenv' to generate the .env single source of truth} INFINITO_PACKAGE_INSTALL_SCRIPT: ${INFINITO_PACKAGE_INSTALL_SCRIPT:?Run 'make dotenv' to generate the .env single source of truth} INFINITO_PYTHON_INSTALL_SCRIPT: ${INFINITO_PYTHON_INSTALL_SCRIPT:?Run 'make dotenv' to generate the .env single source of truth} @@ -69,6 +70,12 @@ services: single source of truth} - infinito:${INFINITO_DIR_VAR_LIB:?Run 'make dotenv' to generate the .env single source of truth}/ - letsencrypt:/etc/letsencrypt/ + - type: bind + source: ${INFINITO_VULNERABILITY_DB_HOST_PATH:?Run 'make dotenv' to generate the .env single source of truth} + target: ${INFINITO_VULNERABILITY_DB_DIR:?Run 'make dotenv' to generate the .env single source of truth} + read_only: true + bind: + create_host_path: true environment: INFINITO_API_ANTHROPIC_KEY: ${INFINITO_API_ANTHROPIC_KEY} diff --git a/compose/cache.override.yml b/compose/cache.override.yml index 8b0a8ed38b..db15f435a8 100644 --- a/compose/cache.override.yml +++ b/compose/cache.override.yml @@ -8,6 +8,7 @@ services: container_name: infinito-registry-cache environment: ENABLE_MANIFEST_CACHE: "true" + MANIFEST_CACHE_SECONDARY_TIME: "24h" AUTH_REGISTRIES: ${INFINITO_CACHE_REGISTRY_AUTH} REGISTRIES: ${INFINITO_CACHE_REGISTRIES:?Run 'make dotenv' to generate the .env single source of truth} CACHE_MAX_SIZE: "${INFINITO_CACHE_REGISTRY_MAX_SIZE:?Run 'make dotenv' to generate the .env single source of truth}" diff --git a/compose/swarm/compose.yml b/compose/swarm/compose.yml index 86b26d8d76..805c8d44c1 100644 --- a/compose/swarm/compose.yml +++ b/compose/swarm/compose.yml @@ -20,6 +20,13 @@ x-node: &node volumes: - /sys/fs/cgroup:/sys/fs/cgroup:rw - /lib/modules:/lib/modules:ro + - &vulnerability-db + type: bind + source: ${INFINITO_VULNERABILITY_DB_HOST_PATH:?run make dotenv first} + target: ${INFINITO_VULNERABILITY_DB_DIR:?run make dotenv first} + read_only: true + bind: + create_host_path: true extra_hosts: - "${MGR:?run utils/topology/export.sh first}:${INFINITO_SWARM_MGR_IP:?run utils/topology/export.sh first}" - "${WRK1:?run utils/topology/export.sh first}:${INFINITO_SWARM_WRK1_IP:?run utils/topology/export.sh first}" @@ -35,6 +42,7 @@ services: volumes: - /sys/fs/cgroup:/sys/fs/cgroup:rw - /lib/modules:/lib/modules:ro + - *vulnerability-db - "nfs-export:${NFS_EXPORT_BASE:?run utils/topology/export.sh first}" networks: lab: diff --git a/compose/swarm/playbook.yml b/compose/swarm/playbook.yml index 7a6846194d..a05c625eaa 100644 --- a/compose/swarm/playbook.yml +++ b/compose/swarm/playbook.yml @@ -188,7 +188,7 @@ when: lab_dns_node - name: pack the repo once on the controller - command: tar -C {{ lab_repo_root }} -cf {{ lab_runner_temp }}/infinito-src.tar . + command: tar -C {{ lab_repo_root }} --exclude=./build/vulnerability-db -cf {{ lab_runner_temp }}/infinito-src.tar . timeout: 300 delegate_to: localhost run_once: true diff --git a/default.env b/default.env index bcf3451b4e..9bf1183b89 100644 --- a/default.env +++ b/default.env @@ -37,6 +37,9 @@ INFINITO_APP_VARIANTS= # Ubuntu mirrors in failover order for image apt; the package-cache takes the first as primary, the second as fallback. INFINITO_APT_UBUNTU_MIRRORS="http://de.archive.ubuntu.com/ubuntu/ http://ftp.halifax.rwth-aachen.de/ubuntu/ http://archive.ubuntu.com/ubuntu/" +# Ubuntu ports mirrors (arm64) in failover order for image apt; ports.ubuntu.com is the only ports host the archive mirrors do not carry. +INFINITO_APT_UBUNTU_PORTS_MIRRORS="http://ports.ubuntu.com/ubuntu-ports/ http://ftp.tu-chemnitz.de/pub/linux/ubuntu-ports/ http://mirrors.dotsrc.org/ubuntu-ports/" + # The CPU architecture the deploy matrix assigned one row; empty draws from INFINITO_ARCHITECTURES. INFINITO_ARCHITECTURE= @@ -55,6 +58,9 @@ INFINITO_BUILD=1 # `1` keeps BuildKit on (default); `0` forces the compose wrapper to use the legacy builder. INFINITO_BUILDKIT_ENABLED=1 +# Cap of the host Docker build cache; every image build ends with a builder prune that keeps at most this much. +INFINITO_BUILD_CACHE_MAX_SIZE=20g + # Pacman cache an arch stack mounts read-only at the same path; from pacman-conf on a host whose os-release ID is arch, else empty. INFINITO_CACHE_HOST_PACMAN_PATH= @@ -274,7 +280,7 @@ INFINITO_LIMIT_HOST=localhost # Git ref whose merge-base with HEAD bounds local file lints to the files changed since; empty, a missing ref or CI lints every file. INFINITO_LINT_DIFF_BASE=origin/main -# Where scripts/lint/wrapper.sh executes 'make lint*' / 'make autoformat': host | docker. +# Where scripts/lint/wrapper.sh executes 'make lint*' / 'make autoformat': host | docker (also bakes the lint tools); GHA/act default host. INFINITO_LINT_RUNNER=docker # Public FQDN of a reachable mail server; when set, the provider asserts its live DNS/TLS/SMTP hard facts. Empty disables the check. @@ -446,6 +452,15 @@ INFINITO_VENV_DIR=/opt/venvs/infinito # WireGuard axis of the CI deploy matrix: auto rotates the mesh over the swarm rows, enforced meshes all, disabled meshes none. INFINITO_VPN=auto +# Where the dev and CI stacks see the vulnerability databases, mounted read-only. +INFINITO_VULNERABILITY_DB_DIR=/opt/vulnerability-db + +# Host directory every local stack shares for the vulnerability databases. +INFINITO_VULNERABILITY_DB_HOST_PATH=/var/cache/infinito/core/cache/vulnerability-db + +# Engine (trivy, grype, osv) a CI row pins, with its databases provided; empty draws one and refreshes the shared databases. +INFINITO_VULNERABILITY_ENGINE= + # Seconds 'make up' waits for the infinito container healthcheck before failing. INFINITO_WAIT_HEALTH_TIMEOUT_S=600 diff --git a/docs/administration/deploy.md b/docs/administration/deploy.md index 07a13a237f..9ebdc92681 100644 --- a/docs/administration/deploy.md +++ b/docs/administration/deploy.md @@ -75,6 +75,14 @@ make roles-clean A pull stages every role outside `roles/` and changes `roles/` only when all of them passed, so a refused pull leaves it as it was. It replaces or removes only the directories it placed itself, whose marker names them, and refuses a declared name that meets a symbolic link, a hand-placed directory or a copy of a placed role. `make roles-clean` removes every `roles/web-app-cst-*` directory the pull placed and reports every other one it leaves in place. Git ignores `roles/web-app-cst-*`, so a pulled role never enters a core commit. +The pull also records the version the source repository declares at the pinned commit, or in a local checkout: `Cargo.toml`, else `pyproject.toml`, else `package.json`. A role pins the images its own repository publishes with it, so no release has to bump them by hand: + +```yaml +security-check: + image: ghcr.io/infinito-nexus/security/web + version: "{{ lookup('role_version', 'web-app-cst-security-check') }}" +``` + For the local compose stack, `INFINITO_EXTRA_MOUNTS=[,]` mounts each directory read-only at the same path into the `infinito` container, so a local `url` resolves inside it. ### Private Repositories 🔐 diff --git a/docs/architecture/decisions/0002-ci-architecture-axis.md b/docs/architecture/decisions/0002-ci-architecture-axis.md index 2ab4c8dba9..50a90c2381 100644 --- a/docs/architecture/decisions/0002-ci-architecture-axis.md +++ b/docs/architecture/decisions/0002-ci-architecture-axis.md @@ -61,6 +61,13 @@ machine, not just a value the job applies to itself. role the deploy planner brings up for that variant, because the deploy pulls those in too; an empty intersection aborts the matrix. +- **A package may narrow one distro and architecture pair.** A distro entry in + `meta/packages.yml` may declare `architectures` when its source publishes + nothing elsewhere, such as a Flathub app shipped for x86_64 only. The row + keeps both architectures; a draw of the unpublished pair moves to another + architecture of the same distro, a pin naming it aborts the matrix, and + `package_install` refuses it by name on a host before any module runs. + - **CI images are built natively per architecture and published as one tag per distro.** Each architecture builds on its own runner, and [push.sh](../../../scripts/image/push.sh) pushes the result by digest only, so diff --git a/docs/contributing/actions/testing.md b/docs/contributing/actions/testing.md index 43ba22150d..cb9b8dc639 100644 --- a/docs/contributing/actions/testing.md +++ b/docs/contributing/actions/testing.md @@ -25,6 +25,7 @@ Use the following table to choose the right lint, syntax, unit, integration, or | Unit tests | `make test-unit` | Runs the unit test suite. | Use this when you changed Python logic or other isolated code paths. | | Integration tests | `make test-integration` | Runs the integration test suite. | Use this when your change affects behavior across modules or runtime boundaries. | | External tests | `make test-external` | Runs opt-in tests that depend on live third-party systems such as public registries. | Use this when you need live external verification. It is intentionally excluded from `make test`. | +| Security tests | `make test-security` | Builds a Syft SBOM of every pinned role image from the GHCR mirror and scans it with Trivy, Grype and OSV at the threshold of `sys-ctl-hlth-runtime`. | Use this when you bump or add an image pin. It is excluded from `make test` and runs daily in `cron-images-mirror-all.yml`. | | Combined validation | `make test` | Runs the main combined validation flow without the opt-in external suite. | Use this whenever a change touches at least one file that is not `.md` or `.rst`, or before opening a Pull Request. | ## Local Deploy and End-to-End Checks 🚀 diff --git a/docs/contributing/actions/testing/suppression.md b/docs/contributing/actions/testing/suppression.md index 5a46f36401..d43c429589 100644 --- a/docs/contributing/actions/testing/suppression.md +++ b/docs/contributing/actions/testing/suppression.md @@ -44,19 +44,26 @@ The placement rule is per check. The catalog "Position" column uses these labels | Rule | Position | Affected test | Effect | | --------------------------- | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `url` | same or above, `entry block` in `.po` | [test_urls_reachable.py](../../../../tests/external/repository/test_urls_reachable.py) | Skips probing the literal HTTP(S) URL. Use for CDN roots and API base URLs that 4xx without a path. | +| `url` | same or above, `entry block` in `.po` | [test_urls_reachable.py](../../../../tests/external/repository/test_urls_reachable.py) | Skips probing the literal HTTP(S) URL. Use for CDN roots and API base URLs that 4xx without a path. A `.po` catalog is generated from the sources and cannot carry their markers, so a catalog occurrence of a URL is skipped too when a line outside the catalogs suppresses it. | | `onion-flag` | same or above | [test_onion_port_flag.py](../../../../tests/lint/ansible/services/test_onion_port_flag.py) | Accepts a `false` under `ports.onion`. The marker MUST carry a reason naming why that port stays off the node onion; a bare marker is rejected. | | `network-reachability` | same or above | [test_network_reachability.py](../../../../tests/lint/ansible/roles/meta/test_network_reachability.py) | Accepts `reachability.single_mode: true`, `reachability.handover: true`, or a `reachability.modes` list below every network, in `meta/networks.yml`. The marker MUST carry a reason naming why the role is not served on every network; a bare marker is rejected. | | `inventory-open-subtree` | same line, or a comment line directly above the key | [applications.py](../../../../cli/administration/inventory/validate/applications.py), [test_inventory_open_subtree.py](../../../../tests/lint/ansible/services/test_inventory_open_subtree.py) | Lets the inventory validator accept any child key the inventory sets under the marked `meta/services.yml` mapping key; every other key stays checked against the role defaults. The marker MUST carry a reason of at least 10 characters; a bare marker, a marker on a scalar, inside a list or on no key opens nothing and is rejected by the lint. The role MUST validate the opened values itself at deploy time. | | `docker-version` | same or above | [test_image_versions.py](../../../../tests/external/update/docker/test_image_versions.py), [test_semver_pinning.py](../../../../tests/lint/ansible/services/test_semver_pinning.py) | Skips both the live version-update warning and the non-semver-pin lint for that image's `version:` key. | | `repository-version` | same or above | [test_repository_versions.py](../../../../tests/external/update/repository/test_repository_versions.py), [test_semver_pinning.py](../../../../tests/lint/ansible/services/test_semver_pinning.py) | Skips both the live ref-update warning and the non-semver-pin lint for that entity's `ref:` key. | | `version-source` | same or above | [test_version_sources.py](../../../../tests/external/update/source/test_version_sources.py) | Skips the live update warning for a pin that declares its upstream in an `update:` block. | +| `cve` | line above | [test_cve_suppressions.py](../../../../tests/lint/ansible/services/test_cve_suppressions.py), [script.py](../../../../roles/sys-ctl-hlth-runtime/files/python/script.py) | Accepts one `.security.suppressions` entry plus `until: YYYY-MM-DD` in the owning role's `meta/services.yml`: `id: CVE-YYYY-NNNN` accepts that CVE, `image_tag` every finding of the service's image while it runs that tag, and the tag MUST equal the service's `version`; the image updater drops it when it moves the service to another version. The marker MUST carry the reason, and the vulnerability scan of `sys-ctl-hlth-runtime` and `make test-security` skip the entry's findings for that role's service until the date passes. Suppressions are temporary: `until` MUST NOT lie after 2026-11-30, and the lint fails on a later day and on every entry whose day has passed. An unsuppressed CRITICAL fails the check by default and in production, while a development or CI deploy only warns on it through the development inventory. Host suppressions are the `id` entries under the engine entries of `sys-ctl-hlth-runtime`; an `image_tag` entry there covers the engine's own image. | | `unwatched-version` | same or above | [test_version_pins_are_watched.py](../../../../tests/lint/repository/test_version_pins_are_watched.py) | Accepts a semver pin that no updater bumps. The marker MUST carry a reason naming why the version stays where it is. | | `dockerfile-arg-default` | same or above | [test_arg_without_default.py](../../../../tests/lint/docker/dockerfile/test_arg_without_default.py) | Allows the marked `ARG` to carry a default. The caller normally supplies every build argument so a missing one fails the build instead of selecting a base image nobody chose. | | `dockerfile-pip-pin` | same or above | [test_pip_no_version_pins.py](../../../../tests/lint/docker/dockerfile/test_pip_no_version_pins.py) | Allows a role Dockerfile to pin an exact version inside a `pip install`. The pin normally lives in a `requirements.txt` or `pyproject.toml` under the role's `files/` and is installed with `pip install -r`, so dependabot's `pip` ecosystem can raise it. | | `debian-codename` | same or above | [test_no_debian_codename_tags.py](../../../../tests/lint/repository/test_no_debian_codename_tags.py) | Allows an image reference whose tag names a Debian release by codename. Reserved for an upstream that publishes no numeric tag; the marker MUST name which upstream, because a codename pin can never be raised by the updater. | | `direct-yaml` | same line / span | [test_no_direct_calls.py](../../../../tests/lint/repository/yaml/test_no_direct_calls.py) | Allows the marked `yaml.safe_load` / `safe_dump` call to bypass `utils.cache.yaml`. MUST use `nocheck:`, not `noqa:`. | | `curl-timeout` | same or above | [test_curl_via_filter.py](../../../../tests/lint/repository/test_curl_via_filter.py) | Allows a bare curl invocation without the `curl` filter or inline `--max-time`. | +| `import-and-import-from` | same or above | [test_import_and_import_from.py](../../../../tests/lint/repository/python/test_import_and_import_from.py) | Allows an `import m` in a file that also imports `from m`. Default path: keep one form. The marker MUST name why both are needed. | +| `unused-import` | same or above | [test_unused_imports_hidden_from_ruff.py](../../../../tests/lint/repository/python/test_unused_imports_hidden_from_ruff.py) | Allows a module-level import that nothing reads although it carries a redundant `as` alias or `# noqa: F401`. Reserved for an import kept for its side effect; the marker MUST name the effect. | +| `unused-global` | same or above | [test_unused_global_variables.py](../../../../tests/lint/repository/python/test_unused_global_variables.py) | Allows a module-level variable its module never reads and does not export. Reserved for a name other modules import that `__all__` must not publish. | +| `empty-except` | same or above | [test_empty_except.py](../../../../tests/lint/repository/python/test_empty_except.py) | Allows an `except` clause that only passes. Default path: `contextlib.suppress()`. | +| `unused-local` | same or above | [test_unused_local_variables.py](../../../../tests/lint/repository/python/test_unused_local_variables.py) | Allows an underscore-named local that nothing reads, such as a keepalive binding. | +| `mixed-tuple-returns` | same or above the `def` line | [test_mixed_tuple_returns.py](../../../../tests/lint/repository/python/test_mixed_tuple_returns.py) | Allows an unannotated function to return tuple literals of several sizes, such as `return ()` beside a pair. Default path: annotate `-> tuple[T, ...]`. | | `redundant-bool-ternary` | same line | [test_no_redundant_bool_patterns.py](../../../../tests/lint/filesystem/python/test_no_redundant_bool_patterns.py) | Allows the redundant `\| bool \| ternary('true','false')` pattern when a consumer requires the lowercase tokens. | | `redundant-bool-comparison` | same line | [test_no_redundant_bool_patterns.py](../../../../tests/lint/filesystem/python/test_no_redundant_bool_patterns.py) | Allows `... \| bool == True/False/true/false` when a real tri-state guard is intended (distinguishing `None` from `False`). | | `shared` | comment block above | [test_service_shared_consistency.py](../../../../tests/lint/ansible/services/test_service_shared_consistency.py) | Marks a service whose `enabled: true` does not require `shared: true`. | @@ -65,6 +72,7 @@ The placement rule is per check. The catalog "Position" column uses these labels | `dashboard` | line above | [test_logout_dashboard.py](../../../../tests/lint/ansible/roles/web-app/integration/test_logout_dashboard.py) | Opts a `web-app-*` role out of the dashboard tile integration. Same shape as `logout`. | | `sso` | line above | [test_sso.py](../../../../tests/lint/ansible/roles/web-app/integration/test_sso.py) | Opts the role's unified `services.sso` block out. Declares "no login flow"; paired with `enabled: false` + `shared: false`. | | `file-size` | head (first 30 lines) | [test_python_file_size.py](../../../../tests/lint/repository/structure/test_python_file_size.py) | Opts the entire `.py` file out of the 500-line cap. | +| `lookup-external-consumer` | head of the lookup plugin (first 30 lines) | [test_usage.py](../../../../tests/integration/ansible/lookups/test_usage.py) | Accepts a `plugins/lookup/` plugin that nothing in this repository calls outside `tests/`, because its callers are custom roles pulled from their own repositories (such as `role_version` for `web-app-cst-*`). Write it as `# nocheck: lookup-external-consumer -- `; a bare marker grants nothing and is reported. | | `comments-valid` | head (first 30 lines) | [test_comments_valid.py](../../../../tests/lint/repository/test_comments_valid.py) | Opts the entire file out of the useful-comment check. Reserved for vendored / upstream config templates (e.g. Discourse `app.yml`) whose inline documentation is all intentional. | | `info-media` | head of `meta/main.yml` (first 30 lines) | [test_info_homepage_video.py](../../../../tests/lint/ansible/roles/meta/test_info_homepage_video.py) | Opts an invokable role out of the required `meta/info.yml` `homepage` + `video` entries. Marker lives in `meta/main.yml` (a comment-only `info.yml` would fail the info schema lint). Reserved for fully self-written roles (backups, host plumbing) that have no upstream product page or demo video. | | `credential-masking` | same or above | [test_credential_tasks_are_masked.py](../../../../tests/lint/ansible/modules/test_credential_tasks_are_masked.py) | Allows the marked task to carry a credential without `no_log` on itself or a parent. Marker goes on or directly above the task's `- name:`. | diff --git a/docs/contributing/artefact/files/compose.yml.md b/docs/contributing/artefact/files/compose.yml.md index 6a9995bc82..4d080cda4a 100644 --- a/docs/contributing/artefact/files/compose.yml.md +++ b/docs/contributing/artefact/files/compose.yml.md @@ -32,6 +32,7 @@ The per-variable default + comment lives next to the key in [default.env](../../ | `INFINITO_IMAGE` | Image reference used by the `infinito` service. Composed at runtime by the env generator on GHA, empty locally so the `build:` block builds from source. | | `INFINITO_BUILD` | `1` builds the `infinito` image from source before `up`; the env generator sets `0` on GHA, where the service runs the published `INFINITO_IMAGE`, unless the job sets it. | | `INFINITO_PULL_POLICY` | Compose `pull_policy`, also exported into the `infinito` container. Defaults to `never` for local builds, generator overrides to `always` on GHA. | +| `INFINITO_LINT_RUNNER` | Build-arg naming the stage the image builds on: `docker` adds the lint toolchain through the cached `lint-docker` layer below `COPY .`, `host` builds on `lint-host` without it. The generator defaults it to `host` on GHA and act unless the job sets it, and CI's [push.sh](../../../../scripts/image/push.sh) passes nothing, so CI images stay without the toolchain. | | `INFINITO_CONTAINER` | Used directly as `container_name`. Derived from `INFINITO_DISTRO` by [container.py](../../../../utils/env/handlers/infinito/container.py). | | `NIX_CONFIG` | Build-arg forwarded to the Dockerfile for Nix configuration. Pass-through if set in the calling shell. | diff --git a/docs/contributing/artefact/files/plugins/lookup/users.md b/docs/contributing/artefact/files/plugins/lookup/users.md index f01371fe64..4bc13b57c9 100644 --- a/docs/contributing/artefact/files/plugins/lookup/users.md +++ b/docs/contributing/artefact/files/plugins/lookup/users.md @@ -109,6 +109,7 @@ platform_administrator: | [users.py](../../../../../../plugins/lookup/users.py) | Runtime entry point for the `users` lookup. | | `utils/cache/users/` | Shared aggregation helper package that builds and caches defaults, handles reserved users, UID/GID allocation, and uniqueness validation. Placeholder substitution (DOMAIN_PRIMARY / ORGANIZATION / SOFTWARE_NAME) lives in [users/placeholders.py](../../../../../../utils/cache/users/placeholders.py), the validation of every `forward` in [users/forwards.py](../../../../../../utils/cache/users/forwards.py). | | [carrier.py](../../../../../../utils/cache/carrier.py) | The play-scoped carrier: fact name, `merged_users_cache_key`, and the reader that serves the carried payload. | +| [tokens.py](../../../../../../utils/cache/tokens.py) | The token store the users are hydrated from: the tokens file, the `sys_token_store_users` fact and the digest both cache keys share. | | [test_users.py](../../../../../../tests/unit/python/plugins/lookup/test_users.py) | Unit tests covering the full-dict, single-entry, override, strict missing, and non-strict missing cases. | For the related applications pattern see [applications.md](applications.md). diff --git a/docs/contributing/design/inventory.md b/docs/contributing/design/inventory.md index e37266dbbf..6cfdcf63e7 100644 --- a/docs/contributing/design/inventory.md +++ b/docs/contributing/design/inventory.md @@ -18,7 +18,7 @@ After stage 3 the inventory is fully variant-resolved on disk. Ansible loads it ## What decides which roles enter the inventory 🎯 -The include set passed to stage 2 is built per round by the matrix planner: [deploy/cli.py](../../../cli/administration/deploy/development/deploy/cli.py) and [init.py](../../../cli/administration/deploy/development/init.py) call `plan_dev_inventory_matrix` in [planner.py](../../../cli/administration/deploy/development/inventory/planner.py), which resolves each round's include via `_resolve_round_include` in [legacy_resolver.py](../../../cli/administration/deploy/development/inventory/legacy_resolver.py) using the [CombinedResolver](../../../cli/meta/roles/applications/resolution/combined/resolver.py) with `follow_run_after=False`. The swarm test path computes its include separately via [derive_includes.py](../../../utils/tests/swarm/derive_includes.py), reading the active variant map from `INFINITO_APP_VARIANTS`. Both expand the selection along two transitive paths: +The include set passed to stage 2 is built per round by the matrix planner: [deploy/cli.py](../../../cli/administration/deploy/development/deploy/cli.py) and [init.py](../../../cli/administration/deploy/development/init.py) call `plan_dev_inventory_matrix` in [planner.py](../../../cli/administration/deploy/development/inventory/planner.py), which resolves each round's include via `_resolve_round_include` in [variants.py](../../../utils/roles/applications/variants.py) using the [CombinedResolver](../../../cli/meta/roles/applications/resolution/combined/resolver.py) with `follow_run_after=False`. The swarm test path computes its include separately via [derive_includes.py](../../../utils/tests/swarm/derive_includes.py), reading the active variant map from `INFINITO_APP_VARIANTS`. Both expand the selection along two transitive paths: 1. **Ansible meta `dependencies:`** from each role's `meta/main.yml`. 2. **Shared-service auto-include** from each role's `meta/services.yml..` block, when both `enabled` AND `shared` pass `is_explicit_truth` in [registry.py](../../../utils/roles/applications/services/registry.py): the literal `True` or the dynamic form `"{{ '' in group_names }}"`. A literal `false` (as baked by a variant override) does NOT qualify. diff --git a/docs/contributing/design/variants.md b/docs/contributing/design/variants.md index e673872453..cddeb21622 100644 --- a/docs/contributing/design/variants.md +++ b/docs/contributing/design/variants.md @@ -62,7 +62,7 @@ Apps without a `meta/variants.yml` file collapse to a single empty overlay in `_ |---|---| | [variants.md](../artefact/files/role/variants.md) | File-structure rules for `roles//meta/variants.yml`. | | [applications.py (cache)](../../../utils/cache/applications.py) | Loader and cache for `_build_variants` (`get_variants` is the public Python entry point). The merged-applications path stays variant-agnostic; variant payloads reach it as inventory-level `applications.` overrides. | -| [inventory/](../../../cli/administration/deploy/development/inventory/__init__.py) | Dev inventory build package. Per-submodule split: [`spec.py`](../../../cli/administration/deploy/development/inventory/spec.py) (`DevInventorySpec`), [`builder.py`](../../../cli/administration/deploy/development/inventory/builder.py) (`build_dev_inventory` variant baking + `build_dev_inventory_matrix` per-round driver), [`planner.py`](../../../cli/administration/deploy/development/inventory/planner.py) (`plan_dev_inventory_matrix` pure planner shared with the deploy wrapper), [`legacy_resolver.py`](../../../cli/administration/deploy/development/inventory/legacy_resolver.py) (`CombinedResolver`-driven include resolution). | +| [inventory/](../../../cli/administration/deploy/development/inventory/__init__.py) | Dev inventory build package. Per-submodule split: [`spec.py`](../../../cli/administration/deploy/development/inventory/spec.py) (`DevInventorySpec`), [`builder.py`](../../../cli/administration/deploy/development/inventory/builder.py) (`build_dev_inventory` variant baking + `build_dev_inventory_matrix` per-round driver), [`planner.py`](../../../cli/administration/deploy/development/inventory/planner.py) (`plan_dev_inventory_matrix` pure planner shared with the deploy wrapper), [`legacy_resolver.py`](../../../cli/administration/deploy/development/inventory/legacy_resolver.py) (orphan pruning after `disable`; the include itself comes from [`variants.py`](../../../utils/roles/applications/variants.py)). | | [init.py](../../../cli/administration/deploy/development/init.py) | Dev CLI entry that drives `build_dev_inventory_matrix` to materialise `-` folders. | | [deploy/cli.py](../../../cli/administration/deploy/development/deploy/cli.py) | Dev CLI entry that re-derives the matrix plan and iterates one deploy per folder, with per-app cleanup between rounds. | | [entity.sh](../../../scripts/tests/deploy/local/purge/entity.sh) | Cleanup script invoked between rounds for every app in the previous round's include set. | diff --git a/docs/contributing/environment/cache.md b/docs/contributing/environment/cache.md index d8bf013bb2..b7846ad5c8 100644 --- a/docs/contributing/environment/cache.md +++ b/docs/contributing/environment/cache.md @@ -162,6 +162,10 @@ The token lives in the untracked `custom.env` and `.env`. `docker compose config Cache state persists under `/var/cache/infinito/core/cache/`. Paths are configurable via the env scripts above. +## Vulnerability Databases 🔬 + +Every development stack and every swarm lab node mounts `INFINITO_VULNERABILITY_DB_HOST_PATH` read-only at `INFINITO_VULNERABILITY_DB_DIR`. A local deploy draws one engine and refreshes that engine's and Grype's database there once a day, under a lock file inside that directory, before the deploy starts; the stacks never download one. An act run binds the directory into its job container at the same path, and a refresh as root hands its files to the directory's owner. A CI deploy job points the variable at the databases it restored from the Actions cache instead. See [sys-ctl-hlth-runtime](../../../roles/sys-ctl-hlth-runtime/README.md). + ## Adding a New Upstream ➕ When a new package manager or upstream needs caching: diff --git a/docs/contributing/tools/agents/claude/sandbox.md b/docs/contributing/tools/agents/claude/sandbox.md index f03562cd90..8bde419ab7 100644 --- a/docs/contributing/tools/agents/claude/sandbox.md +++ b/docs/contributing/tools/agents/claude/sandbox.md @@ -54,10 +54,11 @@ The agent MAY write to the paths listed in `sandbox.filesystem.allowWrite`. All | `~/.cache/pre-commit` | Cache directory used by the [pre-commit](https://pre-commit.com/) framework. Granted because pre-commit hooks run on every commit and need to populate and read this cache; without it, every commit attempt would fail with `Read-only file system`. The cache contains only hook tool installations, no project data. | | `~/.cache/pip` | pip's package cache. Granted because the project's `make install-python` step (transitively invoked by `make test`, which runs as a pre-commit hook) populates this cache; denying it would force every install to redownload from PyPI even when the requirements have not changed. | | `~/.cache/gh` | `gh` CLI's cache directory (HTTP response cache + extension metadata). Granted because every `gh` invocation writes cache entries at startup; denying it would require every `gh` call to be wrapped with an `XDG_CACHE_HOME=/tmp/...` env prefix, which adds a shell shape that falls out of sandbox auto-allow and forces per-subcommand allow entries. Auth tokens are **not** stored here (they live in `~/.config/gh/`, which stays read-only). Persistence trade-off is identical to `~/.cache/pip` / `~/.cache/pre-commit`: cache poisoning, if it occurred, would survive reboots, but API auth is server-side so the blast radius is bounded to wrong-output-to-operator. | -| `~/.venvs` | Project-managed Python virtualenvs (notably `~/.venvs/pkgmgr`, the editable-install target for `infinito-nexus` itself). Required so the pre-commit `make test` hook can refresh the editable install of this repository's Python package without hitting `[Errno 30] Read-only file system`. The directory holds only Python interpreters and packages, no host credentials. | | `~/.local/share/worktrees` | Default parent directory of the branch worktrees created by `make worktree-up`. Granted at the `worktrees` level rather than per repository so the target can create the `//` path it derives from `git remote get-url origin`; without it `mkdir -p` fails with `Read-only file system` before any checkout happens. The directory holds only git checkouts of this repository, no host credentials. | | `~/.ansible` | Ansible's runtime state directory (notably `~/.ansible/tmp/`, where `ansible-galaxy` and other ansible CLIs create per-invocation temp dirs). Required because the pre-commit `make test` flow runs `make install-ansible`, which fails to even initialize the `ansible` Python package without write access here (`DEFAULT_LOCAL_TMP` setup uses `tempfile.mkdtemp` against this path). | +`~/.venvs` is deliberately not writable: `~/.venvs/pkgmgr/bin` is `PATH[0]` for the operator's shells, so a sandboxed command could plant `git`, `python3`, `bash` or `node` there for unsandboxed hooks and shells to execute; gate runs use `env VENV=` virtualenvs under `~/.local/share/worktrees/.venvs`, which the `~/.local/share/worktrees` entry already covers. + Adding entries here widens the agent's effective write scope. New paths SHOULD be justified against the same standard as the existing three (required for normal workflow, no sensitive content, narrow as possible). ## Read Restrictions 🚫 diff --git a/docs/requirements/046-custom-roles.md b/docs/requirements/046-custom-roles.md index 1506dfc159..0567e46cc4 100644 --- a/docs/requirements/046-custom-roles.md +++ b/docs/requirements/046-custom-roles.md @@ -33,6 +33,7 @@ As an operator, I want to declare application roles that live in their own repos - [x] A pull that stops leaves `roles/` unchanged, and no staging or leftover directory of a pull appears under `roles/`. - [x] A declared name that meets a symbolic link under `roles/`, or a directory the pull did not place, stops the run with a message naming it, and the pull never replaces or removes such a directory. - [x] A command lists the placed custom roles with their source and resolved commit, and a `make` target removes every `roles/web-app-cst-*` directory the pull placed and nothing else. +- [x] The pull records the semver the source repository declares at the pinned commit, or in a local checkout, in the role's marker: `[package].version` of `Cargo.toml` (or `[workspace.package].version`), else `[project].version` of `pyproject.toml`, else `version` of `package.json`. `lookup('role_version', 'web-app-cst-')` returns it and fails when the source declares none, so a role pins the images its own repository publishes as `version: "{{ lookup('role_version', 'web-app-cst-') }}"` in `meta/services.yml` and a release never needs a hand-set image version. - [ ] `INFINITO_EXTRA_MOUNTS=[,]` mounts each directory read-only at the same path into the `infinito` container when the stack is created, so a local `source.url` resolves inside the container; an entry that is not an existing absolute directory stops the stack start with an error naming it. - [x] `roles/web-app-cst-*` is ignored by Git in core, so a pulled role never enters a core commit. - [x] The `web-app-cst-` prefix is reserved: a lint fails on an in-tree role whose name starts with it. diff --git a/docs/requirements/070-hlth-runtime-vulnerability-engines.md b/docs/requirements/070-hlth-runtime-vulnerability-engines.md new file mode 100644 index 0000000000..d7a9a272e6 --- /dev/null +++ b/docs/requirements/070-hlth-runtime-vulnerability-engines.md @@ -0,0 +1,46 @@ +# 070 - sys-ctl-hlth-runtime: Vulnerability Engines Instead of Version Floors + +## User Story + +As an operator, I want every node to scan its host and its running container images with Trivy, Grype and OSV-Scanner over a Syft SBOM, so that a real, fixable vulnerability is reported, and the daily mirror scan tracks it as an issue, instead of a deploy failing on a distribution build whose upstream version number looks old. + +Issue: [#1324](https://github.com/infinito-nexus/core/issues/1324). + +## Acceptance Criteria + +- [ ] `HEALTH_RUNTIME_FLOORS`, `floor_violation`, `make security-runtimes`, `cli/contributing/security/runtimes` and `utils/docker/image/runtime.py` are gone, and the `php_hardening` check of `expose_php` and `session.upload_progress.enabled` still runs for every service that mounts `php_hardening`. +- [ ] `roles/sys-ctl-hlth-runtime/meta/services.yml` pins Trivy, Grype, OSV-Scanner and Syft as services with `image` and a semver `version`, so the GHCR mirror copies them. +- [ ] The same file holds the scan configuration: `targets` `[host, container]`, `engines` `[trivy, grype, osv, syft]`, the `severity` mapping `{CRITICAL: fail, HIGH: warn}`, `fixed_only: true`, `workers`, `db_update`, `cache_dir` and `database_dir`, with no default fallback in the role. The script rejects a `severity` list, an empty mapping, an unknown severity and any action other than `fail` or `warn`. +- [ ] The `container` target is the image of every container running on the node, read through the read-only Docker socket; the `host` target is the host root filesystem mounted read-only, without `/proc`, `/sys`, `/dev`, `/run`, `/tmp`, the Docker root, the backups, the NFS export and the vulnerability cache. +- [ ] In swarm every node scans its own containers and its own host. +- [ ] Syft builds one SBOM per target; Grype and OSV-Scanner read that SBOM and Trivy reads the target itself; without `syft` in `engines`, Grype and OSV-Scanner read the target directly. +- [ ] OSV-Scanner reads a CycloneDX copy whose `deb` and `apk` purls name the source package, so `libssl3` is matched as `openssl` and `php8.1-cli` as `php8.1`. +- [ ] A configuration with `osv` and the `host` target but without `syft` is rejected, because OSV-Scanner reads no OS packages of a plain directory. +- [ ] A runtime built from source, such as PHP 8.4.26 in an official `php` image, fails the scan with the CRITICAL CVE-2026-109618 and warns on the HIGH CVE-2026-109619, both fixed in 8.4.27: only Grype sees it, through the CPE of Syft's binary classifier, so with `syft` in `engines` and `grype` not, Grype still scans the binary-classified packages of every SBOM, and a configuration with neither `grype` nor `syft` is rejected. +- [ ] Targets times engines run in parallel, bounded by `workers`; Trivy runs one target at a time and OSV-Scanner reads every SBOM in one run. +- [ ] Each engine's JSON becomes findings of engine, target, image or host, package, installed version, fixed version, vulnerability ids and severity; OSV maps the group's CVSS score to a severity and takes the fixed version from the affected ranges of the same package. +- [ ] An unsuppressed finding whose severity maps to `fail` is a `❌` line naming engine, target and CVE and fails `sys-ctl-hlth-runtime.service`, the deploy through `sys-service-terminator` and the OnFailure alert; one that maps to `warn` is a `⚠️` line and does not fail the service; a suppressed one is an `ℹ️` line. Production keeps the shipped mapping. The development inventory that `INFINITO_INVENTORY_VARS_FILE` names, which every CI and local development deploy provisions, maps `CRITICAL` to `warn` under `applications.sys-ctl-hlth-runtime.services.runtime.severity`, so there a CRITICAL finding is a `⚠️` line and a `warn` record, fails neither the service nor the deploy, and reaches a `vulnerability` issue through the daily mirror scan below; no deploy variant overrides the mapping. An engine error, a missing database or a PHP hardening violation fails the service too. The daily `scan` job of `cron-images-mirror-all.yml` reports every unsuppressed mapped finding, `fail` and `warn` alike, as a `vulnerability` issue and fails only on an engine or mirror error. +- [ ] Every finding at the threshold becomes one record per owner with `run_id`, `timestamp` (RFC 3339, UTC), `host`, `environment`, `target`, `kind`, `image` (`@` for a container, the host name for the host), `scanner`, `id`, `severity`, `package`, `installed_version`, `fixed_version`, `suppressed`, `suppressed_until` and `verdict` (`fail`, `warn` or `suppressed`), and the four outputs below are built from these records. +- [ ] `report.json` in `DIR_HEALTH_RUNTIME_REPORT` (`/var/lib/infinito/hlth-runtime`) holds the summary and the records of the last run and is replaced atomically. +- [ ] `findings.jsonl` in `DIR_HEALTH_RUNTIME_LOG` (`/var/log/infinito/hlth-runtime`) gets one JSON line per record on every run, appended; the role installs logrotate and a drop-in that rotates it weekly, keeps 12 compressed generations and skips a missing or empty file. +- [ ] The journal gets one prefix-free JSON line per target, `{"event": "hlth_runtime.target", "run_id", "target", "kind", "image", "counts": {"fail", "warn", "suppressed"}, "verdict": "fail|warn|ok"}`, and last `{"event": "hlth_runtime.summary", "run_id", "counts", "errors", "verdict"}`, next to the human-readable lines. +- [ ] While `web-app-prometheus` is deployed, the role passes `--metrics-file` and the check replaces `infinito_hlth_runtime.prom` in `DIR_METRICS_TEXTFILE` atomically with `infinito_hlth_runtime_findings{target,kind,image,severity,scanner,verdict}` (a count, no CVE label), `infinito_hlth_runtime_last_run_timestamp_seconds`, `infinito_hlth_runtime_last_run_success` (1 when the run did not fail) and `infinito_hlth_runtime_scanner_errors{scanner}`, each with `# HELP` and `# TYPE` and escaped label values; without the flag no textfile is written. +- [ ] A database refresh or a provided database that is missing fails the service loudly, and OSV-Scanner reporting no database for an ecosystem is an error. +- [ ] The timer runs daily at 00:00 UTC and the deploy-time run stays. +- [ ] A suppression is `services..security.suppressions` of the owning role, each entry either `id: CVE-YYYY-NNNN` or a quoted `image_tag`, plus `until: YYYY-MM-DD`, with a `# nocheck: cve ` marker directly above it. +- [ ] An `id` entry suppresses that CVE; an `image_tag` entry suppresses every finding of the service's container while the scanned image runs that tag, and a container running any other tag is judged unsuppressed. The Docker image updater removes a service's `image_tag` entries, with their markers, when it moves that service to another version. +- [ ] A role's suppressions apply only to the containers of its own stack or compose project and service; host suppressions are the `id` entries under the engine entries of `sys-ctl-hlth-runtime` and apply to that engine's host findings, while an `image_tag` entry there covers the engine's own image. +- [ ] `docs/contributing/actions/testing/suppression.md` lists the `cve` rule. +- [ ] The lint under `tests/lint/` rejects a marker without a reason, a malformed id, an entry with both or neither of `id` and `image_tag`, an `image_tag` that differs from the service's `version`, a missing or past `until`, an `until` after 2026-11-30 and an entry without a marker. +- [ ] Each CI deploy job draws one engine (trivy, grype or osv) by rotation; its job name carries 🔺, 🍇 or 🐙, the axis glyph is 🔬, and `utils/symbol_glossary.py` registers all four. +- [ ] A CI deploy pins `engines` to `[syft, ]`, reads provided databases and never downloads one; the `vulnerability-db` job of `call-test-deploy.yml` downloads the Trivy, Grype and OSV databases once per day into the Actions cache, every deploy job restores the Grype database plus the drawn engine's, and a missing one fails the job. +- [ ] A local development deploy (`make compose-deploy`, swarm through act or `make swarm-zombie`) draws one engine at random, runs it behind Syft plus the Grype runtime pass, refreshes the databases it reads once in the shared host directory `INFINITO_VULNERABILITY_DB_HOST_PATH`, and every stack and swarm node reads that directory read-only at `INFINITO_VULNERABILITY_DB_DIR`; no stack and no node downloads a database. +- [ ] Production hosts run every engine of the list and refresh their databases daily in their own cache. +- [ ] The deploy-time run fails on its first failure: `sys-service-terminator` does not retry a unit that sets `system_service_run_once`, and only the database refresh inside the scan is retried, three attempts 30 s apart. +- [ ] The threshold is strict from the first run: in production a CRITICAL with a fix fails the check and a HIGH with a fix warns, a development or CI deploy warns on both, and the daily mirror scan tracks both as `vulnerability` issues. +- [ ] `make test-security` builds a Syft SBOM of every pinned image of all roles straight from the GHCR mirror refs, cached by image digest, and scans that SBOM tree with Trivy, Grype and OSV at the same threshold and suppressions; it is not part of `make test`, and the alias `i8seru` runs it. +- [ ] The `scan` job of `cron-images-mirror-all.yml` runs after `sync`, runs `make test-security`, keeps exactly one open `vulnerability` issue per image that lists its CVEs (unsuppressed first, then CRITICAL first, suppressed ones with their `suppressed_until` day so the issue stays open while a suppression runs, capped below GitHub's body limit with a pointer to the artifact) and closes any further open one as a duplicate, comments the still unresolved CVEs into it and updates its body whenever the image's CVE table changed, leaves it alone while the table is unchanged, closes it once no engine reports any CVE for it, holds `issues: write` only on that job and pins its actions like the existing jobs. +- [ ] Every run of that job writes the failing findings per image and per CVE into the job summary and the `vulnerability-findings` artifact, and the `workflow_dispatch` input `issues: false` makes it a dry run without issue changes; the schedule keeps the issues on. +- [ ] The measured database sizes are: Grype v6 3.2 GB unpacked, Trivy 1.6 GB without the Java database, OSV offline zips Ubuntu 806 MB, npm 220 MB, Debian 80 MB, PyPI 38 MB, and 1.24 GB for the ecosystem list in `meta/services.yml`. +- [ ] Unit tests cover the parsers of all three engines with trimmed real output, the severity mapping and its validation, the fix-available switch, suppression scoping and expiry, the bounded parallel run with a fake runner, the CI engine pin, the exit code per verdict and each of the four outputs. +- [ ] A negative control shows the removed floor flagging `8.1.2-1ubuntu2.28` while Trivy, Grype and OSV fixtures of that package pass, and a fixture with a fixable CRITICAL fails under the shipped mapping, while the mapping of the development inventory reports it and exits 0. diff --git a/docs/requirements/README.md b/docs/requirements/README.md index fac2b1bbc6..f8c5850c1a 100644 --- a/docs/requirements/README.md +++ b/docs/requirements/README.md @@ -3,6 +3,10 @@ This directory contains project requirements documents. Its scope is user stories and acceptance criteria that define what the project must do and that guide agent-assisted implementation. +## Open + +- [070 - sys-ctl-hlth-runtime: Vulnerability Engines Instead of Version Floors](070-hlth-runtime-vulnerability-engines.md) + ## Archive - 001 - Nextcloud Talk TURN relay diff --git a/group_vars/all/05_paths.yml b/group_vars/all/05_paths.yml index 5436be4f36..697b5770a7 100644 --- a/group_vars/all/05_paths.yml +++ b/group_vars/all/05_paths.yml @@ -30,6 +30,10 @@ FILE_TOKENS: "{{ [DIR_SECRETS, 'tokens.yml'] | path_join }}" FILE_DATABASE_SECRETS: "{{ [DIR_SECRETS, 'databases.csv'] | path_join }}" DIR_METRICS_TEXTFILE: "{{ [DIR_VAR_LIB, 'metrics'] | path_join }}" +DIR_HEALTH_RUNTIME_REPORT: "{{ [DIR_VAR_LIB, 'hlth-runtime'] | path_join }}" + +DIR_LOG: "/var/log/infinito" +DIR_HEALTH_RUNTIME_LOG: "{{ [DIR_LOG, 'hlth-runtime'] | path_join }}" DIR_PHP_HARDENING: "/etc/{{ SOFTWARE_DOMAIN }}/php" PHP_HARDENING_INI_DIGEST: "{{ (lookup('file', lookup('path_absolute', 'roles/sys-svc-compose-php/files/hardening.ini')) | hash('sha1'))[:8] }}" diff --git a/group_vars/all/07_schedule.yml b/group_vars/all/07_schedule.yml index 94f7d98759..1b7d0bcc9d 100644 --- a/group_vars/all/07_schedule.yml +++ b/group_vars/all/07_schedule.yml @@ -23,7 +23,7 @@ SYS_SCHEDULE_HEALTH_DOCKER_VOLUMES: "*-*-* {{ HOURS_SERVER_AWAKE }}:00:00" # Che SYS_SCHEDULE_HEALTH_CSP_CRAWLER: "*-*-* {{ HOURS_SERVER_AWAKE }}:00:00" # Check once per hour if all CSP are fullfilled available SYS_SCHEDULE_HEALTH_NGINX: "*-*-* {{ HOURS_SERVER_AWAKE }}:00:00" # Check once per hour if all webservices are available SYS_SCHEDULE_HEALTH_MSMTP: "*-*-* 00:00:00" # Check once per day SMTP Server -SYS_SCHEDULE_HEALTH_RUNTIME: "*-*-* 00:00:00" # Check once per day the PHP version and hardening of every running container +SYS_SCHEDULE_HEALTH_RUNTIME: "*-*-* 00:00:00 UTC" # Scan the node and its containers for vulnerabilities and verify the PHP hardening once per day SYS_SCHEDULE_CLEANUP_CERTS: "*-*-* 20:00" # Deletes and revokes unused certs once per day SYS_SCHEDULE_CLEANUP_BACKUPS: "*-*-* 21:00" # Cleanup backups once per day, MUST be called before disc space cleanup diff --git a/inventories/development/default.yml b/inventories/development/default.yml index 6ddea7c0f9..ebbf551cad 100644 --- a/inventories/development/default.yml +++ b/inventories/development/default.yml @@ -45,6 +45,11 @@ applications: secrets: credentials: admin_password: "{{ lookup('env', 'INFINITO_CACHE_PACKAGE_ADMIN_PASSWORD') }}" + sys-ctl-hlth-runtime: + services: + runtime: + severity: + CRITICAL: warn service_provider: company: diff --git a/inventories/development/tools.yml.j2 b/inventories/development/tools.yml.j2 index fa231e4418..ce212ca443 100644 --- a/inventories/development/tools.yml.j2 +++ b/inventories/development/tools.yml.j2 @@ -1,6 +1,6 @@ --- # Host vars the tools runner deploys its toolchain services with. -# Rendered by utils.inventory.tools with square-bracket delimiters, so the +# Rendered by utils.inventory.tools_vars with square-bracket delimiters, so the # curly-brace expressions below stay untouched for the deploy to resolve. TLS_MODE: self_signed diff --git a/library/uri_probe_batch.py b/library/uri_probe_batch.py index defeddc33c..33e1d94156 100644 --- a/library/uri_probe_batch.py +++ b/library/uri_probe_batch.py @@ -14,6 +14,8 @@ Args: Returns: status: mapping of every name to its last HTTP status, -1 without a response. + errors: mapping of every name whose last attempt got no response to the + error that attempt raised. """ import time @@ -41,7 +43,7 @@ ARGUMENT_SPEC = { def probe(url, params): - status = -1 + status, error = -1, None for attempt in range(params["attempts"]): if attempt: time.sleep(params["delay"]) @@ -53,14 +55,14 @@ def probe(url, params): validate_certs=params["validate_certs"], follow_redirects=params["follow_redirects"], ) as response: - status = response.status - except HTTPError as error: - status = error.code - except (URLError, OSError): - status = -1 + status, error = response.status, None + except HTTPError as answer: + status, error = answer.code, None + except (URLError, OSError) as failure: + status, error = -1, f"{type(failure).__name__}: {failure}" if status in params["status_codes"]: break - return status + return status, error def probe_all(urls, params): @@ -71,7 +73,9 @@ def probe_all(urls, params): def main(): module = AnsibleModule(argument_spec=ARGUMENT_SPEC, supports_check_mode=True) - status = probe_all(module.params["urls"], module.params) + results = probe_all(module.params["urls"], module.params) + status = {name: code for name, (code, _) in results.items()} + errors = {name: error for name, (_, error) in results.items() if error} unanswered = sorted( name for name, code in status.items() @@ -82,8 +86,9 @@ def main(): msg=f"{len(unanswered)} URL(s) gave no expected status", unanswered=unanswered, status=status, + errors=errors, ) - module.exit_json(changed=False, status=status) + module.exit_json(changed=False, status=status, errors=errors) if __name__ == "__main__": diff --git a/locale/aa/LC_MESSAGES/core.po b/locale/aa/LC_MESSAGES/core.po index 3accaa4293..4e96dd5071 100644 --- a/locale/aa/LC_MESSAGES/core.po +++ b/locale/aa/LC_MESSAGES/core.po @@ -1944,15 +1944,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled-maintainans-rol fof full Docker Compose stack-restarts, wid har-dastar-restarts fof stack-silik Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed-monitor-for-detekti-onnu-lijene-ali-galu-konaineri-ali-raising-failure-alerts" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ab/LC_MESSAGES/core.po b/locale/ab/LC_MESSAGES/core.po index e366ef57ae..a8e2145f8c 100644 --- a/locale/ab/LC_MESSAGES/core.po +++ b/locale/ab/LC_MESSAGES/core.po @@ -1968,16 +1968,16 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # qanakooyin Docker yihiin ugu tusheno leh ugu ilo leh waxa ka jawaabo fasiiso # waxyarinta msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # operatoren når en monitert service enhet feiler msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/af/LC_MESSAGES/core.po b/locale/af/LC_MESSAGES/core.po index 0b158687bd..860bba7b0d 100644 --- a/locale/af/LC_MESSAGES/core.po +++ b/locale/af/LC_MESSAGES/core.po @@ -1942,15 +1942,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-geplande onderhoudsrol vir volledige Docker Compose stap opnieuw-opstart, met hard opnieuw-opstarts vir stap-sette like Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed-monitoor vir die ontdekking van ongesonde of nul-exits-weer Dordocker-container en om fout-aanraaiwers te roep" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ak/LC_MESSAGES/core.po b/locale/ak/LC_MESSAGES/core.po index 82d0bf7d58..a3f27ab259 100644 --- a/locale/ak/LC_MESSAGES/core.po +++ b/locale/ak/LC_MESSAGES/core.po @@ -1949,15 +1949,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled manteinace role fo full Docker Compose stack restarts, wiht hard restarts fo stacks like Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed monitor pour détecter les conteneurs Docker non sains ou ayant un état d'exécution non zéro et relayer des alertes de faillite" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # operators when a monitored service unit fails în akụkwa msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/am/LC_MESSAGES/core.po b/locale/am/LC_MESSAGES/core.po index b6dda98fe6..452f4d7a64 100644 --- a/locale/am/LC_MESSAGES/core.po +++ b/locale/am/LC_MESSAGES/core.po @@ -1967,16 +1967,16 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # konteyneret ak-keşewet ʾilmi-ʾufiret ak tekkum ʾaqdam ʾuyadet # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "システmé-.timed Aleppo wal-hawskum aw ăli-zi-ştart konteyneret ak-keşewet ʾilmi-ʾufiret ak tekkum ʾaqdam ʾuyadet" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/an/LC_MESSAGES/core.po b/locale/an/LC_MESSAGES/core.po index 06faa439ff..13865be083 100644 --- a/locale/an/LC_MESSAGES/core.po +++ b/locale/an/LC_MESSAGES/core.po @@ -1878,15 +1878,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed monitor para detectar contenedores Docker inactives o con estado de salida no cero y levantar alertas de fallo" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ar/LC_MESSAGES/core.po b/locale/ar/LC_MESSAGES/core.po index f9052dcad5..9944c3de52 100644 --- a/locale/ar/LC_MESSAGES/core.po +++ b/locale/ar/LC_MESSAGES/core.po @@ -2019,15 +2019,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "دور الصيانة المقرر على نطاق المنظومة Docker Compose حزمة من الراحة، مع البقايا الصلبة للوجبات الخفيفة مثل Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "رصد منتظم للكشف عن حاويات دوكر غير صحية أو غير مستخرجة من الصفر ورفع تنبيهات الفشل" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # تفشل وحدة خدمات مراقَبة # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" diff --git a/locale/as/LC_MESSAGES/core.po b/locale/as/LC_MESSAGES/core.po index ae0bf37b38..0981b7bb4b 100644 --- a/locale/as/LC_MESSAGES/core.po +++ b/locale/as/LC_MESSAGES/core.po @@ -2246,16 +2246,16 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate # ekseksjon-fel Docker container og heita feil-alertar msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate # operatorinna khi'a service unit fali msgctxt "role:sys-ctl-alm-email:description" diff --git a/locale/av/LC_MESSAGES/core.po b/locale/av/LC_MESSAGES/core.po index 2047abe347..72aae8254e 100644 --- a/locale/av/LC_MESSAGES/core.po +++ b/locale/av/LC_MESSAGES/core.po @@ -2280,15 +2280,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate # fléppumflópurar sem flépparflópurun tekur bílum áður síðan sem # flépparflópurun tekur bílum diff --git a/locale/ay/LC_MESSAGES/core.po b/locale/ay/LC_MESSAGES/core.po index 7eec3d5197..e736f4863e 100644 --- a/locale/ay/LC_MESSAGES/core.po +++ b/locale/ay/LC_MESSAGES/core.po @@ -1896,15 +1896,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled-maintenance-rolu fo full Docker Compose stack re:startu, wi:h hard re:startu fo:stakz li:ghe Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed monitor para detectar contenedores Docker enfermos o con estado de salida no cero y levantar alertas de fallo" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # operators when a monitored service unit fails en ay msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/az/LC_MESSAGES/core.po b/locale/az/LC_MESSAGES/core.po index 5c57d841db..b3190a532a 100644 --- a/locale/az/LC_MESSAGES/core.po +++ b/locale/az/LC_MESSAGES/core.po @@ -1966,15 +1966,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Sistemləşdirilmiş təhlükəsizlik rolu Docker Compose yığını yenilənir, çərçivələr üçün sabit reaksiyalar ilə Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Xüsusi və qeyri-zero-exited Docker konteynerlərini algılamaq üçün sistemli monitor və çatışmazlığı səhifələri artırmaq" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ba/LC_MESSAGES/core.po b/locale/ba/LC_MESSAGES/core.po index 7bd2bd7942..e8ee7e97b4 100644 --- a/locale/ba/LC_MESSAGES/core.po +++ b/locale/ba/LC_MESSAGES/core.po @@ -2289,10 +2289,6 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate # Docker yang tidak sehat atau yang telah berhenti dengan kode keluaran tidak # nol dan mengirim alert kegagalan @@ -2300,6 +2296,10 @@ msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate # kepada pemilik operator apabila unit unit jasa yang dipantau gagal msgctxt "role:sys-ctl-alm-email:description" diff --git a/locale/be/LC_MESSAGES/core.po b/locale/be/LC_MESSAGES/core.po index df7b771812..f32e20905d 100644 --- a/locale/be/LC_MESSAGES/core.po +++ b/locale/be/LC_MESSAGES/core.po @@ -2043,16 +2043,16 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # zakończonych z kodem niezerowym kontenerów Docker i podnoszenie awarijnych # powiadomień msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # wiadomości e-mail dla operatorem w przypadku uszkodzenia units monitowanych msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/bg/LC_MESSAGES/core.po b/locale/bg/LC_MESSAGES/core.po index 4b5e04dc0a..5f700109e4 100644 --- a/locale/bg/LC_MESSAGES/core.po +++ b/locale/bg/LC_MESSAGES/core.po @@ -1968,15 +1968,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Системно-планирана поддръжка роля за пълен Docker Compose стека рестартира, с твърди рестартира за стекове като Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Системен монитор за откриване на нездравословни или ненулеви контейнери Docker и повишаване на сигнали за неизправност" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/bh/LC_MESSAGES/core.po b/locale/bh/LC_MESSAGES/core.po index 9cff19a5e1..62db85bdd0 100644 --- a/locale/bh/LC_MESSAGES/core.po +++ b/locale/bh/LC_MESSAGES/core.po @@ -1946,15 +1946,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-संचारित रिश्टैक्स डाल्टन फुल Docker Compose स्टै रिसत्री, हार्ड रिसत्री फॉर स्टै लिस्ट Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "सिस्टम्ड-टाइम मॉनिटर जो अजूबनीय या नैची-शेप्टिंग हॉडर कंटेंटर टाइकन को दिखावे और अवरुद्धता इलेक्टामेन्ट्स" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/bi/LC_MESSAGES/core.po b/locale/bi/LC_MESSAGES/core.po index 059c300c3b..eb50ab9945 100644 --- a/locale/bi/LC_MESSAGES/core.po +++ b/locale/bi/LC_MESSAGES/core.po @@ -1926,15 +1926,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-tempsakage rol pa restart full Docker Compose stack, dengan restart susun seperti Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Système de supervision du temps pour détecter des conteneurs Docker non sains ou ayant un état d'arrêt non nul et reléguant des alertes de défaillance" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/bm/LC_MESSAGES/core.po b/locale/bm/LC_MESSAGES/core.po index 35916d714b..006fac333a 100644 --- a/locale/bm/LC_MESSAGES/core.po +++ b/locale/bm/LC_MESSAGES/core.po @@ -1926,15 +1926,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled role untuk restart penuh tumpukan Docker Compose dengan restart yang keras untuk tumpukan seperti Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timded monitor untuk mendeteksi container Docker yang tidak sehat atau yang berhenti dengan kode keluaran yang tidak nol dan mengangkat alert kegagalan" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/bn/LC_MESSAGES/core.po b/locale/bn/LC_MESSAGES/core.po index d7a546c99e..3bea8fe97a 100644 --- a/locale/bn/LC_MESSAGES/core.po +++ b/locale/bn/LC_MESSAGES/core.po @@ -1948,15 +1948,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "পুরো ব্যবস্থার জন্য সিস্টেমের নিরাপত্তামূলক ভূমিকা Docker Compose স্ট্যাক চিহ্নের মত কঠিন ভাবে পুনরায় আরম্ভ করা হবে Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "অটো-বিন্যস্ত ডকার ধারক সনাক্ত অথবা শূণ্য ব্যতীত সিস্টেমের সময় নিরীক্ষণ ব্যবস্থা" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/bo/LC_MESSAGES/core.po b/locale/bo/LC_MESSAGES/core.po index d994ca0a03..5313d7eaab 100644 --- a/locale/bo/LC_MESSAGES/core.po +++ b/locale/bo/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/br/LC_MESSAGES/core.po b/locale/br/LC_MESSAGES/core.po index 9e0664a87d..d3aeb92e86 100644 --- a/locale/br/LC_MESSAGES/core.po +++ b/locale/br/LC_MESSAGES/core.po @@ -1941,15 +1941,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled manutenção de papel para reiniciações do Docker Compose stack completo, com reiniciações duras para stacks como Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitor do tempo de systemd para detectar contêineres Docker não saudáveis ou com saída não-zero e levantar alertas de falha" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/bs/LC_MESSAGES/core.po b/locale/bs/LC_MESSAGES/core.po index 8dec96ddf2..2b56c0c6da 100644 --- a/locale/bs/LC_MESSAGES/core.po +++ b/locale/bs/LC_MESSAGES/core.po @@ -1944,15 +1944,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-organiziran posao za punjbe full Docker Compose sklop ponovnih restarta s trčnim restartima za sklope ljudi Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: ollama msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemski vremenski monitorn za otkrivanje nezdravih ili nepromirenih kontejnera Docker i površinje porazvoke upozorenja" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: ollama msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ca/LC_MESSAGES/core.po b/locale/ca/LC_MESSAGES/core.po index e476b5cbb0..10a874ed1c 100644 --- a/locale/ca/LC_MESSAGES/core.po +++ b/locale/ca/LC_MESSAGES/core.po @@ -1951,15 +1951,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Funció de manteniment equipada per al sistema Docker Compose la pila torna a iniciar, amb reiniciacions difícils com ara Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitor amb temps del sistema per detectar poc sans o no recipients a zero i alerta d' errors" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ce/LC_MESSAGES/core.po b/locale/ce/LC_MESSAGES/core.po index 4fb3747e64..4c5267ea39 100644 --- a/locale/ce/LC_MESSAGES/core.po +++ b/locale/ce/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ch/LC_MESSAGES/core.po b/locale/ch/LC_MESSAGES/core.po index 09bb204273..b4b6602aef 100644 --- a/locale/ch/LC_MESSAGES/core.po +++ b/locale/ch/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/co/LC_MESSAGES/core.po b/locale/co/LC_MESSAGES/core.po index 84e57567c2..9a92e2ca61 100644 --- a/locale/co/LC_MESSAGES/core.po +++ b/locale/co/LC_MESSAGES/core.po @@ -1935,15 +1935,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled-maintenance-rol-la full Docker Compose-stack-restarts, con hard-restarts-la stacks con Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: ollama msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed monitor para detectar contenedores Docker que estén desfuncionales o que hayan salido con estado de salidad diferente a cero y levantar alertas de fallo" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: ollama msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/cr/LC_MESSAGES/core.po b/locale/cr/LC_MESSAGES/core.po index 254ec62d57..ee7c59ee8f 100644 --- a/locale/cr/LC_MESSAGES/core.po +++ b/locale/cr/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/cs/LC_MESSAGES/core.po b/locale/cs/LC_MESSAGES/core.po index 713c18fdd0..c38d905cb9 100644 --- a/locale/cs/LC_MESSAGES/core.po +++ b/locale/cs/LC_MESSAGES/core.po @@ -1951,15 +1951,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd- plánované údržby role pro plné Docker Compose stack restartuje, s tvrdými restarty pro stohy, jako je Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd- timed monitor pro detekci nezdravých nebo ne--zero-excitovaných kontejnerů Docker a zvýšení upozornění na selhání" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/cu/LC_MESSAGES/core.po b/locale/cu/LC_MESSAGES/core.po index 735a0f5f32..3337b5a46f 100644 --- a/locale/cu/LC_MESSAGES/core.po +++ b/locale/cu/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/cv/LC_MESSAGES/core.po b/locale/cv/LC_MESSAGES/core.po index cec2660594..cd79a303c5 100644 --- a/locale/cv/LC_MESSAGES/core.po +++ b/locale/cv/LC_MESSAGES/core.po @@ -1959,15 +1959,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: ollama msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Системный монітор systemd для підкрiзначення нездорових або з ненульним станом в Docker контейнери і викликування прозорих проблем" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: ollama msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/cy/LC_MESSAGES/core.po b/locale/cy/LC_MESSAGES/core.po index cf3b3cfa03..afb9fd892b 100644 --- a/locale/cy/LC_MESSAGES/core.po +++ b/locale/cy/LC_MESSAGES/core.po @@ -1902,15 +1902,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: ollama msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Sistem-timed monitor gynt gyfraithu ar etholiadau Docker yn ymdrech neu weddil-bach a chyflawn gwell a chyflawn alert o gwreiddiol" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # operators when a monitored service unit fails en cy msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/da/LC_MESSAGES/core.po b/locale/da/LC_MESSAGES/core.po index ffe59c5857..1df146f120 100644 --- a/locale/da/LC_MESSAGES/core.po +++ b/locale/da/LC_MESSAGES/core.po @@ -1951,15 +1951,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "System- planlagt vedligeholdelse rolle for fuld Docker Compose stack genstarter, med hårde genstarter for stakke som Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "System- timet monitor til at opdage usunde eller non- zero-exited Docker containere og hæve fejl advarsler" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/de/LC_MESSAGES/core.po b/locale/de/LC_MESSAGES/core.po index 776780c379..5d5ff907f6 100644 --- a/locale/de/LC_MESSAGES/core.po +++ b/locale/de/LC_MESSAGES/core.po @@ -1940,15 +1940,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled Maintenance Rolle für vollständige Docker Compose Stack Neustarts, mit harten Neustarts für Stacks wie Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed Monitor zum Erkennen ungesunder oder nicht-zero-exited Docker-Container und Auslösen von Fehlerwarnungen" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/dv/LC_MESSAGES/core.po b/locale/dv/LC_MESSAGES/core.po index c6fe17acbd..4f366acbc6 100644 --- a/locale/dv/LC_MESSAGES/core.po +++ b/locale/dv/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/dz/LC_MESSAGES/core.po b/locale/dz/LC_MESSAGES/core.po index 5630ef0fc9..9eb83fd2d4 100644 --- a/locale/dz/LC_MESSAGES/core.po +++ b/locale/dz/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ee/LC_MESSAGES/core.po b/locale/ee/LC_MESSAGES/core.po index 5ba1f5dcce..8ef180b0a6 100644 --- a/locale/ee/LC_MESSAGES/core.po +++ b/locale/ee/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/el/LC_MESSAGES/core.po b/locale/el/LC_MESSAGES/core.po index 1d3c42d0f1..e9ec795d59 100644 --- a/locale/el/LC_MESSAGES/core.po +++ b/locale/el/LC_MESSAGES/core.po @@ -1958,15 +1958,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Συστηματοποιημένος προγραμματισμένος ρόλος συντήρησης για πλήρη Docker Compose επανεκκίνηση στοίβας, με σκληρή επανεκκίνηση για στοίβες όπως Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Συστημένη χρονομετρημένη οθόνη για την ανίχνευση ανθυγιεινών ή μη εξερχόμενων εμπορευματοκιβωτίων Docker και την αύξηση των σημάτων αστοχίας" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/eo/LC_MESSAGES/core.po b/locale/eo/LC_MESSAGES/core.po index 6d97df8a38..bc91924c1f 100644 --- a/locale/eo/LC_MESSAGES/core.po +++ b/locale/eo/LC_MESSAGES/core.po @@ -1952,15 +1952,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Sistem-planita funkciserva rolo por plena Docker Compose stako rekomencas, kun malmolaj rekomencoj por stakoj kiel Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Sistem-tempigita ekrano por detektado de nesana aŭ ne-nul-exited Docker-ujoj kaj kreskigado de fiasko alarmas" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/es/LC_MESSAGES/core.po b/locale/es/LC_MESSAGES/core.po index 2298ea573f..f4b8a391b7 100644 --- a/locale/es/LC_MESSAGES/core.po +++ b/locale/es/LC_MESSAGES/core.po @@ -1944,15 +1944,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Función de mantenimiento programada con sistema para los reinicios completos de Docker Compose, con remanentes duros para pilas como Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitor sistematizado para detectar contenedores Docker insalubres o no extraídos y alertas de fallos" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/et/LC_MESSAGES/core.po b/locale/et/LC_MESSAGES/core.po index 8fa0190a87..4757cf8695 100644 --- a/locale/et/LC_MESSAGES/core.po +++ b/locale/et/LC_MESSAGES/core.po @@ -1951,15 +1951,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Süsteemne plaaniline hooldusfunktsioon täieliku Docker Compose virna taaskäivitamiseks koos kõva taaskäivitamisega virnadele nagu Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Süsteemne ajastatud monitor ebatervislike või nullrežiimiga Dockeri konteinerite avastamiseks ja rikkehoiatuste tõstmiseks" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/eu/LC_MESSAGES/core.po b/locale/eu/LC_MESSAGES/core.po index fdf153116a..6d74c66dbb 100644 --- a/locale/eu/LC_MESSAGES/core.po +++ b/locale/eu/LC_MESSAGES/core.po @@ -1951,15 +1951,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Docker Compose pilak mantentzeko sistematutako papera berrabiarazi egiten da, Mailu bezalako pilak berrabiatzeko." -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Sistematizatutako monitorea Docker-en edukiontzi ez-osasuntsuak edo ez-gehigarriak detektatzeko eta hutsegiteen abisuak jasotzeko" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/fa/LC_MESSAGES/core.po b/locale/fa/LC_MESSAGES/core.po index b2d61289b6..d7891e4408 100644 --- a/locale/fa/LC_MESSAGES/core.po +++ b/locale/fa/LC_MESSAGES/core.po @@ -1948,15 +1948,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "نقش تعمیر و نگهداری سیستم شده برای پشته کامل Docker Compose دوباره شروع می شود، با شروع مجدد سخت برای پشته هایی مانند Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "نظارت بر زمان سیستم برای شناسایی ظروف Docker ناسالم یا غیر صفر و افزایش هشدار های شکست" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ff/LC_MESSAGES/core.po b/locale/ff/LC_MESSAGES/core.po index 2df434dfaa..10468aecca 100644 --- a/locale/ff/LC_MESSAGES/core.po +++ b/locale/ff/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/fi/LC_MESSAGES/core.po b/locale/fi/LC_MESSAGES/core.po index b2561d21ee..da3e15c996 100644 --- a/locale/fi/LC_MESSAGES/core.po +++ b/locale/fi/LC_MESSAGES/core.po @@ -1959,15 +1959,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systeemisesti suunniteltu huolto rooli täysi Docker Compose pino käynnistää uudelleen, kova uudelleenkäynnistys pinot kuten Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Järjestelmäaikainen valvonta epäterveellisten tai ei-poistettavien Docker-säiliöiden havaitsemiseksi ja virhehälytysten nostamiseksi" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/fj/LC_MESSAGES/core.po b/locale/fj/LC_MESSAGES/core.po index e3b5b39c44..ef566927bb 100644 --- a/locale/fj/LC_MESSAGES/core.po +++ b/locale/fj/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/fo/LC_MESSAGES/core.po b/locale/fo/LC_MESSAGES/core.po index 348ff1f123..e0e31463f9 100644 --- a/locale/fo/LC_MESSAGES/core.po +++ b/locale/fo/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/fr/LC_MESSAGES/core.po b/locale/fr/LC_MESSAGES/core.po index e9fa6918dc..89d52ae6b3 100644 --- a/locale/fr/LC_MESSAGES/core.po +++ b/locale/fr/LC_MESSAGES/core.po @@ -1940,15 +1940,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Fonction de maintenance programmée pour les redémarrages complets de la pile Docker Compose, avec des redémarrages durs pour les piles comme Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Surveillance à l'heure systémique pour détecter les contenants Docker malsains ou non périmés et pour signaler les défaillances" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/fy/LC_MESSAGES/core.po b/locale/fy/LC_MESSAGES/core.po index 079e9840ee..d9599957b6 100644 --- a/locale/fy/LC_MESSAGES/core.po +++ b/locale/fy/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ga/LC_MESSAGES/core.po b/locale/ga/LC_MESSAGES/core.po index d86591f51e..c9d9292808 100644 --- a/locale/ga/LC_MESSAGES/core.po +++ b/locale/ga/LC_MESSAGES/core.po @@ -1964,15 +1964,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Ról cothabhála córasaithe le haghaidh lán Docker Compose Atosú Stack, le atosú crua do chairn mhaith Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monatóireacht a dhéanamh ar chóras ama chun coimeádáin Docker neamhshláinte nó neamh-zero-exited bhrath agus foláirimh teip a ardú" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/gd/LC_MESSAGES/core.po b/locale/gd/LC_MESSAGES/core.po index 0858ef20fc..aa9acf320a 100644 --- a/locale/gd/LC_MESSAGES/core.po +++ b/locale/gd/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/gl/LC_MESSAGES/core.po b/locale/gl/LC_MESSAGES/core.po index a96eac90cf..74b5c83073 100644 --- a/locale/gl/LC_MESSAGES/core.po +++ b/locale/gl/LC_MESSAGES/core.po @@ -1953,15 +1953,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Función de mantemento programada para reiniciar a pila completa de Docker Compose, con reinicios duros para pilas como Mailu." -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitor de tempo sistematizado para detectar recipientes Docker insalubres ou non activados de cero e aumentar as alertas de fallo." +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/gn/LC_MESSAGES/core.po b/locale/gn/LC_MESSAGES/core.po index c14ae92c8b..2c0381ec07 100644 --- a/locale/gn/LC_MESSAGES/core.po +++ b/locale/gn/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/gu/LC_MESSAGES/core.po b/locale/gu/LC_MESSAGES/core.po index 776a239772..0dc4999487 100644 --- a/locale/gu/LC_MESSAGES/core.po +++ b/locale/gu/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/gv/LC_MESSAGES/core.po b/locale/gv/LC_MESSAGES/core.po index 7b80a70def..399688375b 100644 --- a/locale/gv/LC_MESSAGES/core.po +++ b/locale/gv/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ha/LC_MESSAGES/core.po b/locale/ha/LC_MESSAGES/core.po index e59f7e7415..d3bff4aedf 100644 --- a/locale/ha/LC_MESSAGES/core.po +++ b/locale/ha/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/he/LC_MESSAGES/core.po b/locale/he/LC_MESSAGES/core.po index 7b5b88b7db..314fc2f7e7 100644 --- a/locale/he/LC_MESSAGES/core.po +++ b/locale/he/LC_MESSAGES/core.po @@ -1961,15 +1961,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "תפקידם של תחזוקה מלאה Docker Compose ערימה מחדש, עם חידושים קשים לערימות כמו Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "לפקח מערכתי על זיהוי של מיכלי Docker לא בריאים או לא אפסיים והעלאת התראות כישלונות" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/hi/LC_MESSAGES/core.po b/locale/hi/LC_MESSAGES/core.po index d9742fba44..baf6d886cc 100644 --- a/locale/hi/LC_MESSAGES/core.po +++ b/locale/hi/LC_MESSAGES/core.po @@ -1941,15 +1941,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "पूर्ण के लिए व्यवस्थित-scheduled रखरखाव भूमिका Docker Compose स्टैक रिस्टार्ट, जैसे स्टैक के लिए हार्ड रिस्टार्ट के साथ Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "अस्वास्थ्यकर या गैर-zero-exited डोकर कंटेनरों का पता लगाने और विफलता चेतावनी बढ़ाने के लिए व्यवस्थित समय पर निगरानी" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ho/LC_MESSAGES/core.po b/locale/ho/LC_MESSAGES/core.po index 620367b74d..7f2ab7ad8e 100644 --- a/locale/ho/LC_MESSAGES/core.po +++ b/locale/ho/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/hr/LC_MESSAGES/core.po b/locale/hr/LC_MESSAGES/core.po index 3be234e5eb..8684113183 100644 --- a/locale/hr/LC_MESSAGES/core.po +++ b/locale/hr/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ht/LC_MESSAGES/core.po b/locale/ht/LC_MESSAGES/core.po index 91d86bf41c..ea6d76dd5f 100644 --- a/locale/ht/LC_MESSAGES/core.po +++ b/locale/ht/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/hu/LC_MESSAGES/core.po b/locale/hu/LC_MESSAGES/core.po index 0e000cae53..03075ceaa2 100644 --- a/locale/hu/LC_MESSAGES/core.po +++ b/locale/hu/LC_MESSAGES/core.po @@ -1954,15 +1954,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd- ütemezett karbantartási szerepe a teljes Docker Compose stack újraindítása, a kemény újraindítások stack, mint Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Rendszeresen időzített monitor az egészségtelen vagy nem-nulla-kilépő dokkoló konténerek észlelésére és a hibajelzések jelzésére" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/hy/LC_MESSAGES/core.po b/locale/hy/LC_MESSAGES/core.po index d39a09d4bc..632854c7c0 100644 --- a/locale/hy/LC_MESSAGES/core.po +++ b/locale/hy/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/hz/LC_MESSAGES/core.po b/locale/hz/LC_MESSAGES/core.po index 0cfe5cb492..de70ea6fa0 100644 --- a/locale/hz/LC_MESSAGES/core.po +++ b/locale/hz/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ia/LC_MESSAGES/core.po b/locale/ia/LC_MESSAGES/core.po index 9d318cb38f..cf55c7f006 100644 --- a/locale/ia/LC_MESSAGES/core.po +++ b/locale/ia/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/id/LC_MESSAGES/core.po b/locale/id/LC_MESSAGES/core.po index 0f2035e8a4..410fd72b97 100644 --- a/locale/id/LC_MESSAGES/core.po +++ b/locale/id/LC_MESSAGES/core.po @@ -1941,15 +1941,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Sistemd- dijadwalkan peran pemeliharaan untuk penuh Docker Compose stack restarts, with hard restarts for stacks like Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitor Systemd- timetime untuk mendeteksi tidak sehat atau tidak-zero- keluar kontainer Docker dan meningkatkan peringatan kegagalan" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ie/LC_MESSAGES/core.po b/locale/ie/LC_MESSAGES/core.po index 59b6cbc533..bda0fb516f 100644 --- a/locale/ie/LC_MESSAGES/core.po +++ b/locale/ie/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ig/LC_MESSAGES/core.po b/locale/ig/LC_MESSAGES/core.po index 54a959135c..aab5f56222 100644 --- a/locale/ig/LC_MESSAGES/core.po +++ b/locale/ig/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ii/LC_MESSAGES/core.po b/locale/ii/LC_MESSAGES/core.po index 5d312c0944..8b073643bc 100644 --- a/locale/ii/LC_MESSAGES/core.po +++ b/locale/ii/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ik/LC_MESSAGES/core.po b/locale/ik/LC_MESSAGES/core.po index 3c6477d724..226b8f25ce 100644 --- a/locale/ik/LC_MESSAGES/core.po +++ b/locale/ik/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/io/LC_MESSAGES/core.po b/locale/io/LC_MESSAGES/core.po index ac5476ef5b..cfc7d3e7b5 100644 --- a/locale/io/LC_MESSAGES/core.po +++ b/locale/io/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/is/LC_MESSAGES/core.po b/locale/is/LC_MESSAGES/core.po index 4c48d5a715..9cde006acf 100644 --- a/locale/is/LC_MESSAGES/core.po +++ b/locale/is/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/it/LC_MESSAGES/core.po b/locale/it/LC_MESSAGES/core.po index bfb717e130..bc5ceda3d5 100644 --- a/locale/it/LC_MESSAGES/core.po +++ b/locale/it/LC_MESSAGES/core.po @@ -1941,15 +1941,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Funzione di manutenzione programmata a sistema per riavviamento completo dello stack Docker Compose, con riavvio duro per pile come Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitoraggio systemd-timed per il rilevamento di contenitori Docker non sani o non-zero-exited e avvisi di guasto" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/iu/LC_MESSAGES/core.po b/locale/iu/LC_MESSAGES/core.po index f3c5f79d0e..0250b85171 100644 --- a/locale/iu/LC_MESSAGES/core.po +++ b/locale/iu/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ja/LC_MESSAGES/core.po b/locale/ja/LC_MESSAGES/core.po index f085527680..320c81540c 100644 --- a/locale/ja/LC_MESSAGES/core.po +++ b/locale/ja/LC_MESSAGES/core.po @@ -1956,15 +1956,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "完全な Docker Compose スタックを再起動するためのシステム化されたメンテナンスロール、Mailu のようなスタックのハード 再起動" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "不健康なか、または非ゼロ出口のドッカー容器を検出し、失敗の警告を上げるためのシステム化されたモニター" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/jv/LC_MESSAGES/core.po b/locale/jv/LC_MESSAGES/core.po index cce3d32212..fdf0b393cc 100644 --- a/locale/jv/LC_MESSAGES/core.po +++ b/locale/jv/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ka/LC_MESSAGES/core.po b/locale/ka/LC_MESSAGES/core.po index faebe75b47..ff43b8f26c 100644 --- a/locale/ka/LC_MESSAGES/core.po +++ b/locale/ka/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/kg/LC_MESSAGES/core.po b/locale/kg/LC_MESSAGES/core.po index 3442f3bc07..855aa6f159 100644 --- a/locale/kg/LC_MESSAGES/core.po +++ b/locale/kg/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ki/LC_MESSAGES/core.po b/locale/ki/LC_MESSAGES/core.po index e7abb0f630..308c254ba6 100644 --- a/locale/ki/LC_MESSAGES/core.po +++ b/locale/ki/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/kj/LC_MESSAGES/core.po b/locale/kj/LC_MESSAGES/core.po index ac62f74efe..9c32f10008 100644 --- a/locale/kj/LC_MESSAGES/core.po +++ b/locale/kj/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/kk/LC_MESSAGES/core.po b/locale/kk/LC_MESSAGES/core.po index 5b5fe3e36d..a31ea8c9be 100644 --- a/locale/kk/LC_MESSAGES/core.po +++ b/locale/kk/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/kl/LC_MESSAGES/core.po b/locale/kl/LC_MESSAGES/core.po index b4c755900b..27285a601d 100644 --- a/locale/kl/LC_MESSAGES/core.po +++ b/locale/kl/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/km/LC_MESSAGES/core.po b/locale/km/LC_MESSAGES/core.po index 627cd2c3f9..2e3bc281e5 100644 --- a/locale/km/LC_MESSAGES/core.po +++ b/locale/km/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/kn/LC_MESSAGES/core.po b/locale/kn/LC_MESSAGES/core.po index 2641d198c3..71590d9730 100644 --- a/locale/kn/LC_MESSAGES/core.po +++ b/locale/kn/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ko/LC_MESSAGES/core.po b/locale/ko/LC_MESSAGES/core.po index 8b2fde98cc..86c336a922 100644 --- a/locale/ko/LC_MESSAGES/core.po +++ b/locale/ko/LC_MESSAGES/core.po @@ -1965,15 +1965,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "전체 Docker Compose 스택 재시작을 위한 Systemd-scheduled Maintenance role, Mailu와 같은 스택에 대한 하드 재시작" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "비 건강 또는 비 zero-exited Docker 컨테이너를 감지하고 실패 경고를 올리는 시스템화 된 모니터" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/kr/LC_MESSAGES/core.po b/locale/kr/LC_MESSAGES/core.po index 410da73c94..82fbd9d811 100644 --- a/locale/kr/LC_MESSAGES/core.po +++ b/locale/kr/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ks/LC_MESSAGES/core.po b/locale/ks/LC_MESSAGES/core.po index 49dc845454..aa6a0d14ca 100644 --- a/locale/ks/LC_MESSAGES/core.po +++ b/locale/ks/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ku/LC_MESSAGES/core.po b/locale/ku/LC_MESSAGES/core.po index cace12a67e..55baabe3bf 100644 --- a/locale/ku/LC_MESSAGES/core.po +++ b/locale/ku/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/kv/LC_MESSAGES/core.po b/locale/kv/LC_MESSAGES/core.po index 748ce561c8..3f501304b3 100644 --- a/locale/kv/LC_MESSAGES/core.po +++ b/locale/kv/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/kw/LC_MESSAGES/core.po b/locale/kw/LC_MESSAGES/core.po index 78b4e17902..a72a0416c7 100644 --- a/locale/kw/LC_MESSAGES/core.po +++ b/locale/kw/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ky/LC_MESSAGES/core.po b/locale/ky/LC_MESSAGES/core.po index 68e7f508ae..703bb398c2 100644 --- a/locale/ky/LC_MESSAGES/core.po +++ b/locale/ky/LC_MESSAGES/core.po @@ -1972,15 +1972,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Docker Compose стектерин кайра баштоо үчүн системалык пландаштырылган тейлөө ролу, Mailu сыяктуу стектер үчүн катуу кайра баштоо менен" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Ден соолукка зыяндуу же нөлдөн чыкпаган Docker контейнерлерин аныктоо жана бузулуу эскертүүлөрүн жогорулатуу үчүн системалык убакыт режиминде монитор" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/la/LC_MESSAGES/core.po b/locale/la/LC_MESSAGES/core.po index 12dfd77056..9d792d1b35 100644 --- a/locale/la/LC_MESSAGES/core.po +++ b/locale/la/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/lb/LC_MESSAGES/core.po b/locale/lb/LC_MESSAGES/core.po index bf982c7e06..3ce582e894 100644 --- a/locale/lb/LC_MESSAGES/core.po +++ b/locale/lb/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/lg/LC_MESSAGES/core.po b/locale/lg/LC_MESSAGES/core.po index 06c6e616d7..52aec46a39 100644 --- a/locale/lg/LC_MESSAGES/core.po +++ b/locale/lg/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/li/LC_MESSAGES/core.po b/locale/li/LC_MESSAGES/core.po index e1ac35775e..61d78ee700 100644 --- a/locale/li/LC_MESSAGES/core.po +++ b/locale/li/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ln/LC_MESSAGES/core.po b/locale/ln/LC_MESSAGES/core.po index 40c3b6c51b..e27fb32022 100644 --- a/locale/ln/LC_MESSAGES/core.po +++ b/locale/ln/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/lo/LC_MESSAGES/core.po b/locale/lo/LC_MESSAGES/core.po index 2c7f604301..22c50ee9a7 100644 --- a/locale/lo/LC_MESSAGES/core.po +++ b/locale/lo/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/lt/LC_MESSAGES/core.po b/locale/lt/LC_MESSAGES/core.po index c359a06be9..d3d262f999 100644 --- a/locale/lt/LC_MESSAGES/core.po +++ b/locale/lt/LC_MESSAGES/core.po @@ -1964,15 +1964,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Sistemų - planinės techninės priežiūros funkcija visiškai Docker Compose kamino restarts, su sunku restarts už kaminai kaip Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Sistemingas laikmatis monitorius, skirtas aptikti nesveikus arba non- zero-exited Docker konteinerius ir padidinti gedimų perspėjimus" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/lu/LC_MESSAGES/core.po b/locale/lu/LC_MESSAGES/core.po index 61d7a9e706..8415f417a5 100644 --- a/locale/lu/LC_MESSAGES/core.po +++ b/locale/lu/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/lv/LC_MESSAGES/core.po b/locale/lv/LC_MESSAGES/core.po index 315bb3e631..33b2c353be 100644 --- a/locale/lv/LC_MESSAGES/core.po +++ b/locale/lv/LC_MESSAGES/core.po @@ -1967,15 +1967,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Sistemātiski plānotas tehniskās apkopes funkcijas pilnībā Docker Compose steka pārstartēšana, ar cieto pārstartēšanu tādiem stekiem kā Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Sistemātisks laika monitors, lai atklātu neveselīgus vai nenulles izejošus dokeru konteinerus un palielinātu brīdinājumus par atteici" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/mg/LC_MESSAGES/core.po b/locale/mg/LC_MESSAGES/core.po index 328025b018..ebb58933b6 100644 --- a/locale/mg/LC_MESSAGES/core.po +++ b/locale/mg/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/mh/LC_MESSAGES/core.po b/locale/mh/LC_MESSAGES/core.po index 40dddc2771..995e2af48d 100644 --- a/locale/mh/LC_MESSAGES/core.po +++ b/locale/mh/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/mi/LC_MESSAGES/core.po b/locale/mi/LC_MESSAGES/core.po index b2ba5d4fc4..5a4dfcf638 100644 --- a/locale/mi/LC_MESSAGES/core.po +++ b/locale/mi/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/mk/LC_MESSAGES/core.po b/locale/mk/LC_MESSAGES/core.po index e09fbfe81c..0aa9d6f6c4 100644 --- a/locale/mk/LC_MESSAGES/core.po +++ b/locale/mk/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ml/LC_MESSAGES/core.po b/locale/ml/LC_MESSAGES/core.po index ed8c9e82bb..87d69b216f 100644 --- a/locale/ml/LC_MESSAGES/core.po +++ b/locale/ml/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/mn/LC_MESSAGES/core.po b/locale/mn/LC_MESSAGES/core.po index 352ff94620..c959646a15 100644 --- a/locale/mn/LC_MESSAGES/core.po +++ b/locale/mn/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/mr/LC_MESSAGES/core.po b/locale/mr/LC_MESSAGES/core.po index 5dea7de60b..ae098c09a2 100644 --- a/locale/mr/LC_MESSAGES/core.po +++ b/locale/mr/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ms/LC_MESSAGES/core.po b/locale/ms/LC_MESSAGES/core.po index 6de49e746f..fe2017a186 100644 --- a/locale/ms/LC_MESSAGES/core.po +++ b/locale/ms/LC_MESSAGES/core.po @@ -1952,15 +1952,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Peran pemeliharaan terjadwal-kejadwalan untuk penuh Docker Compose Stack stack restart, dengan hard restart untuk stack seperti Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Pemantau sistem-waktu untuk mendeteksi kontainer Docker yang tidak sehat atau tidak-sifar-keluar dan meningkatkan peringatan kegagalan" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/mt/LC_MESSAGES/core.po b/locale/mt/LC_MESSAGES/core.po index 390a9f9efb..15d419a269 100644 --- a/locale/mt/LC_MESSAGES/core.po +++ b/locale/mt/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/my/LC_MESSAGES/core.po b/locale/my/LC_MESSAGES/core.po index c40a82adb3..dd4c8ed98e 100644 --- a/locale/my/LC_MESSAGES/core.po +++ b/locale/my/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/na/LC_MESSAGES/core.po b/locale/na/LC_MESSAGES/core.po index 58ecd0eb5c..b780deabed 100644 --- a/locale/na/LC_MESSAGES/core.po +++ b/locale/na/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/nb/LC_MESSAGES/core.po b/locale/nb/LC_MESSAGES/core.po index 1fd6e2b6e0..b312ab1171 100644 --- a/locale/nb/LC_MESSAGES/core.po +++ b/locale/nb/LC_MESSAGES/core.po @@ -1951,15 +1951,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemstyrt vedlikeholdsrolle for full Docker Compose stabler starter på nytt, med harde omstarter for stabler som Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemstyrt skjerm for å detektere usunne eller ikke-null-eksiterte Docker-beholdere og heve feilvarsler" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/nd/LC_MESSAGES/core.po b/locale/nd/LC_MESSAGES/core.po index e85b181281..2cf954255c 100644 --- a/locale/nd/LC_MESSAGES/core.po +++ b/locale/nd/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ne/LC_MESSAGES/core.po b/locale/ne/LC_MESSAGES/core.po index 2a93e1ce0c..aac2f04321 100644 --- a/locale/ne/LC_MESSAGES/core.po +++ b/locale/ne/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ng/LC_MESSAGES/core.po b/locale/ng/LC_MESSAGES/core.po index 979007f686..04f195baf4 100644 --- a/locale/ng/LC_MESSAGES/core.po +++ b/locale/ng/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/nl/LC_MESSAGES/core.po b/locale/nl/LC_MESSAGES/core.po index 06d8b85c44..9cb729d8c9 100644 --- a/locale/nl/LC_MESSAGES/core.po +++ b/locale/nl/LC_MESSAGES/core.po @@ -1943,15 +1943,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Gesysteemde onderhoudsrol voor volledig Docker Compose stack herstarten, met harde herstarten voor stacks zoals Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemed-timed monitor voor het detecteren van ongezonde of niet-nul-uitgeschakelde Docker containers en het verhogen van storing waarschuwingen" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/nn/LC_MESSAGES/core.po b/locale/nn/LC_MESSAGES/core.po index 80e35d2511..b59281a5e1 100644 --- a/locale/nn/LC_MESSAGES/core.po +++ b/locale/nn/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/no/LC_MESSAGES/core.po b/locale/no/LC_MESSAGES/core.po index 8d5ce17ed7..8a0ccf1bf7 100644 --- a/locale/no/LC_MESSAGES/core.po +++ b/locale/no/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/nr/LC_MESSAGES/core.po b/locale/nr/LC_MESSAGES/core.po index d3e31a8037..b604c6187e 100644 --- a/locale/nr/LC_MESSAGES/core.po +++ b/locale/nr/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/nv/LC_MESSAGES/core.po b/locale/nv/LC_MESSAGES/core.po index 01022f17db..1affc6c355 100644 --- a/locale/nv/LC_MESSAGES/core.po +++ b/locale/nv/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ny/LC_MESSAGES/core.po b/locale/ny/LC_MESSAGES/core.po index 0be2a176d8..ca898b7613 100644 --- a/locale/ny/LC_MESSAGES/core.po +++ b/locale/ny/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/oc/LC_MESSAGES/core.po b/locale/oc/LC_MESSAGES/core.po index c81b6b188c..42b65076ab 100644 --- a/locale/oc/LC_MESSAGES/core.po +++ b/locale/oc/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/oj/LC_MESSAGES/core.po b/locale/oj/LC_MESSAGES/core.po index c20b5a16ac..18e6b5bd10 100644 --- a/locale/oj/LC_MESSAGES/core.po +++ b/locale/oj/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/om/LC_MESSAGES/core.po b/locale/om/LC_MESSAGES/core.po index 49940b8b62..4424b9236f 100644 --- a/locale/om/LC_MESSAGES/core.po +++ b/locale/om/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/or/LC_MESSAGES/core.po b/locale/or/LC_MESSAGES/core.po index b70c0caaf4..f130f0ce74 100644 --- a/locale/or/LC_MESSAGES/core.po +++ b/locale/or/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/os/LC_MESSAGES/core.po b/locale/os/LC_MESSAGES/core.po index a1bb0d8f2f..28b87dcf80 100644 --- a/locale/os/LC_MESSAGES/core.po +++ b/locale/os/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/pa/LC_MESSAGES/core.po b/locale/pa/LC_MESSAGES/core.po index 84171a5f9c..2992954ef1 100644 --- a/locale/pa/LC_MESSAGES/core.po +++ b/locale/pa/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/pi/LC_MESSAGES/core.po b/locale/pi/LC_MESSAGES/core.po index ef116acc72..c2848367c5 100644 --- a/locale/pi/LC_MESSAGES/core.po +++ b/locale/pi/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/pl/LC_MESSAGES/core.po b/locale/pl/LC_MESSAGES/core.po index 07ee371924..0cdd78870b 100644 --- a/locale/pl/LC_MESSAGES/core.po +++ b/locale/pl/LC_MESSAGES/core.po @@ -1940,15 +1940,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "System- planowa rola utrzymania dla pełnego Docker Compose stos restarts, z twarde restarts dla stosów takich jak Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systematyczny monitor czasowy do wykrywania niezdrowych lub niezerowyjściowych pojemników Dockera i podnoszenia alarmów awarii" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ps/LC_MESSAGES/core.po b/locale/ps/LC_MESSAGES/core.po index 4f85348bb1..ab360801c6 100644 --- a/locale/ps/LC_MESSAGES/core.po +++ b/locale/ps/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/pt/LC_MESSAGES/core.po b/locale/pt/LC_MESSAGES/core.po index 4ed8e96b97..080b7d27b7 100644 --- a/locale/pt/LC_MESSAGES/core.po +++ b/locale/pt/LC_MESSAGES/core.po @@ -1940,15 +1940,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Função de manutenção programada pelo sistema para reinicialização completa da pilha Docker Compose, com reinicialização dura para pilhas como Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitor programado para detectar recipientes Docker não saudáveis ou não-zero-exitados e levantar alertas de falha" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/qu/LC_MESSAGES/core.po b/locale/qu/LC_MESSAGES/core.po index 289d55d7da..5978589656 100644 --- a/locale/qu/LC_MESSAGES/core.po +++ b/locale/qu/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/rm/LC_MESSAGES/core.po b/locale/rm/LC_MESSAGES/core.po index e4e5e66279..3e18b98b88 100644 --- a/locale/rm/LC_MESSAGES/core.po +++ b/locale/rm/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/rn/LC_MESSAGES/core.po b/locale/rn/LC_MESSAGES/core.po index 26a9905fa3..07e9cbe7e7 100644 --- a/locale/rn/LC_MESSAGES/core.po +++ b/locale/rn/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ro/LC_MESSAGES/core.po b/locale/ro/LC_MESSAGES/core.po index 3e5cbf1eaf..6b0298ef16 100644 --- a/locale/ro/LC_MESSAGES/core.po +++ b/locale/ro/LC_MESSAGES/core.po @@ -1956,15 +1956,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Rolul de întreținere programat pentru reporniri complete Docker Compose stiva, cu reporniri dure pentru stive cum ar fi Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed monitor pentru detectarea containerelor Docker nesigure sau cu excludere de zero și ridicarea alertelor de eșec" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ru/LC_MESSAGES/core.po b/locale/ru/LC_MESSAGES/core.po index 5b946cdc1e..0e9e874a80 100644 --- a/locale/ru/LC_MESSAGES/core.po +++ b/locale/ru/LC_MESSAGES/core.po @@ -1942,15 +1942,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Функция системного планирования для полного перезапуска стека Docker Compose с жестким перезапуском для стеков, таких как Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Системно-временный монитор для обнаружения нездоровых или ненулевых контейнеров Docker и повышения оповещений о сбоях" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/rw/LC_MESSAGES/core.po b/locale/rw/LC_MESSAGES/core.po index 4e5ae2b518..d4d4392fb3 100644 --- a/locale/rw/LC_MESSAGES/core.po +++ b/locale/rw/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sa/LC_MESSAGES/core.po b/locale/sa/LC_MESSAGES/core.po index 24e5a1b5fa..c083484225 100644 --- a/locale/sa/LC_MESSAGES/core.po +++ b/locale/sa/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sc/LC_MESSAGES/core.po b/locale/sc/LC_MESSAGES/core.po index b1e3eeaff9..72cf1d9f8d 100644 --- a/locale/sc/LC_MESSAGES/core.po +++ b/locale/sc/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sd/LC_MESSAGES/core.po b/locale/sd/LC_MESSAGES/core.po index 88c0330fb6..f2cb986da4 100644 --- a/locale/sd/LC_MESSAGES/core.po +++ b/locale/sd/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/se/LC_MESSAGES/core.po b/locale/se/LC_MESSAGES/core.po index a8ba644d4c..ec0bad19a8 100644 --- a/locale/se/LC_MESSAGES/core.po +++ b/locale/se/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sg/LC_MESSAGES/core.po b/locale/sg/LC_MESSAGES/core.po index 3f09bb56be..ded81c9b1a 100644 --- a/locale/sg/LC_MESSAGES/core.po +++ b/locale/sg/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/si/LC_MESSAGES/core.po b/locale/si/LC_MESSAGES/core.po index 4a95938005..aa9dc504c8 100644 --- a/locale/si/LC_MESSAGES/core.po +++ b/locale/si/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sk/LC_MESSAGES/core.po b/locale/sk/LC_MESSAGES/core.po index db9e15924c..c29555214d 100644 --- a/locale/sk/LC_MESSAGES/core.po +++ b/locale/sk/LC_MESSAGES/core.po @@ -1952,15 +1952,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systémovo plánovaná údržbová rola pre plné Docker Compose stack reštarty, s tvrdými reštartmi pre zásobníky ako Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systémovo načasovaný monitor na odhaľovanie nezdravých alebo nenulových kontajnerov s dockermi a zvyšovanie upozornení na poruchy" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/sl/LC_MESSAGES/core.po b/locale/sl/LC_MESSAGES/core.po index 03ede4d049..c95619aab8 100644 --- a/locale/sl/LC_MESSAGES/core.po +++ b/locale/sl/LC_MESSAGES/core.po @@ -1952,15 +1952,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Sistemsko načrtovana vzdrževalna vloga Docker Compose Ponovno zaženi sklad, s trdimi ponovnimi zagoni za kupe kot Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Sistemsko časovno določen monitor za odkrivanje nezdravih ali zunajizstopnih zabojnikov Docker in dvigovanje opozoril o napakah" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/sm/LC_MESSAGES/core.po b/locale/sm/LC_MESSAGES/core.po index f880a4066a..1128f501bf 100644 --- a/locale/sm/LC_MESSAGES/core.po +++ b/locale/sm/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sn/LC_MESSAGES/core.po b/locale/sn/LC_MESSAGES/core.po index cc6bff3da0..71718088d0 100644 --- a/locale/sn/LC_MESSAGES/core.po +++ b/locale/sn/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/so/LC_MESSAGES/core.po b/locale/so/LC_MESSAGES/core.po index 2327e80992..f194aa54c7 100644 --- a/locale/so/LC_MESSAGES/core.po +++ b/locale/so/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sq/LC_MESSAGES/core.po b/locale/sq/LC_MESSAGES/core.po index fb87d6aa49..46ccd91155 100644 --- a/locale/sq/LC_MESSAGES/core.po +++ b/locale/sq/LC_MESSAGES/core.po @@ -1951,15 +1951,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Roli i mirëmbajtjes i përcaktuar sistem për t'u plotësuar Docker Compose Stivni rinisjet, me rinisje të vështira për t'u hequr si Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Monitorim me kohë të sistemit për zbulimin e kontejnerëve të pashëndetshëm apo jo-zero-eksitueshëm Docker dhe ngritjen e alarmeve të dështimit" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # operators when a monitored service unit fails -Systemd-triggered # -mpsmtp-notifier -for -emailing -operators -when -a -monitored -service # -unit -fails diff --git a/locale/sr/LC_MESSAGES/core.po b/locale/sr/LC_MESSAGES/core.po index 079f4883a4..55cee02f91 100644 --- a/locale/sr/LC_MESSAGES/core.po +++ b/locale/sr/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ss/LC_MESSAGES/core.po b/locale/ss/LC_MESSAGES/core.po index fef3f47259..bd28ac6451 100644 --- a/locale/ss/LC_MESSAGES/core.po +++ b/locale/ss/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/st/LC_MESSAGES/core.po b/locale/st/LC_MESSAGES/core.po index eedafe3f2e..0f9bf86bf3 100644 --- a/locale/st/LC_MESSAGES/core.po +++ b/locale/st/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/su/LC_MESSAGES/core.po b/locale/su/LC_MESSAGES/core.po index 071f8c023f..b2d502c8c3 100644 --- a/locale/su/LC_MESSAGES/core.po +++ b/locale/su/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/sv/LC_MESSAGES/core.po b/locale/sv/LC_MESSAGES/core.po index c1d5893317..f26e2a5eb0 100644 --- a/locale/sv/LC_MESSAGES/core.po +++ b/locale/sv/LC_MESSAGES/core.po @@ -1952,15 +1952,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd schemalagd underhållsroll för full Docker Compose stack omstarter, med hårda omstarter för staplar som Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed bildskärm för att upptäcka ohälsosamma eller icke-noll-exiterade Docker behållare och höja misslyckande varningar" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/sw/LC_MESSAGES/core.po b/locale/sw/LC_MESSAGES/core.po index 13bb9f2eb7..f7b9ef85f3 100644 --- a/locale/sw/LC_MESSAGES/core.po +++ b/locale/sw/LC_MESSAGES/core.po @@ -1960,15 +1960,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Kazi ya matengenezo ya utaratibu kwa stack kamili ya Docker Compose huanza upya, na kuanza upya kwa stacks kama Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Ufuatiliaji wa wakati wa utaratibu wa kuchunguza vyombo vya Docker visivyo na afya au visivyo na sifuri na kuongeza tahadhari za kushindwa" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ta/LC_MESSAGES/core.po b/locale/ta/LC_MESSAGES/core.po index d2e9d7f21c..b2463f479a 100644 --- a/locale/ta/LC_MESSAGES/core.po +++ b/locale/ta/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/te/LC_MESSAGES/core.po b/locale/te/LC_MESSAGES/core.po index 94df583906..17d25b980d 100644 --- a/locale/te/LC_MESSAGES/core.po +++ b/locale/te/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/tg/LC_MESSAGES/core.po b/locale/tg/LC_MESSAGES/core.po index 5fd116dcaf..4827fa60f0 100644 --- a/locale/tg/LC_MESSAGES/core.po +++ b/locale/tg/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/th/LC_MESSAGES/core.po b/locale/th/LC_MESSAGES/core.po index 4927e4b5e9..bffe9d1327 100644 --- a/locale/th/LC_MESSAGES/core.po +++ b/locale/th/LC_MESSAGES/core.po @@ -1955,15 +1955,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "บทบาทการบํารุงรักษาของระบบเต็มรูปแบบ Docker Compose สแต็กเริ่มต้นด้วยฮาร์ดรีเซ็ตสําหรับกองเช่น Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "จอภาพที่ระบบระบุเวลาสําหรับการตรวจสอบสุขภาพไม่แข็งแรงหรือไม่เพิ่มรุ่น Doger และเพิ่มการแจ้งเตือนความล้มเหลว" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ti/LC_MESSAGES/core.po b/locale/ti/LC_MESSAGES/core.po index f9c345b647..f2d857d577 100644 --- a/locale/ti/LC_MESSAGES/core.po +++ b/locale/ti/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/tk/LC_MESSAGES/core.po b/locale/tk/LC_MESSAGES/core.po index ab908cb591..98c276abfa 100644 --- a/locale/tk/LC_MESSAGES/core.po +++ b/locale/tk/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/tl/LC_MESSAGES/core.po b/locale/tl/LC_MESSAGES/core.po index b49eeb0571..94c8fcb74e 100644 --- a/locale/tl/LC_MESSAGES/core.po +++ b/locale/tl/LC_MESSAGES/core.po @@ -1953,15 +1953,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Systemd-scheduled maintenance papel para sa full Docker Compose stack restarts, na may hard restarts para sa mga salansan tulad ng Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Systemd-timed monitor para sa pagpansin ng hindi malusog o non-zero-exited Docker containers at pagpapalaki ng mga babala ng pagkabigo" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/tn/LC_MESSAGES/core.po b/locale/tn/LC_MESSAGES/core.po index eed1375010..1cc3474546 100644 --- a/locale/tn/LC_MESSAGES/core.po +++ b/locale/tn/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/to/LC_MESSAGES/core.po b/locale/to/LC_MESSAGES/core.po index 9597ebfa98..be305dbc1d 100644 --- a/locale/to/LC_MESSAGES/core.po +++ b/locale/to/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/tr/LC_MESSAGES/core.po b/locale/tr/LC_MESSAGES/core.po index 872eae71b1..35d40b1266 100644 --- a/locale/tr/LC_MESSAGES/core.po +++ b/locale/tr/LC_MESSAGES/core.po @@ -1954,15 +1954,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Tüm Docker Compose yığını için sistemli bakım rolü yeniden başlar, Mailu gibi yığınlar için sert yeniden başlar." -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "sağlıksız veya non-zero-exited Docker konteynerlerini tespit etmek ve başarısızlık uyarılarını yükseltmek için sistemli bir monitör" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ts/LC_MESSAGES/core.po b/locale/ts/LC_MESSAGES/core.po index 10413a4454..1bc152b6b3 100644 --- a/locale/ts/LC_MESSAGES/core.po +++ b/locale/ts/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/tt/LC_MESSAGES/core.po b/locale/tt/LC_MESSAGES/core.po index d20b60d297..47995cef2f 100644 --- a/locale/tt/LC_MESSAGES/core.po +++ b/locale/tt/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/tw/LC_MESSAGES/core.po b/locale/tw/LC_MESSAGES/core.po index f9b94ea9b3..0080152269 100644 --- a/locale/tw/LC_MESSAGES/core.po +++ b/locale/tw/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ty/LC_MESSAGES/core.po b/locale/ty/LC_MESSAGES/core.po index 8091f59371..15d4348779 100644 --- a/locale/ty/LC_MESSAGES/core.po +++ b/locale/ty/LC_MESSAGES/core.po @@ -1567,14 +1567,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ug/LC_MESSAGES/core.po b/locale/ug/LC_MESSAGES/core.po index b496b6ddca..0f0261b31b 100644 --- a/locale/ug/LC_MESSAGES/core.po +++ b/locale/ug/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/uk/LC_MESSAGES/core.po b/locale/uk/LC_MESSAGES/core.po index 0949251397..188e084623 100644 --- a/locale/uk/LC_MESSAGES/core.po +++ b/locale/uk/LC_MESSAGES/core.po @@ -1949,15 +1949,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Систематизована роль технічного обслуговування для повного циклу Docker Compose стека, з твердими рештками для стеків, таких як Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Систематизований монітор для виявлення нездорових або ненульованих контейнерів Docker та підвищення аварійних повідомлень" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/ur/LC_MESSAGES/core.po b/locale/ur/LC_MESSAGES/core.po index d3e894c713..a7ebedc435 100644 --- a/locale/ur/LC_MESSAGES/core.po +++ b/locale/ur/LC_MESSAGES/core.po @@ -1973,15 +1973,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "مکمل طور پر سنبھالنے والے کردار Docker Compose اسٹاک دوبارہ شروع، اسٹاک کے لئے سخت دوبارہ شروع کرنے کے ساتھ Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "بے روزگاری یا غیر ضروری ڈرگ کی جانچ کے لیے نظام وقتی نگرانی اور ناکامی کے شعور کو بیدار کرنا" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/uz/LC_MESSAGES/core.po b/locale/uz/LC_MESSAGES/core.po index 72a20eb98a..f8b5754a9e 100644 --- a/locale/uz/LC_MESSAGES/core.po +++ b/locale/uz/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/ve/LC_MESSAGES/core.po b/locale/ve/LC_MESSAGES/core.po index bf26f4d3a4..850bd756a8 100644 --- a/locale/ve/LC_MESSAGES/core.po +++ b/locale/ve/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/vi/LC_MESSAGES/core.po b/locale/vi/LC_MESSAGES/core.po index 582aeb4825..093942f75e 100644 --- a/locale/vi/LC_MESSAGES/core.po +++ b/locale/vi/LC_MESSAGES/core.po @@ -1945,15 +1945,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "Vai trò bảo trì có sẵn hệ thống cho đầy đủ Docker Compose chồng khởi chạy lại, với khởi chạy lại khó cho chồng như Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "Trình theo dõi thời gian hệ thống để phát hiện các hộp Docker không lành mạnh hoặc không được cung cấp và tăng cảnh báo thất bại" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/vo/LC_MESSAGES/core.po b/locale/vo/LC_MESSAGES/core.po index 28f1c6443a..e1c90bda4b 100644 --- a/locale/vo/LC_MESSAGES/core.po +++ b/locale/vo/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/wa/LC_MESSAGES/core.po b/locale/wa/LC_MESSAGES/core.po index edf3a72a9d..c14ea996f9 100644 --- a/locale/wa/LC_MESSAGES/core.po +++ b/locale/wa/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/wo/LC_MESSAGES/core.po b/locale/wo/LC_MESSAGES/core.po index 6caa3cd8e2..bcfb5788f2 100644 --- a/locale/wo/LC_MESSAGES/core.po +++ b/locale/wo/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/xh/LC_MESSAGES/core.po b/locale/xh/LC_MESSAGES/core.po index 12160ee62e..15e4cb499a 100644 --- a/locale/xh/LC_MESSAGES/core.po +++ b/locale/xh/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/yi/LC_MESSAGES/core.po b/locale/yi/LC_MESSAGES/core.po index 56145fbbaf..c073efb7fc 100644 --- a/locale/yi/LC_MESSAGES/core.po +++ b/locale/yi/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/yo/LC_MESSAGES/core.po b/locale/yo/LC_MESSAGES/core.po index d5a580807d..d315a6a5fd 100644 --- a/locale/yo/LC_MESSAGES/core.po +++ b/locale/yo/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/za/LC_MESSAGES/core.po b/locale/za/LC_MESSAGES/core.po index 6e3edffd78..0394f46dcf 100644 --- a/locale/za/LC_MESSAGES/core.po +++ b/locale/za/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/locale/zh/LC_MESSAGES/core.po b/locale/zh/LC_MESSAGES/core.po index 79bc3db9ad..a229584118 100644 --- a/locale/zh/LC_MESSAGES/core.po +++ b/locale/zh/LC_MESSAGES/core.po @@ -1956,15 +1956,15 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "系统安排的维护作用 Docker Compose 堆栈重新启动,对堆栈进行硬重启 Mailu" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - # translated-by: libretranslate msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "系统定时监测器,用于检测不健康或非零放行的Docker容器并提高故障警报" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + # translated-by: libretranslate msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" diff --git a/locale/zu/LC_MESSAGES/core.po b/locale/zu/LC_MESSAGES/core.po index b152db708b..a4ef521675 100644 --- a/locale/zu/LC_MESSAGES/core.po +++ b/locale/zu/LC_MESSAGES/core.po @@ -1568,14 +1568,14 @@ msgctxt "role:sys-ctl-rpr-container-hard:description" msgid "Systemd-scheduled maintenance role for full Docker Compose stack restarts, with hard restarts for stacks like Mailu" msgstr "" -msgctxt "role:sys-ctl-hlth-runtime:description" -msgid "Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening" -msgstr "" - msgctxt "role:sys-ctl-hlth-container:description" msgid "Systemd-timed monitor for detecting unhealthy or non-zero-exited Docker containers and raising failure alerts" msgstr "" +msgctxt "role:sys-ctl-hlth-runtime:description" +msgid "Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check" +msgstr "" + msgctxt "role:sys-ctl-alm-email:description" msgid "Systemd-triggered msmtp notifier for emailing operators when a monitored service unit fails" msgstr "" diff --git a/meta/packages.yml b/meta/packages.yml index 8f265adfe8..4712a5ae22 100644 --- a/meta/packages.yml +++ b/meta/packages.yml @@ -28,7 +28,10 @@ blender: Archlinux: - - blender + names: + - blender + architectures: + - amd64 Debian: - blender centos: @@ -37,6 +40,8 @@ blender: - org.blender.Blender flatpak: command: blender + architectures: + - amd64 fedora: - blender diff --git a/package-lock.json b/package-lock.json index c5b628f37d..b36c9388e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,11 +10,11 @@ "devDependencies": { "@axe-core/playwright": "^4.14.0", "@eslint/js": "^10.0.1", - "@playwright/test": "^1.64.1", + "@playwright/test": "^1.65.0", "eslint": "^10.14.0", "eslint-plugin-playwright": "^2.12.2", "globals": "^17.14.0", - "stylelint": "^17.16.0" + "stylelint": "^18.0.0" } }, "node_modules/@axe-core/playwright": { @@ -33,31 +33,6 @@ "playwright-core": ">= 1.0.0" } }, - "node_modules/@babel/code-frame": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", - "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-validator-identifier": "^7.29.7", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.29.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", - "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@cacheable/memory": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", @@ -83,9 +58,9 @@ } }, "node_modules/@csstools/css-calc": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.3.0.tgz", - "integrity": "sha512-c5ihYsPkdG6JCkU2zTMm4+k6r7RXuGxtWYhu5DHMIiF1FHzrfmHL5so11AoFpUv/tu61xfcmT4AmKoFfMPoqdQ==", + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-3.4.3.tgz", + "integrity": "sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==", "dev": true, "funding": [ { @@ -102,14 +77,14 @@ "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.0", - "@csstools/css-tokenizer": "^4.0.0" + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-tokenizer": "^4.0.2" } }, "node_modules/@csstools/css-parser-algorithms": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.0.tgz", - "integrity": "sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz", + "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==", "dev": true, "funding": [ { @@ -126,13 +101,13 @@ "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-tokenizer": "^4.0.0" + "@csstools/css-tokenizer": "^4.0.2" } }, "node_modules/@csstools/css-syntax-patches-for-csstree": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.12.tgz", - "integrity": "sha512-3vLQK+dXxhBMR2Wx99PTCifE+vHtW2ndZWyla8yK813ev6oGhyn8Lja8jCyGAWTJ+LEYZK7EVtJxrDj8ztevJw==", + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.16.tgz", + "integrity": "sha512-LsDbJPP/B8cPasUJyTA5S99F7C4G93ngW8hUluXz8CFeOaaRnBPtBiIlvgcPYU0HmHNz8CXg+1vwFrIB4F6Dgw==", "dev": true, "funding": [ { @@ -155,9 +130,9 @@ } }, "node_modules/@csstools/css-tokenizer": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.0.tgz", - "integrity": "sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz", + "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==", "dev": true, "funding": [ { @@ -175,9 +150,9 @@ } }, "node_modules/@csstools/media-query-list-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-5.0.0.tgz", - "integrity": "sha512-T9lXmZOfnam3eMERPsszjY5NK0jX8RmThmmm99FZ8b7z8yMaFZWKwLWGZuTwdO3ddRY5fy13GmmEYZXB4I98Eg==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-5.0.2.tgz", + "integrity": "sha512-qx19O8AbbLLbDSAcI6YOby/Vq8rV51psgIvlF5OZT/L8fQJDCyQifL6k+kYU4a8ySpzJ4RBzZkIs530bAn8y4Q==", "dev": true, "funding": [ { @@ -194,14 +169,14 @@ "node": ">=20.19.0" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^4.0.0", - "@csstools/css-tokenizer": "^4.0.0" + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-tokenizer": "^4.0.2" } }, "node_modules/@csstools/selector-resolve-nested": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-4.0.1.tgz", - "integrity": "sha512-j3vdQu0XwLME5qOTWxm8cnmvsf423R2YL6DbKklCHZwkDm7UdKNu6RPlw4REIJhSlKBICY3B70/7QZdicLqZgg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-4.0.2.tgz", + "integrity": "sha512-JpjNBJFA+4OnAHKRK4AMp8xrYyLhI9XapOeBlP2PhRU/IylSw+1ep3BFNTksBJnrTS3KT6kqKNVfpzLLwZUW5Q==", "dev": true, "funding": [ { @@ -222,9 +197,9 @@ } }, "node_modules/@csstools/selector-specificity": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-6.0.0.tgz", - "integrity": "sha512-4sSgl78OtOXEX/2d++8A83zHNTgwCJMaR24FvsYL7Uf/VS8HZk9PTwR51elTbGqMuwH3szLvvOXEaVnqn0Z3zA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-6.0.1.tgz", + "integrity": "sha512-MBuqFIIvqk4S593MGAskTkPpEUUzZNvGzh8mMxEwl3oHwjQlXmqHEDxNbN3Y0Tsh+xjmem4GZjeg7I0qkwBivg==", "dev": true, "funding": [ { @@ -438,6 +413,13 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@isaacs/nonrecursive-glob-match": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.0.3.tgz", + "integrity": "sha512-SI7kyKHq4XXDRozw+r9GlRZkia1ZkFrpLW98r2IC2Bpr8YkFGE3fvjzmxCG0x78A++69HmDNrDvSMYBZmHGpKA==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/@keyv/bigmap": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", @@ -462,52 +444,14 @@ "dev": true, "license": "MIT" }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/@playwright/test": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.64.1.tgz", - "integrity": "sha512-IaYGml/nSOiZWROfPtuIL7neuu9qDOZ3TNvNljUIrhDMxiGTgPjzj/g9p9RxpS2tSepPDRY+UwAaEeiKtUvIAg==", + "version": "1.65.0", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.0.tgz", + "integrity": "sha512-iGURLGuKDLakSEl7Pgfv8h7f+XLT+V861Wfhz0zlEl5nyFuKUopdkFBPKqTllTUp06aOwPuH8iuUEb3yp3MpbQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright": "1.64.1" + "playwright": "1.65.0" }, "bin": { "playwright": "cli.js" @@ -516,19 +460,6 @@ "node": ">=20" } }, - "node_modules/@sindresorhus/merge-streams": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", - "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@types/esrecurse": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", @@ -590,48 +521,22 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-3.0.4.tgz", + "integrity": "sha512-fwWK3Zq22l4XJJjx5mcBHGikIk+hJqO+32dPm0Jur7+rtG5x1scOjSfdT9ZKeWHPpsya/l0HHK4tDImBkTrtvA==", "dev": true, - "license": "Python-2.0" - }, - "node_modules/astral-regex": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", - "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "PSF-2.0" }, "node_modules/axe-core": { "version": "4.14.0", @@ -666,19 +571,6 @@ "node": "20 || >=22" } }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/cacheable": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", @@ -693,36 +585,6 @@ "qified": "^0.10.1" } }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "license": "MIT" - }, "node_modules/colord": { "version": "2.10.0", "resolved": "https://registry.npmjs.org/colord/-/colord-2.10.0.tgz", @@ -731,30 +593,20 @@ "license": "MIT" }, "node_modules/cosmiconfig": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz", - "integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-10.0.1.tgz", + "integrity": "sha512-/zvGoYn0y27QTBmK+0B+oPdEPC4fKGUmJsMTQbDjqph00TrkqfVFW/M+C6ya54sYCgHC6QCwK/mI6djt8cEGHQ==", "dev": true, "license": "MIT", "dependencies": { "env-paths": "^2.2.1", - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0" + "js-yaml": "^5.4.1" }, "engines": { - "node": ">=14" + "node": "^22.18 || >= 24" }, "funding": { "url": "https://github.com/sponsors/d-fischer" - }, - "peerDependencies": { - "typescript": ">=4.9.5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } } }, "node_modules/cross-spawn": { @@ -772,16 +624,6 @@ "node": ">= 8" } }, - "node_modules/css-functions-list": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.3.3.tgz", - "integrity": "sha512-8HFEBPKhOpJPEPu70wJJetjKta86Gw9+CCyCnB3sui2qQfOvRyqBy4IKLKKAwdMpWb2lHXWk9Wb4Z6AmaUT1Pg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - } - }, "node_modules/css-tree": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", @@ -834,13 +676,6 @@ "dev": true, "license": "MIT" }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, "node_modules/env-paths": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", @@ -851,16 +686,6 @@ "node": ">=6" } }, - "node_modules/error-ex": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", - "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -1052,36 +877,6 @@ "dev": true, "license": "MIT" }, - "node_modules/fast-glob": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", - "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -1096,41 +891,22 @@ "dev": true, "license": "MIT" }, - "node_modules/fast-uri": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.9.tgz", - "integrity": "sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/fastest-levenshtein": { - "version": "1.0.16", - "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", - "integrity": "sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==", + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, "license": "MIT", "engines": { - "node": ">= 4.9.1" - } - }, - "node_modules/fastq": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz", - "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } } }, "node_modules/file-entry-cache": { @@ -1143,19 +919,6 @@ "flat-cache": "^6.1.23" } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -1192,19 +955,6 @@ "dev": true, "license": "ISC" }, - "node_modules/get-east-asian-width": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.6.0.tgz", - "integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -1218,47 +968,6 @@ "node": ">=10.13.0" } }, - "node_modules/global-modules": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", - "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", - "dev": true, - "license": "MIT", - "dependencies": { - "global-prefix": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/global-prefix": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", - "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ini": "^1.3.5", - "kind-of": "^6.0.2", - "which": "^1.3.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/global-prefix/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, "node_modules/globals": { "version": "17.14.0", "resolved": "https://registry.npmjs.org/globals/-/globals-17.14.0.tgz", @@ -1272,58 +981,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby": { - "version": "16.2.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-16.2.4.tgz", - "integrity": "sha512-c8B/VNLmxRcmqqenRA9t+9IyOjf9+V6lTxPaUJLqOCONdQkWZ0ETYgX0qbtJqPsgCNusT9MZ5Jeidw8Eb9tn2g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/merge-streams": "^4.0.0", - "fast-glob": "^3.3.3", - "ignore": "^7.0.5", - "is-path-inside": "^4.0.0", - "micromatch": "^4.0.8", - "slash": "^5.1.0", - "unicorn-magic": "^0.4.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby/node_modules/ignore": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.6.tgz", - "integrity": "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/globjoin": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/globjoin/-/globjoin-0.1.4.tgz", - "integrity": "sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==", - "dev": true, - "license": "MIT" - }, - "node_modules/has-flag": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-5.0.1.tgz", - "integrity": "sha512-CsNUt5x9LUdx6hnk/E2SZLsDyvfqANZSUq4+D3D8RzDJ2M+HDTIkF60ibS1vHaK55vzgiZw1bEPFG9yH7l33wA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/hashery": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", @@ -1344,19 +1001,6 @@ "dev": true, "license": "MIT" }, - "node_modules/html-tags": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-5.1.0.tgz", - "integrity": "sha512-n6l5uca7/y5joxZ3LUePhzmBFUJ+U2YWzhMa8XUTecSeSlQiZdF5XAd/Q3/WUl0VsXgUwWi8I7CNIwdI5WN1SQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20.10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -1367,33 +1011,6 @@ "node": ">= 4" } }, - "node_modules/import-fresh": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", - "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/import-meta-resolve": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.2.0.tgz", @@ -1415,20 +1032,6 @@ "node": ">=0.8.19" } }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true, - "license": "ISC" - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true, - "license": "MIT" - }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -1439,16 +1042,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -1462,29 +1055,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-path-inside": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-4.0.0.tgz", - "integrity": "sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -1492,17 +1062,10 @@ "dev": true, "license": "ISC" }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, - "license": "MIT" - }, "node_modules/js-yaml": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", - "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.5.0.tgz", + "integrity": "sha512-paNr4LFIFPjeeSmwNYdrb8FafLLG/Cr2Af3GjbsHJ5CxIjH4r0c2emlmRdAtpPAieP1gRVzk6buBbVP5gBMGAg==", "dev": true, "funding": [ { @@ -1516,19 +1079,12 @@ ], "license": "MIT", "dependencies": { - "argparse": "^2.0.1" + "argparse": "^3.0.3" }, "bin": { - "js-yaml": "bin/js-yaml.js" + "js-yaml": "bin/js-yaml.mjs" } }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true, - "license": "MIT" - }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -1553,16 +1109,6 @@ "@keyv/serialize": "^1.1.1" } }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -1577,13 +1123,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true, - "license": "MIT" - }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -1600,24 +1139,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/lodash.truncate": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", - "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", - "dev": true, - "license": "MIT" - }, - "node_modules/mathml-tag-names": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mathml-tag-names/-/mathml-tag-names-4.0.0.tgz", - "integrity": "sha512-aa6AU2Pcx0VP/XWnh8IGL0SYSgQHDT6Ucror2j2mXeFAlN3ahaNs8EZtG1YiticMkSLj3Gt6VPFfZogt7G5iFQ==", - "dev": true, - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, "node_modules/mdn-data": { "version": "2.27.1", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", @@ -1625,54 +1146,18 @@ "dev": true, "license": "CC0-1.0" }, - "node_modules/meow": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-14.1.0.tgz", - "integrity": "sha512-EDYo6VlmtnumlcBCbh1gLJ//9jvM/ndXHfVXIFrZVr6fGcwTUyCTFNTLCKuY3ffbK8L/+3Mzqnd58RojiZqHVw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/minimatch": { - "version": "10.2.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", - "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.4.tgz", + "integrity": "sha512-/UJ1dEoVQTjPNDh6SGlUo+ueLMmoHTas4q+8yaAR/5t6nLAIiBDJtoYUh20IYleix7ehiQkgczb84PE3uzHkxg==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^5.0.8" + "@isaacs/nonrecursive-glob-match": "^1.0.3", + "brace-expansion": "^5.0.12" }, "engines": { - "node": "18 || 20 || >=22" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -1686,9 +1171,9 @@ "license": "MIT" }, "node_modules/nanoid": { - "version": "3.3.18", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.18.tgz", - "integrity": "sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", "dev": true, "funding": [ { @@ -1711,16 +1196,6 @@ "dev": true, "license": "MIT" }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/optionator": { "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", @@ -1771,38 +1246,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -1831,26 +1274,26 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/playwright": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.64.1.tgz", - "integrity": "sha512-HCrVhHr5QQuwYoswEUGTb7gGp522yflbv/ST8nF4sFWGuLjQCt17Q/EubpGGSNKYn1tsTCPZxqHhHCfVURu7UA==", + "version": "1.65.0", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.0.tgz", + "integrity": "sha512-F3AMWcR44qMBt4kq+6Kb6mX7bjGXshktKFOPULd7reED6ZJWevjbNRqysP7q+AATE9kdPEZBibex1BYsvpVoeA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.64.1" + "playwright-core": "1.65.0" }, "bin": { "playwright": "cli.js" @@ -1860,9 +1303,9 @@ } }, "node_modules/playwright-core": { - "version": "1.64.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.64.1.tgz", - "integrity": "sha512-BC4s8y6SEVA6Q1rSxZTto8hI1KUI3xXlHGZgvGqP4IqPdI/a6FX9H29IDNz7vKo9l21b6LfYosScPL6M3xxyDQ==", + "version": "1.65.0", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.0.tgz", + "integrity": "sha512-vNSKgH6YqtN7cdT/L334zo0a+YwkrpicyrHJlWWPIm/Q+Nn2SWInil01oT0mbu96U4GgoRtCYQD9CzJQgju+lA==", "dev": true, "license": "Apache-2.0", "bin": { @@ -1873,9 +1316,9 @@ } }, "node_modules/postcss": { - "version": "8.5.26", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz", - "integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==", + "version": "8.5.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.32.tgz", + "integrity": "sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==", "dev": true, "funding": [ { @@ -1893,18 +1336,18 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.17", + "nanoid": "^3.3.20", "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" } }, "node_modules/postcss-safe-parser": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.1.tgz", - "integrity": "sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.1.0.tgz", + "integrity": "sha512-1WzZxRLaAFwEh6Do+zyGpjWV3nGJNxxhuh7Ubu/q1ICImMgZJnLwhoaEpRbG4pJppp2Y1ncL9ffA2f+LhrefQg==", "dev": true, "funding": [ { @@ -1929,9 +1372,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", - "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.7.tgz", + "integrity": "sha512-wWBro/7hJ40ye6TPiXkUQoXKCw23xSsjriUvqd7Uls9Sso3oLiON1flc18cCdnjgCRXw4fBVqUJJeOdDTh3P3g==", "dev": true, "license": "MIT", "dependencies": { @@ -1989,72 +1432,6 @@ "dev": true, "license": "MIT" }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/reusify": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", - "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -2091,37 +1468,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/slash": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", - "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, "node_modules/source-map-js": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", @@ -2132,38 +1478,10 @@ "node": ">=0.10.0" } }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/stylelint": { - "version": "17.16.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-17.16.0.tgz", - "integrity": "sha512-ejlWnbJ13x1GU32+zZXa6sYQJsKKkwSdv2B4rAdO3OWdEmvhSJKcXi5pOphQYSzyaj1kXpuGJr7pcMBNfDIuPw==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-18.0.0.tgz", + "integrity": "sha512-kI10GsHXQvsH/AcklVZdQgwDuxtHi+A+h1Ujzd7h9LDf3e5jQiLQkWFlPtpynX3E6oVWHG1wo9v6dL0Mr+nnSA==", "dev": true, "funding": [ { @@ -2177,193 +1495,58 @@ ], "license": "MIT", "dependencies": { - "@csstools/css-calc": "^3.3.0", - "@csstools/css-parser-algorithms": "^4.0.0", - "@csstools/css-syntax-patches-for-csstree": "^1.1.9", - "@csstools/css-tokenizer": "^4.0.0", - "@csstools/media-query-list-parser": "^5.0.0", - "@csstools/selector-resolve-nested": "^4.0.1", - "@csstools/selector-specificity": "^6.0.0", + "@csstools/css-calc": "^3.4.3", + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-syntax-patches-for-csstree": "^1.1.15", + "@csstools/css-tokenizer": "^4.0.2", + "@csstools/media-query-list-parser": "^5.0.2", + "@csstools/selector-resolve-nested": "^4.0.2", + "@csstools/selector-specificity": "^6.0.1", "colord": "^2.10.0", - "cosmiconfig": "^9.0.2", - "css-functions-list": "^3.3.3", + "cosmiconfig": "^10.0.1", "css-tree": "^3.2.1", - "debug": "^4.4.3", - "fast-glob": "^3.3.3", - "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^11.1.5", - "global-modules": "^2.0.0", - "globby": "^16.2.4", - "globjoin": "^0.1.4", - "html-tags": "^5.1.0", - "ignore": "^7.0.6", + "ignore": "^7.0.14", "import-meta-resolve": "^4.2.0", - "mathml-tag-names": "^4.0.0", - "meow": "^14.1.0", - "micromatch": "^4.0.8", - "normalize-path": "^3.0.0", - "picocolors": "^1.1.1", - "postcss": "^8.5.26", - "postcss-safe-parser": "^7.0.1", - "postcss-selector-parser": "^7.1.5", + "picomatch": "^4.0.7", + "postcss": "^8.5.31", + "postcss-safe-parser": "^7.1.0", + "postcss-selector-parser": "^7.1.7", "postcss-value-parser": "^4.2.0", - "string-width": "^8.2.2", - "supports-hyperlinks": "^4.5.0", - "svg-tags": "^1.0.0", - "table": "^6.9.0", - "write-file-atomic": "^7.0.1" + "tinyglobby": "^0.2.17", + "write-file-atomic": "^8.0.0" }, "bin": { "stylelint": "bin/stylelint.mjs" }, "engines": { - "node": ">=20.19.0" - } - }, - "node_modules/stylelint/node_modules/ansi-regex": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.3.0.tgz", - "integrity": "sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" } }, "node_modules/stylelint/node_modules/ignore": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.6.tgz", - "integrity": "sha512-BAg6QkE8W+TuQLrrw0Ugr7HegXduRuuj8/ti2kSOc+jz1dmx8/WNcjr6XGnq5YpDWxFwwaavqD0+jIUOKelTsw==", + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.14.tgz", + "integrity": "sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==", "dev": true, "license": "MIT", "engines": { "node": ">= 4" } }, - "node_modules/stylelint/node_modules/string-width": { - "version": "8.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.2.tgz", - "integrity": "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==", + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { - "get-east-asian-width": "^1.5.0", - "strip-ansi": "^7.1.2" + "fdir": "^6.5.0", + "picomatch": "^4.0.4" }, "engines": { - "node": ">=20" + "node": ">=12.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stylelint/node_modules/strip-ansi": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", - "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/supports-color": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz", - "integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/supports-hyperlinks": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-4.5.0.tgz", - "integrity": "sha512-ZW2OvfeCXrNTbLakPUzjQG922EeGCOteFSVoek5DKStTh898wf7zgtuFlzQN8HfZCxC3Eh02yJVrRW51hADf+w==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^5.0.1", - "supports-color": "^10.2.2" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/chalk/supports-hyperlinks?sponsor=1" - } - }, - "node_modules/svg-tags": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/svg-tags/-/svg-tags-1.0.0.tgz", - "integrity": "sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==", - "dev": true - }, - "node_modules/table": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", - "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "ajv": "^8.0.1", - "lodash.truncate": "^4.4.2", - "slice-ansi": "^4.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/table/node_modules/ajv": { - "version": "8.20.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", - "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/table/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" + "url": "https://github.com/sponsors/SuperchupuDev" } }, "node_modules/type-check": { @@ -2379,19 +1562,6 @@ "node": ">= 0.8.0" } }, - "node_modules/unicorn-magic": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.4.0.tgz", - "integrity": "sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -2436,16 +1606,16 @@ } }, "node_modules/write-file-atomic": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-7.0.1.tgz", - "integrity": "sha512-OTIk8iR8/aCRWBqvxrzxR0hgxWpnYBblY1S5hDWBQfk/VFmJwzmJgQFN3WsoUKHISv2eAwe+PpbUzyL1CKTLXg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-8.0.0.tgz", + "integrity": "sha512-dYwyZredl67GyLLIHJnRM3h2PcOmN5SkcgC7eM5DPDEOEl6dLFqVrMg3F1Ea32usj4VSVZtd2H4MtKTNOf6nPg==", "dev": true, "license": "ISC", "dependencies": { "signal-exit": "^4.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^22.22.2 || ^24.15.0 || >=26.0.0" } }, "node_modules/yocto-queue": { diff --git a/package.json b/package.json index 5eb370f292..f833ac10ac 100644 --- a/package.json +++ b/package.json @@ -10,13 +10,14 @@ "devDependencies": { "@axe-core/playwright": "^4.14.0", "@eslint/js": "^10.0.1", - "@playwright/test": "^1.64.1", + "@playwright/test": "^1.65.0", "eslint": "^10.14.0", "eslint-plugin-playwright": "^2.12.2", "globals": "^17.14.0", - "stylelint": "^17.16.0" + "stylelint": "^18.0.0" }, "overrides": { - "brace-expansion": "^5.0.12" + "brace-expansion": "^5.0.12", + "minimatch": "^11.0.1" } } diff --git a/plugins/action/cloudflare_records_converged.py b/plugins/action/cloudflare_records_converged.py index dbd661085d..3514078b8e 100644 --- a/plugins/action/cloudflare_records_converged.py +++ b/plugins/action/cloudflare_records_converged.py @@ -14,7 +14,7 @@ from ansible.module_utils.urls import open_url from ansible.plugins.action import ActionBase ZONES = "https://api.cloudflare.com/client/v4/zones" -REVIEWED_COMMUNITY_GENERAL = "14.0.0" +REVIEWED_COMMUNITY_GENERAL = "14.0.1" PAGE_SIZE = 5000 ARGUMENTS = frozenset({"api_token", "records", "timeout"}) JUDGED_TYPES = ("A", "AAAA", "CNAME", "MX", "TXT", "SRV") diff --git a/plugins/action/package_install.py b/plugins/action/package_install.py index 7d8c410076..a1ffbfbe1f 100755 --- a/plugins/action/package_install.py +++ b/plugins/action/package_install.py @@ -56,7 +56,12 @@ from utils.packages.installed import ( state_holds, ) from utils.packages.outcome import aggregate -from utils.packages.plan import build_plan, merge_plans +from utils.packages.plan import ( + HOST_ARCHITECTURE_VAR, + build_plan, + ensure_published, + merge_plans, +) from utils.packages.registry import build_registry, project_root_from_env, resolve from utils.packages.schema import ROLE_FILE_META_PACKAGES, PackagesShapeError @@ -80,12 +85,19 @@ class ActionModule(ActionBase): package_ids = self._package_ids() registry = self._registry() role = self._role() + kernel = read_fact(facts, "architecture") + by_kernel = dict(task_vars.get(HOST_ARCHITECTURE_VAR) or {}) plans: list[list[ModuleCall]] = [] skipped: list[str] = [] for package_id in package_ids: spec = self._spec_for(registry, package_id, distribution, os_family, role) + if state == STATE_PRESENT: + try: + ensure_published(package_id, distribution, kernel, by_kernel, spec) + except ValueError as exc: + raise AnsibleActionFail(str(exc)) from exc plan = self._plan_for(spec, state) if not plan: skipped.append(package_id) @@ -242,7 +254,9 @@ class ActionModule(ActionBase): result = self._execute_module( module_name="ansible.builtin.setup", - module_args={"gather_subset": ["!all", "!min", "distribution", "pkg_mgr"]}, + module_args={ + "gather_subset": ["!all", "!min", "distribution", "pkg_mgr", "platform"] + }, task_vars=task_vars, ) if result.get("failed"): diff --git a/plugins/lookup/applications.py b/plugins/lookup/applications.py index 74acce51c4..e0890168ee 100644 --- a/plugins/lookup/applications.py +++ b/plugins/lookup/applications.py @@ -5,11 +5,10 @@ from typing import Any from ansible.errors import AnsibleError from ansible.plugins.lookup import LookupBase -from utils.cache import _reset_cache_for_tests as _reset_runtime_lookup_cache - # nocheck: lookup-cache-import (this lookup IS the applications SPOT provider) from utils.cache.applications import get_merged_applications from utils.cache.carrier import merged_applications_cache_key +from utils.cache.reset import _reset_cache_for_tests as _reset_runtime_lookup_cache def _reset_cache_for_tests() -> None: diff --git a/plugins/lookup/domains.py b/plugins/lookup/domains.py index 6a9a73108c..efb7b4a3ef 100644 --- a/plugins/lookup/domains.py +++ b/plugins/lookup/domains.py @@ -5,10 +5,9 @@ from typing import Any from ansible.errors import AnsibleError from ansible.plugins.lookup import LookupBase -from utils.cache import _reset_cache_for_tests as _reset_runtime_lookup_cache - # nocheck: lookup-cache-import from utils.cache.domains import get_merged_domains +from utils.cache.reset import _reset_cache_for_tests as _reset_runtime_lookup_cache def _reset_cache_for_tests() -> None: diff --git a/plugins/lookup/proxy_pass.py b/plugins/lookup/proxy_pass.py index e828864413..96edc67444 100644 --- a/plugins/lookup/proxy_pass.py +++ b/plugins/lookup/proxy_pass.py @@ -47,7 +47,6 @@ class LookupModule(LookupBase): if not port_kind: port_kind = "http" tail = _as_str(kwargs.get("tail")) or "request" - location = _as_str(kwargs.get("location")) or "/" vars_ = variables or getattr(self._templar, "available_variables", {}) or {} templar = getattr(self, "_templar", None) @@ -110,7 +109,6 @@ class LookupModule(LookupBase): authority, deployment_mode, tail=tail, - location=location, host_gateway=host_gateway, ) ] diff --git a/plugins/lookup/requires_python.py b/plugins/lookup/requires_python.py new file mode 100644 index 0000000000..2700034c47 --- /dev/null +++ b/plugins/lookup/requires_python.py @@ -0,0 +1,24 @@ +""" +Ansible lookup plugin: requires_python + +Args: + terms: none. + +Returns: + The ``requires-python`` spec of pyproject.toml at the repository root. +""" + +from __future__ import annotations + +from ansible.errors import AnsibleError +from ansible.plugins.lookup import LookupBase + +from plugins.lookup import PROJECT_ROOT +from utils.requires_python import requires_python + + +class LookupModule(LookupBase): + def run(self, terms, variables=None, **kwargs): + if terms: + raise AnsibleError("requires_python lookup takes no terms") + return [requires_python(PROJECT_ROOT)] diff --git a/plugins/lookup/role_version.py b/plugins/lookup/role_version.py new file mode 100644 index 0000000000..8ceef1a32a --- /dev/null +++ b/plugins/lookup/role_version.py @@ -0,0 +1,53 @@ +"""lookup('role_version', 'web-app-cst-') + +Args: + application_id: a custom role the pull placed under ``roles/``. + +Returns: + The version the pull read from ``Cargo.toml``, ``pyproject.toml`` or + ``package.json`` at the source's pinned commit, or in its local checkout, + as recorded in the role's pull marker, e.g. ``0.4.3``. +""" + +# nocheck: lookup-external-consumer -- called by pulled web-app-cst-* roles + +from __future__ import annotations + +from pathlib import Path +from typing import Any + +from ansible.errors import AnsibleError +from ansible.plugins.lookup import LookupBase + +from utils.roles.custom import VERSION_MANIFESTS, is_custom, marker_fields + + +class LookupModule(LookupBase): + def run( + self, terms: list[Any], variables: dict[str, Any] | None = None, **kwargs: Any + ) -> list[str]: + if len(terms) != 1: + raise AnsibleError( + "lookup('role_version', application_id) takes exactly one term" + ) + application_id = str(terms[0]) + if not is_custom(application_id): + raise AnsibleError( + f"lookup('role_version'): {application_id!r} is no custom role; " + "only a role the pull places records a source version" + ) + base = (variables or {}).get("playbook_dir") + if not base: + raise AnsibleError("lookup('role_version'): 'playbook_dir' is unavailable.") + fields = marker_fields(Path(str(base)) / "roles" / application_id) + if fields.get("directory") != application_id: + raise AnsibleError( + f"lookup('role_version'): roles/{application_id} was not placed by a pull" + ) + version = fields.get("version", "") + if not version: + raise AnsibleError( + f"lookup('role_version'): the source of {application_id} declares no " + f"semver in {', '.join(VERSION_MANIFESTS)} at its repository root" + ) + return [version] diff --git a/plugins/lookup/users.py b/plugins/lookup/users.py index cedcf6516a..41a06c8fb8 100644 --- a/plugins/lookup/users.py +++ b/plugins/lookup/users.py @@ -5,8 +5,8 @@ from typing import Any from ansible.errors import AnsibleError from ansible.plugins.lookup import LookupBase -from utils.cache import _reset_cache_for_tests as _reset_runtime_lookup_cache from utils.cache.carrier import merged_users_cache_key +from utils.cache.reset import _reset_cache_for_tests as _reset_runtime_lookup_cache # nocheck: lookup-cache-import (this lookup IS the users SPOT provider) from utils.cache.users import get_merged_users diff --git a/pyproject.toml b/pyproject.toml index d4d48f75a7..55658d62ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,11 +13,12 @@ license = { file = "LICENSE.md" } dependencies = [ # Pinned: utils/recovery reads the generation layout from baudolo's own # BackupPaths, so the version here and in svc-bkp-volume-2-local must match. - "backup-docker-to-local==7.1.1", + "backup-docker-to-local==8.0.0", "Babel", "bcrypt", "cryptography", "humanfriendly", + "Jinja2", "PyMySQL", "psycopg2-binary", "ldap3", @@ -35,7 +36,7 @@ deploy = [ "requests", ] dev = [ - "ruff==0.17.3", + "ruff==0.17.5", "import-linter", "pre-commit", "git-maintainer-tools", diff --git a/requirements/requirements.galaxy.yml b/requirements/requirements.galaxy.yml index fa12a111e4..742b4a0226 100644 --- a/requirements/requirements.galaxy.yml +++ b/requirements/requirements.galaxy.yml @@ -3,11 +3,11 @@ collections: - name: ansible.posix version: 2.2.2 - name: ansible.mariadb - version: 6.0.2 + version: 6.0.3 - name: kewlfft.aur version: 0.13.0 - name: community.general - version: 14.0.0 + version: 14.0.1 - name: community.docker version: 5.4.0 - name: community.library_inventory_filtering_v1 diff --git a/requirements/requirements.git.yml b/requirements/requirements.git.yml index d7019b0b14..555e7cb524 100644 --- a/requirements/requirements.git.yml +++ b/requirements/requirements.git.yml @@ -8,7 +8,7 @@ collections: - name: ansible.mariadb source: https://github.com/ansible-collections/ansible.mariadb.git type: git - version: 6.0.2 + version: 6.0.3 - name: kewlfft.aur source: https://github.com/kewlfft/ansible-aur.git @@ -18,7 +18,7 @@ collections: - name: community.general source: https://github.com/ansible-collections/community.general.git type: git - version: 14.0.0 + version: 14.0.1 - name: community.docker source: https://github.com/ansible-collections/community.docker.git diff --git a/roles/dev-python/tasks/00_core.yml b/roles/dev-python/tasks/00_core.yml index 248682831b..3d18f01d77 100644 --- a/roles/dev-python/tasks/00_core.yml +++ b/roles/dev-python/tasks/00_core.yml @@ -8,10 +8,7 @@ ansible.builtin.script: "{{ role_path }}/files/shell/install.sh" environment: SKIP_DOCKER_APT_SANITIZER: "1" - DEV_PYTHON_REQUIRES: >- - {{ lookup('file', lookup('path_absolute', 'pyproject.toml')) - | regex_search('(?m)^requires-python\\s*=\\s*"([^"]+)"', '\\1') - | first }} + DEV_PYTHON_REQUIRES: "{{ lookup('requires_python') }}" become: true - include_tasks: utils/once/flag.yml diff --git a/roles/dsk-blender/tasks/00_core.yml b/roles/dsk-blender/tasks/00_core.yml index 9f038f066f..ebee471138 100644 --- a/roles/dsk-blender/tasks/00_core.yml +++ b/roles/dsk-blender/tasks/00_core.yml @@ -7,6 +7,8 @@ apply: become: true become_user: "{{ blender_user }}" + environment: + PATH: "{{ blender_exec_path }}" when: blender_mcp_enabled | bool - name: 🏛️ Give Blender its IFC and BIM surface @@ -15,4 +17,6 @@ apply: become: true become_user: "{{ blender_user }}" + environment: + PATH: "{{ blender_exec_path }}" when: blender_bonsai_enabled | bool diff --git a/roles/dsk-blender/tasks/addons/mcp-for-blender.yml b/roles/dsk-blender/tasks/addons/mcp-for-blender.yml index 55dc5a8c26..555ca8f2d8 100644 --- a/roles/dsk-blender/tasks/addons/mcp-for-blender.yml +++ b/roles/dsk-blender/tasks/addons/mcp-for-blender.yml @@ -30,7 +30,7 @@ - install-addon environment: BLENDERMCP_ADDONS_DIR: "{{ blender_addons_probe.stdout | regex_search('ADDONS=(\\S+)', '\\1') | first }}" - PATH: "{{ blender_pipx_bin_dir }}:/usr/local/bin:/usr/bin:/bin" + PATH: "{{ blender_pipx_bin_dir }}:{{ blender_exec_path }}" register: blender_mcp_addon changed_when: "'installed' in (blender_mcp_addon.stdout | lower)" diff --git a/roles/dsk-blender/vars/main.yml b/roles/dsk-blender/vars/main.yml index 52e71b26f3..86dede1a17 100644 --- a/roles/dsk-blender/vars/main.yml +++ b/roles/dsk-blender/vars/main.yml @@ -3,6 +3,7 @@ application_id: dsk-blender blender_user: "{{ lookup('users', WORKSTATION_USER).username }}" blender_home: "/home/{{ blender_user }}" blender_pipx_bin_dir: "{{ [blender_home, '.local', 'bin'] | path_join }}" +blender_exec_path: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" blender_claude_registry: "{{ [blender_home, '.claude.json'] | path_join }}" blender_mcp_enabled: "{{ lookup('config', application_id, 'addons.mcp-for-blender.enabled') | bool }}" blender_mcp_distribution: "{{ lookup('config', application_id, 'addons.mcp-for-blender.config.distribution') }}" diff --git a/roles/dsk-gnt-claude/meta/services.yml b/roles/dsk-gnt-claude/meta/services.yml index 6ca0fd1857..f77c6df408 100644 --- a/roles/dsk-gnt-claude/meta/services.yml +++ b/roles/dsk-gnt-claude/meta/services.yml @@ -9,7 +9,7 @@ claude: host: enabled: true lifecycle: alpha - npm_version: 2.1.314 + npm_version: 2.1.325 update: key: npm_version type: npm diff --git a/roles/dsk-gnt-codex/meta/services.yml b/roles/dsk-gnt-codex/meta/services.yml index effbcee619..11fe62524d 100644 --- a/roles/dsk-gnt-codex/meta/services.yml +++ b/roles/dsk-gnt-codex/meta/services.yml @@ -9,7 +9,7 @@ codex: host: enabled: true lifecycle: alpha - npm_version: 0.166.0 + npm_version: 0.169.0 update: key: npm_version type: npm diff --git a/roles/dsk-gnt-cursor/README.md b/roles/dsk-gnt-cursor/README.md index dedbb438f1..1a03e3c367 100644 --- a/roles/dsk-gnt-cursor/README.md +++ b/roles/dsk-gnt-cursor/README.md @@ -13,4 +13,5 @@ The role therefore installs the editor and leaves the endpoint override to the o ## Features - **Installed, not faked:** the editor is provisioned; the endpoint override stays a documented operator step. -- **Arch today:** the vendor ships neither a Debian nor an RPM repository, so only the Arch build is wired up. +- **Pinned on every distribution:** Arch installs the AUR build; Debian and RedHat install the vendor's pinned `.deb` or `.rpm` by checksum. +- **No vendor repository left behind:** both packages register the vendor's APT or DNF repository on install; the role removes it again, so system updates never depend on it and never move Cursor past the pin. diff --git a/roles/dsk-gnt-cursor/meta/packages.yml b/roles/dsk-gnt-cursor/meta/packages.yml index f64756824d..01953a2f19 100644 --- a/roles/dsk-gnt-cursor/meta/packages.yml +++ b/roles/dsk-gnt-cursor/meta/packages.yml @@ -11,6 +11,9 @@ cursor: download: url: https://downloads.cursor.com/production/f7119520544accb8dcf6d27119b9f1963d8ee5ae/linux/x64/deb/amd64/deb/cursor_3.27.6_amd64.deb checksum: sha256:cf5f443556a5ac5cbf308eeae8f33e44ea34e5421a6910b1c34f977c2541e67f + repo_files: + - /etc/apt/sources.list.d/cursor.list + - /etc/apt/sources.list.d/cursor.sources RedHat: source: download names: @@ -18,3 +21,5 @@ cursor: download: url: https://downloads.cursor.com/production/f7119520544accb8dcf6d27119b9f1963d8ee5ae/linux/x64/rpm/x86_64/cursor-3.27.6.el8.x86_64.rpm checksum: sha256:f06d4f18f16a843fb94f9124692745857bc2e52ae8d33f26491fbf81b4072d02 + repo_files: + - /etc/yum.repos.d/cursor.repo diff --git a/roles/dsk-gnt-pi/meta/services.yml b/roles/dsk-gnt-pi/meta/services.yml index 057bc166f9..739567b37b 100644 --- a/roles/dsk-gnt-pi/meta/services.yml +++ b/roles/dsk-gnt-pi/meta/services.yml @@ -9,7 +9,7 @@ pi: host: enabled: true lifecycle: alpha - npm_version: 1.4.0 + npm_version: 1.5.2 update: key: npm_version type: npm diff --git a/roles/dsk-virtualbox/meta/info.yml b/roles/dsk-virtualbox/meta/info.yml index 779bc05578..b4ed922e02 100644 --- a/roles/dsk-virtualbox/meta/info.yml +++ b/roles/dsk-virtualbox/meta/info.yml @@ -1,3 +1,3 @@ --- -homepage: https://www.virtualbox.org/ +homepage: https://www.virtualbox.org/ # nocheck: url Reason: Oracle answers GitHub runner IPs with HTTP 410; the page answers 200 directly video: https://www.youtube.com/watch?v=RvlfEKRkQfM diff --git a/roles/dsk-virtualbox/meta/license.yml b/roles/dsk-virtualbox/meta/license.yml index f90972b496..7111fcc950 100644 --- a/roles/dsk-virtualbox/meta/license.yml +++ b/roles/dsk-virtualbox/meta/license.yml @@ -1,6 +1,6 @@ --- spdx: LicenseRef-Oracle-VirtualBox-PUEL -url: https://www.virtualbox.org/wiki/VirtualBox_PUEL +url: https://www.virtualbox.org/wiki/VirtualBox_PUEL # nocheck: url Reason: Oracle answers GitHub runner IPs with HTTP 410; the page answers 200 directly rights: commercial_use: false modifications: false diff --git a/roles/pkgmgr/meta/services.yml b/roles/pkgmgr/meta/services.yml index f075a1e92e..1f8a1c08a7 100644 --- a/roles/pkgmgr/meta/services.yml +++ b/roles/pkgmgr/meta/services.yml @@ -3,4 +3,4 @@ pkgmgr: lifecycle: beta repository: https://github.com/kevinveenbirkenbach/package-manager.git - ref: v2.4.0 + ref: v2.5.0 diff --git a/roles/svc-ai-agent-broker/meta/services.yml b/roles/svc-ai-agent-broker/meta/services.yml index 0764fb3266..b732689686 100644 --- a/roles/svc-ai-agent-broker/meta/services.yml +++ b/roles/svc-ai-agent-broker/meta/services.yml @@ -50,7 +50,7 @@ socket-proxy: bond: 1 enabled: true image: wollomatic/socket-proxy - version: 1.13.1 + version: 1.13.2 name: agent-socket-proxy cpus: "0.25" mem_reservation: 16m diff --git a/roles/svc-ai-litellm/meta/services.yml b/roles/svc-ai-litellm/meta/services.yml index 6a5f84657a..cafe8619b5 100644 --- a/roles/svc-ai-litellm/meta/services.yml +++ b/roles/svc-ai-litellm/meta/services.yml @@ -64,6 +64,11 @@ litellm: run_after: - svc-db-postgres lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "main-v1.77.7-stable" + until: 2026-11-30 postgres: bond: 1 diff --git a/roles/svc-ai-lmstudio/meta/services.yml b/roles/svc-ai-lmstudio/meta/services.yml index 7d6b4820b0..03d6dbd02b 100644 --- a/roles/svc-ai-lmstudio/meta/services.yml +++ b/roles/svc-ai-lmstudio/meta/services.yml @@ -14,9 +14,9 @@ lmstudio: backup: stop_required: false image: ubuntu - version: "22.04" + version: "26.10" custom: true - app_version: 0.0.25-1 + app_version: 0.0.27-1 update: key: app_version type: http_regex diff --git a/roles/svc-ai-ltengine/meta/services.yml b/roles/svc-ai-ltengine/meta/services.yml index 3f58899d26..9b8091c72a 100644 --- a/roles/svc-ai-ltengine/meta/services.yml +++ b/roles/svc-ai-ltengine/meta/services.yml @@ -24,7 +24,7 @@ ltengine: version: 12.6.3-runtime-ubuntu24.04 builder_image: nvidia/cuda builder_version: 12.6.3-devel-ubuntu24.04 - rust_version: 1.99.0 + rust_version: 1.100.0 update: - key: builder_version type: registry_tags @@ -36,7 +36,7 @@ ltengine: custom: true gpu: true repository: https://github.com/LibreTranslate/LTEngine - ref: 9b748ddd84c02da9569bd96db3cf33c53e4665fa + ref: 3fa19f8b6d3eecbacbdbf79406e0f877ebe11e26 # nocheck: min-storage-headroom Reason: the CUDA runtime base the binary is built on, plus the GGUF weights the server downloads into its models volume on first start min_storage: 5GB model: gemma3-1b diff --git a/roles/svc-ai-mcp-adapter/meta/services.yml b/roles/svc-ai-mcp-adapter/meta/services.yml index 507d538d7e..00a6928d39 100644 --- a/roles/svc-ai-mcp-adapter/meta/services.yml +++ b/roles/svc-ai-mcp-adapter/meta/services.yml @@ -25,6 +25,11 @@ mcp-adapter: internal: http: 8080 lifecycle: alpha + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "3.13.15-slim" + until: 2026-11-30 # nocheck: variants-coverage the role has a single variant, and the guide edge is not a dimension of it: a second round would differ only by the README replay docs: diff --git a/roles/svc-ai-nllb-engine/meta/services.yml b/roles/svc-ai-nllb-engine/meta/services.yml index 7a48170a07..d063fe298c 100644 --- a/roles/svc-ai-nllb-engine/meta/services.yml +++ b/roles/svc-ai-nllb-engine/meta/services.yml @@ -20,9 +20,9 @@ nllb-engine: enabled: true # nocheck: dynamic-flag shared: true # nocheck: dockerfile-custom upstream publishes model weights and no server, so the role builds one - # nocheck: docker-version base of the self-built inference server, not the served application image: python - version: "3.13.15-slim" + # nocheck: docker-version base of the self-built inference server, held on the 3.13 minor tag (patches still arrive) because files/shell/build.sh pins torch 2.9.1, which has no cp315 wheel; see TODO.md + version: "3.13-slim" custom: true gpu: true model: facebook/nllb-200-distilled-600M diff --git a/roles/svc-ai-ollama/meta/services.yml b/roles/svc-ai-ollama/meta/services.yml index c68284bc9e..5959f27c9c 100644 --- a/roles/svc-ai-ollama/meta/services.yml +++ b/roles/svc-ai-ollama/meta/services.yml @@ -13,7 +13,7 @@ ollama: backup: stop_required: false image: ollama/ollama - version: 0.40.15 + version: 0.40.16 name: ollama gpu: true min_storage: 3473MB diff --git a/roles/svc-ai-s1/meta/services.yml b/roles/svc-ai-s1/meta/services.yml index b36aa5e2d1..692e63df8a 100644 --- a/roles/svc-ai-s1/meta/services.yml +++ b/roles/svc-ai-s1/meta/services.yml @@ -10,9 +10,9 @@ s1: enabled: true shared: true # nocheck: dockerfile-custom upstream ships a pyproject and no image, so the role builds one - # nocheck: docker-version base of the self-built server, not the served application image: python - version: "3.12.14-slim" + # nocheck: docker-version base of the self-built server, held on the 3.12 minor tag (patches still arrive) because jeff at the pinned ref requires Python >=3.12,<3.13; see TODO.md + version: "3.12-slim" custom: true name: s1 model_alias: s1-latest diff --git a/roles/svc-ai-tika/meta/services.yml b/roles/svc-ai-tika/meta/services.yml index 21ec939304..b7277324fc 100644 --- a/roles/svc-ai-tika/meta/services.yml +++ b/roles/svc-ai-tika/meta/services.yml @@ -10,7 +10,7 @@ tika: enabled: true shared: true image: apache/tika - version: 4.0.0-full + version: 4.2.0-full name: tika healthcheck: flavor: http_status diff --git a/roles/svc-bkp-volume-2-local/README.md b/roles/svc-bkp-volume-2-local/README.md index 3b44fec039..b64ff7e748 100644 --- a/roles/svc-bkp-volume-2-local/README.md +++ b/roles/svc-bkp-volume-2-local/README.md @@ -10,6 +10,7 @@ File payloads are captured with rsync hard-link snapshots; databases register th This role installs the `baudolo` CLI, lays out the on-host backup tree, deploys the systemd service that drives the periodic run, and wires the cleanup-of-failed-backups dependency so partial snapshots are not retained. Database seeding for individual apps is contributed by the consumer roles via `tasks/03_seed-database-to-backup.yml`, which they include conditionally once `svc-bkp-volume-2-local` is in `group_names`. The first seed of a play reads `databases.csv` once through `tasks/05_read-seeded-databases.yml`; a consumer whose row already holds its credentials skips `baudolo-seed`, every other consumer still calls it at its own point in the play. +`baudolo-seed` gets the password on stdin (`--password-stdin`), so it never shows in the host's process list. ## Schema @@ -181,7 +182,12 @@ the order is: deploy the stack, stop the consumers, replay, start them again. The step names which of the two states is missing — a stopped container that only needs starting, or no container at all. -It replays every single-database dump with `baudolo-restore --empty`. +It replays every single-database dump with `baudolo-restore --empty`, +the password on stdin (`--db-password-stdin`) rather than on the command line. +Since baudolo 8 a dump is gzip-compressed and named `.backup.sql.gz`; a +generation written before holds `.backup.sql` and is found and replayed the +same way. A dump present under both names stops the replay before anything is +dropped, because nothing can tell which of the two is the one to restore. Two rules make it safe rather than convenient: 1. **The consumers must be down.** `--empty` pre-cleans the schema in one psql @@ -204,9 +210,12 @@ Two rules make it safe rather than convenient: generation copied to another host carries its header along, a csv row does not. -Cluster dumps (`database = '*'`) are reported and skipped: `baudolo-restore` -has no subcommand that replays them. Database mode is local-only — the -credentials live in the target host's own `databases.csv`. +Cluster dumps (`database = '*'`) go through `baudolo-restore cluster` with the +superuser of the instance's cluster row in `databases.csv`, before the +single-database dumps. A cluster dump without that row, or with a consumer of +any database it recreates still running, aborts the run before anything is +replayed. Database mode is local-only — the credentials live in the target +host's own `databases.csv`. ### A single volume diff --git a/roles/svc-bkp-volume-2-local/files/test/README.md b/roles/svc-bkp-volume-2-local/files/test/README.md index 4cc541b728..483452a3bb 100644 --- a/roles/svc-bkp-volume-2-local/files/test/README.md +++ b/roles/svc-bkp-volume-2-local/files/test/README.md @@ -95,7 +95,9 @@ matrix reports `SKIP` unless they are created first (`mknod /dev/loop0 b 7 0`, ## `verify/backup.sh` Requires the newest generation to hold real payload — a volume counts when it has -a `files/` tree or a non-empty `sql` dump. In the async pass it additionally +a `files/` tree or a non-empty `sql` dump. A dump is `*.backup.sql.gz` since +baudolo 8 and `*.backup.sql` before; the gzip one counts by what it decompresses +to, because an empty gzip file is still some twenty bytes. In the async pass it additionally requires `PREVIOUS_GENERATION` to be a distinct, older generation, which is what proves the differential `--link-dest` chain advanced. @@ -153,9 +155,10 @@ database and its role, which the deploy creates and the container does not, so wiping it would leave `baudolo-restore --empty -d ` with nothing to connect to and the drill would fail at itself instead of at a defect. -**A generation holding a cluster dump fails the drill.** `baudolo-restore` has -no subcommand that replays one, so that database cannot be proven restorable — -the honest verdict is a red, not a silent skip. +**A cluster dump is replayed, not skipped.** The recover chain sends it through +`baudolo-restore cluster` with the superuser of its cluster row, so a +generation holding one proves that instance restorable like any other dump; a +missing cluster row is a red, not a silent skip. **Not every subject is a compose project.** Discourse is built by its own `./launcher rebuild` ([handlers/stack_host.yml](../../../web-app-discourse/handlers/stack_host.yml)) diff --git a/roles/svc-bkp-volume-2-local/files/test/restore_cycle.sh b/roles/svc-bkp-volume-2-local/files/test/restore_cycle.sh index e1be83b65f..0387768183 100755 --- a/roles/svc-bkp-volume-2-local/files/test/restore_cycle.sh +++ b/roles/svc-bkp-volume-2-local/files/test/restore_cycle.sh @@ -142,7 +142,7 @@ while IFS= read -r sql_file; do if [[ " ${DB_PROJECTS[*]-} " != *" ${owner} "* ]]; then DB_PROJECTS+=("${owner}") fi -done < <(find "${GEN_DIR}" -mindepth 3 -maxdepth 3 -type f -path '*/sql/*.backup.sql' | sort) +done < <(find "${GEN_DIR}" -mindepth 3 -maxdepth 3 -type f \( -path '*/sql/*.backup.sql' -o -path '*/sql/*.backup.sql.gz' \) | sort) echo "OK: ${#DB_PROJECTS[@]} database project(s) hold the dumps: ${DB_PROJECTS[*]-none}" for project in "${DB_PROJECTS[@]}"; do echo "OK: only service '${DB_SERVICE[${project}]}' of project ${project} comes up for the replay" diff --git a/roles/svc-bkp-volume-2-local/files/test/seed/marker.py b/roles/svc-bkp-volume-2-local/files/test/seed/marker.py index b186d150ea..39aed07e2d 100755 --- a/roles/svc-bkp-volume-2-local/files/test/seed/marker.py +++ b/roles/svc-bkp-volume-2-local/files/test/seed/marker.py @@ -22,11 +22,14 @@ Usage: from __future__ import annotations import argparse +import io import os import re import sys from pathlib import Path +from baudolo.restore.dumpfile import open_dump + sys.path.insert(0, os.environ["BKP_TEST_REPO_ROOT"]) from utils.paths import FILE_DATABASE_SECRETS @@ -98,7 +101,7 @@ def volume_mountpoint(volume: str) -> Path: def file_volumes(generation_dir: Path) -> list[str]: """The volumes this generation stores as a file tree.""" - files_glob, _dump_glob = manifest.globs_of(manifest.layout_of(generation_dir)) + files_glob, _dump_globs = manifest.globs_of(manifest.layout_of(generation_dir)) return sorted(path.parent.name for path in generation_dir.glob(files_glob)) @@ -157,7 +160,9 @@ def each_database(generation_dir: Path): def in_file(path: Path, token: str) -> bool: """Whether a token appears anywhere in a file, without holding it in memory.""" - with path.open(encoding="utf-8", errors="replace") as handle: + with io.TextIOWrapper( + open_dump(str(path)), encoding="utf-8", errors="replace" + ) as handle: return any(token in line for line in handle) diff --git a/roles/svc-bkp-volume-2-local/files/test/verify/backup.sh b/roles/svc-bkp-volume-2-local/files/test/verify/backup.sh index a44d0250e8..fdd79c6e77 100755 --- a/roles/svc-bkp-volume-2-local/files/test/verify/backup.sh +++ b/roles/svc-bkp-volume-2-local/files/test/verify/backup.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash # Verify the newest backup generation is stored, non-empty, and dumped where a -# dump was owed: a volume counts as payload with a files/ tree or a non-empty -# sql dump, and a volume the run recorded as a database must carry the dump -# unless its provider has no consumer on this host. +# dump was owed: a volume counts as payload with a files/ tree or a sql dump +# that holds data once decompressed, and a volume the run recorded as a +# database must carry the dump unless its provider has no consumer on this host. # The generation's own manifest is the authority; a generation written before # baudolo wrote one is judged by the engine's on-disk footprint instead. # Requires REPO_DIR/NEWEST_GENERATION/BKP_TEST_REPO_ROOT from test.sh. @@ -41,6 +41,20 @@ engine_of() { return 1 } +has_dump() { + local dump + while IFS= read -r -d '' dump; do + if [[ "${dump}" == *.gz ]]; then + if (( $(gzip -cd -- "${dump}" 2>/dev/null | head -c 1 | wc -c) > 0 )); then + return 0 + fi + elif [[ -s "${dump}" ]]; then + return 0 + fi + done < <(find "$1" -mindepth 1 -type f \( -name '*.backup.sql' -o -name '*.backup.sql.gz' \) -print0 2>/dev/null) + return 1 +} + IFS=',' read -r -a CONSUMERLESS <<< "${BKP_TEST_CONSUMERLESS_DB_VOLUMES}" owe_dump() { @@ -67,7 +81,10 @@ EMPTY=0 UNDUMPED=() for vol_dir in "${VOLUME_DIRS[@]}"; do has_files="$(find "${vol_dir}/files" -mindepth 1 -print -quit 2>/dev/null || true)" - has_sql="$(find "${vol_dir}/sql" -mindepth 1 -type f -name '*.backup.sql' -size +0 -print -quit 2>/dev/null || true)" + has_sql="" + if has_dump "${vol_dir}/sql"; then + has_sql=1 + fi if [[ -z "${has_files}" ]] && [[ -z "${has_sql}" ]]; then echo "WARN: ${vol_dir##*/} backed up empty" EMPTY=$((EMPTY + 1)) diff --git a/roles/svc-bkp-volume-2-local/tasks/03_seed-database-to-backup.yml b/roles/svc-bkp-volume-2-local/tasks/03_seed-database-to-backup.yml index 7a665afad5..f93b4c3f51 100644 --- a/roles/svc-bkp-volume-2-local/tasks/03_seed-database-to-backup.yml +++ b/roles/svc-bkp-volume-2-local/tasks/03_seed-database-to-backup.yml @@ -50,15 +50,16 @@ - name: "🧮 Compare the database definition with the seeded one" ansible.builtin.set_fact: - svc_bkp_volume_2_local_seed_argv: "{{ svc_bkp_volume_2_local_seed_command }}" + svc_bkp_volume_2_local_seed_argv: >- + {{ ['baudolo-seed', FILE_DATABASE_SECRETS | string] + + svc_bkp_volume_2_local_seed_row[:3] + + ['--password-stdin'] }} svc_bkp_volume_2_local_seed_current: >- - {{ svc_bkp_volume_2_local_seeded | baudolo_seed_current(*svc_bkp_volume_2_local_seed_command[2:]) }} + {{ svc_bkp_volume_2_local_seeded | baudolo_seed_current(*svc_bkp_volume_2_local_seed_row) }} svc_bkp_volume_2_local_seeded: >- - {{ svc_bkp_volume_2_local_seeded | baudolo_seed_apply(*svc_bkp_volume_2_local_seed_command[2:]) }} + {{ svc_bkp_volume_2_local_seeded | baudolo_seed_apply(*svc_bkp_volume_2_local_seed_row) }} vars: - svc_bkp_volume_2_local_seed_command: - - baudolo-seed - - "{{ FILE_DATABASE_SECRETS | string }}" + svc_bkp_volume_2_local_seed_row: - "{{ database_instance | string }}" - "{{ '*' if (database_name | string | length) == 0 else (database_name | string) }}" - "{{ database_username | string }}" @@ -68,6 +69,7 @@ - name: 🌱 Seed database definition via baudolo-seed (system binary) ansible.builtin.command: argv: "{{ svc_bkp_volume_2_local_seed_argv }}" + stdin: "{{ database_password | string }}" when: not (svc_bkp_volume_2_local_seed_current | bool) no_log: "{{ MASK_CREDENTIALS_IN_LOGS | bool }}" # todo: add flock to baudolo-seed upstream, then async seeding becomes safe again. diff --git a/roles/svc-cache-package/meta/services.yml b/roles/svc-cache-package/meta/services.yml index a73e2ca7ab..1a4e561a09 100644 --- a/roles/svc-cache-package/meta/services.yml +++ b/roles/svc-cache-package/meta/services.yml @@ -20,7 +20,7 @@ package: shared: true bond: 1 image: sonatype/nexus3 - version: 3.91.1-ubi + version: 3.98.1-ubi name: package-cache # nocheck: min-storage-headroom Reason: the image transfers 0.373 GiB, but the service is the blobstore itself and fills up to blobstore_max (40g); sizing the host to the image alone would let the deploy prune a cache it has no room to refill min_storage: 4GB @@ -89,6 +89,11 @@ frontend: http: 80 https: 443 lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "1.31-alpine" + until: 2026-11-30 # nocheck: dynamic-flag - proxied package content is re-fetchable, the backup consumer stays permanently off container_backup: enabled: false diff --git a/roles/svc-db-mariadb/meta/services.yml b/roles/svc-db-mariadb/meta/services.yml index 9f6fbd00ac..8d838f91a7 100644 --- a/roles/svc-db-mariadb/meta/services.yml +++ b/roles/svc-db-mariadb/meta/services.yml @@ -32,6 +32,11 @@ mariadb: internal: mariadb: 3306 lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "13.0" + until: 2026-11-30 # nocheck: variants-coverage — sso-variant-tor requires the onion on in every variant, so the false polarity has no variant left to live in tor: bond: 0.5 diff --git a/roles/svc-db-postgres/meta/services.yml b/roles/svc-db-postgres/meta/services.yml index a33b872823..bacf283b3c 100644 --- a/roles/svc-db-postgres/meta/services.yml +++ b/roles/svc-db-postgres/meta/services.yml @@ -33,6 +33,11 @@ postgres: internal: postgres: 5432 lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "18" + until: 2026-11-30 # nocheck: variants-coverage — sso-variant-tor requires the onion on in every variant, so the false polarity has no variant left to live in tor: bond: 0.5 diff --git a/roles/svc-db-qdrant/meta/services.yml b/roles/svc-db-qdrant/meta/services.yml index 6a659e7b08..dd24e61695 100644 --- a/roles/svc-db-qdrant/meta/services.yml +++ b/roles/svc-db-qdrant/meta/services.yml @@ -12,7 +12,7 @@ qdrant: bond: 1 image: qdrant/qdrant name: qdrant - version: v1.20.0 + version: v1.20.1 min_storage: 270MB backup: database_routine: true @@ -51,6 +51,11 @@ qdrantmcp: ports: internal: http: 8080 + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "3.13.15-slim" + until: 2026-11-30 # nocheck: variants-coverage — sso-variant-tor requires the onion on in every variant, so the false polarity has no variant left to live in tor: bond: 0.5 diff --git a/roles/svc-db-typesense/meta/services.yml b/roles/svc-db-typesense/meta/services.yml index 49d8afe417..7817409817 100644 --- a/roles/svc-db-typesense/meta/services.yml +++ b/roles/svc-db-typesense/meta/services.yml @@ -33,6 +33,11 @@ typesense: # nocheck: onion-flag the search index is queried by the app containers holding its API key, and the apps themselves are served through the onion's port 80 typesense: false lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "0.25.2" + until: 2026-11-30 # nocheck: variants-coverage — sso-variant-tor requires the onion on in every variant, so the false polarity has no variant left to live in tor: bond: 0.5 diff --git a/roles/svc-dns-unbound/meta/services.yml b/roles/svc-dns-unbound/meta/services.yml index 5dfbad4637..a75763ad91 100644 --- a/roles/svc-dns-unbound/meta/services.yml +++ b/roles/svc-dns-unbound/meta/services.yml @@ -29,6 +29,11 @@ unbound: # nocheck: onion-flag a recursive resolver published on the onion is an open resolver, and the containers it serves reach it on the role network unbound: false lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "2024.06" + until: 2026-11-30 # nocheck: dynamic-flag - the resolver state volume is backup-disabled rebuildable cache, the backup consumer stays permanently off container_backup: diff --git a/roles/svc-registry-cache/meta/services.yml b/roles/svc-registry-cache/meta/services.yml index 743e59d0a9..9fdbba557b 100644 --- a/roles/svc-registry-cache/meta/services.yml +++ b/roles/svc-registry-cache/meta/services.yml @@ -40,6 +40,11 @@ cache: proxy: remote_url: "https://registry-1.docker.io" # nocheck: url lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "3" + until: 2026-11-30 # nocheck: dynamic-flag - pull-through cache content is re-fetchable, the backup consumer stays permanently off container_backup: enabled: false diff --git a/roles/svc-registry-docker/meta/services.yml b/roles/svc-registry-docker/meta/services.yml index 30607620d3..5d8022e772 100644 --- a/roles/svc-registry-docker/meta/services.yml +++ b/roles/svc-registry-docker/meta/services.yml @@ -38,6 +38,11 @@ docker: # nocheck: onion-flag the registry accepts unauthenticated pushes from the node that builds into it, so its reach must stay the node registry: false lifecycle: beta + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "3" + until: 2026-11-30 # nocheck: dynamic-flag - locally built images are rebuildable, the backup consumer stays permanently off container_backup: enabled: false diff --git a/roles/svc-runner/meta/services.yml b/roles/svc-runner/meta/services.yml index 8046378a44..8fd11aec9d 100644 --- a/roles/svc-runner/meta/services.yml +++ b/roles/svc-runner/meta/services.yml @@ -29,7 +29,7 @@ buildkit: enabled: false shared: false image: moby/buildkit - version: "v0.34.2" + version: "v0.35.0" # nocheck: dynamic-flag act-runner: enabled: false @@ -37,6 +37,11 @@ act-runner: image: catthehacker/ubuntu # nocheck: docker-version version: "act-latest" + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "act-latest" + until: 2026-11-30 # nocheck: variants-coverage the role has a single variant, and the guide edge is not a dimension of it: a second round would differ only by the README replay docs: diff --git a/roles/sys-ctl-hlth-runtime/README.md b/roles/sys-ctl-hlth-runtime/README.md index 5f2a093198..4a4217e449 100644 --- a/roles/sys-ctl-hlth-runtime/README.md +++ b/roles/sys-ctl-hlth-runtime/README.md @@ -2,11 +2,11 @@ ## Description -This role checks the language runtime inside every running Docker container. It reads the PHP version of each container that ships a `php` binary and the effective PHP hardening of each service that mounts the shared hardening ini from [`sys-svc-compose-php`](../sys-svc-compose-php/README.md). +This role scans the node it runs on for known vulnerabilities with [Trivy](https://trivy.dev/), [Grype](https://github.com/anchore/grype) and [OSV-Scanner](https://google.github.io/osv-scanner/) over a [Syft](https://github.com/anchore/syft) SBOM, and checks the effective PHP hardening of each service that mounts the shared hardening ini from [`sys-svc-compose-php`](../sys-svc-compose-php/README.md). ## Overview -The role installs a check script with a `systemd` service and timer. The check fails, and the failure notifier from [`sys-ctl-alm-compose`](../sys-ctl-alm-compose/README.md) alerts, when a container runs PHP below the security floor of its release line or on an end-of-life line, or when a service that declares `php_hardening` in its `meta/volumes.yml` still reports `expose_php` or `session.upload_progress.enabled` as on. The floors, the lowest patched release of each `major.minor` line, live in `HEALTH_RUNTIME_FLOORS` in [main.yml](./vars/main.yml). +The role installs a check script with a `systemd` service and a timer at 00:00 UTC, and the deploy runs it once at its end. `severity` maps each reported severity to `fail` or `warn`: an unsuppressed finding mapped to `fail` fails the check, one mapped to `warn` is a `⚠️` line, a suppressed one an `ℹ️` line. The check also fails, and the failure notifier from [`sys-ctl-alm-compose`](../sys-ctl-alm-compose/README.md) alerts, when an engine or its database fails, or when a service that declares `php_hardening` in its `meta/volumes.yml` still reports `expose_php` or `session.upload_progress.enabled` as on. The daily mirror scan of `cron-images-mirror-all.yml` tracks every mapped finding, `fail` and `warn` alike, as issues and fails only on an engine or mirror error; the findings of every `main` deploy become `vulnerability-runtime` issues, see [README.md](../../cli/contributing/security/README.md). The scan configuration and the engine pins live in [services.yml](./meta/services.yml). ## Cosmos @@ -16,6 +16,10 @@ The diagram places Container Runtime Health Check in the Infinito.Nexus cosmos: flowchart LR subgraph role [sys-ctl-hlth-runtime 💻] svc_runtime["runtime"] + svc_trivy["trivy"] + svc_grype["grype"] + svc_osv["osv"] + svc_syft["syft"] end ``` @@ -23,7 +27,20 @@ Solid `1:1` edges are fixed relationships; dashed `0..1` edges are conditional ( ## Features -- **Runtime floor:** Fails for every running container whose PHP is below the floor of its `major.minor` line, or on a line older than every listed floor (end of life). A line newer than every floor passes. -- **Hardening verification:** Runs `php` inside every service that mounts `php_hardening` and fails while `expose_php` or `session.upload_progress.enabled` is on, which catches a wrong scan dir, a later ini that overrides the hardening, and an image change. -- **Sidecar report:** Lists other PHP containers of a hardened stack, such as cron or worker sidecars, as info without failing. -- **Registry report:** `make security-runtimes` lists the PHP runtime of every pinned image from registry metadata, without pulling, against the same floors. +- **Targets:** `container` scans the image of every running container through the read-only Docker socket, `host` scans the host root filesystem mounted read-only. In swarm every node scans itself. +- **Engine runtime:** An engine run that reads the host Docker socket runs on `runc`, also on a swarm worker that [`svc-virt-kata`](../svc-virt-kata/README.md) defaults to gVisor or Kata, because those runtimes refuse the bind-mounted socket and every container scan would fail there. Every other engine run, the host scan included, keeps the node's default runtime. +- **Engines:** Syft builds one SBOM per target, Grype and OSV-Scanner read it, Trivy reads the target itself. Without `syft` in `engines`, Grype and OSV-Scanner read the target directly; `osv` then scans containers only. While Grype runs, Trivy leaves the OS packages of every OS release listed under `trivy.unmatched_os` to Grype until the entry's `until`, because Trivy matches no Red Hat advisory for CentOS Stream 10 and Red Hat Enterprise Linux 10 yet and fails with `unable to find CPE indices`, see [aquasecurity/trivy-db#435](https://github.com/aquasecurity/trivy-db/issues/435) and [aquasecurity/trivy#7452](https://github.com/aquasecurity/trivy/issues/7452). +- **Source-built runtimes:** A runtime compiled into the image, such as the PHP of the official `php` images, is matched by Grype only. With `syft` but without `grype` in `engines`, Grype still scans the binary-classified packages of every SBOM. +- **Threshold:** `severity` maps each reported severity to `fail` or `warn`, `{CRITICAL: fail, HIGH: warn}` by default and in production. The development inventory that `INFINITO_INVENTORY_VARS_FILE` names maps `CRITICAL` to `warn`, so a CI or development deploy reports a CRITICAL finding as a `⚠️` line and a `warn` record without failing, and the daily mirror scan tracks it as a `vulnerability` issue. A severity the mapping does not name is not reported, and `fixed_only` limits the report to findings with a fixed version. The list form of `severity` is rejected. +- **Finding records:** Every output is built from the same records, one per finding and owner: `run_id`, `timestamp` (RFC 3339, UTC), `host`, `environment`, `target` (`/` or the host name), `kind`, `image` (`@` or the host name), `scanner`, `id`, `severity`, `package`, `installed_version`, `fixed_version`, `suppressed`, `suppressed_until` and `verdict` (`fail`, `warn` or `suppressed`). +- **Report:** `report.json` in `DIR_HEALTH_RUNTIME_REPORT` holds the last run: its verdict, the counts per verdict, the engine errors, the counts per target and every record. It is replaced atomically. +- **Findings log:** `findings.jsonl` in `DIR_HEALTH_RUNTIME_LOG` gets one JSON line per record and run, for Wazuh. A logrotate drop-in rotates it weekly and keeps 12 compressed generations. +- **Journal:** Besides the `ℹ️`, `⚠️` and `❌` lines, the check prints one JSON line per target, `{"event": "hlth_runtime.target", "run_id", "target", "kind", "image", "counts", "verdict"}` with `verdict` `fail`, `warn` or `ok`, and last `{"event": "hlth_runtime.summary", "run_id", "counts", "errors", "verdict"}`, for Loki. +- **Metrics:** While `web-app-prometheus` is deployed, the check replaces `infinito_hlth_runtime.prom` in `DIR_METRICS_TEXTFILE` atomically with the gauges `infinito_hlth_runtime_findings{target,kind,image,severity,scanner,verdict}`, `infinito_hlth_runtime_last_run_timestamp_seconds`, `infinito_hlth_runtime_last_run_success` and `infinito_hlth_runtime_scanner_errors{scanner}`. No series carries a CVE id. +- **Suppressions:** A role accepts findings for its own containers under `.security.suppressions` of its `meta/services.yml`, each entry `id` (one CVE) or `image_tag` (every finding of the image while it runs that tag, which MUST equal the service's `version`) plus `until` below a `# nocheck: cve ` marker, see [suppression.md](../../docs/contributing/actions/testing/suppression.md). Host suppressions are the `id` entries under the engine entries of this role and cover that engine's host findings; an `image_tag` entry there covers the engine's own image. +- **Databases:** With `db_update` the engines refresh their databases under `database_dir` before each run, three attempts 30 s apart; without it the databases MUST already be there, and a missing one fails the run. SBOMs of running images are cached under `cache_dir` by image id. +- **Scratch:** Every engine run gets its own temporary directory in the run's work directory under `cache_dir`, removed as soon as the run ends, also when the engine fails, times out or crashes. At most one image export is on disk at a time, whatever `workers` is; the other engine runs keep running in parallel. A run killed mid-scan leaves its work directory to the next run, which removes it first. +- **Deploy-time run:** The deploy runs the check once at its end and fails on its first failure, without the retries `sys-service-terminator` gives other units. +- **Development and CI deploys:** A CI row pins one engine and restores its databases; a local deploy draws one engine and refreshes the shared host directory `INFINITO_VULNERABILITY_DB_HOST_PATH`. Both run it behind Syft plus the Grype runtime pass and read the databases read-only at `INFINITO_VULNERABILITY_DB_DIR`. Production hosts run every engine. +- **Hardening verification:** Runs `php` inside every service that mounts `php_hardening` and fails while `expose_php` or `session.upload_progress.enabled` is on, and lists other PHP containers of a hardened stack as info. +- **Registry scan:** `make test-security` scans every pinned role image of the GHCR mirror with the same pipeline, see [README.md](../../cli/contributing/security/README.md). diff --git a/roles/sys-ctl-hlth-runtime/TODO.md b/roles/sys-ctl-hlth-runtime/TODO.md index 52d1d825ad..1f1dd073dc 100644 --- a/roles/sys-ctl-hlth-runtime/TODO.md +++ b/roles/sys-ctl-hlth-runtime/TODO.md @@ -1,6 +1,5 @@ # To-dos -- Extend `HEALTH_RUNTIME_FLOORS`, the container probe and `make security-runtimes` to `node`, `python`, `ruby` and `java`. - Verify the web SAPI where an image splits it from the CLI. `web-app-lam` mounts the hardening ini into both `/etc/php/8.4/apache2/conf.d` and `/etc/php/8.4/cli/conf.d`, and the probe reads only the CLI copy, so a wrong Apache target would still pass. -- Run `make security-runtimes` in a scheduled CI workflow. -- Scan the pinned images for CVEs (Trivy or Grype) in the scheduled CI and report new criticals as issues. +- Restore the workspace drills' databases in `call-test-workspace.yml` from the Actions cache of the `vulnerability-db` job instead of refreshing them in the job. +- Export each container image once for Syft and Trivy: save it into one scratch archive that `syft scan docker-archive:` and `trivy image --input` both read, instead of letting each engine export it from the Docker socket. diff --git a/roles/sys-ctl-hlth-runtime/files/python/script.py b/roles/sys-ctl-hlth-runtime/files/python/script.py index 0e94150a13..e95a65413b 100755 --- a/roles/sys-ctl-hlth-runtime/files/python/script.py +++ b/roles/sys-ctl-hlth-runtime/files/python/script.py @@ -1,24 +1,80 @@ #!/usr/bin/env python3 +# nocheck: file-size - sys-service installs this one file on every node, which runs it without the repository, so the engine pipeline cannot move into importable modules from __future__ import annotations import argparse +import contextlib +import datetime as dt +import itertools import json +import os import re +import shutil +import socket import subprocess import sys +import tempfile +import threading +import time +import urllib.parse +import uuid +from collections import Counter +from collections.abc import Callable, Iterable, Mapping, Sequence +from concurrent.futures import ThreadPoolExecutor from dataclasses import dataclass +from pathlib import Path PROBE_MARKER = "INFINITO-RUNTIME-PROBE" HARDENED_SETTINGS = ("expose_php", "session.upload_progress.enabled") PHP_PROBE = ( - f'echo "\\n{PROBE_MARKER}|", PHP_VERSION, "|", ini_get("expose_php"), "|", ' + f'echo "\\n{PROBE_MARKER}|", ini_get("expose_php"), "|", ' 'ini_get("session.upload_progress.enabled"), "\\n";' ) NO_BINARY_EXIT_CODES = frozenset({126, 127}) EXEC_TIMEOUT_SECONDS = 60 -VERSION_PATTERN = re.compile(r"^(\d+)\.(\d+)\.(\d+)") ENABLED_VALUES = frozenset({"1", "on", "yes", "true"}) +SCANNERS = ("trivy", "grype", "osv") +SBOM_BUILDER = "syft" +ENGINES = (*SCANNERS, SBOM_BUILDER) +SBOM_READERS = frozenset({"grype", "osv"}) +RUNTIME_ENGINE = "grype" +RUNTIME_ARTIFACT_TYPE = "binary" +TARGET_KINDS = ("host", "container") +SEVERITIES = ("CRITICAL", "HIGH", "MEDIUM", "LOW", "NEGLIGIBLE", "NONE", "UNKNOWN") +ACTIONS = ("fail", "warn") +SUPPRESSED = "suppressed" +VERDICTS = (*ACTIONS, SUPPRESSED) +CLEAN = "ok" +METRIC = "infinito_hlth_runtime" +METRIC_LABELS = ("target", "kind", "image", "severity", "scanner", "verdict") +FINDINGS_LOG = "findings.jsonl" +REPORT = "report.json" +CVE_PATTERN = re.compile(r"^CVE-\d{4}-\d{4,}$") +OSV_DB_LAYOUT = "osv-scalibr" +OSV_MISSING_DB = re.compile(r"could not load db for (.+?) ecosystem") +SUCCESS = frozenset({0}) +OSV_ACCEPTED_EXIT_CODES = frozenset({0, 1, 128}) +OSV_SOURCE_PURL_TYPES = ("deb", "apk") +UPSTREAM_QUALIFIER = re.compile(r"([?&])upstream=([^&#]+)") +MAJOR_VERSION = re.compile(r"[0-9]+") +HOST_ROOT = "/host" +WORK = "/work" +SBOM = "/sbom" +CACHE = "/cache" +DOCKER_SOCKET = "/var/run/docker.sock" +SOCKET_RUNTIME = "runc" +JOB_TIMEOUT_SECONDS = 4 * 3600 +EXPORT_SLOTS = 1 +RUN_PREFIX = "run-" +DB_ATTEMPTS = 3 +DB_RETRY_SECONDS = 30 +DB_MARKERS = { + "trivy": ("db/trivy.db", "java-db/trivy-java.db"), + "grype": ("6/vulnerability.db",), + "osv": (OSV_DB_LAYOUT,), +} + @dataclass(frozen=True) class Container: @@ -26,11 +82,12 @@ class Container: name: str stack: str | None service: str | None + image: str + image_name: str @dataclass(frozen=True) class PhpProbe: - version: str settings: dict @@ -38,20 +95,247 @@ class ProbeError(RuntimeError): pass +class ConfigError(ValueError): + pass + + +@dataclass(frozen=True) +class OsRelease: + """ + Args: + name: the ``operating-system`` component name of a Syft CycloneDX + SBOM, the ``ID`` of ``/etc/os-release``. + version: its major version. + until: the last day Grype alone scans its OS packages. + """ + + name: str + version: str + until: dt.date + + +@dataclass(frozen=True) +class ScanConfig: + """What the vulnerability scan covers and when it fails. + + Args: + targets: subset of :data:`TARGET_KINDS`. + engines: subset of :data:`ENGINES` holding at least one scanner. + severity: ``{severity: action}`` with each action in :data:`ACTIONS`; + a severity it does not name is below the threshold. + fixed_only: report only findings with a fixed version. + workers: parallel engine runs. + db_update: download and refresh the databases; ``False`` reads + databases that were provided and fails when one is missing. + trivy_unmatched_os: the OS releases whose OS packages Trivy leaves + to Grype. + """ + + targets: tuple[str, ...] + engines: tuple[str, ...] + severity: Mapping[str, str] + fixed_only: bool + workers: int + db_update: bool + trivy_unmatched_os: tuple[OsRelease, ...] + + def scanners(self) -> tuple[str, ...]: + return tuple(engine for engine in SCANNERS if engine in self.engines) + + def reads_sbom(self, engine: str) -> bool: + return engine in SBOM_READERS and SBOM_BUILDER in self.engines + + def runtime_pass(self) -> bool: + """Whether Grype scans the source-built runtimes Syft found. + + Only Grype matches a runtime compiled from source, such as the PHP + of the official ``php`` images, through its CPE; Trivy and OSV do + not see it. Without Grype in the list, Grype still scans the + binary-classified packages of every SBOM. + """ + return RUNTIME_ENGINE not in self.engines and SBOM_BUILDER in self.engines + + def databases(self) -> tuple[str, ...]: + """The scanners whose database the scan needs.""" + needed = set(self.scanners()) | ( + {RUNTIME_ENGINE} if self.runtime_pass() else set() + ) + return tuple(engine for engine in SCANNERS if engine in needed) + + +@dataclass(frozen=True) +class Target: + """One thing a scanner reads. + + Args: + key: file-name-safe identity. + kind: ``host`` or ``container``. + ref: the image id, or :data:`HOST_ROOT`. + label: the image name or the host name. + owners: ``(stack, service)`` of every container running the image. + owner_tags: ``((stack, service), tag)`` pairs, the image tag each + owner runs the image under; empty for the host. + """ + + key: str + kind: str + ref: str + label: str + owners: tuple[tuple[str | None, str | None], ...] + owner_tags: tuple[tuple[tuple[str | None, str | None], str], ...] + + def tag_of(self, owner: tuple[str | None, str | None]) -> str | None: + return dict(self.owner_tags).get(owner) + + +@dataclass(frozen=True) +class Finding: + """One vulnerable package as one engine reports it. + + Args: + engine: the scanner. + target: :attr:`Target.key`. + package: package name. + installed: installed version. + fixed: fixed version(s), empty when there is none. + ids: vulnerability ids, CVE ids first. + severity: one of :data:`SEVERITIES`. + """ + + engine: str + target: str + package: str + installed: str + fixed: str + ids: tuple[str, ...] + severity: str + + @property + def id(self) -> str: + return self.ids[0] + + +@dataclass(frozen=True) +class Suppression: + """One accepted CVE, or every finding of one image tag. + + Args: + id: the CVE id, ``None`` for an image tag entry. + image_tag: the image tag, ``None`` for a CVE entry. + until: the last day the suppression applies. + """ + + id: str | None + image_tag: str | None + until: dt.date + + @property + def subject(self) -> str: + return self.id or f"image tag {self.image_tag}" + + +@dataclass(frozen=True) +class Suppressions: + """Accepted CVEs. + + Args: + containers: ``{stack: {service: [Suppression]}}``. + host: ``{engine: [Suppression]}`` for host findings. + """ + + containers: Mapping[str, Mapping[str, Sequence[Suppression]]] + host: Mapping[str, Sequence[Suppression]] + + +@dataclass(frozen=True) +class Step: + """One engine run. + + Args: + label: what the run is, for error lines; its first word is the engine. + argv: the command. + accept: exit codes that mean success. + scratch: the run's temporary directory, a name under the work + directory; consecutive steps of a lane naming the same one share it. + exports: whether the run exports a local image into it. + """ + + label: str + argv: tuple[str, ...] + accept: frozenset[int] + scratch: str + exports: bool + + +@dataclass(frozen=True) +class Run: + """One run of the check, as every output names it. + + Args: + id: unique id of the run. + started: when the run started, timezone-aware UTC. + host: the node's host name. + environment: the deployment environment, e.g. ``production``. + """ + + id: str + started: dt.datetime + host: str + environment: str + + def timestamp(self) -> str: + return self.started.strftime("%Y-%m-%dT%H:%M:%SZ") + + def parse_args(argv=None): parser = argparse.ArgumentParser( - description="Check PHP versions and hardening of running containers." - ) - parser.add_argument( - "--floors", - required=True, - help='JSON: {"php": {".": ""}}', + description="Check the PHP hardening and the vulnerabilities of this node." ) parser.add_argument( "--hardened", required=True, help='JSON: {"": ["", ...]}', ) + parser.add_argument( + "--scan", + required=True, + help=( + "JSON: targets, engines, severity, fixed_only, workers, db_update, " + "trivy_unmatched_os" + ), + ) + parser.add_argument( + "--images", + required=True, + help='JSON: {"": ":"}', + ) + parser.add_argument( + "--suppressions", + required=True, + help='JSON: {"containers": {stack: {service: [..]}}, "host": {engine: [..]}}', + ) + parser.add_argument("--cache-dir", required=True, help="SBOM cache and scratch") + parser.add_argument( + "--database-dir", required=True, help="Vulnerability databases, one per scanner" + ) + parser.add_argument( + "--host-excludes", + required=True, + help="JSON: absolute host paths the host scan skips", + ) + parser.add_argument( + "--environment", required=True, help="Deployment environment of the node" + ) + parser.add_argument( + "--report-dir", required=True, help=f"Directory of {REPORT}, the last run" + ) + parser.add_argument( + "--log-dir", required=True, help=f"Directory of {FINDINGS_LOG}, every run" + ) + parser.add_argument( + "--metrics-file", + help="Prometheus textfile to write; omitted or empty writes none", + ) return parser.parse_args(argv) @@ -105,6 +389,8 @@ def running_containers() -> list[Container]: name=entry["Name"].lstrip("/"), stack=stack, service=service, + image=entry["Image"], + image_name=entry["Config"]["Image"], ) ) return containers @@ -117,17 +403,15 @@ def parse_probe(stdout: str) -> PhpProbe: stdout: everything php printed, startup warnings included. Returns: - The PHP version and whether each of HARDENED_SETTINGS is on. + Whether each of HARDENED_SETTINGS is on. """ for line in stdout.splitlines(): if not line.startswith(f"{PROBE_MARKER}|"): continue - fields = line.split("|")[1:] - if len(fields) != 1 + len(HARDENED_SETTINGS): + values = line.split("|")[1:] + if len(values) != len(HARDENED_SETTINGS): raise ProbeError(f"malformed probe line: {line!r}") - version, *values = fields return PhpProbe( - version=version, settings={ name: value.strip().lower() in ENABLED_VALUES for name, value in zip(HARDENED_SETTINGS, values, strict=True) @@ -163,56 +447,15 @@ def probe_php(container_id: str) -> PhpProbe | None: return parse_probe(result.stdout) -def _version_tuple(version: str) -> tuple[int, int, int] | None: - match = VERSION_PATTERN.match(version) - if match is None: - return None - major, minor, patch = (int(part) for part in match.groups()) - return major, minor, patch - - -def _line_tuple(line: str) -> tuple[int, int]: - major, minor = line.split(".") - return int(major), int(minor) - - -def floor_violation(version: str, floors: dict) -> str | None: - """Judge a runtime version against the floors of its runtime. - - Args: - version: the version the runtime reports, e.g. ``8.3.12`` or - ``8.1.2-1ubuntu2.14``. - floors: ``{".": ""}``. - - Returns: - ``None`` when the version is at or above its line's floor or on a line - newer than every floor, otherwise the reason it fails. - """ - current = _version_tuple(version) - if current is None: - return f"unparsable version {version!r}" - line = f"{current[0]}.{current[1]}" - if line in floors: - floor = floors[line] - if current < _version_tuple(floor): - return f"{version} is below the security floor {floor}" - return None - if current[:2] > max(_line_tuple(key) for key in floors): - return None - return f"{version} runs the end-of-life line {line}" - - def check( containers: list[Container], - php_floors: dict, hardened: dict, probe, ) -> tuple[list[str], list[str]]: - """Evaluate every container. + """Evaluate the PHP hardening of every container. Args: containers: the running containers. - php_floors: the PHP floors, see :func:`floor_violation`. hardened: ``{stack: [service, ...]}`` that must run hardened PHP. probe: callable returning a :class:`PhpProbe` or ``None`` per id. @@ -226,6 +469,8 @@ def check( must_harden = ( in_hardened_stack and container.service in hardened[container.stack] ) + if not in_hardened_stack: + continue try: result = probe(container.id) except ProbeError as exc: @@ -237,39 +482,1530 @@ def check( f"{container.name}: declares php_hardening but has no php to verify it" ) continue - violation = floor_violation(result.version, php_floors) - if violation: - failures.append(f"{container.name}: PHP {violation}") enabled = [name for name, on in result.settings.items() if on] if not enabled: continue message = f"{container.name}: {', '.join(enabled)} on" if must_harden: failures.append(f"{message}, the php_hardening ini is not in effect") - elif in_hardened_stack: + else: infos.append(f"{message} (sidecar without php_hardening)") return failures, infos +def severity_actions(raw) -> dict[str, str]: + """Validate the mapping of severity to action. + + Args: + raw: ``{severity: action}``, e.g. ``{CRITICAL: fail, HIGH: warn}``. + + Returns: + The mapping in :data:`SEVERITIES` order. + + Raises: + ConfigError: *raw* is the retired list form, empty, names an unknown + severity or maps one to anything but an entry of :data:`ACTIONS`. + """ + if isinstance(raw, list): + raise ConfigError( + "severity must map each severity to fail or warn, e.g. " + "{CRITICAL: fail, HIGH: warn}; the list form is no longer accepted" + ) + if not isinstance(raw, Mapping) or not raw: + raise ConfigError( + "severity must be a non-empty mapping of severity to fail or warn" + ) + unknown = sorted(str(key) for key in raw if key not in SEVERITIES) + if unknown: + raise ConfigError( + f"unknown severity: {', '.join(unknown)}; expected {', '.join(SEVERITIES)}" + ) + invalid = sorted( + f"{key}: {value}" for key, value in raw.items() if value not in ACTIONS + ) + if invalid: + raise ConfigError( + f"severity actions must be {' or '.join(ACTIONS)}; got {', '.join(invalid)}" + ) + return {severity: raw[severity] for severity in SEVERITIES if severity in raw} + + +def os_releases(raw) -> tuple[OsRelease, ...]: + """ + Args: + raw: ``[{name, version, until}]`` with ``version`` a bare major + version and ``until`` as ``YYYY-MM-DD``. + + Raises: + ConfigError: *raw* is no list, an entry lacks a field or its version + is no bare major version. + """ + if not isinstance(raw, list): + raise ConfigError("trivy_unmatched_os must be a list") + try: + releases = tuple( + OsRelease( + name=str(item["name"]), + version=str(item["version"]), + until=dt.date.fromisoformat(str(item["until"])), + ) + for item in raw + ) + except (KeyError, TypeError, ValueError) as exc: + raise ConfigError( + f"trivy_unmatched_os entries need name, version and until: {exc}" + ) from exc + for release in releases: + if not MAJOR_VERSION.fullmatch(release.version): + raise ConfigError( + f"trivy_unmatched_os version {release.version!r} of {release.name} " + "is no bare major version" + ) + return releases + + +def scan_config(raw: Mapping) -> ScanConfig: + """Validate the scan configuration. + + Args: + raw: ``targets``, ``engines``, ``severity``, ``fixed_only``, + ``workers``, ``db_update`` and ``trivy_unmatched_os``. + + Raises: + ConfigError: a value is missing, unknown or contradictory. + """ + required = { + "targets", + "engines", + "severity", + "fixed_only", + "workers", + "db_update", + "trivy_unmatched_os", + } + missing = sorted(required - set(raw)) + if missing: + raise ConfigError(f"scan config lacks {', '.join(missing)}") + for key, known in ( + ("targets", TARGET_KINDS), + ("engines", ENGINES), + ): + values = raw[key] + if not isinstance(values, list) or not values: + raise ConfigError(f"{key} must be a non-empty list") + unknown = sorted(set(values) - set(known)) + if unknown: + raise ConfigError( + f"unknown {key}: {', '.join(unknown)}; expected {', '.join(known)}" + ) + for key in ("fixed_only", "db_update"): + if not isinstance(raw[key], bool): + raise ConfigError(f"{key} must be true or false") + workers = raw["workers"] + if isinstance(workers, bool) or not isinstance(workers, int) or workers < 1: + raise ConfigError("workers must be a positive integer") + config = ScanConfig( + targets=tuple(kind for kind in TARGET_KINDS if kind in raw["targets"]), + engines=tuple(engine for engine in ENGINES if engine in raw["engines"]), + severity=severity_actions(raw["severity"]), + fixed_only=raw["fixed_only"], + workers=workers, + db_update=raw["db_update"], + trivy_unmatched_os=os_releases(raw["trivy_unmatched_os"]), + ) + if not config.scanners(): + raise ConfigError( + f"engines name no scanner; expected one of {', '.join(SCANNERS)}" + ) + if RUNTIME_ENGINE not in config.engines and SBOM_BUILDER not in config.engines: + raise ConfigError( + f"source-built runtimes need {RUNTIME_ENGINE} or {SBOM_BUILDER} in engines" + ) + if ( + "osv" in config.engines + and "host" in config.targets + and not config.reads_sbom("osv") + ): + raise ConfigError("osv reads no OS packages of the host without syft") + return config + + +def suppressions_from_json(raw: Mapping) -> Suppressions: + def entries(items: Iterable[Mapping]) -> tuple[Suppression, ...]: + return tuple( + Suppression( + id=item["id"], + image_tag=item["image_tag"], + until=dt.date.fromisoformat(item["until"]), + ) + for item in items + ) + + return Suppressions( + containers={ + stack: {service: entries(items) for service, items in services.items()} + for stack, services in raw["containers"].items() + }, + host={engine: entries(items) for engine, items in raw["host"].items()}, + ) + + +def vulnerability_ids(ids: Iterable[str]) -> tuple[str, ...]: + """Return the distinct ids, CVE ids first, each part sorted.""" + unique = {item for item in ids if item} + cves = sorted(item for item in unique if CVE_PATTERN.match(item)) + return (*cves, *sorted(unique - set(cves))) + + +def cvss_severity(score: str) -> str: + """Map a CVSS base score to its qualitative rating.""" + if not score: + return "UNKNOWN" + value = float(score) + if value >= 9.0: + return "CRITICAL" + if value >= 7.0: + return "HIGH" + if value >= 4.0: + return "MEDIUM" + if value > 0.0: + return "LOW" + return "NONE" + + +def parse_trivy(report: Mapping, target: str) -> list[Finding]: + """Normalise a ``trivy --format json`` report.""" + return [ + Finding( + engine="trivy", + target=target, + package=vuln["PkgName"], + installed=vuln["InstalledVersion"], + fixed=vuln.get("FixedVersion") or "", + ids=vulnerability_ids( + [vuln["VulnerabilityID"], *(vuln.get("VendorIDs") or [])] + ), + severity=vuln["Severity"].upper(), + ) + for result in report.get("Results") or [] + for vuln in result.get("Vulnerabilities") or [] + ] + + +def parse_grype(report: Mapping, target: str) -> list[Finding]: + """Normalise a ``grype -o json`` report.""" + findings = [] + for match in report["matches"]: + vuln = match["vulnerability"] + artifact = match["artifact"] + fix = vuln["fix"] + related = [item["id"] for item in match.get("relatedVulnerabilities") or []] + findings.append( + Finding( + engine="grype", + target=target, + package=artifact["name"], + installed=artifact["version"], + fixed=", ".join(fix["versions"]) if fix["state"] == "fixed" else "", + ids=vulnerability_ids([vuln["id"], *related]), + severity=vuln["severity"].upper(), + ) + ) + return findings + + +def _osv_fixed(vulns: Iterable[Mapping], package: Mapping) -> str: + fixed = { + event["fixed"] + for vuln in vulns + for affected in vuln.get("affected") or [] + if affected["package"]["name"] == package["name"] + and affected["package"]["ecosystem"] == package["ecosystem"] + for version_range in affected.get("ranges") or [] + for event in version_range.get("events") or [] + if "fixed" in event + } + return ", ".join(sorted(fixed)) + + +def parse_osv(report: Mapping, target_of: Callable[[str], str]) -> list[Finding]: + """Normalise an ``osv-scanner --format json`` report. + + Args: + report: the report. + target_of: maps a result's ``source.path`` to its target key. + + Returns: + One finding per package and OSV group. The severity is the group's + highest CVSS score mapped by :func:`cvss_severity`; the fixed + versions are the ``fixed`` events of the group's ranges for that + package. + """ + findings = [] + for result in report.get("results") or []: + target = target_of(result["source"]["path"]) + for entry in result["packages"]: + package = entry["package"] + by_id = {vuln["id"]: vuln for vuln in entry.get("vulnerabilities") or []} + for group in entry.get("groups") or []: + members = [by_id[item] for item in group["ids"] if item in by_id] + ids = [*group["ids"], *(group.get("aliases") or [])] + for vuln in members: + ids += [*(vuln.get("aliases") or []), *(vuln.get("upstream") or [])] + findings.append( + Finding( + engine="osv", + target=target, + package=package["name"], + installed=package["version"], + fixed=_osv_fixed(members, package), + ids=vulnerability_ids(ids), + severity=cvss_severity(group.get("max_severity") or ""), + ) + ) + return findings + + +def osv_sbom(cyclonedx: Mapping) -> dict: + """Return a CycloneDX copy whose distro purls name the source package. + + OSV keys Debian, Ubuntu and Alpine advisories by source package, while + Syft names the binary package and carries the source in the ``upstream`` + qualifier (``libssl3`` from ``openssl``). + + Args: + cyclonedx: a Syft ``cyclonedx-json`` document. + """ + document = json.loads(json.dumps(cyclonedx)) + for component in document.get("components") or []: + purl = component.get("purl") or "" + kind = purl.removeprefix("pkg:").partition("/")[0] + match = UPSTREAM_QUALIFIER.search(purl) + if kind not in OSV_SOURCE_PURL_TYPES or match is None: + continue + head, sep, qualifiers = purl.partition("?") + path, _, version = head.partition("@") + source, _, source_version = urllib.parse.unquote(match.group(2)).partition("@") + namespace = path.rpartition("/")[0] + component["purl"] = ( + f"{namespace}/{source}@{source_version or version}{sep}{qualifiers}" + ) + return document + + +def runtime_sbom(syft: Mapping) -> dict | None: + """Return a Syft JSON copy that holds only the binary-classified packages. + + Args: + syft: a Syft ``syft-json`` document. + + Returns: + The reduced document, or ``None`` when Syft classified no binary. + """ + binaries = [ + artifact + for artifact in syft.get("artifacts") or [] + if artifact.get("type") == RUNTIME_ARTIFACT_TYPE + ] + if not binaries: + return None + reduced = {key: value for key, value in syft.items() if key != "files"} + reduced["artifacts"] = binaries + reduced["artifactRelationships"] = [] + return reduced + + +def threshold(finding: Finding, config: ScanConfig) -> str | None: + """Map a finding to the action its severity carries. + + Returns: + An entry of :data:`ACTIONS`, ``None`` below the threshold. + """ + if config.fixed_only and not finding.fixed: + return None + return config.severity.get(finding.severity) + + +def image_tag(name: str) -> str: + """Return the tag of an image reference, ``latest`` when it names none. + + Args: + name: ``[registry/]repository[:tag][@digest]``. + """ + repository = name.split("@", 1)[0].rsplit("/", 1)[-1] + _, separator, tag = repository.partition(":") + return tag if separator else "latest" + + +def matching( + rules: Sequence[Suppression], finding: Finding, tag: str | None +) -> Suppression | None: + """Return the suppression covering the finding, latest first. + + Args: + rules: the suppressions of the finding's owner. + finding: the finding. + tag: the tag of the scanned image, ``None`` for the host, where no + image tag entry applies. + """ + hits = [ + rule + for rule in rules + if ( + rule.id in finding.ids + if rule.id + else tag is not None and rule.image_tag == tag + ) + ] + return max(hits, key=lambda rule: rule.until) if hits else None + + +def _owner_label(owner: tuple[str | None, str | None]) -> str: + stack, service = owner + if stack is None: + return "unmanaged container" + return f"{stack}/{service}" + + +@dataclass(frozen=True) +class Verdict: + """One finding at the threshold, judged for one owner. + + Args: + finding: the finding. + target: the target it was found in. + owner: the ``(stack, service)`` it is judged for, ``(None, None)`` + for the host and for unmanaged containers. + rule: the suppression that names it, ``None`` when none does. + suppressed: whether that suppression is still in force. + action: what the finding's severity maps to, an entry of + :data:`ACTIONS`. + """ + + finding: Finding + target: Target + owner: tuple[str | None, str | None] + rule: Suppression | None + suppressed: bool + action: str + + @property + def verdict(self) -> str: + return SUPPRESSED if self.suppressed else self.action + + def where(self) -> str: + scope = self.target.label + if self.target.kind == "container": + scope = f"{_owner_label(self.owner)} {scope}" + return f"{self.finding.engine} {self.target.kind} {scope}" + + def detail(self) -> str: + finding = self.finding + fixed = f"fixed in {finding.fixed}" if finding.fixed else "no fix" + return f"{finding.id} {finding.severity} {finding.package} {finding.installed} ({fixed})" + + +def verdicts( + findings: Iterable[Finding], + targets: Mapping[str, Target], + config: ScanConfig, + suppressions: Suppressions, + today: dt.date, +) -> list[Verdict]: + """Judge the findings against the threshold and the suppressions. + + A role's suppressions cover only the containers of its own stack and + service; a host suppression covers only the engine it is declared + under. + """ + judged = [] + for finding in sorted( + set(findings), + key=lambda f: (f.target, f.engine, f.package, f.id, f.installed), + ): + action = threshold(finding, config) + if action is None: + continue + target = targets[finding.target] + for owner in owners_of(target): + if target.kind == "host": + rules = suppressions.host.get(finding.engine, ()) + elif owner[0] is None: + rules = () + else: + rules = suppressions.containers.get(owner[0], {}).get(owner[1], ()) + rule = matching(rules, finding, target.tag_of(owner)) + judged.append( + Verdict( + finding, + target, + owner, + rule, + rule is not None and rule.until >= today, + action, + ) + ) + return judged + + +def owners_of(target: Target) -> list[tuple[str | None, str | None]]: + """Return the distinct owners a target's findings are judged for.""" + if target.kind == "host": + return [(None, None)] + return sorted(set(target.owners), key=str) + + +def report_lines( + judged: Iterable[Verdict], +) -> tuple[list[str], list[str], list[str]]: + """Return verdicts as printable lines. + + Returns: + ``(failures, warnings, infos)``: unsuppressed verdicts whose action is + ``fail``, those whose action is ``warn``, and suppressions. + """ + failures: list[str] = [] + warnings: list[str] = [] + infos: list[str] = [] + for verdict in judged: + line = f"{verdict.where()}: {verdict.detail()}" + if verdict.suppressed: + infos.append(f"{line} suppressed until {verdict.rule.until}") + continue + if verdict.rule is not None: + infos.append( + f"{verdict.where()}: suppression of {verdict.rule.subject} expired on {verdict.rule.until}" + ) + (failures if verdict.action == "fail" else warnings).append(line) + return failures, warnings, infos + + +def evaluate( + findings: Iterable[Finding], + targets: Mapping[str, Target], + config: ScanConfig, + suppressions: Suppressions, + today: dt.date, +) -> tuple[list[str], list[str], list[str]]: + """Return :func:`verdicts` as :func:`report_lines`.""" + return report_lines(verdicts(findings, targets, config, suppressions, today)) + + +def scope(target: Target, owner: tuple[str | None, str | None]) -> tuple[str, str]: + """Name one owner of a target for the outputs. + + Returns: + ``(target, image)``: the owner and ``@`` for a + container, the host name twice for the host. + """ + if target.kind == "host": + return target.label, target.label + return _owner_label(owner), f"{target.label}@{target.ref}" + + +def record(verdict: Verdict, run: Run) -> dict: + """Return one judged finding as the record every output carries.""" + finding = verdict.finding + target, image = scope(verdict.target, verdict.owner) + return { + "run_id": run.id, + "timestamp": run.timestamp(), + "host": run.host, + "environment": run.environment, + "target": target, + "kind": verdict.target.kind, + "image": image, + "scanner": finding.engine, + "id": finding.id, + "severity": finding.severity, + "package": finding.package, + "installed_version": finding.installed, + "fixed_version": finding.fixed or None, + "suppressed": verdict.suppressed, + "suppressed_until": ( + verdict.rule.until.isoformat() if verdict.suppressed else None + ), + "verdict": verdict.verdict, + } + + +def tally(verdicts_of: Iterable[str]) -> dict[str, int]: + """Return the count of each entry of :data:`VERDICTS`.""" + counts = dict.fromkeys(VERDICTS, 0) + for verdict in verdicts_of: + counts[verdict] += 1 + return counts + + +def worst(counts: Mapping[str, int]) -> str: + """Return ``fail`` or ``warn`` while one is counted, else :data:`CLEAN`.""" + return next((action for action in ACTIONS if counts[action]), CLEAN) + + +def error_engine(line: str) -> str: + """Return the engine an error line starts with.""" + return line.split(" ", 1)[0].removesuffix(":") + + +@dataclass(frozen=True) +class Outcome: + """Everything one run reports. + + Args: + run: the run. + targets: the scanned targets. + records: :func:`record` of every verdict. + errors: engine runs that did not deliver. + engines: the configured engines. + failed: whether the run fails. + finished: when the scan finished, Unix seconds. + """ + + run: Run + targets: tuple[Target, ...] + records: tuple[dict, ...] + errors: tuple[str, ...] + engines: tuple[str, ...] + failed: bool + finished: float + + def target_events(self) -> list[dict]: + events = [] + for target in self.targets: + for owner in owners_of(target): + name, image = scope(target, owner) + counts = tally( + item["verdict"] + for item in self.records + if (item["target"], item["kind"], item["image"]) + == (name, target.kind, image) + ) + events.append( + { + "event": "hlth_runtime.target", + "run_id": self.run.id, + "target": name, + "kind": target.kind, + "image": image, + "counts": counts, + "verdict": worst(counts), + } + ) + return events + + def summary_event(self) -> dict: + counts = tally(item["verdict"] for item in self.records) + return { + "event": "hlth_runtime.summary", + "run_id": self.run.id, + "counts": counts, + "errors": len(self.errors), + "verdict": "fail" if self.failed else worst(counts), + } + + def report(self) -> dict: + summary = self.summary_event() + return { + "run_id": self.run.id, + "timestamp": self.run.timestamp(), + "host": self.run.host, + "environment": self.run.environment, + "verdict": summary["verdict"], + "counts": summary["counts"], + "errors": list(self.errors), + "targets": [ + { + key: value + for key, value in event.items() + if key not in ("event", "run_id") + } + for event in self.target_events() + ], + "findings": list(self.records), + } + + def metrics(self) -> str: + lines = [ + f"# HELP {METRIC}_findings Judged vulnerability findings of the last run.", + f"# TYPE {METRIC}_findings gauge", + ] + series = Counter( + tuple(item[label] for label in METRIC_LABELS) for item in self.records + ) + for values, count in sorted(series.items()): + labels = ",".join( + f'{label}="{_label_value(value)}"' + for label, value in zip(METRIC_LABELS, values, strict=True) + ) + lines.append(f"{METRIC}_findings{{{labels}}} {count}") + lines += [ + f"# HELP {METRIC}_last_run_timestamp_seconds When the last run finished.", + f"# TYPE {METRIC}_last_run_timestamp_seconds gauge", + f"{METRIC}_last_run_timestamp_seconds {int(self.finished)}", + f"# HELP {METRIC}_last_run_success 1 when the last run did not fail, else 0.", + f"# TYPE {METRIC}_last_run_success gauge", + f"{METRIC}_last_run_success {0 if self.failed else 1}", + f"# HELP {METRIC}_scanner_errors Engine runs of the last run that did not deliver.", + f"# TYPE {METRIC}_scanner_errors gauge", + ] + errors = Counter(error_engine(line) for line in self.errors) + for engine in sorted({*self.engines, *errors}): + lines.append( + f'{METRIC}_scanner_errors{{scanner="{_label_value(engine)}"}} {errors[engine]}' + ) + return "\n".join(lines) + "\n" + + +def _label_value(value: str) -> str: + return value.replace("\\", "\\\\").replace("\n", "\\n").replace('"', '\\"') + + +def write_atomic(path: Path, text: str) -> None: + staged = path.with_name(f".{path.name}.{os.getpid()}.tmp") + try: + staged.write_text(text, encoding="utf-8") + staged.replace(path) + finally: + staged.unlink(missing_ok=True) + + +def publish( + outcome: Outcome, report_dir: Path, log_dir: Path, metrics_file: str | None +) -> list[dict]: + """Write the outputs of one run. + + Args: + outcome: the run's results. + report_dir: where :data:`REPORT` is replaced. + log_dir: where :data:`FINDINGS_LOG` grows by one line per record. + metrics_file: the Prometheus textfile; ``None`` or empty writes none. + + Returns: + The journal events, one per target and the summary last. + """ + write_atomic(report_dir / REPORT, json.dumps(outcome.report(), indent=2) + "\n") + if outcome.records: + with (log_dir / FINDINGS_LOG).open("a", encoding="utf-8") as handle: + handle.write("".join(json.dumps(item) + "\n" for item in outcome.records)) + if metrics_file: + write_atomic(Path(metrics_file), outcome.metrics()) + return [*outcome.target_events(), outcome.summary_event()] + + +def container_targets(containers: Iterable[Container]) -> list[Target]: + """Group the running containers by image.""" + grouped: dict[str, list[Container]] = {} + for container in containers: + grouped.setdefault(container.image, []).append(container) + targets = [] + for image, members in sorted(grouped.items()): + members.sort(key=lambda c: c.name) + targets.append( + Target( + key=image.removeprefix("sha256:"), + kind="container", + ref=image, + label=members[0].image_name, + owners=tuple((member.stack, member.service) for member in members), + owner_tags=tuple( + ((member.stack, member.service), image_tag(member.image_name)) + for member in members + ), + ) + ) + return targets + + +def host_target(hostname: str) -> Target: + return Target( + key="host", + kind="host", + ref=HOST_ROOT, + label=hostname, + owners=(), + owner_tags=(), + ) + + +def _env(pairs: Mapping[str, str]) -> list[str]: + args = [] + for key, value in sorted(pairs.items()): + args += ["-e", f"{key}={value}"] + return args + + +ENGINE_ENV = { + "trivy": {}, + "grype": {"GRYPE_DB_CACHE_DIR": CACHE, "GRYPE_CHECK_FOR_APP_UPDATE": "false"}, + "osv": {"OSV_SCANNER_LOCAL_DB_CACHE_DIRECTORY": CACHE}, + "syft": {"SYFT_CHECK_FOR_APP_UPDATE": "false"}, +} +TRIVY_COMMON = ( + "--cache-dir", + CACHE, + "--disable-telemetry", + "--skip-version-check", + "--quiet", +) + + +@dataclass(frozen=True) +class Layout: + """Where one scan run keeps its files. + + Args: + runtime: the command that starts a container, e.g. ``container run``. + databases: the database root, one directory per scanner. + sbom: the SBOM directory. + work: the per-run scratch directory. + excludes: absolute host paths the host scan skips. + """ + + runtime: tuple[str, ...] + databases: Path + sbom: Path + work: Path + excludes: tuple[str, ...] + + +def run_argv( + layout: Layout, + engine: str, + image: str, + args: Sequence[str], + *, + target: Target | None, + extra_env: Mapping[str, str], + scratch: str, +) -> tuple[str, ...]: + """Build the command that runs one engine container. + + Args: + layout: where the run keeps its files. + engine: the engine, which picks its database mount and environment. + image: the engine image. + args: the engine's arguments. + target: the target, which picks the host or Docker socket mount; + ``None`` for a run that reads neither. A run with the Docker + socket runs on :data:`SOCKET_RUNTIME`, every other run on the + daemon's default runtime. + extra_env: environment on top of the engine's own. + scratch: :attr:`Step.scratch` of the run, its ``TMPDIR`` under + :data:`WORK`. + """ + options = ["--rm"] + mounts = ["-v", f"{layout.sbom}:{SBOM}", "-v", f"{layout.work}:{WORK}"] + if engine in SCANNERS: + mounts += ["-v", f"{layout.databases / engine}:{CACHE}"] + if target is not None and target.kind == "host": + mounts += ["-v", f"/:{HOST_ROOT}:ro"] + if target is not None and target.kind == "container": + options += ["--runtime", SOCKET_RUNTIME] + mounts += ["-v", f"{DOCKER_SOCKET}:{DOCKER_SOCKET}:ro"] + environment = {"TMPDIR": f"{WORK}/{scratch}", **ENGINE_ENV[engine], **extra_env} + return (*layout.runtime, *options, *mounts, *_env(environment), image, *args) + + +def scratch_of(engine: str, subject: str) -> str: + """Name the scratch directory of one engine run. + + Args: + engine: the engine. + subject: :attr:`Target.key`, or what else the run is for. + """ + return f"tmp-{engine}-{subject}" + + +def _relative_excludes(layout: Layout) -> list[str]: + return [f"./{path.strip('/')}" for path in layout.excludes] + + +def db_steps(engine: str, layout: Layout, image: str) -> list[Step]: + """Download or refresh one engine's database.""" + scratch = scratch_of(engine, "db") + if engine == "trivy": + return [ + Step( + f"trivy {name}", + run_argv( + layout, + engine, + image, + ["image", flag, *TRIVY_COMMON], + target=None, + extra_env={}, + scratch=scratch, + ), + SUCCESS, + scratch, + False, + ) + for name, flag in ( + ("database", "--download-db-only"), + ("java database", "--download-java-db-only"), + ) + ] + if engine == "grype": + return [ + Step( + "grype database", + run_argv( + layout, + engine, + image, + ["db", "update"], + target=None, + extra_env={}, + scratch=scratch, + ), + SUCCESS, + scratch, + False, + ) + ] + return [] + + +def sbom_paths(layout: Layout, target: Target) -> tuple[Path, Path]: + return ( + layout.sbom / f"{target.key}.syft.json", + layout.sbom / f"{target.key}.cdx.json", + ) + + +def sbom_step(layout: Layout, image: str, target: Target) -> Step: + """Build one target's SBOM in Syft and CycloneDX JSON.""" + if target.kind == "host": + source = [f"dir:{HOST_ROOT}", "--override-default-catalogers", "image"] + for path in _relative_excludes(layout): + source += ["--exclude", path] + else: + source = [f"docker:{target.ref}"] + args = [ + "scan", + *source, + "-o", + f"syft-json={SBOM}/{target.key}.syft.json", + "-o", + f"cyclonedx-json={SBOM}/{target.key}.cdx.json", + "-q", + ] + scratch = scratch_of("syft", target.key) + return Step( + f"syft {target.kind} {target.label}", + run_argv( + layout, "syft", image, args, target=target, extra_env={}, scratch=scratch + ), + SUCCESS, + scratch, + target.kind == "container", + ) + + +def sbom_os(cyclonedx: Mapping) -> tuple[str, str] | None: + """ + Returns: + ``(name, major version)`` of a CycloneDX SBOM's ``operating-system`` + component, ``None`` when it names none. + """ + for component in cyclonedx.get("components") or []: + if component.get("type") == "operating-system": + version = str(component.get("version") or "") + return str(component.get("name") or ""), version.partition(".")[0] + return None + + +def trivy_os_args( + layout: Layout, + target: Target, + scanners: Sequence[str], + config: ScanConfig, + today: dt.date, +) -> list[str]: + """ + Args: + layout: where the run keeps its files, the target's SBOM among them. + target: the target. + scanners: the scanners that run. + config: the scan configuration. + today: the day an entry's ``until`` must not lie before. + + Returns: + ``["--pkg-types", "library"]`` when Grype runs and the target's SBOM + names an OS release of :attr:`ScanConfig.trivy_unmatched_os` whose + ``until`` has not passed, else ``[]``. + """ + cyclonedx = sbom_paths(layout, target)[1] + if "grype" not in scanners or not cyclonedx.is_file(): + return [] + release = sbom_os(_read_json(cyclonedx)) + for entry in config.trivy_unmatched_os: + if (entry.name, entry.version) == release and today <= entry.until: + print( + f"ℹ️ trivy {target.label}: OS packages of {entry.name} " + f"{entry.version} left to grype until {entry.until}" + ) + return ["--pkg-types", "library"] + return [] + + +def trivy_step( + layout: Layout, + image: str, + target: Target, + config: ScanConfig, + os_args: Sequence[str], +) -> Step: + args = [ + "rootfs" if target.kind == "host" else "image", + *TRIVY_COMMON, + "--skip-db-update", + "--skip-java-db-update", + "--scanners", + "vuln", + *os_args, + "--format", + "json", + "--output", + f"{WORK}/{target.key}.trivy.json", + ] + if not config.db_update: + args += ["--cache-backend", "memory"] + if target.kind == "host": + args += [ + "--skip-dirs", + ",".join(f"{HOST_ROOT}{path}" for path in layout.excludes), + HOST_ROOT, + ] + else: + args += ["--image-src", "docker", target.ref] + scratch = scratch_of("trivy", target.key) + return Step( + f"trivy {target.kind} {target.label}", + run_argv( + layout, "trivy", image, args, target=target, extra_env={}, scratch=scratch + ), + SUCCESS, + scratch, + target.kind == "container", + ) + + +def grype_step(layout: Layout, image: str, target: Target, config: ScanConfig) -> Step: + if config.reads_sbom("grype"): + source = [f"sbom:{SBOM}/{target.key}.syft.json"] + elif target.kind == "host": + source = [f"dir:{HOST_ROOT}"] + for path in _relative_excludes(layout): + source += ["--exclude", path] + else: + source = [f"docker:{target.ref}"] + args = [*source, "-o", "json", "--file", f"{WORK}/{target.key}.grype.json", "-q"] + scratch = scratch_of("grype", target.key) + return Step( + f"grype {target.kind} {target.label}", + run_argv( + layout, + "grype", + image, + args, + target=None if config.reads_sbom("grype") else target, + extra_env={"GRYPE_DB_AUTO_UPDATE": "false"}, + scratch=scratch, + ), + SUCCESS, + scratch, + target.kind == "container" and not config.reads_sbom("grype"), + ) + + +def osv_args(config: ScanConfig, output: str) -> list[str]: + args = ["--offline-vulnerabilities", "--format", "json", "--output-file", output] + if config.db_update: + args.append("--download-offline-databases") + return args + + +def osv_sbom_step( + layout: Layout, image: str, targets: Sequence[Target], config: ScanConfig +) -> Step: + """Scan every target's rewritten CycloneDX in one OSV run.""" + args = ["scan", "source", *osv_args(config, f"{WORK}/osv.json")] + for target in targets: + args += ["-L", f"{WORK}/{target.key}.osv.cdx.json"] + scratch = scratch_of("osv", "sbom") + return Step( + "osv sbom", + run_argv( + layout, "osv", image, args, target=None, extra_env={}, scratch=scratch + ), + OSV_ACCEPTED_EXIT_CODES, + scratch, + False, + ) + + +def osv_image_steps( + layout: Layout, image: str, target: Target, config: ScanConfig +) -> list[Step]: + """Export one image and scan the archive; OSV reads no docker socket.""" + scratch = scratch_of("osv", target.key) + return [ + Step( + f"osv export {target.label}", + ( + layout.runtime[0], + "save", + "--output", + str(layout.work / scratch / "image.tar"), + target.ref, + ), + SUCCESS, + scratch, + True, + ), + Step( + f"osv container {target.label}", + run_argv( + layout, + "osv", + image, + [ + "scan", + "image", + "--archive", + f"{WORK}/{scratch}/image.tar", + *osv_args(config, f"{WORK}/{target.key}.osv.json"), + ], + target=None, + extra_env={}, + scratch=scratch, + ), + OSV_ACCEPTED_EXIT_CODES, + scratch, + False, + ), + ] + + +Runner = Callable[[Sequence[str]], subprocess.CompletedProcess] + + +def default_runner(argv: Sequence[str]) -> subprocess.CompletedProcess: + return subprocess.run( + list(argv), + capture_output=True, + text=True, + check=False, + timeout=JOB_TIMEOUT_SECONDS, + ) + + +def _tail(text: str) -> str: + lines = [line for line in text.strip().splitlines() if line.strip()] + return " | ".join(lines[-3:]) + + +def _run_steps(steps: Sequence[Step], runner: Runner) -> list[str]: + for step in steps: + try: + result = runner(step.argv) + except subprocess.TimeoutExpired as exc: + return [f"{step.label}: no result within {exc.timeout}s"] + missing = OSV_MISSING_DB.findall(f"{result.stdout}\n{result.stderr}") + if missing: + return [ + f"{step.label}: no OSV database for {', '.join(sorted(set(missing)))}" + ] + if result.returncode not in step.accept: + output = _tail(result.stderr) or _tail(result.stdout) + return [f"{step.label}: exited {result.returncode}: {output}"] + return [] + + +def run_lane( + lane: Sequence[Step], + runner: Runner, + work: Path, + exports: threading.Semaphore, +) -> list[str]: + """Run steps in order and stop at the first failing one. + + Args: + lane: the steps. + runner: runs one command. + work: the run's work directory, which holds every + :attr:`Step.scratch`. + exports: held by a group of steps sharing a scratch directory while + one of them exports an image, from its creation to its removal. + + Returns: + Error lines, empty when every step succeeded. + """ + for scratch, group in itertools.groupby(lane, key=lambda step: step.scratch): + steps = list(group) + gate = ( + exports if any(step.exports for step in steps) else contextlib.nullcontext() + ) + with gate: + directory = work / scratch + directory.mkdir(parents=True, exist_ok=True) + try: + errors = _run_steps(steps, runner) + finally: + shutil.rmtree(directory, ignore_errors=True) + if errors: + return errors + return [] + + +def run_lanes( + lanes: Sequence[Sequence[Step]], runner: Runner, workers: int, work: Path +) -> list[list[str]]: + """Run lanes in parallel, at most *workers* at a time. + + At most :data:`EXPORT_SLOTS` image exports are on disk at once, whatever + *workers* is. + + Returns: + The error lines of each lane, in lane order. + """ + if not lanes: + return [] + exports = threading.BoundedSemaphore(EXPORT_SLOTS) + with ThreadPoolExecutor(max_workers=workers) as pool: + return list(pool.map(lambda lane: run_lane(lane, runner, work, exports), lanes)) + + +def _flat(errors: Iterable[Sequence[str]]) -> list[str]: + return [line for lines in errors for line in lines] + + +def _read_json(path: Path) -> dict: + return json.loads(path.read_text(encoding="utf-8")) + + +def missing_databases(engine: str, databases: Path) -> list[str]: + """Name every file of a provided database that is not there.""" + return [ + f"{engine}: provided database {databases / engine / marker} is missing" + for marker in DB_MARKERS[engine] + if not (databases / engine / marker).exists() + ] + + +def prepare_databases( + config: ScanConfig, images: Mapping[str, str], layout: Layout, runner: Runner +) -> dict[str, list[str]]: + """Refresh or check each database the scan needs. + + Returns: + ``{engine: error lines}``; an engine with errors does not scan. + """ + needed = config.databases() + if not config.db_update: + return { + engine: missing_databases(engine, layout.databases) for engine in needed + } + for engine in needed: + (layout.databases / engine).mkdir(parents=True, exist_ok=True) + results: dict[str, list[str]] = {} + pending = list(needed) + for attempt in range(DB_ATTEMPTS): + if attempt: + pause(DB_RETRY_SECONDS) + lanes = [db_steps(engine, layout, images[engine]) for engine in pending] + results.update( + zip( + pending, + run_lanes(lanes, runner, config.workers, layout.work), + strict=True, + ) + ) + pending = [engine for engine in pending if results[engine]] + if not pending: + break + return {engine: results[engine] for engine in needed} + + +def pause(seconds: float) -> None: + time.sleep(seconds) + + +def runtime_step(layout: Layout, image: str, target: Target) -> Step: + """Scan the binary-classified packages of one SBOM with Grype.""" + args = [ + f"sbom:{WORK}/{target.key}.runtime.syft.json", + "-o", + "json", + "--file", + f"{WORK}/{target.key}.runtime.grype.json", + "-q", + ] + scratch = scratch_of(RUNTIME_ENGINE, f"runtime-{target.key}") + return Step( + f"grype runtime {target.kind} {target.label}", + run_argv( + layout, + RUNTIME_ENGINE, + image, + args, + target=None, + extra_env={"GRYPE_DB_AUTO_UPDATE": "false"}, + scratch=scratch, + ), + SUCCESS, + scratch, + False, + ) + + +def scan( + targets: Sequence[Target], + config: ScanConfig, + images: Mapping[str, str], + layout: Layout, + runner: Runner, +) -> tuple[list[Finding], list[str]]: + """Run every engine over every target. + + Returns: + ``(findings, errors)``; an error is an engine run that did not + deliver, which fails the scan. + """ + databases = prepare_databases(config, images, layout, runner) + errors = _flat(databases.values()) + usable = {engine for engine, lines in databases.items() if not lines} + scanners = [engine for engine in config.scanners() if engine in usable] + runtime = config.runtime_pass() and RUNTIME_ENGINE in usable + + sbom_ready = list(targets) + if runtime or any(config.reads_sbom(engine) for engine in scanners): + pending = [ + target + for target in targets + if target.kind == "host" + or not all(path.is_file() for path in sbom_paths(layout, target)) + ] + results = run_lanes( + [[sbom_step(layout, images[SBOM_BUILDER], target)] for target in pending], + runner, + config.workers, + layout.work, + ) + errors += _flat(results) + failed = { + target.key for target, lines in zip(pending, results, strict=True) if lines + } + sbom_ready = [target for target in targets if target.key not in failed] + + lanes: list[list[Step]] = [] + today = dt.datetime.now(tz=dt.UTC).date() + if "trivy" in scanners: + lanes.append( + [ + trivy_step( + layout, + images["trivy"], + target, + config, + trivy_os_args(layout, target, scanners, config, today) + if target in sbom_ready + else [], + ) + for target in targets + ] + ) + if "grype" in scanners: + lanes.extend( + [grype_step(layout, images["grype"], target, config)] + for target in targets + if not config.reads_sbom("grype") or target in sbom_ready + ) + for target in sbom_ready if runtime else (): + reduced = runtime_sbom(_read_json(sbom_paths(layout, target)[0])) + if reduced is None: + continue + (layout.work / f"{target.key}.runtime.syft.json").write_text( + json.dumps(reduced), encoding="utf-8" + ) + lanes.append([runtime_step(layout, images[RUNTIME_ENGINE], target)]) + if "osv" in scanners and config.reads_sbom("osv"): + for target in sbom_ready: + cdx = sbom_paths(layout, target)[1] + (layout.work / f"{target.key}.osv.cdx.json").write_text( + json.dumps(osv_sbom(_read_json(cdx))), encoding="utf-8" + ) + if sbom_ready: + lanes.append([osv_sbom_step(layout, images["osv"], sbom_ready, config)]) + elif "osv" in scanners: + lanes.append( + [ + step + for target in targets + for step in osv_image_steps(layout, images["osv"], target, config) + ] + ) + errors += _flat(run_lanes(lanes, runner, config.workers, layout.work)) + + findings: list[Finding] = [] + for target in targets: + for name, parse in ( + ("trivy", parse_trivy), + ("grype", parse_grype), + ("runtime.grype", parse_grype), + ): + report = layout.work / f"{target.key}.{name}.json" + if report.is_file(): + findings += parse(_read_json(report), target.key) + report = layout.work / f"{target.key}.osv.json" + if report.is_file(): + findings += parse_osv(_read_json(report), lambda _path, key=target.key: key) + batched = layout.work / "osv.json" + if batched.is_file(): + by_file = { + f"{WORK}/{target.key}.osv.cdx.json": target.key for target in sbom_ready + } + findings += parse_osv(_read_json(batched), by_file.__getitem__) + return findings, errors + + +def prune_sboms(layout: Layout, targets: Iterable[Target]) -> None: + """Drop the cached SBOMs of images no container runs any more.""" + keep = {path for target in targets for path in sbom_paths(layout, target)} + for path in layout.sbom.glob("*.json"): + if path not in keep: + path.unlink() + + +def docker_root() -> str: + return subprocess.run( + ["container", "info", "--format", "{{.DockerRootDir}}"], + capture_output=True, + text=True, + check=True, + timeout=EXEC_TIMEOUT_SECONDS, + ).stdout.strip() + + +def vulnerability_check( + containers: Sequence[Container], + config: ScanConfig, + images: Mapping[str, str], + suppressions: Suppressions, + cache: Path, + databases: Path, + excludes: Sequence[str], + runner: Runner, + run: Run, +) -> tuple[list[Target], list[Verdict], list[str]]: + """Scan the running containers and the host. + + Returns: + ``(targets, verdicts, errors)``: what was scanned, every finding at + the threshold judged per owner, and the engine runs that failed. + """ + targets: list[Target] = [] + if "container" in config.targets: + targets += container_targets(containers) + if "host" in config.targets: + targets.append(host_target(run.host)) + sbom = cache / "sbom" + sbom.mkdir(parents=True, exist_ok=True) + for stale in cache.glob(f"{RUN_PREFIX}*"): + shutil.rmtree(stale, ignore_errors=True) + work = Path(tempfile.mkdtemp(prefix=RUN_PREFIX, dir=cache)) + try: + layout = Layout( + runtime=("container", "run"), + databases=databases, + sbom=sbom, + work=work, + excludes=tuple( + sorted({*excludes, str(cache), str(databases), docker_root()}) + ), + ) + findings, errors = scan(targets, config, images, layout, runner) + prune_sboms( + layout, [target for target in targets if target.kind == "container"] + ) + finally: + shutil.rmtree(work) + judged = verdicts( + findings, + {target.key: target for target in targets}, + config, + suppressions, + run.started.date(), + ) + return targets, judged, errors + + def main(argv=None) -> int: args = parse_args(argv) - php_floors = json.loads(args.floors)["php"] + run = Run( + id=str(uuid.uuid4()), + started=dt.datetime.now(tz=dt.UTC), + host=socket.gethostname(), + environment=args.environment, + ) hardened = json.loads(args.hardened) + try: + config = scan_config(json.loads(args.scan)) + except ConfigError as exc: + print(f"❌ {exc}") + return 1 try: containers = running_containers() except (subprocess.TimeoutExpired, subprocess.CalledProcessError) as exc: print(f"❌ listing the running containers failed: {exc}") return 1 - failures, infos = check(containers, php_floors, hardened, probe_php) - for line in infos: + failures, infos = check(containers, hardened, probe_php) + targets, judged, errors = vulnerability_check( + containers, + config, + json.loads(args.images), + suppressions_from_json(json.loads(args.suppressions)), + Path(args.cache_dir), + Path(args.database_dir), + json.loads(args.host_excludes), + default_runner, + run, + ) + found, warned, noted = report_lines(judged) + for line in infos + noted: print(f"ℹ️ {line}") - for line in failures: + for line in warned: + print(f"⚠️ {line}") + failed = failures + found + errors + for line in failed: print(f"❌ {line}") - if failures: - print(f"🚨 {len(failures)} runtime finding(s).") - return 1 - print("✅ Every PHP runtime is at or above its floor and hardened where declared.") - return 0 + if failed: + print(f"🚨 {len(failed)} runtime failure(s).") + elif warned: + print( + f"⚠️ {len(warned)} vulnerability finding(s) mapped to warn; " + "they do not fail this check." + ) + else: + print( + "✅ PHP is hardened where declared and no engine reports a vulnerability at the threshold." + ) + outcome = Outcome( + run=run, + targets=tuple(targets), + records=tuple(record(verdict, run) for verdict in judged), + errors=tuple(errors), + engines=config.engines, + failed=bool(failed), + finished=time.time(), + ) + events = publish( + outcome, Path(args.report_dir), Path(args.log_dir), args.metrics_file + ) + for event in events: + print(json.dumps(event)) + return 1 if failed else 0 if __name__ == "__main__": diff --git a/roles/sys-ctl-hlth-runtime/lookup_plugins/cve_suppressions.py b/roles/sys-ctl-hlth-runtime/lookup_plugins/cve_suppressions.py new file mode 100644 index 0000000000..b2a894997f --- /dev/null +++ b/roles/sys-ctl-hlth-runtime/lookup_plugins/cve_suppressions.py @@ -0,0 +1,65 @@ +from __future__ import annotations + +from typing import Any + +from ansible.errors import AnsibleError +from ansible.plugins.lookup import LookupBase + +from utils import PROJECT_ROOT +from utils.roles.entity.name import get_entity_name +from utils.security.engine import ROLE, SCANNERS +from utils.security.suppressions import SuppressionError, role_suppressions + +ROLES_DIR = PROJECT_ROOT / "roles" + + +def collect(group_names: list[str]) -> dict[str, dict]: + """Return the suppressions the scan applies on this node. + + Args: + group_names: the deployed role ids. + + Returns: + ``{"containers": {entity: {service: [entry]}}, "host": {engine: + [entry]}}`` where an entry is ``{"id", "image_tag", "until"}``. The + entity is the compose project and swarm stack name, so a role's + suppressions reach only its own containers. The host takes the + ``id`` entries of the engine services only; their ``image_tag`` + entries cover the engine's own image. + """ + containers: dict[str, dict[str, list[dict[str, str]]]] = {} + for role in sorted(set(group_names)): + entity = get_entity_name(role) + declared = role_suppressions(ROLES_DIR, role) + if entity and declared: + containers[entity] = { + service: [entry.as_json() for entry in entries] + for service, entries in declared.items() + } + own = role_suppressions(ROLES_DIR, ROLE) + host = { + engine: [entry.as_json() for entry in entries if entry.id] + for engine, entries in own.items() + if engine in SCANNERS + } + return {"containers": containers, "host": host} + + +class LookupModule(LookupBase): + """``lookup('cve_suppressions', group_names=)``, see :func:`collect`.""" + + def run( + self, + terms: list[Any] | None, + variables: dict[str, Any] | None = None, + **kwargs: Any, + ) -> list[dict[str, dict]]: + group_names = kwargs.get("group_names") + if not isinstance(group_names, (list, tuple)): + raise AnsibleError( + "cve_suppressions: group_names must be a list of role ids" + ) + try: + return [collect([str(name) for name in group_names])] + except SuppressionError as exc: + raise AnsibleError(f"cve_suppressions: {exc}") from exc diff --git a/roles/sys-ctl-hlth-runtime/meta/main.yml b/roles/sys-ctl-hlth-runtime/meta/main.yml index a4656c3c54..08071f267a 100644 --- a/roles/sys-ctl-hlth-runtime/meta/main.yml +++ b/roles/sys-ctl-hlth-runtime/meta/main.yml @@ -1,7 +1,7 @@ --- galaxy_info: author: Kevin Veen-Birkenbach - description: Systemd-timed monitor for containers running PHP below its security floor or without the shared PHP hardening + description: Systemd-timed vulnerability scan of the node and its containers, plus the shared PHP hardening check company: | Kevin Veen-Birkenbach https://www.veen.world diff --git a/roles/sys-ctl-hlth-runtime/meta/packages.yml b/roles/sys-ctl-hlth-runtime/meta/packages.yml new file mode 100644 index 0000000000..c6268d1531 --- /dev/null +++ b/roles/sys-ctl-hlth-runtime/meta/packages.yml @@ -0,0 +1,8 @@ +--- +logrotate: + Archlinux: + - logrotate + Debian: + - logrotate + RedHat: + - logrotate diff --git a/roles/sys-ctl-hlth-runtime/meta/services.yml b/roles/sys-ctl-hlth-runtime/meta/services.yml index 754ea0ad3a..4f41734ef8 100644 --- a/roles/sys-ctl-hlth-runtime/meta/services.yml +++ b/roles/sys-ctl-hlth-runtime/meta/services.yml @@ -6,3 +6,93 @@ runtime: categories: [web] swarm: categories: [web] + targets: [host, container] + engines: [trivy, grype, osv, syft] + severity: + CRITICAL: fail + HIGH: warn + fixed_only: true + workers: 2 + db_update: true + cache_dir: "/var/cache/{{ SOFTWARE_DOMAIN }}/vulnerability" + database_dir: "/var/cache/{{ SOFTWARE_DOMAIN }}/vulnerability/db" +# nocheck: image-healthcheck scanner run as a one-shot, no long-running process +trivy: + image: ghcr.io/aquasecurity/trivy + version: "0.76.1" + unmatched_os: + - name: centos + version: "10" + until: 2026-11-30 + - name: rhel + version: "10" + until: 2026-11-30 + security: + suppressions: + # nocheck: cve golang.org/x/net below 0.60.0 sits in the newest docker-ce and containerd.io packages + - id: CVE-2026-78663 + until: 2026-11-30 + # nocheck: cve CentOS Stream 10 ships no ca-certificates build with the RHEL 100.3.el10_2 fix yet + - id: CVE-2026-114406 + until: 2026-11-30 + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "0.76.1" + until: 2026-11-30 +# nocheck: image-healthcheck scanner run as a one-shot, no long-running process +grype: + image: ghcr.io/anchore/grype + version: v0.121.0 + security: + suppressions: + # nocheck: cve golang.org/x/net below 0.60.0 sits in the newest docker-ce and containerd.io packages + - id: CVE-2026-78663 + until: 2026-11-30 + # nocheck: cve CentOS Stream 10 ships no ca-certificates build with the RHEL 100.3.el10_2 fix yet + - id: CVE-2026-114406 + until: 2026-11-30 + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "v0.121.0" + until: 2026-11-30 +# nocheck: image-healthcheck scanner run as a one-shot, no long-running process +osv: + image: ghcr.io/google/osv-scanner + version: v2.7.0 + ecosystems: + - AlmaLinux + - Alpine + - Debian + - Go + - Hackage + - Hex + - Maven + - NuGet + - Packagist + - Pub + - PyPI + - Red Hat + - Rocky Linux + - RubyGems + - Ubuntu + - Wolfi + - crates.io + - npm + security: + suppressions: + # nocheck: cve golang.org/x/net below 0.60.0 sits in the newest docker-ce and containerd.io packages + - id: CVE-2026-78663 + until: 2026-11-30 + # nocheck: cve CentOS Stream 10 ships no ca-certificates build with the RHEL 100.3.el10_2 fix yet + - id: CVE-2026-114406 + until: 2026-11-30 + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "v2.7.0" + until: 2026-11-30 +# nocheck: image-healthcheck SBOM builder run as a one-shot, no long-running process +syft: + image: ghcr.io/anchore/syft + version: v1.55.0 + security: + suppressions: + # nocheck: cve upstream tag ships fixable CRITICAL CVEs; lift it once a rebuilt tag lands + - image_tag: "v1.55.0" + until: 2026-11-30 diff --git a/roles/sys-ctl-hlth-runtime/tasks/00_core.yml b/roles/sys-ctl-hlth-runtime/tasks/00_core.yml index 2ccbf971c7..41a2d5d593 100644 --- a/roles/sys-ctl-hlth-runtime/tasks/00_core.yml +++ b/roles/sys-ctl-hlth-runtime/tasks/00_core.yml @@ -1,9 +1,57 @@ --- +- name: "🧩 Load docker service required for the 'run' command" + include_role: + name: sys-svc-container + public: false + when: run_once_sys_svc_container is not defined + - name: 📂 Include dependency 'sys-ctl-alm-compose' include_role: name: sys-ctl-alm-compose when: run_once_sys_ctl_alm_compose is not defined +- name: 📁 Create the vulnerability cache + ansible.builtin.file: + path: "{{ HEALTH_RUNTIME_CACHE_DIR }}" + state: directory + mode: "0700" + +- name: 📁 Create the report and findings log directories + ansible.builtin.file: + path: "{{ item }}" + state: directory + mode: "0750" + loop: + - "{{ DIR_HEALTH_RUNTIME_REPORT }}" + - "{{ DIR_HEALTH_RUNTIME_LOG }}" + +- name: 📁 Create the node-exporter textfile directory + ansible.builtin.file: + path: "{{ DIR_METRICS_TEXTFILE }}" + state: directory + when: HEALTH_RUNTIME_METRICS_ENABLED | bool + +- name: 🔁 Rotate the findings log weekly + ansible.builtin.template: # nocheck: stack-host-template (per-node logrotate drop-in, every node scans itself) + src: logrotate.j2 + dest: "{{ HEALTH_RUNTIME_LOGROTATE_FILE }}" + owner: root + group: root + mode: "0644" + +- name: ⬇️ Pull the vulnerability engine images (with retries) + ansible.builtin.command: + argv: + - container + - pull + - "{{ item }}" + loop: "{{ HEALTH_RUNTIME_IMAGES.values() | list }}" + register: health_runtime_pull + changed_when: false + retries: 6 + delay: 20 + until: health_runtime_pull.rc == 0 + - include_role: name: sys-service vars: @@ -12,8 +60,18 @@ system_service_tpl_on_failure: "{{ SYS_SERVICE_ON_FAILURE_COMPOSE }}" system_service_tpl_exec_start: >- {{ system_service_script_exec }} - --floors '{{ HEALTH_RUNTIME_FLOORS | to_json }}' --hardened '{{ HEALTH_RUNTIME_PHP_HARDENED | to_json }}' + --scan '{{ HEALTH_RUNTIME_SCAN | to_json }}' + --images '{{ HEALTH_RUNTIME_IMAGES | to_json }}' + --suppressions '{{ HEALTH_RUNTIME_SUPPRESSIONS | to_json }}' + --cache-dir '{{ HEALTH_RUNTIME_CACHE_DIR }}' + --database-dir '{{ HEALTH_RUNTIME_DATABASE_DIR }}' + --host-excludes '{{ HEALTH_RUNTIME_HOST_EXCLUDES | to_json }}' + --environment '{{ ENVIRONMENT }}' + --report-dir '{{ DIR_HEALTH_RUNTIME_REPORT }}' + --log-dir '{{ DIR_HEALTH_RUNTIME_LOG }}' + {{ ("--metrics-file '" ~ HEALTH_RUNTIME_METRICS_FILE ~ "'") if HEALTH_RUNTIME_METRICS_ENABLED | bool else '' }} system_service_force_flush_final: true + system_service_run_once: true - include_tasks: utils/once/flag.yml diff --git a/roles/sys-ctl-hlth-runtime/templates/logrotate.j2 b/roles/sys-ctl-hlth-runtime/templates/logrotate.j2 new file mode 100644 index 0000000000..0bdb45ea4b --- /dev/null +++ b/roles/sys-ctl-hlth-runtime/templates/logrotate.j2 @@ -0,0 +1,7 @@ +{{ [ DIR_HEALTH_RUNTIME_LOG, '*.jsonl' ] | path_join }} { + weekly + rotate 12 + compress + missingok + notifempty +} diff --git a/roles/sys-ctl-hlth-runtime/vars/main.yml b/roles/sys-ctl-hlth-runtime/vars/main.yml index c0ca639b9c..98578e0f06 100644 --- a/roles/sys-ctl-hlth-runtime/vars/main.yml +++ b/roles/sys-ctl-hlth-runtime/vars/main.yml @@ -1,9 +1,36 @@ --- system_service_id: sys-ctl-hlth-runtime -HEALTH_RUNTIME_FLOORS: - php: - "8.2": "8.2.35" - "8.3": "8.3.36" - "8.4": "8.4.27" - "8.5": "8.5.12" HEALTH_RUNTIME_PHP_HARDENED: "{{ lookup('php_hardened_services', group_names=lookup('deployment').deployed) }}" +HEALTH_RUNTIME_SUPPRESSIONS: "{{ lookup('cve_suppressions', group_names=lookup('deployment').deployed) }}" +HEALTH_RUNTIME_ENGINES: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.engines') }}" +HEALTH_RUNTIME_SCAN: + targets: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.targets') }}" + engines: "{{ HEALTH_RUNTIME_ENGINES }}" + severity: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.severity') }}" + fixed_only: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.fixed_only') | bool }}" + workers: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.workers') | int }}" + db_update: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.db_update') | bool }}" + trivy_unmatched_os: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.trivy.unmatched_os') }}" +HEALTH_RUNTIME_IMAGES: + trivy: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.trivy.image') }}:{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.trivy.version') }}" + grype: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.grype.image') }}:{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.grype.version') }}" + osv: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.osv.image') }}:{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.osv.version') }}" + syft: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.syft.image') }}:{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.syft.version') }}" +HEALTH_RUNTIME_CACHE_DIR: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.cache_dir') }}" +HEALTH_RUNTIME_DATABASE_DIR: "{{ lookup('config', 'sys-ctl-hlth-runtime', 'services.runtime.database_dir') }}" +HEALTH_RUNTIME_METRICS_ENABLED: "{{ 'web-app-prometheus' in lookup('deployment').deployed }}" +HEALTH_RUNTIME_METRICS_FILE: "{{ [ DIR_METRICS_TEXTFILE, 'infinito_hlth_runtime.prom' ] | path_join }}" +HEALTH_RUNTIME_LOGROTATE_FILE: "{{ [ '/etc/logrotate.d', system_service_id ] | path_join }}" +HEALTH_RUNTIME_HOST_EXCLUDES: + - /proc + - /sys + - /dev + - /run + - /tmp + - /var/tmp + - /var/lib/docker + - /var/lib/containerd + - /mnt + - /media + - "{{ DIR_BACKUPS }}" + - "{{ lookup('nfs_export_base') }}" diff --git a/roles/sys-front-inj-design/README.md b/roles/sys-front-inj-design/README.md index 346fe15bde..e10f2d52bf 100644 --- a/roles/sys-front-inj-design/README.md +++ b/roles/sys-front-inj-design/README.md @@ -10,6 +10,7 @@ It derives the design tokens from the single base color in `web-svc-design` thro The role renders the shared `default.css` and `bootstrap.css` once per deployment onto the CDN, links them with a cache-busting version, and adds the role's own `style.css` and `design.js` when the role ships them. The role's `style.css` is rendered per vhost and stored once per network the role is served on: the first network keeps `style.css`, every further one gets `