---
title: "Show firewall rule details"
method: GET
path: "/entities/firewall-rules/{id}"
tags: ["Entities"]
---

# Show firewall rule details

`GET /entities/firewall-rules/{id}`

Show firewall rule details

## Path parameters

- `id` string, required

## Query parameters

- `time` integer

## Response `200`

OK

- BaseFirewallRule
  - `entity_id` string
  - `entity_type` 'VirtualMachine' | 'EC2Instance' | 'Host' | 'Vnic' | 'Vmknic' | 'VxlanLayer2Network' | 'VlanL2Network' | 'Cluster' | 'SecurityTag' | 'ResourcePool' | 'NSXIPSet' | 'EC2IPSet' | 'NSXSecurityGroup' | 'EC2SecurityGroup' | 'Flow' | 'ProblemEvent' | 'Application' | 'Tier' | 'NSXFirewallRule' | 'EC2SGFirewallRule' | 'NSXRedirectRule' | 'VCenterManager' | 'NSXVManager' | 'NSXService' | 'EC2Service' | 'VPC' | 'NSXDistributedFirewall' | 'EC2Firewall' | 'NSXServiceGroup' | 'DistributedVirtualSwitch' | 'DistributedVirtualPortgroup' | 'VCDatacenter' | 'Datastore' | 'Folder'
  - `name` string
  - `action` 'ALLOW' | 'ACCEPT' | 'DENY' | 'DROP' | 'REJECT' | 'REDIRECT' | 'DO_NOT_REDIRECT'
  - `destination_any` boolean
  - `destination_inversion` boolean
  - `destinations` Reference[]
    - `entity_id` string
    - `entity_type` 'VirtualMachine' | 'EC2Instance' | 'Host' | 'Vnic' | 'Vmknic' | 'VxlanLayer2Network' | 'VlanL2Network' | 'Cluster' | 'SecurityTag' | 'ResourcePool' | 'NSXIPSet' | 'EC2IPSet' | 'NSXSecurityGroup' | 'EC2SecurityGroup' | 'Flow' | 'ProblemEvent' | 'Application' | 'Tier' | 'NSXFirewallRule' | 'EC2SGFirewallRule' | 'NSXRedirectRule' | 'VCenterManager' | 'NSXVManager' | 'NSXService' | 'EC2Service' | 'VPC' | 'NSXDistributedFirewall' | 'EC2Firewall' | 'NSXServiceGroup' | 'DistributedVirtualSwitch' | 'DistributedVirtualPortgroup' | 'VCDatacenter' | 'Datastore' | 'Folder'
  - `disabled` boolean
  - `port_ranges` PortRange[]
    - `display` string
    - `end` integer
    - `iana_name` string
    - `iana_port_display` string
    - `start` integer
  - `rule_id` string
  - `section_id` string
  - `section_name` string
  - `sequence_number` integer
  - `service_any` boolean
  - `services` Reference[]
    - `entity_id` string
    - `entity_type` 'VirtualMachine' | 'EC2Instance' | 'Host' | 'Vnic' | 'Vmknic' | 'VxlanLayer2Network' | 'VlanL2Network' | 'Cluster' | 'SecurityTag' | 'ResourcePool' | 'NSXIPSet' | 'EC2IPSet' | 'NSXSecurityGroup' | 'EC2SecurityGroup' | 'Flow' | 'ProblemEvent' | 'Application' | 'Tier' | 'NSXFirewallRule' | 'EC2SGFirewallRule' | 'NSXRedirectRule' | 'VCenterManager' | 'NSXVManager' | 'NSXService' | 'EC2Service' | 'VPC' | 'NSXDistributedFirewall' | 'EC2Firewall' | 'NSXServiceGroup' | 'DistributedVirtualSwitch' | 'DistributedVirtualPortgroup' | 'VCDatacenter' | 'Datastore' | 'Folder'
  - `source_any` boolean
  - `source_inversion` boolean
  - `sources` Reference[]
    - `entity_id` string
    - `entity_type` 'VirtualMachine' | 'EC2Instance' | 'Host' | 'Vnic' | 'Vmknic' | 'VxlanLayer2Network' | 'VlanL2Network' | 'Cluster' | 'SecurityTag' | 'ResourcePool' | 'NSXIPSet' | 'EC2IPSet' | 'NSXSecurityGroup' | 'EC2SecurityGroup' | 'Flow' | 'ProblemEvent' | 'Application' | 'Tier' | 'NSXFirewallRule' | 'EC2SGFirewallRule' | 'NSXRedirectRule' | 'VCenterManager' | 'NSXVManager' | 'NSXService' | 'EC2Service' | 'VPC' | 'NSXDistributedFirewall' | 'EC2Firewall' | 'NSXServiceGroup' | 'DistributedVirtualSwitch' | 'DistributedVirtualPortgroup' | 'VCDatacenter' | 'Datastore' | 'Folder'

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Error

---

[API](https://skmtc.net/vmware/apis/vrni.md) · [All operations](https://skmtc.net/vmware/apis/vrni/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vmware/vrni/versions/29e16496f00c/schema)
