@aikidosec/firewall
Version:
Zen by Aikido is an embedded Web Application Firewall that autonomously protects Node.js apps against common and critical attacks
12 lines (11 loc) • 394 B
TypeScript
import { Context } from "../../agent/Context";
import { Source } from "../../agent/Source";
type HostnameLocation = {
source: Source;
pathsToPayload: string[];
payload: string;
port: number | undefined;
hostname: string;
};
export declare function findHostnameInContext(hostname: string, context: Context, port: number | undefined): HostnameLocation | undefined;
export {};