Skip to main content

Module events

Module events 

Source
Expand description

What a report says about a project, flattened, and the audit events that follow from comparing two of them (RFC-108 D7).

Modules§

kind
Names of the events, as stored and as the API returns them.

Structs§

Event
One change between two consecutive reports of a project.
Gap
A policy rule recorded as not enforced for a target.
InventoryRow
One capability installed for one target: a row of the project’s lockfile with its check status.
Snapshot
A report reduced to what the inventory and the audit trail need.

Functions§

diff
The events that turn previous into current. With no previous report, everything in current is new, and the project itself is first seen. Events come in a fixed order, so equal inputs give equal output.
is_ok
A status that does not count as drift. A row the check did not cover is unknown and is treated as fine, since nothing says it changed.