UNPKG

@aikidosec/firewall

Version:

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

21 lines (20 loc) 528 B
import { Token } from "./Token"; export type IPList = { key: string; source: string; description: string; ips: string[]; }; export type UserAgentDetails = { key: string; pattern: string; }; export type Response = { blockedIPAddresses: IPList[]; allowedIPAddresses: IPList[]; monitoredIPAddresses: IPList[]; blockedUserAgents: string; monitoredUserAgents: string; userAgentDetails: UserAgentDetails[]; }; export declare function fetchBlockedLists(token: Token): Promise<Response>;