Skip to content
Wardcase Docs

List egress policies

GET
/v1/egress-policies

OK

object
data
required
Array
object
name
required
string
>= 1 characters <= 80 characters
mode
required

denylist: everything allowed except the built-in deny-list and these rules. allowlist: only these rules allowed; the built-in deny-list still applies.

string
Allowed values: denylist allowlist
rules
required
Array<object>
<= 200 items

Exactly one of host or cidr. host is a fully qualified hostname, resolved by the host to addresses when the policy is applied and again every five minutes; wildcards such as *.wardcase.com are not accepted (enforcement is by address, not by SNI). ports empty means all ports.

object
host
string
cidr
string
ports
Array<integer>
id
required
string
org_id
required
string
created_at
required
string format: date-time