Expand description
secunit-capture — native upstream capturers (AWS, GitHub, dependency
audits, generic HTTP).
Every capturer writes a canonical envelope shaped
{ capturer, version, captured_at, args, result } with sorted arrays,
ISO-8601 UTC timestamps, and ephemeral fields (request ids, pagination
tokens) stripped, so two runs of the same fixture round-trip
byte-identically.
Modules§
- canonical
- Canonical envelope shared by every capturer.
- schema
- Embedded JSON schemas for every capturer envelope. Schemas live in
crates/secunit-capture/schemas/capture-*.schema.jsonand are baked into the binary viainclude_str!. - time
- Time source for capture envelopes. Real wall clock by default; can be pinned for deterministic test output via either:
Functions§
- enabled_
features - Compile-time list of features actually enabled in this build.