Reference for the YAML template file used to define compliance controls for a Kosli flow.
A flow template defines what attestations are required for a trail and its artifacts to be compliant. You pass the template file when creating or updating a flow with kosli create flow --template-file.
Once the flow exists, start a trail with kosli begin trail and record attestations using the kosli attest commands. Kosli evaluates trail compliance against the template automatically.
Trail-level attestations apply to the entire trail. Artifact-level attestations apply to a specific artifact produced within the trail.
A JSON Schema is available for the flow template format. Add the following comment to the top of your template file to enable inline validation and autocomplete in VS Code (requires the YAML extension) and other schema-aware editors: