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.

16 lines (15 loc) 462 B
import { Agent } from "../agent/Agent"; import type { ReportingAPI } from "../agent/api/ReportingAPI"; import type { Token } from "../agent/api/Token"; import type { Logger } from "../agent/logger/Logger"; /** * Create a test agent for testing purposes */ export declare function createTestAgent(opts?: { block?: boolean; logger?: Logger; api?: ReportingAPI; token?: Token; serverless?: string; suppressConsoleLog?: boolean; }): Agent;