anomaly-express
Version:
Anomaly Express is a security framework for Express.js that provides a set of tools and utilities to help you build secure applications.
21 lines • 659 B
TypeScript
/**
* Configuration for Anomaly middleware
*/
export interface AnomalyMiddlewareConfig {
/**
* Your API key for authentication with Anomaly AI servers
*/
apiKey: string;
/**
* Your application ID for identifying your app
*/
appId: string;
/**
* Whether to check for anomaly in real-time.
* If true, the middleware will check for anomaly in real-time and block the request if anomaly is detected.
* If false, the middleware will check for anomaly in our servers and send report to dashboard.
* Default is false.
*/
blockRealtime?: boolean;
}
//# sourceMappingURL=AnomalyMiddleware.d.ts.map