UNPKG

@aikidosec/firewall

Version:

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

44 lines (43 loc) 2.49 kB
import type { HttpFunction } from "@google-cloud/functions-framework"; import type { Handler } from "aws-lambda"; import { ChildProcess } from "../sinks/ChildProcess"; import { Fetch } from "../sinks/Fetch"; import { FileSystem } from "../sinks/FileSystem"; import { HTTPRequest } from "../sinks/HTTPRequest"; import { MariaDB } from "../sinks/MariaDB"; import { MongoDB } from "../sinks/MongoDB"; import { MySQL } from "../sinks/MySQL"; import { MySQL2 } from "../sinks/MySQL2"; import { Path } from "../sinks/Path"; import { Postgres } from "../sinks/Postgres"; import { Undici } from "../sinks/Undici"; import { Express } from "../sources/Express"; import { FunctionsFramework } from "../sources/FunctionsFramework"; import { Hono } from "../sources/Hono"; import { HTTPServer } from "../sources/HTTPServer"; import { PubSub } from "../sources/PubSub"; import { GraphQL } from "../sources/GraphQL"; import { Xml2js } from "../sources/Xml2js"; import { FastXmlParser } from "../sources/FastXmlParser"; import { SQLite3 } from "../sinks/SQLite3"; import { XmlMinusJs } from "../sources/XmlMinusJs"; import { Hapi } from "../sources/Hapi"; import { Shelljs } from "../sinks/Shelljs"; import { NodeSQLite } from "../sinks/NodeSQLite"; import { BetterSQLite3 } from "../sinks/BetterSQLite3"; import { Postgresjs } from "../sinks/Postgresjs"; import { Fastify } from "../sources/Fastify"; import { Koa } from "../sources/Koa"; import { Restify } from "../sources/Restify"; import { ClickHouse } from "../sinks/ClickHouse"; import { Prisma } from "../sinks/Prisma"; import { AwsSDKVersion2 } from "../sinks/AwsSDKVersion2"; import { OpenAI } from "../sinks/OpenAI"; import { AwsSDKVersion3 } from "../sinks/AwsSDKVersion3"; import { AiSDK } from "../sinks/AiSDK"; import { Mistral } from "../sinks/Mistral"; import { Anthropic } from "../sinks/Anthropic"; export declare function getWrappers(): (ChildProcess | Fetch | FileSystem | HTTPRequest | MariaDB | MongoDB | MySQL | MySQL2 | Path | Postgres | Undici | Express | FunctionsFramework | Hono | HTTPServer | PubSub | GraphQL | Xml2js | FastXmlParser | SQLite3 | XmlMinusJs | Hapi | Shelljs | NodeSQLite | BetterSQLite3 | Postgresjs | Fastify | Koa | Restify | ClickHouse | Prisma | AwsSDKVersion2 | OpenAI | AwsSDKVersion3 | AiSDK | Mistral | Anthropic)[]; export declare function protect(): void; export declare function lambda(): (handler: Handler) => Handler; export declare function cloudFunction(): (handler: HttpFunction) => HttpFunction;