Audit Status reads two configuration files: the attesterThe program on each server. It collects facts and reports them as evidence; it never decides whether the server passes. configuration on each server, and the verifierThe program in CI that sends a nonce, fetches references itself, compares, and writes the report. configuration in the repository that runs the verification. This page lists every setting of both, with its type, default and meaning. Both files are YAML (or JSON). Validation is strict: an unknown key is an error, so a typo cannot silently turn a check off.
YAML is parsed with the JSON schema: no custom tags, and values such as yes or on are strings, not booleans. Quote hex values that could be read as numbers, such as '0x81010002'. Relative paths are resolved against the configuration file's directory.
Both files have JSON Schemas, generated from the same validation: attester.schema.json and verifier.schema.json. Editors with the YAML language server validate and complete a file whose first line names its schema:
/etc/auditstatus/config.yml on each server. It must be owned by root (or, without capabilities, by the user running the attester) and must not be writable by group or others.
YAML
version: 2services:
- name: web
root: /var/www/production/current
user: deploy
- name: worker
container:
image: ghcr.io/example/worker
tpm:
enabled: auto
Each service is either a directory (root) or the containers matching a filter (container); exactly one of the two is required.
Key
Type
Default
Meaning
name
string (letters, digits, _, ., -; up to 64)
(required)
The service's name. It must match a service in the verifier configuration. Names must be unique.
root
path
The deployed directory: a git checkout of the public repository, or a release directory with .attestium-manifest.json. A symbolic link is resolved.
user
user name
Inspect only processes of this user. Looked up in /etc/passwd.
uid
integer
The same, by user id. Takes precedence over user.
cwd
path
the resolved root
Inspect processes whose working directory is this directory or inside it. A symbolic link (PM2's current) is resolved, as for root.
exclude
list of glob patterns
[]
Paths (relative to root) left out of the file list entirely. Files the commit's .gitignore ignores are listed but not compared, so this is rarely needed.
ecosystems
auto, false, or a list
auto
Which installed packages to look for in root: npm, pypi, rubygems, hex, composer, maven, nuget. false turns package checks off for this service.
installs
list
[]
Package install directories to add, for example outside root. Each is {ecosystem, dir}; both are required, and dir is relative to root or absolute. dir is the directory the table below names: for pypi the site-packages directory (/opt/venvs/web/lib/python3.12/site-packages), not the virtual environment.
container
mapping
A container service: every running container that matches all the given filters. At least one is required.
container.name
string
The container's name.
container.id
hex string (12 to 64)
A prefix of the container's id.
container.image
string
The image repository, with or without a tag (for example ghcr.io/example/worker).
container.label
key=value
A container label.
The attester inspects every process whose working directory is inside the service's cwd (and whose user matches, when set), whatever its language. Processes in containers are left out of directory services. The same user's other processes are listed in the report but not inspected.
For each directory, installed packages are detected in root:
Ecosystem
Detected in
npm
node_modules
pypi
site-packages of .venv, venv, env, .virtualenv, virtualenv (virtual environments with pyvenv.cfg)
Record the Debian or Ubuntu package that owns each executable and library, so the verifier can compare it with the signed archive. Needs a readable dpkg database.
distro.root
absolute path
/
The host's root as the attester sees it: /proc/1/root in a container that shares the host's PID namespace.
auto: quote when a TPMTrusted Platform Module: a chip with keys that cannot be exported and registers (PCRs) that can be extended but never set. is present. true: report a missing TPM as a failure. false: never use the TPM (and refuse enroll and activate).
tpm.tcti
string
the tpm2-tools default
The TPM transmission interface, for example device:/dev/tpmrm0.
tpm.handle
string 0x81xxxxxx
0x81010002
The persistent handle of the attestation key.
tpm.bank
sha1, sha256, sha384, sha512
sha256
The PCRPlatform Configuration Register: a TPM register that can only be extended with a hash. Firmware, bootloader and kernel extend PCRs with what they load. bank to quote.
tpm.pcrs
list of PCR indexes (0 to 23)
[0, 1, 2, 3, 4, 5, 6, 7], plus 10 when ima.enabled
The PCRs to quote.
tpm.ekAlgorithm
rsa, ecc
rsa
The endorsement key type used for enrollment, and the attestation key type created when there is none.
Include the kernel's IMAIntegrity Measurement Architecture: the Linux kernel hashes files as they are used, logs each hash and extends PCR 10. measurement log.
auto: on an AMD SEV-SNPAMD Secure Encrypted Virtualization with Secure Nested Paging: confidential VMs whose launch measurement the AMD chip signs. or Intel TDXIntel Trust Domain Extensions: confidential VMs whose measurement is signed through Intel's quoting enclave. guest (configfs-tsm available), add a hardware report bound to the evidence. true: report its absence as a failure. false: never.
confidential.entry
path
a new entry per report
An existing report directory under /sys/kernel/config/tsm/report/, created by root at boot. With capabilities it must be under /sys/kernel/config/tsm/.
A server running one application can leave out services and use these keys instead. They describe one directory service named app. Using both forms in one file is an error.
Key
Type
Default
Meaning
projectRoot
path
(required in the short form)
The service's root.
exclude
list of glob patterns
[]
The service's exclude.
processes.user
user name
The service's user.
processes.uid
integer
The service's uid.
processes.cwdPrefix
path
The service's cwd.
processes.inspectorPorts
list of TCP ports
Used as runtimes.debugPorts when that is not set.
packages.enabled
boolean
true
false turns off installed package checks (ecosystems: false) and the global Node.js packages. packages is also accepted with services, where it affects only the global packages.
packages.globalDir
path
Used as runtimes.node.globalDir when that is not set.
packages.globalPackages
list
Used as runtimes.node.globalPackages when that is not set.
The audited branch. The deployed commit must be on it. Set it explicitly (auditstatus init does).
webUrl
https:// URL
the url without .git, for github.com URLs
Used to link commits in report.md.
version
see below
any
The version the servers must run.
The verifier keeps a blobless clone and checks out the reported commit in a worktree. Git runs with hooks disabled, no system or global configuration, no prompts, and the ext and fd transports disabled.
Any commit of branch. A commit older than policy.maxCommitAgeDays is a warning.
latest
The latest commit of branch.
latest-release
The commit of the latest release of the GitHub repository (not a draft or prerelease), by its tag. Needs a github.comurl or webUrl.
a tag, such as v1.4.2
The commit the tag points to.
a 40-character commit id
That commit.
Each run resolves the version once. A server that runs another commit is a policy.versionMismatch finding (fail by default): "The server runs 3f2a9c81d0e4, not the latest release, v2.1.0 (9b1e44c07a3d)". That commit must still be on branch. The version itself need not be (a release tagged on another branch): a server that runs it is never too old, and its build is reproduced as for a commit of branch. A version that cannot be resolved (no such tag, GitHub unreachable) makes the result inconclusive.
A version that moves (latest, latest-release) is deployed some time after it appears. policy.versionGraceSeconds (for example 3600) makes a server that still runs an earlier commit of it a warning for that long after the release was published (by GitHub's clock) or the branch's latest commit was made: "The server runs 3f2a9c81d0e4, an earlier commit than the latest release, v2.1.0 (9b1e44c07a3d), which is 12 minute(s) old: a deploy in progress". After that, or for any other commit, policy.versionMismatch applies. Deploy as soon as a release is published, and publish a release for each deploy: a server that runs a newer commit than the latest release is a mismatch too.
A lockfile not in its default place, relative to the repository root. Keys: npm, pypi, rubygems, hex, composer, maven, nuget, cargo. For npm the file is pnpm-lock.yaml, npm-shrinkwrap.json or package-lock.json (for example web/package-lock.json), and the package.json next to it holds the pnpm patches.
goModule
path
.
Where go.mod is, for the dependencies built into Go binaries.
root
absolute path
the root the server reports
Where the service is deployed on its servers (the real path, after symbolic links). A server that reports another root fails. With IMA, project files the kernel measured are compared under this root; without it, under the root the server names, which warns.
The image repositories the service may run, as registry/repository (ghcr.io/example/worker; nginx is docker.io/library/nginx). A container whose image has no registry digest in one of them fails. Without it (and without signer), any image the server names is accepted if the container matches it.
image.signer
mapping
Require the image to be attested by this workflow. See signer.
A checksum list the project publishes (<hash> <file> or SHA256 (<file>) = <hash> lines). The program matches when the list gives its hash for its file name (checksums.name), or for that name in a directory of the list (linux-amd64/tool).
checksums.name
file name
the base name of path
The program's name in the list, when it is installed under another name.
checksums.signature.type
gpg, minisign, sigstore
(required with signature)
How the list is signed. Without signature, the list is trusted as far as HTTPS and its host.
checksums.signature.url
URL
the list's URL plus .sig, .minisig or .sigstore.json
The signature.
checksums.signature.keyring
path
gpg: the keyring to check with (gpgv).
checksums.signature.publicKey
base64 key
minisign: the public key (the second line of the .pub file).
checksums.signature.identity
mapping of claim to string or /regex/
sigstore: certificate claims the signer must have, for example subjectAlternativeName.
Run with /bin/sh -c in a clean checkout of the deployed commit.
outputs
list of glob patterns
(required, not empty)
The files the build produces, compared with the server's. Patterns under node_modules are not allowed. Outputs inside another install directory (a .NET publish directory, vendor/ of Composer, a directory of jars) are compared with the files the attester hashed there, and the package check leaves them to the build.
env
mapping of name to string
{}
Variables set for the build.
passEnv
list of names
[]
Variables passed on from the verifier's environment.
timeoutSeconds
integer, 60 to 21600
3600
The build's time limit.
user
account name
AUDITSTATUS_BUILD_USER, else none
An unprivileged account the build runs as (Linux). The verifier must run as root or have passwordless sudo. Without one, the build runs as the verifier's user and can read its secrets and change its cache. The GitHub action creates auditstatus-build and sets AUDITSTATUS_BUILD_USER.
The server's name in the report. Names must be unique.
transport
ssh, kubernetes, local
ssh
How the verifier reaches the attester.
host
host name, IPv4, or [IPv6]
(required for ssh)
The server's address.
port
integer
ssh.port
The SSH port.
user
user name
ssh.user
The SSH user.
attesterConfig
path
(required for local)
The attester configuration to collect with, in the verifier's process.
services
list of service names
all services
The services this server runs. Each must be defined in services.
minProcesses
integer, 0 to 100,000
1
Fewer processes across the server's services fails.
kubernetes.node
string
The node whose attester pod to reach. node or pod is required for kubernetes.
kubernetes.pod
string
A specific attester pod.
kubernetes.namespace
string
kubernetes.namespace
The attester's namespace.
kubernetes.selector
label selector
kubernetes.selector
Selects the attester pods.
kubernetes.daemonSet
string
kubernetes.daemonSet
The attester DaemonSet; only a pod it controls, running its pod template, answers.
kubernetes.context
string
the current context
The kubeconfig context.
tpm.publicKey
PEM public key
The pinned attestation key, printed by auditstatus tpm-verify. A pinned key makes a valid quote mandatory.
tpm.required
boolean
true when publicKey is set
Requires publicKey (auditstatus tpm-verify --server <name> prints it).
tpm.expectedPcrs
mapping of bank to {index: hex}
PCR values the quote must show.
tpm.ima
boolean
false
Require an IMA log that replays to the quoted PCR 10 (evidence level TPM + IMA). Requires publicKey. Without it, a server that stops sending the log drops to TPM and still passes.
tpm.ekCertificate
base64
The endorsement certificate tpm-verify printed, recorded for reference. It is not checked again; it only adds "enrolled against the TPM's endorsement certificate" to the TPM finding.
confidential.required
boolean
true
Fail when the server sends no confidential VM report.
confidential.type
sev-snp, tdx
any
The expected technology.
confidential.measurements
list of hex
[]
Accepted launch measurements. Without any, a verified report warns.
A GPG keyring to check the Node.js release's signed SHASUMS256.txt with.
registryUrl
URL
https://registry.npmjs.org
The npm registry.
githubArchiveUrl
URL
https://codeload.github.com
Archives of GitHub commits, for dependencies pinned to a commit.
registries
mapping
{}
Mirrors for other ecosystems. Keys: pypi, rubygems, hex, nuget, maven, packagist, uvSource, goproxy, crates.
npmProvenance
boolean
false
Report which repository and commit built each npm package (SigstoreA public signing service: short-lived certificates from Fulcio tied to an OIDC identity, with signatures logged in Rekor. provenance). Provenance that does not verify fails.
sigstore.tufUrl
URL
https://tuf-repo-cdn.sigstore.dev
Sigstore's TUFThe Update Framework: signed, versioned metadata for distributing keys and files. Sigstore ships its trusted root with it. repository, for the trust root.
sigstore.trustedRoot
path
A Sigstore trusted root JSON file to use instead of TUF.
distro.enabled
boolean
true
Compare system binaries and libraries with the signed Debian or Ubuntu archive.
distro.archives
list
the default archives for the server's release
Archives to use. Each has url, suites, components, keyring (all required), and snapshot (an https:// URL for superseded versions).
containerRegistries
mapping of registry to {url, tokenEnv}
{}
An endpoint to use for a registry, and the environment variable holding its token.
githubApiUrl
URL
https://api.github.com
GitHub's API, for artifact attestations. Set it for GitHub Enterprise Server.
githubTokenEnv
variable name
GITHUB_TOKEN
The variable holding a GitHub token, which raises the API rate limit.
amdKdsUrl
URL
https://kdsintf.amd.com
AMD's key distribution service, for SEV-SNP chip certificates.
tpmRoots
list of paths
[]
TPM manufacturer CA certificates (PEM) for auditstatus tpm-verify.
The reference cache, relative to the configuration file.
URLs must be https://, or http:// to 127.0.0.1 or localhost. Archive URLs in distro.archives may be http://, since the archive's Release file is signed. The default archives are the Ubuntu archive (archive.ubuntu.com, or ports.ubuntu.com for other architectures) with its snapshot service, and for Debian deb.debian.org and debian-security with snapshot.debian.org. The default keyrings are /usr/share/keyrings/ubuntu-archive-keyring.gpg and /usr/share/keyrings/debian-archive-keyring.gpg, which must exist on the verifier (the GitHub action installs debian-archive-keyring when it is missing).
Settings with the values fail or warn choose the severity of a finding. See Reports for each finding.
Key
Type
Default
Meaning
allowUntracked
list of glob patterns
[]
Files not in the commit and not ignored by it, allowed anyway. Also applies to release manifests.
codePaths
list of glob patterns
[]
Paths that hold code: files there that the commit ignores must be explained by a build (unexplainedCode).
modifiedAfterStart
fail, warn
fail
Tracked files, build output or installed packages written after a process started, and PM2's files written after its daemon started.
metadataChangedAfterStart
fail, warn
fail
The same whose status alone changed (a new mode or owner, or contents restored with an earlier modification time), and their directories whose entries changed (a file added and removed again).
unofficialNode
fail, warn
fail
A Node.js binary that differs from the official release of its version.
unverifiedAuditor
fail, warn
fail
The attester binary does not match a published release (or a hash in attesters), and evidence from an attester attesters does not name. When the checksums cannot be fetched, fail makes the result inconclusive.
attesters
list
[]
Other attester implementations whose evidence is accepted: name (the name the evidence reports; not auditstatus), and sha256 (hashes of its binaries) or checksumsUrl (a checksum list, {version} replaced by the reported version), or both. Evidence from any other attester is judged by unverifiedAuditor.
unverifiablePackages
fail, warn
fail
Installed packages that cannot be verified, or no lockfile pins them.
buildOutputs
fail, warn
fail
Build output that differs from the reproduced build.
unexplainedCode
fail, warn
warn
Executables and libraries no reference explains, and ignored files in codePaths.
containerCode
fail, warn
fail
Executables and libraries a container runs that are not in its image (from a volume, a bind mount or the writable layer) and no other reference explains. Applies once the image could be read; otherwise unexplainedCode does.
bytecode
fail, warn
warn
Python bytecode caches, which are not verified.
builtPackages
fail, warn
warn
Gems with native extensions compiled on the server (RubyGems only).
unpinnedPackages
fail, warn
warn
Packages compared with a registry because the lockfile pins no hash.
containerChanges
fail, warn
fail
Container files that differ from the image, and images without a registry digest.
monitor
fail, warn
fail
Programs the monitor saw that no reference explains or that are gone, and monitor errors. Paths longer than the monitor keeps are a warning.
maxEvidenceAgeSeconds
integer, 10 to 86400
900
The oldest evidence accepted.
maxCommitAgeDays
integer, 1 to 3650
30
Warn when the deployed commit is older (with repository.version: any).
versionMismatch
fail, warn
fail
A server runs another commit than repository.version names.
versionGraceSeconds
integer, 0 to 86400
0
With repository.versionlatest or latest-release: for this long after the version appeared, a server that runs an earlier commit of it is a warning (a deploy in progress). See version.
retryAfterSeconds
integer, 0 to 3600
0
Collect a server that failed or was inconclusive again after this delay, and report the second result. 0: no retry.