@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
16 lines (15 loc) • 462 B
TypeScript
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;