vigiles API reference
    Preparing search index...

    Function assertEgressOnly

    • Assert every egress attempt went to an allowed host. allowed matches a host (exact string or regex), or a specific host:port. Any attempt outside the allowlist fails, naming the offender — exfil / unexpected-registry detection.

      Parameters

      • r: HasEgress
      • allowed: readonly (string | RegExp)[]

      Returns void