kubernetes.target_availability.verify ​
Prove deny-test targets are present and available before treating access-denied as evidence
Read-only check that each named target used in a deny test is actually present and available. A NetworkPolicy "denied" result is only evidence when the destination existed and was ready.
Each target is {namespace, kind, name}. Supported kinds: Service, Endpoints, Deployment, Pod, StatefulSet.
The workflow always completes successfully and reports all_available plus per-target available / reason. Missing or unready targets are not a workflow failure.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-kubernetes |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | — |
targets | list | Yes | — | List of {namespace, kind, name} objects to probe. |
organization_uuid | uuid | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | — |
organization_uuid | uuid | No | — | — |
targets | list | No | — | — |
all_available | boolean | No | — | — |
available_count | integer | No | — | — |
unavailable_count | integer | No | — | — |
items | json | No | — | — |
observed_at | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "kubernetes.target_availability.verify",
"initial_data": {
"connection_uuid": "value",
"targets": "value"
}
}