@shieldiot/ngx-pulseiot-lib 2.18.1122 → 2.18.1123
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/esm2022/lib/services/SysRuleTemplatesService.mjs +1 -1
- package/esm2022/lib/services/SysStatisticsService.mjs +1 -1
- package/esm2022/lib/services/UsrNetworkService.mjs +4 -10
- package/esm2022/lib/services/UsrRulesService.mjs +22 -4
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +24 -12
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/services/SysRuleTemplatesService.d.ts +1 -2
- package/lib/services/SysStatisticsService.d.ts +1 -1
- package/lib/services/UsrNetworkService.d.ts +8 -8
- package/lib/services/UsrRulesService.d.ts +8 -8
- package/package.json +1 -1
|
@@ -4,7 +4,6 @@ import { RuleTemplate } from '../model';
|
|
|
4
4
|
import { EntityResponse } from '../model';
|
|
5
5
|
import { ActionResponse } from '../model';
|
|
6
6
|
import { EntitiesResponse } from '../model';
|
|
7
|
-
import { Rule } from '../model';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class SysRuleTemplatesService {
|
|
10
9
|
private config;
|
|
@@ -31,7 +30,7 @@ export declare class SysRuleTemplatesService {
|
|
|
31
30
|
/**
|
|
32
31
|
* Find rule templates by query
|
|
33
32
|
*/
|
|
34
|
-
find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<
|
|
33
|
+
find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<RuleTemplate>>;
|
|
35
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<SysRuleTemplatesService, never>;
|
|
36
35
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysRuleTemplatesService>;
|
|
37
36
|
}
|
|
@@ -15,7 +15,7 @@ export declare class SysStatisticsService {
|
|
|
15
15
|
/**
|
|
16
16
|
* Get accounts statistics
|
|
17
17
|
*/
|
|
18
|
-
getStreamsCount(field?: string): import("rxjs").Observable<EntityResponse<Distribution<
|
|
18
|
+
getStreamsCount(field?: string): import("rxjs").Observable<EntityResponse<Distribution<string>>>;
|
|
19
19
|
/**
|
|
20
20
|
* Get accounts statistics
|
|
21
21
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntitiesResponse } from '../model';
|
|
3
4
|
import { UsageRecord } from '../model';
|
|
5
|
+
import { EntityResponse } from '../model';
|
|
6
|
+
import { NetworkTopologyReport } from '../model';
|
|
7
|
+
import { NetworkTopologyRecord } from '../model';
|
|
4
8
|
import { SessionRecord } from '../model';
|
|
9
|
+
import { Distribution } from '../model';
|
|
5
10
|
import { FlowRecord } from '../model';
|
|
6
11
|
import { BoolTypeCode } from '../model';
|
|
7
|
-
import { NetworkTopologyRecord } from '../model';
|
|
8
|
-
import { EntitiesResponse } from '../model';
|
|
9
|
-
import { Distribution } from '../model';
|
|
10
|
-
import { EntityResponse } from '../model';
|
|
11
|
-
import { NetworkTopologyReport } from '../model';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class UsrNetworkService {
|
|
14
14
|
private config;
|
|
@@ -26,15 +26,15 @@ export declare class UsrNetworkService {
|
|
|
26
26
|
/**
|
|
27
27
|
* Find most common ports by query
|
|
28
28
|
*/
|
|
29
|
-
getMostCommonPorts(streamId?: string, deviceId?: string, from?: number, to?: number, limit?: number): import("rxjs").Observable<
|
|
29
|
+
getMostCommonPorts(streamId?: string, deviceId?: string, from?: number, to?: number, limit?: number): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
30
30
|
/**
|
|
31
31
|
* Find most common IPs by query
|
|
32
32
|
*/
|
|
33
|
-
getMostCommonIPs(streamId?: string, deviceId?: string, from?: number, to?: number, limit?: number): import("rxjs").Observable<
|
|
33
|
+
getMostCommonIPs(streamId?: string, deviceId?: string, from?: number, to?: number, limit?: number): import("rxjs").Observable<EntityResponse<Distribution<string>>>;
|
|
34
34
|
/**
|
|
35
35
|
* Find flow data records
|
|
36
36
|
*/
|
|
37
|
-
findTraffic(streamId?: string, deviceId?: string,
|
|
37
|
+
findTraffic(streamId?: string, deviceId?: string, from?: number, to?: number, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FlowRecord>>;
|
|
38
38
|
/**
|
|
39
39
|
* Get network topology report with KPIs and distributions for stream (without endpoint records)
|
|
40
40
|
* Use /topology-records endpoint for paginated endpoint records
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import {
|
|
3
|
+
import { Rule } from '../model';
|
|
4
|
+
import { ActionResponse } from '../model';
|
|
4
5
|
import { RuleWithSQL } from '../model';
|
|
5
6
|
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { SeverityTypeCode } from '../model';
|
|
8
|
+
import { TimeSeries } from '../model';
|
|
9
|
+
import { EntityResponse } from '../model';
|
|
6
10
|
import { RuleActivityStatusCode } from '../model';
|
|
7
11
|
import { EventTypeCode } from '../model';
|
|
8
|
-
import { TimeSeries } from '../model';
|
|
9
12
|
import { Distribution } from '../model';
|
|
10
|
-
import { Rule } from '../model';
|
|
11
|
-
import { ActionResponse } from '../model';
|
|
12
|
-
import { SeverityTypeCode } from '../model';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class UsrRulesService {
|
|
15
15
|
private config;
|
|
@@ -44,7 +44,7 @@ export declare class UsrRulesService {
|
|
|
44
44
|
/**
|
|
45
45
|
* Find rules by query
|
|
46
46
|
*/
|
|
47
|
-
find(streamId?: string, search?: string, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], includeSysRules?: boolean, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Rule>>;
|
|
47
|
+
find(streamId?: string, search?: string, from?: number, to?: number, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], includeSysRules?: boolean, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Rule>>;
|
|
48
48
|
/**
|
|
49
49
|
* Analyze rule configuration against historic data
|
|
50
50
|
*/
|
|
@@ -52,11 +52,11 @@ export declare class UsrRulesService {
|
|
|
52
52
|
/**
|
|
53
53
|
* Get rules distribution by severity filtered by query
|
|
54
54
|
*/
|
|
55
|
-
countBySeverity(streamId?: string, search?: string, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], includeSysRules?: boolean): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
55
|
+
countBySeverity(streamId?: string, search?: string, from?: number, to?: number, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], includeSysRules?: boolean): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
56
56
|
/**
|
|
57
57
|
* Get alerts count by rule filtered by query
|
|
58
58
|
*/
|
|
59
|
-
countAlertsByRule(streamId?: string, search?: string, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], includeSysRules?: boolean): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
59
|
+
countAlertsByRule(streamId?: string, search?: string, from?: number, to?: number, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], includeSysRules?: boolean): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
60
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsrRulesService, never>;
|
|
61
61
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsrRulesService>;
|
|
62
62
|
}
|