Get firewall
⚠️ This endpoint is in public preview.
Retrieve a firewall by ID or resource path. Includes the workspace’s ‘default’ firewall, fetched the same way as any other.
Authorizations
Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.
Path Parameters
Firewall ID or resource path A resource path like 'sfc:firewall:acme:prod:my-firewall' or an ID. Resource paths are human-readable but not stable - they change when resources are renamed or moved. IDs are stable and permanent.
(frwl_[0-9a-zA-Z_-]{1,21})|(sfc:firewall:[a-zA-Z0-9._-]+(:[a-zA-Z0-9._-]+){2,2})"frwl_k3R-nX9vLm7Qp2Yw5Jd8F"
Response
Firewall details.
The set of rules a firewall enforces.
frwl_[0-9a-zA-Z_-]{1,21}"frwl_k3R-nX9vLm7Qp2Yw5Jd8F"
A resource path for a firewall resource. Format: sfc:firewall:::.
sfc:firewall:([a-zA-Z0-9._-]+:){2}[a-zA-Z0-9._-]+"sfc:firewall:<account_id>:<workspace>:<name>"
1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
wksp_[0-9a-zA-Z_-]{1,21}"wksp_k3R-nX9vLm7Qp2Yw5Jd8F"
1 - 255[a-zA-Z0-9][a-zA-Z0-9._-]{0,254}"my-resource-name"
Allow-only ingress rules. Order is preserved across reads and PUT replacements.
"firewall"Unix timestamp.
1738972800
Unix timestamp.
1738972800