Products › lamco-dbus-tools › Docs
Compare a D-Bus policy audit against a baseline
Compare a D-Bus policy audit against last month's baseline: dbustell audit marks each finding new, unchanged or absent, and lists what changed for each name.
Describes version 0.4.1.
A collection is a capture, so last month's and today's compare.
dbussee audit collect --out audit-2026-11.json
# a month later
dbussee audit collect --out audit-2026-12.json
dbustell audit audit-2026-12.json --baseline audit-2026-11.json --sarif audit.sarif
Each finding is marked [new], [unchanged] or [absent], and what changed is listed after them: A name
added or gone, what every user may do with a name, a unit's score risen, an action loosened. On a copy of
Debian 13's files with one policy file changed on purpose:
POL-003 Every user may own a name on the system bus [new]: .../org.freedesktop.hostname1.conf:25: <allow own_prefix="org.freedesktop.hostname1"/> lets every user take the name, and so stand in for the service to whoever calls it by name.
Changed since the baseline:
org.freedesktop.hostname1 on dbus-daemon: every user may now call every method and own the name, where before call every method
org.freedesktop.hostname1 on dbus-broker: every user may now call every method and own the name, where before call every method
One new finding of 79, the 78 others unchanged. A finding's identity comes from what it's about, the rule
as written and its file, the name or the action, so an edit that moves lines doesn't make findings new.
SARIF carries the same as baselineState.
To try a change before making it, collect a copy: --root DIR, with the change made in the copy.