audit.finding.list ​
List audit findings for an organization.
Paginated finding list for 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 findings are queried |
audit_run_uuid | uuid | No | — | — |
finding_type | string | No | — | — |
rule_key | string | No | — | — |
severity | string | No | — | — |
status | string | No | — | — |
resource_type | string | No | — | — |
resource_ref | string | No | — | — |
include_deleted | boolean | No | — | — |
limit | integer | No | — | — |
offset | integer | No | — | — |
workflow_run_id | string | No | — | Engine-stamped parent DAG run id when invoked as a Step target |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | json | Yes | — | — |
total | integer | Yes | — | — |
limit | integer | Yes | — | — |
offset | integer | Yes | — | — |
has_more | 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 |
|---|---|---|---|
listed | SUCCESS | Findings listed | items, total |
failed | FAILURE | Audit workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "audit.finding.list",
"initial_data": {
"organization_uuid": "value"
}
}