gcp.network.list_firewall_rules ​
List GCP firewall rules for one VPC network.
List GCP firewall rules for one VPC network without mutating resources.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | Base-gcp |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | Yes | — | GCP CloudConnection UUID. |
network_id | string | Yes | — | GCP VPC network name or self link. |
project_id | string | No | — | GCP project ID override. |
region | string | No | — | Optional region used for credential scoping. |
page_size | integer | No | — | Provider page size. |
max_results | integer | No | — | Maximum firewall rules to return. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
connection_uuid | uuid | No | — | GCP CloudConnection UUID. |
network_id | string | No | — | GCP VPC network name or self link. |
project_id | string | No | — | GCP project ID override. |
region | string | No | — | Optional region used for credential scoping. |
page_size | integer | No | — | Provider page size. |
max_results | integer | No | — | Maximum firewall rules to return. |
firewall_rules | list | No | — | Normalized firewall rule inventory records. |
firewall_rule_count | integer | No | — | Number of firewall rules returned. |
failure_reason | string | No | — | Human-readable failure reason. |
failure_type | string | No | — | Failure type. |
failed_action | string | No | — | Failed action name. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Engine failed layer. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | preflight | — |
listing | No | No | — | complete | — |
preflighting | No | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | preflight | preflighting | — |
preflighting | execute | listing | — |
listing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "gcp.network.list_firewall_rules",
"initial_data": {
"connection_uuid": "value",
"network_id": "value"
}
}