Apt Inventory
Observes APT package inventory and pending upgrades on Debian/apt-based Linux, with security-update classification, versioned delta reporting, debsecan CVE cross-checking, and a safety-gated install/remove for verified security updates. Verified on Raspberry Pi 5 / Debian 13 trixie, arm64.
Documentation, descriptions and setup brought up to date with running every workflow under a single swamp serve (2026-11-05).
Global Arguments
| Argument | Type | Description |
|---|---|---|
| securityOrigin? | string | Substring matched against the origin field in `Inst` lines to classify |
| timeout? | number | Timeout in milliseconds for apt/dpkg subprocess calls. Apt operations |
| suite? | string | Debian release codename passed to debsecan's --suite flag. Unlike |
| Argument | Type | Description |
|---|---|---|
| package | string | Package name to install. |
| version? | string | Exact version to install (e.g. `1:2.3.4-1`). If the package is already |
| Argument | Type | Description |
|---|---|---|
| package | string | Package name to remove. |
Resources
Collects apt package/upgrade state, prints a human-readable report with the delta since the last run, and fails the run when security-relevant upgrades are pending.
Total upgradable, security-relevant, and installed package counts, with the delta since the previous run.
Ship the workflow in the package so a single ops repo can pull it and run it under swamp serve's own scheduler.
Added 1 workflows
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License1/2partial
no SPDX license declared
- Verified public repository2/2earned