UNPKG

@aikidosec/firewall

Version:

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

13 lines (12 loc) 439 B
import { Token } from "../api/Token"; import { Config } from "../Config"; import { Logger } from "../logger/Logger"; type OnConfigUpdate = (config: Config) => void; export declare function pollForChanges({ onConfigUpdate, serverless, token, logger, lastUpdatedAt, }: { onConfigUpdate: OnConfigUpdate; token: Token | undefined; serverless: string | undefined; logger: Logger; lastUpdatedAt: number; }): void; export {};