UNPKG

@aikidosec/firewall

Version:

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

10 lines (9 loc) 270 B
import { DetectedAttack } from "./api/Event"; export declare class AttackLogger { private readonly maxLogs; private logCount; private lastResetTime; constructor(maxLogs: number); log(event: DetectedAttack): void; private resetLogCountIfNeeded; }