@shieldiot/ngx-pulseiot-lib 2.18.1114 → 2.18.1115
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.
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import {
|
|
4
|
-
import { Distribution } from '../model';
|
|
5
|
-
import { DeviceActionCode } from '../model';
|
|
6
|
-
import { SeverityTypeCode } from '../model';
|
|
7
|
-
import { Alert } from '../model';
|
|
3
|
+
import { EventCategoryCode } from '../model';
|
|
8
4
|
import { EventStatusCode } from '../model';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
6
|
+
import { MaliciousIPData } from '../model';
|
|
7
|
+
import { TimeSeries } from '../model';
|
|
11
8
|
import { Tuple } from '../model';
|
|
9
|
+
import { DeviceActionCode } from '../model';
|
|
10
|
+
import { Distribution } from '../model';
|
|
11
|
+
import { EntitiesResponse } from '../model';
|
|
12
12
|
import { StringKeyValue } from '../model';
|
|
13
|
-
import {
|
|
14
|
-
import { TimeSeries } from '../model';
|
|
13
|
+
import { RuleTypeCode } from '../model';
|
|
15
14
|
import { MaliciousIpCard } from '../model';
|
|
15
|
+
import { AlertWithDevice } from '../model';
|
|
16
16
|
import { EntityResponse } from '../model';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
17
|
+
import { Alert } from '../model';
|
|
18
|
+
import { EventTypeCode } from '../model';
|
|
19
|
+
import { SeverityTypeCode } from '../model';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
export declare class UsrAlertsService {
|
|
22
22
|
private config;
|
|
@@ -46,31 +46,31 @@ export declare class UsrAlertsService {
|
|
|
46
46
|
/**
|
|
47
47
|
* Get top 10 alerts by their severity and time
|
|
48
48
|
*/
|
|
49
|
-
findTop(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<AlertWithDevice>>;
|
|
49
|
+
findTop(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<EntityResponse<AlertWithDevice>>;
|
|
50
50
|
/**
|
|
51
51
|
* Get top 10 alerts by their severity and time
|
|
52
52
|
*/
|
|
53
|
-
findTopMaliciousIPs(streamId?: string, top?: number): import("rxjs").Observable<
|
|
53
|
+
findTopMaliciousIPs(streamId?: string, top?: number, from?: number, to?: number): import("rxjs").Observable<EntitiesResponse<MaliciousIPData>>;
|
|
54
54
|
/**
|
|
55
55
|
* Get alerts distribution by type filtered by query
|
|
56
56
|
*/
|
|
57
|
-
countByType(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
57
|
+
countByType(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
58
58
|
/**
|
|
59
59
|
* Get alerts distribution by status filtered by query
|
|
60
60
|
*/
|
|
61
|
-
countByStatus(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
61
|
+
countByStatus(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
62
62
|
/**
|
|
63
63
|
* Get alerts distribution by severity filtered by query
|
|
64
64
|
*/
|
|
65
|
-
countBySeverity(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
65
|
+
countBySeverity(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
66
66
|
/**
|
|
67
67
|
* Get alerts distribution by rule filtered by query
|
|
68
68
|
*/
|
|
69
|
-
countByRule(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
69
|
+
countByRule(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
70
70
|
/**
|
|
71
71
|
* Get alerts distribution by category filtered by query
|
|
72
72
|
*/
|
|
73
|
-
countByCategory(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
73
|
+
countByCategory(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
74
74
|
/**
|
|
75
75
|
* Get current shield as ActionResponse, the Key contains the shield index and the data includes the trend
|
|
76
76
|
*/
|
|
@@ -82,11 +82,11 @@ export declare class UsrAlertsService {
|
|
|
82
82
|
/**
|
|
83
83
|
* Get shieldex histogram over the provided time period
|
|
84
84
|
*/
|
|
85
|
-
shieldexTimeline(streamId?: string): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
85
|
+
shieldexTimeline(streamId?: string, from?: number, to?: number): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
86
86
|
/**
|
|
87
87
|
* Get devices at risk number for specific alerts criteria and return the number of devices at risk for specific alerts criteria
|
|
88
88
|
*/
|
|
89
|
-
getDevicesAtRisk(streamId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[]): import("rxjs").Observable<ActionResponse>;
|
|
89
|
+
getDevicesAtRisk(streamId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[]): import("rxjs").Observable<ActionResponse>;
|
|
90
90
|
/**
|
|
91
91
|
* Get malicious IP data card for specific malicious IP
|
|
92
92
|
*/
|