Skip to content
Wardcase Docs

Get egress policy

GET
/v1/egress-policies/{id}
id
required
string

OK

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

Not found

RFC 9457 problem document

object
type
required

https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).

string format: uri
title
required
string
status
required
integer
detail
string
instance
string
errors

Field-level validation errors

Array<object>
object
path
required
string
message
required
string