curl --location --request GET 'https://barrack.ai/api/firewalls/?region'{
"success": true,
"firewalls": [
{
"id": "12345",
"name": "production-firewall",
"description": "Production environment firewall",
"region": "CANADA-1",
"environment": {
"id": "env-123",
"name": "prod-environment",
"region": "CANADA-1"
},
"rules": [
{
"id": "rule-1",
"direction": "ingress",
"protocol": "tcp",
"ethertype": "IPv4",
"remote_ip_prefix": "0.0.0.0/0",
"port_range_min": 443,
"port_range_max": 443
}
],
"attachments": [
{
"vm": {
"id": "vm-123",
"name": "web-server-01",
"status": "RUNNING"
}
}
]
}
],
"tier": "legacy",
"request_id": "a1b2c3d4"
}