scripts/client.py is an mTLS client for explicit scheduled inspections through the versioned API. It does not schedule or execute infrastructure writes.
Required inputs
| Flag | Meaning |
|---|---|
| --endpoint | Fixed HTTPS AccessScope origin, without credentials or a path |
| --ca | Trusted public server CA file |
| --cert / --key | Approved client certificate and protected private-key file |
| --source | Exact permitted source ID |
| --paths | UTF-8 file of 1–100 approved UNC paths, one per line |
python scripts/client.py --endpoint https://YOUR-SERVER:9443 --ca /protected/server-ca.pem --cert /protected/client.pem --key /protected/client-key.pem --source APPROVED-SOURCE --paths /protected/approved-paths.txt
Use a trusted user/certificate binding with the necessary inspection rights, not a collector-only token/certificate as an administrator bypass. Protect the key and path file. Configure scheduling through the approved host scheduler separately.
Behavior
The client submits a fresh explicit-list read job, prints its ID/scope, polls the job and returns 0 for Completed or 2 for another terminal outcome. After its 180-second client polling window it requests cancellation and returns 3. The job's own normal deadline and queue limits still apply.
The helper accepts an HTTPS origin only, verifies server TLS, uses the client certificate and sends the normal JSON mutation marker. The running product's source/role/license checks remain authoritative.
Backup helper distinction
scripts/backup.py creates an integrity-checked SQLite-only file on an approved encrypted/protected destination and refuses an existing destination. It does not create the complete encrypted application recovery bundle with configuration/vault/PKI. Use the current backup workflow for full recovery.
See API, collector authentication, limits and backups.
Product baseline v0.9.0 · State schema 8 · Content reviewed 2026-11-06. This website rendering preserves the source packet's qualifiers, compatibility boundaries and acceptance status.

