GET
/
projects
/
{projectId}
/
vpc
/
firewall-rules
/
{id}
curl --request GET \
  --url https://api.mkinf.io/v0.1/projects/{projectId}/vpc/firewall-rules/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "c8c3d306-eff4-4d35-a09e-8efe320706c2",
  "name": "default-allow-subnet-tcp-udp-us-northcentral1-a",
  "direction": "ingress",
  "action": "allow",
  "vpc_network_id": "2d7fe075-b3d6-4201-b397-b17b754bece1",
  "state": "active",
  "sources": [
    {
      "cidr": "172.27.0.0/20",
      "resource_id": ""
    }
  ],
  "source_ports": [],
  "destinations": [
    {
      "cidr": "172.27.0.0/20",
      "resource_id": ""
    }
  ],
  "destination_ports": [],
  "protocols": [
    "tcp",
    "udp"
  ]
}

Get detailed information about a specific firewall rule, including its configuration and current state.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

Project id

id
string
required

Firewall rule id

Response

200 - application/json

The response is of type object.