Expand description
HTTP transport — Client wraps reqwest with auth header injection +
timeout + per Client spec rev1 §2 + Rev 2 amendment §2 + §4.
Phase 1 substrate: fetch_verdict is the first transport consumer
(CLEANLIB-30); subsequent CLEANLIB-N PRs add scan / audit /
policy preview / fetch verb impls reusing this Client.
Structs§
- Audit
Filters - Filters for
Client::audit(CLEANLIB-813). All fields are optional —AuditFilters::default()(or any..Default::default()spread) queries the full audit log, matching the prioraudit(None, None, None)shape byte-for-byte. - Client
Clientis the cleanlib-client HTTP transport handle. Cheap to clone; share across verbs in the same process.
Enums§
- Remediation
Outcome - Outcome of a remediation fetch (CLEANLIB-733 Rust remediation client).
Mirrors the sdk-py/js/go
RemediationOrAbsentdiscriminated union: a 404 is a distinct, cacheable “no data” answer — never collapsed into a transient.