audit.audit-run.get ​
Get one audit scan run for an organization.
Fetch one audit run, scoped to the caller organization.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-audit |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | UUID of the organization whose audit runs are queried |
audit_run_uuid | uuid | Yes | — | — |
include_deleted | boolean | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
audit_run_uuid | uuid | No | — | — |
audit_run | json | No | — | — |
found | boolean | Yes | — | — |
mismatch | boolean | Yes | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
read | SUCCESS | Audit run returned | audit_run_uuid, found |
failed | FAILURE | Audit workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "audit.audit-run.get",
"initial_data": {
"organization_uuid": "value",
"audit_run_uuid": "value"
}
}