Skip to main content

Module types

Module types 

Source
Expand description

Verdict + ancillary response types per Client spec rev1 §2.4 + App Rev 4 §4.1 Vector verdict shape.

All fields default-tolerant via #[serde(default)] so the SDK can consume partial responses during cycle-3 → cycle-N spec evolution without forcing a recompile-and-redeploy on every App-side schema widening.

Structs§

AuditEntry
One audit log entry returned from GET /v1/customer/audit.
AuditResponse
Response from GET /v1/customer/audit.
PackageRef
One package identity for policy-preview / scan requests.
PolicyDecision
Per-package decision returned from /v1/customer/policy/preview or embedded in audit entries.
PolicyPreviewRequest
Body of POST /v1/customer/policy/preview — packages + optional hypothetical policy override (JSON-shaped; YAML-source customers convert client-side).
PolicyPreviewResponse
Response from POST /v1/customer/policy/preview.
Verdict
Verdict mirrors App Rev 4 §4.1 Verdict struct surfaced via GET /v1/customer/verdicts/{ecosystem}/{package}/{version}.