@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) • 322 B
TypeScript
export type PathPart = {
type: "jwt";
} | {
type: "object";
key: string;
} | {
type: "array";
index: number;
};
export declare function buildPathToPayload(pathToPayload: PathPart[]): string;
export declare function getPathsToPayload(attackPayload: string, obj: unknown, matchCount?: number): string[];