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) 1.01 kB
import { setUser } from "./agent/context/user"; import { markUnsafe } from "./agent/context/markUnsafe"; import { shouldBlockRequest } from "./middleware/shouldBlockRequest"; import { addExpressMiddleware } from "./middleware/express"; import { addHonoMiddleware } from "./middleware/hono"; import { addHapiMiddleware } from "./middleware/hapi"; import { addFastifyHook } from "./middleware/fastify"; import { addKoaMiddleware } from "./middleware/koa"; export { setUser, markUnsafe, shouldBlockRequest, addExpressMiddleware, addHonoMiddleware, addHapiMiddleware, addFastifyHook, addKoaMiddleware, }; declare const _default: { setUser: typeof setUser; markUnsafe: typeof markUnsafe; shouldBlockRequest: typeof shouldBlockRequest; addExpressMiddleware: typeof addExpressMiddleware; addHonoMiddleware: typeof addHonoMiddleware; addHapiMiddleware: typeof addHapiMiddleware; addFastifyHook: typeof addFastifyHook; addKoaMiddleware: typeof addKoaMiddleware; }; export default _default;