Audit Evidence
This page is a one-stop reference for the evidence the platform produces, where it is stored, and how to extract it during an audit or forensic investigation.
What is recorded
| Category | Where | Retention |
|---|---|---|
| User identities and role assignments | Identity provider | Per identity-provider retention; typically indefinite while the user exists. |
| Sign-in events | Identity provider event log | Per identity-provider event-log retention. |
| Workflow definitions and versions | Application database | Indefinite unless explicitly deleted. |
| Workflow run history | Application database | Indefinite unless explicitly deleted. |
| Model call traces (prompts, responses, latency) | Audit trail | Per audit-trail retention configuration. |
| Knowledge sources and processing status | Application database + secure document store | Until explicit deletion. |
| Compliance assessments | Application database + secure document store | Indefinite unless explicitly deleted. |
| Generated documents (compliance, workflow descriptions) | Application database + secure document store | Indefinite unless explicitly deleted. |
| API request logs | Platform monitoring | Per monitoring retention. |
| Platform metrics | Platform monitoring | Per monitoring retention. |
| Deployment configuration history | Source control (configuration as code) | Indefinite. |
Common evidence requests
Who has access to what?
- Pull the user list from the identity provider with role assignments.
- Cross-reference platform-side ownership records (user identifier → workflows, knowledge collections, assessments).
What did a user do during a window?
- Filter the run history by user and time range for workflow activity.
- Filter audit traces by user metadata for model interactions.
- Filter identity-provider events for sign-in / role-change events.
What changed in a workflow over time?
- The workflow version history is the audit trail of edits.
- Each version records a content hash; comparing hashes shows whether a publish actually changed behaviour.
- Combine with audit traces by workflow version to see which version handled which run.
Was a specific record accessed?
- Audit at the platform level via request logs (filtered by request path and user identifier).
- For knowledge sources, the download endpoint is the only path - filter logs accordingly.
Can I prove a deletion was complete?
- Deletion paths cascade across the application database, secure document store, and knowledge index.
- The post-deletion state is verifiable: query each store for the deleted IDs; absence is the proof.
- Audit traces tied to the deleted entity remain unless explicitly pruned - coordinate with your audit-trail retention policy.
Extraction procedures
From the API
GET /flowand/flow/responsesfor workflow activity.GET /compliance/assessments/:idfor a specific assessment.GET /knowledgefor knowledge collections and sources.GET /documentsfor generated documents.
Run with a service-account token that has appropriate scope.
From the application database
The data layer schema is the authoritative reference. Joins on user identifier and creation timestamp cover most queries.
From the audit trail
The audit-trail layer exposes a query API and dashboards. For an audit:
- Export traces matching the relevant time window and user filter.
- Include the trace identifier in the audit packet so your auditor can validate it independently if granted access.
From the platform monitoring
- Use the monitoring tool's log explorer to filter request logs by path, status, and user-identifier claim.
- Export the relevant slice in CSV or JSON.
From the identity provider
- A realm export captures user accounts and role assignments.
- The event log captures authentication events.
- Both are exportable from the identity provider's admin UI or admin API.
Chain of custody
When extracting evidence for a regulator or auditor:
- Record who extracted the evidence, what tooling was used, when, and what was extracted.
- Hash each artefact and record the hash in the audit packet.
- Restrict access to the audit packet to the audit-handling team.
The platform does not provide a chain-of-custody workflow; that lives in your audit process.