@netacea/netaceaintegrationbase 2.0.43 → 2.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +14 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -293,6 +293,10 @@ interface IngestArgs {
|
|
|
293
293
|
xForwardedFor?: string;
|
|
294
294
|
headerFingerprint?: string;
|
|
295
295
|
cookieFingerprint?: string;
|
|
296
|
+
integrationMode?: string;
|
|
297
|
+
requestHost?: string;
|
|
298
|
+
mitigationLatency?: number;
|
|
299
|
+
mitigationStatus?: number;
|
|
296
300
|
}
|
|
297
301
|
interface WebLog {
|
|
298
302
|
Request: string;
|
|
@@ -309,6 +313,10 @@ interface WebLog {
|
|
|
309
313
|
IntegrationVersion?: string;
|
|
310
314
|
XForwardedFor?: string;
|
|
311
315
|
optional?: Record<string, unknown>;
|
|
316
|
+
ProtectionMode?: string;
|
|
317
|
+
RequestHost?: string;
|
|
318
|
+
ProtectorLatencyMs?: number;
|
|
319
|
+
ProtectorStatus?: number;
|
|
312
320
|
}
|
|
313
321
|
interface V2WebLog {
|
|
314
322
|
'@timestamp': string;
|
|
@@ -320,14 +328,18 @@ interface V2WebLog {
|
|
|
320
328
|
hour: number;
|
|
321
329
|
integration_type?: string;
|
|
322
330
|
integration_version?: string;
|
|
331
|
+
protection_mode?: string;
|
|
323
332
|
method: string;
|
|
324
333
|
minute: number;
|
|
334
|
+
protector_latency_ms?: number;
|
|
335
|
+
protector_status?: number;
|
|
325
336
|
path: string;
|
|
326
337
|
protocol: string | null;
|
|
327
338
|
query?: string;
|
|
328
339
|
referrer?: string;
|
|
329
340
|
request: string;
|
|
330
341
|
request_time: number;
|
|
342
|
+
request_host?: string;
|
|
331
343
|
status: string;
|
|
332
344
|
user_agent: string;
|
|
333
345
|
user_id?: string;
|
|
@@ -343,6 +355,8 @@ interface NetaceaResponseBase {
|
|
|
343
355
|
* Netacea session status string
|
|
344
356
|
*/
|
|
345
357
|
sessionStatus: string;
|
|
358
|
+
apiCallLatency?: number;
|
|
359
|
+
apiCallStatus?: number;
|
|
346
360
|
}
|
|
347
361
|
interface MitigateResponse<T = any> extends NetaceaResponseBase {
|
|
348
362
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netacea/netaceaintegrationbase",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.45",
|
|
4
4
|
"description": "Base package for Netacea CDN integrations.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "UNLICENSED",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@netacea/kinesisingest": "^1.5.
|
|
27
|
+
"@netacea/kinesisingest": "^1.5.63"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "7ea2cbcf4299e2d04cf28196c4d608689df48843"
|
|
30
30
|
}
|