app/api/routes/compliance.py.
GET /compliance/presets
Return the list of built-in compliance presets.
default, hipaa, sox, legal_privilege. See Compliance policies for what each one enforces.
GET /compliance/{execution_id}/export
Export the compliance package for a finished execution.
| Name | Default | Meaning |
|---|---|---|
preset | the execution’s policy | Override which preset the export targets. |
format | json | json or pdf. |
json, the body is a JSON object containing every verified certificate, the run’s audit trail, the active policy, the proof attestation block, and the runtime mode. For pdf, the body is a multi-section document suitable for handing to an auditor.
A 404 is returned when the execution id is unknown to the calling user.
See also
- Tasks - creating the execution.
- Workflows - the multi-stage version with its own export.
- Trust package - the assurance vocabulary the export uses.