UNPKG

@aikidosec/firewall

Version:

Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks

20 lines (19 loc) 597 B
import type { ReportingAPI } from "../agent/api/ReportingAPI"; import type { Token } from "../agent/api/Token"; import type { Logger } from "../agent/logger/Logger"; import { Wrapper } from "../agent/Wrapper"; type PackageName = string; type AliasToRequire = string; /** * Start a test agent for testing purposes */ export declare function startTestAgent(opts: { block?: boolean; logger?: Logger; api?: ReportingAPI; token?: Token; serverless?: string; wrappers: Wrapper[]; rewrite: Record<PackageName, AliasToRequire>; }): import("../agent/Agent").Agent; export {};