List a Linode's firewalls

View Firewall information for Firewalls assigned to this Linode.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: list_linode_firewalls
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: linodes:read_only

CLI

linode-cli linodes firewalls-list 123

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The ID of the Linode.

Query Params
integer
≥ 1
Defaults to 1

The page of a collection to return.

integer
25 to 500
Defaults to 100

The number of items to return per page.

Responses

Response body
object
data
array of objects
data
object
date-time

Filterable, Read-only When this Firewall was created.

entities
array of objects

Read-only The Linodes, NodeBalancers, and Linode interfaces this firewall is assigned to.

entities
object
integer

The entity's ID.

string | null

Read-only The entity's label.

parent_entity
object | null

Read-only The Linode this linode_interface is assigned to. Returns null when the entity type is linode or nodebalancer.

string
enum

The entity's type.

linode linode_interface nodebalancer

url

Read-only The API URL path you can use to access this entity.

integer

Filterable, Read-only The Firewall's unique ID.

string
length between 3 and 32

Filterable The Firewall's label, for display purposes only.

Firewall labels have the following constraints:

  • Must begin and end with an alphanumeric character.
  • May only consist of alphanumeric characters, hyphens (-), underscores (_) or periods (.).
  • Cannot have two hyphens (--), underscores (__) or periods (..) in a row.
  • Must be between 3 and 32 characters.
  • Must be unique.
rules
object

The inbound and outbound access rules to apply to the Firewall.

A Firewall may have up to 25 rules across its inbound and outbound rulesets.

Multiple rules are applied in order. If two rules conflict, the first rule takes precedence. For example, if the first rule accepts inbound traffic from an address, and the second rule drops inbound traffic the same address, the first rule applies and inbound traffic from that address is accepted.

string
enum

Read-only The status of this Firewall.

  • When a Firewall is first created its status is enabled.
  • Run the Update a firewall operation to set a Firewall's status to enabled or disabled.
  • Run the Delete a firewall operation to delete a Firewall.

enabled disabled deleted

tags
array of strings

Filterable An array of tags applied to this object. Tags are for organizational purposes only.

tags
date-time

Filterable, Read-only When this Firewall was last updated.

integer

Read-only The current page.

integer

Read-only The total number of pages.

integer

Read-only The total number of results.

Language
Credentials