UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Application Firewall that autonomously protects Node.js apps against common and critical attacks, provides rate limiting, detects malicious traffic (including bots), and more.

5 lines (4 loc) 260 B
import { Endpoint } from "../agent/Config"; import { Context } from "../agent/Context"; export type LimitedContext = Pick<Context, "url" | "method" | "route">; export declare function matchEndpoints(context: LimitedContext, endpoints: Endpoint[]): Endpoint[];