Pulse Beta

User guide

Reference

The file .tuxcare.yaml

The keys of the configuration file of the CLI, .tuxcare.yaml, which each command reads from the root of the project.

The keys #

tuxcarectl init writes this file into the project root. Commit it. It holds no secret. The CLI refuses a key that it does not know, with exit code 2, so a typo does not go unseen.

KeyMeaning
schema_versionThe version of the file format. Set it to 1. The key is necessary: without it, the CLI stops with exit code 2. tuxcarectl init writes it.
registryThe address of the registry, for example your own mirror. Without the key, the CLI uses the registry that the portal names.
tenantThe name of your workspace. With this key, each command stops when the token belongs to another workspace.
ecosystemsThe package managers to use, when you do not want the CLI to find them, or the ecosystem families to scan, for example [golang] or [cargo]. The option --ecosystem does the same for one run. A family name (golang, cargo, pypi, and the others that the error message lists) makes sca, sbom, and compare scan only the families that the key names, as --ecosystem does. A list of package managers only (for example [pnpm]) chooses the package manager of its language, and the CLI still finds the other languages. A name that the CLI does not know stops the run with exit code 2. Family names in this key need version 0.1.71 or later.
ignoreA list of paths to leave out, for example test fixtures that have lockfiles of their own. The CLI reads no dependency file under these paths and sends nothing from them. From version 0.1.71, a file under these paths also does not select a package manager: an unused setup.py under ignore does not make the CLI look for a Python environment.
submit.remote_repo_urlThe repository URL to file the scans under. Without it, the CLI reads the URL from the CI variables, else from the git remote origin.
baseline.portaltrue makes sca skip the findings that your team ignores in the portal, as --baseline-portal does.
fail_on_exploitedtrue sets sca --fail-on-exploited for every run of the project. The option wins over the key. CLI 0.1.80 or later.
fix_on_unvouchedfail (the default) or warn: the value of fix --on-unvouched when the command line does not give it. warn keeps exit code 0 of fix where it cannot vouch that no finding stays open. It is deprecated, each run that uses it prints a warning, and it is removed on 2027-12-01. The option wins over the key. init never writes it. Any other value stops each command that reads the file with exit code 2. See --on-unvouched warn is deprecated.
guard.min_release_ageThe release age of tuxcarectl guard, for example 24h: a version that is younger does not reach the install, unless it is a TuxCare build or an admin allowed it. Absent or 0: off. See The release age.
guard.on_portal_errorfail or warn: the value of --on-portal-error of guard and guard check when the command line does not give it. Absent: fail in CI, warn on your computer.
failure_reportsoff or preview: the failure reports of the runs in this project. The key can only turn the reports off or to preview: on in the file changes nothing. Another value stops each command that reads the file with exit code 2.
dev_extrasA list of the project's extras that hold only development tools, for example ["test"]. A package that only these extras or a dependency group need is marked (dev), and sca --ignore-dev keeps its findings out of --fail-on. The key applies to uv and Poetry projects.
reinstallThe install command of the project, as a list, when it is not the default one. For example npm: ["npm", "install", "--legacy-peer-deps"].
unhardenThe original lines that init, harden, and update changed. unharden reads them. The CLI writes this key: do not change it, except to set project_dir of an entry that has none before you share the file with another project directory (see unharden).

Next: Exit codes