Repository navigation
ISEDRAF 0.5.0
ISEDRAF 0.5 makes the tool easier to run: it tells you where to start, what a run produced, what
your store holds, why something was refused and what to run next. Evidence, criteria and baselines
work as in 0.4.
Added
- A start page and help on both routes.
isedrafandisedraf helpshow the Standard Audit and
Full Audit workflow with complete commands;isedraf help --alllists every command, grouped;
isedraf help <command>andisedraf <command> --helpstate what a command does, who runs it,
what it writes, its exit codes and examples.sudo isedraf help,--helpand--versionanswer
from the installed definitions and read no evidence, open no store and start nothing. - Bash completion of commands, options and the installed criterion IDs, from the command
definitions (/usr/share/bash-completion/completions/isedraf). It never reads an evidence store. isedraf listshows what your store holds: committed runs, evaluations with their result
counts, the baseline, and saved reports with their absolute paths (--allfor every entry).
sudo isedraf listlists the system store read-only. Neither writes anything.- A free-space check before every run. When the store's filesystem has too little room, the run
is refused with exit 68 (INSUFFICIENT_SPACE) before anything is collected or written, stating
the space available and needed. Nothing is ever deleted to make room. - Ledger recovery after an interrupted last write (a crash or a full disk): the next audit or
approval keeps the damaged ledger segment byte for byte and continues the ledger in a new segment
with a record naming it. Only an interrupted last record is recovered; anything else is refused.
report,listandevaluatenever recover; they refuse and say which command does. docs/reference/CLI.md, the command reference, generated from the same definitions as the
help and installed with the offline documentation.
Changed
- Every run ends with a summary: committed complete or incomplete, coverage counts, each area not
fully collected with its reason, where the run is stored and the next commands. - Refusals say the reason in plain words, keep the reason token whole, say whether anything was
written and give the next command. - Baseline approval first shows what is being approved, and that approved means accepted, not secure.
- The report opens with coverage, the criteria results and the baseline comparison; the evidence
detail follows. The JSON model is unchanged. isedraf report --saveprints the saved file's absolute path and how to view it.- Terminal text fits 80 columns on every command; an identifier, path or digest is never split
and stands alone on its line when it is longer. - Bare
isedrafexits 0 with the start page (it was a usage error, 64).
Upgrading
- The package upgrades 0.4.0 in place. Existing runs, evaluations, the baseline and the ledger are
kept and still verify; the 0.4 ledger becomes segment 1. Nothing is approved, recovered or deleted
automatically.
Tested
- Upgrade from the published 0.4.0 package on a store 0.4.0 wrote, with a baseline approved under
0.4.0 (Rocky Linux 9.7, Full Audit): every 0.4.0 file unchanged, the ledger only appended to; then
audit, evaluation against the baseline, list and report. Upgrade from 0.4.0 also on Debian 12 and
AlmaLinux 8.10 with the first release candidate. - Every command and case on both routes in an 80-column terminal, with exit codes and store checks:
Ubuntu 24.04, Debian 12 and AlmaLinux 9.7 (109 cases each), all on x86_64. - Ledger recovery and the free-space refusal in the lab on both routes. Running out of space during
a commit or a recovery is covered by unit tests only. - Not tested: ARM64.
Limits
- A standard (unprivileged) audit cannot read
/etc/shadow; usesudo isedraf auditfor a
complete run andsudo isedraf baseline approvefor a baseline. - Recovery cannot detect the deletion of whole ledger segments.
- Someone with root on the host can rewrite the store, the baseline and the ledger together.
- AlmaLinux 8: no Full Audit; where
/usr/bin/python3is missing ISEDRAF runs as the normal user only.
The packages and the source tarball carry build-provenance attestations for tag v0.5.0.