Create egress policy
POST /v1/egress-policies
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
denylist: everything allowed except the built-in deny-list and these rules.
allowlist: only these rules allowed; the built-in deny-list still applies.
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
Responses
Section titled “ Responses ”Created
object
denylist: everything allowed except the built-in deny-list and these rules.
allowlist: only these rules allowed; the built-in deny-list still applies.
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
Validation failed
RFC 9457 problem document
object
https://docs.wardcase.com/errors/<slug>. The slug is a stable machine code (PROBLEM_TYPES in @vivarium/contracts).
Field-level validation errors