Skip to content

ISEDRAF 0.4.0

Choose a tag to compare

@itcmsgr itcmsgr released this 13 Nov 13:21
· 1 commit to main since this release

ISEDRAF 0.4.0

ISEDRAF 0.4 adds approved baselines. You approve one complete Full Audit run as the reference;
each later evaluation records, section by section, whether the host's recorded state is unchanged,
changed (to review) or not comparable, and the report shows it. Approved means accepted, not secure.

Added

  • sudo isedraf baseline approve. Approves the latest committed Full Audit run as the baseline
    of the system store. It takes no snapshot argument. A run is approved only when host identity,
    accounts, SSH and login policy were all COLLECTED; otherwise it is refused with exit 65, each
    blocking section is named, and nothing is written. Approving again is refused; one baseline per
    store in this release.
  • Comparison in isedraf evaluate and sudo isedraf evaluate. When a baseline is approved, the
    evaluation first checks the baseline and the run it approves, then records per section UNCHANGED,
    MODIFIED (to review; never a regression or an improvement by itself) or NOT_COMPARABLE (for example
    a section that was not COLLECTED). A change in the collection method with an unchanged state is
    not a change.
  • "Baseline comparison" in the report (Markdown, HTML, and baseline_comparison in JSON;
    report schema 4), shown exactly as the evaluation recorded it.
  • isedraf baseline approve <SDS-id> approves a complete run of a development store
    (ISEDRAF_STATE_ROOT) only; it is never a production baseline.

Changed

  • Exit codes 5 (the approved baseline does not verify; nothing written) and 65 (approval refused)
    are now used. evaluate exits 0 whatever it finds: a change is recorded, not signalled.
  • Under sudo, ISEDRAF runs audit, report, evaluate and baseline approve.

Fixed

  • In the 0.4.0 release candidate, reports showed the run's host identifier, collection time, run
    identifier and run mode as empty; they show the values of the reported run.

Upgrading

  • The package upgrades 0.3.0 in place. Existing runs, the ledger and earlier evaluations are kept and
    still verify. A store without a baseline evaluates as before. Nothing is approved automatically.

Tested

  • Upgrade from 0.3.0 by the package manager on hosts with existing evidence stores: Debian 12,
    Ubuntu 24.04, Rocky Linux 9.7 and AlmaLinux 9.7 (Full Audit; SELinux enforcing on the last two)
    and AlmaLinux 8.10 (standard audit; Full Audit refused as unsupported), all on x86_64. On the Full
    Audit hosts: approval of a complete run, no change on an unchanged run, one section to review
    after a controlled change, and refusal of a run made incomplete on purpose.
  • Not tested: ARM64, and upgrades from 0.1.x or 0.2.x directly to 0.4.0.

Limits

  • A standard (unprivileged) audit cannot read /etc/shadow, so it is never complete enough to
    approve; use sudo isedraf audit and sudo isedraf baseline approve.
  • One baseline per store; accepting a change, re-approval and tracking more sections come later.
  • A pure reordering of configuration lines is reported as MODIFIED, to review.
  • Someone with root on the host can rewrite the store, the baseline and the ledger together.
  • AlmaLinux 8: no Full Audit, so no production baseline.

The packages and the source tarball carry build-provenance attestations for tag v0.4.0.