A single domain allowlist rule with optional header injection.

interface Allowlist {
    domain: string;
    transform?: { [key: string]: string }[];
}

Properties

Properties

domain: string

Domain to allow outbound requests to. Supports wildcards (e.g. '.googleapis.com'). Use '' to allow all domains.

transform?: { [key: string]: string }[]

Headers to inject on all outbound requests matching this domain. Each entry is a flat {header_name: header_value} object. The egress proxy injects these automatically.