Expand description
Data types (config + receipts) for diffguard.
This crate is intentionally “dumb”: pure DTOs with serde + schemars.
Structs§
- Artifact
- An artifact produced by the sensor.
- Capability
Status - Status of a capability (e.g., git availability).
- Check
Receipt - Config
File - The on-disk configuration file.
- Defaults
- Diff
Meta - Directory
Override Config - Per-directory override configuration (.diffguard.toml).
- Finding
- Rule
Config - Rule
Override - Override settings for a specific rule in a directory.
- Rule
Test Case - A test case for validating a rule’s behavior.
- RunMeta
- Run timing and capability status.
- Sensor
Finding - A finding in sensor.report.v1 format.
- Sensor
Location - Location in sensor.report.v1 format.
- Sensor
Report - The
sensor.report.v1envelope for Cockpit ecosystem integration. - Timing
Metrics - Timing metrics for performance analysis.
- Tool
Meta - Verdict
- Verdict
Counts
Enums§
Constants§
- CAP_GIT
- CAP_
STATUS_ AVAILABLE - CAP_
STATUS_ SKIPPED - CAP_
STATUS_ UNAVAILABLE - CHECK_
ID_ INTERNAL - CHECK_
ID_ PATTERN - CHECK_
SCHEMA_ V1 - CODE_
TOOL_ RUNTIME_ ERROR - REASON_
GIT_ UNAVAILABLE - REASON_
HAS_ ERROR - Deprecated: no longer emitted in verdict.reasons (redundant with verdict.counts). Retained for backward-compatible vocabulary validation.
- REASON_
HAS_ WARNING - Deprecated: no longer emitted in verdict.reasons (redundant with verdict.counts). Retained for backward-compatible vocabulary validation.
- REASON_
MISSING_ BASE - REASON_
NO_ DIFF_ INPUT - REASON_
TOOL_ ERROR - REASON_
TRUNCATED - SENSOR_
REPORT_ SCHEMA_ V1