@shieldiot/ngx-pulseiot-lib 2.18.1237 → 2.18.1238
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/SysAuditLogService.mjs +2 -11
- package/esm2022/lib/services/SysConfigService.mjs +1 -1
- package/esm2022/lib/services/SysIdsRulesService.mjs +3 -3
- package/esm2022/lib/services/SysInsightsService.mjs +1 -1
- package/esm2022/lib/services/SysUsersService.mjs +1 -1
- package/esm2022/lib/services/UsrAlertsService.mjs +7 -10
- package/esm2022/lib/services/UsrDevicesService.mjs +48 -51
- package/esm2022/lib/services/UsrEventsService.mjs +2 -5
- package/esm2022/lib/services/UsrInsightsService.mjs +4 -23
- package/esm2022/lib/services/UsrIntegrationsService.mjs +5 -2
- package/esm2022/lib/services/UsrReportsInstanceService.mjs +2 -5
- package/esm2022/lib/services/UsrReportsService.mjs +2 -5
- package/esm2022/lib/services/UsrRulesService.mjs +2 -2
- package/esm2022/lib/services/UsrUserService.mjs +6 -2
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs +72 -108
- package/fesm2022/shieldiot-ngx-pulseiot-lib.mjs.map +1 -1
- package/lib/services/SysAuditLogService.d.ts +1 -1
- package/lib/services/SysConfigService.d.ts +3 -3
- package/lib/services/SysIdsRulesService.d.ts +4 -5
- package/lib/services/SysInsightsService.d.ts +2 -2
- package/lib/services/SysUsersService.d.ts +4 -5
- package/lib/services/UsrAlertsService.d.ts +15 -15
- package/lib/services/UsrDevicesService.d.ts +27 -27
- package/lib/services/UsrEventsService.d.ts +13 -14
- package/lib/services/UsrInsightsService.d.ts +4 -5
- package/lib/services/UsrIntegrationsService.d.ts +3 -3
- package/lib/services/UsrReportsInstanceService.d.ts +3 -2
- package/lib/services/UsrReportsService.d.ts +1 -1
- package/lib/services/UsrRulesService.d.ts +5 -5
- package/lib/services/UsrUserService.d.ts +4 -5
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export declare class SysAuditLogService {
|
|
|
21
21
|
/**
|
|
22
22
|
* Get histogram of audit log entries over time
|
|
23
23
|
*/
|
|
24
|
-
timeline(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string[], itemId?: string, itemName?: string, search?: string
|
|
24
|
+
timeline(from?: number, to?: number, accountId?: string, userId?: string, action?: string, itemType?: string[], itemId?: string, itemName?: string, search?: string): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<SysAuditLogService, never>;
|
|
26
26
|
static ɵprov: i0.ɵɵInjectableDeclaration<SysAuditLogService>;
|
|
27
27
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { ActionResponse } from '../model';
|
|
4
|
-
import { EntitiesResponse } from '../model';
|
|
5
3
|
import { ConfigParam } from '../model';
|
|
6
4
|
import { EntityResponse } from '../model';
|
|
7
5
|
import { ConfigParams } from '../model';
|
|
6
|
+
import { ActionResponse } from '../model';
|
|
7
|
+
import { EntitiesResponse } from '../model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SysConfigService {
|
|
10
10
|
private config;
|
|
@@ -22,7 +22,7 @@ export declare class SysConfigService {
|
|
|
22
22
|
/**
|
|
23
23
|
* Update group of configuration parameters in a batch
|
|
24
24
|
*/
|
|
25
|
-
updateGroup(body?: ConfigParams): import("rxjs").Observable<EntityResponse<
|
|
25
|
+
updateGroup(body?: ConfigParams): import("rxjs").Observable<EntityResponse<ConfigParams>>;
|
|
26
26
|
/**
|
|
27
27
|
* Delete configuration parameter
|
|
28
28
|
*/
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import {
|
|
3
|
+
import { EntitiesResponse } from '../model';
|
|
4
4
|
import { IdsRule } from '../model';
|
|
5
|
+
import { EntityResponse } from '../model';
|
|
5
6
|
import { ActionResponse } from '../model';
|
|
6
|
-
import { EntitiesResponse } from '../model';
|
|
7
|
-
import { Rule } from '../model';
|
|
8
7
|
import { SeverityTypeCode } from '../model';
|
|
9
8
|
import { RuleActivityStatusCode } from '../model';
|
|
10
9
|
import { EventTypeCode } from '../model';
|
|
@@ -18,11 +17,11 @@ export declare class SysIdsRulesService {
|
|
|
18
17
|
* region Endpoint REST handlers ---------------------------------------------------------------------------------------
|
|
19
18
|
* Create new rule configuration
|
|
20
19
|
*/
|
|
21
|
-
create(body?:
|
|
20
|
+
create(body?: IdsRule): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
22
21
|
/**
|
|
23
22
|
* Update existing rule configuration
|
|
24
23
|
*/
|
|
25
|
-
update(body?:
|
|
24
|
+
update(body?: IdsRule): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
26
25
|
/**
|
|
27
26
|
* Delete rule configuration
|
|
28
27
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
+
import { InsightQuery } from '../model';
|
|
4
|
+
import { EntityResponse } from '../model';
|
|
3
5
|
import { ActionResponse } from '../model';
|
|
4
6
|
import { EntitiesResponse } from '../model';
|
|
5
7
|
import { InsightSpec } from '../model';
|
|
6
|
-
import { InsightQuery } from '../model';
|
|
7
|
-
import { EntityResponse } from '../model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SysInsightsService {
|
|
10
10
|
private config;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { UserMemberships } from '../model';
|
|
4
|
-
import { ActionResponse } from '../model';
|
|
5
3
|
import { UserTypeCode } from '../model';
|
|
4
|
+
import { UserStatusCode } from '../model';
|
|
6
5
|
import { EntitiesResponse } from '../model';
|
|
7
6
|
import { User } from '../model';
|
|
8
7
|
import { EntityResponse } from '../model';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { UserMemberships } from '../model';
|
|
9
|
+
import { ActionResponse } from '../model';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
export declare class SysUsersService {
|
|
13
12
|
private config;
|
|
@@ -21,7 +20,7 @@ export declare class SysUsersService {
|
|
|
21
20
|
/**
|
|
22
21
|
* Create new user with all its accounts memberships
|
|
23
22
|
*/
|
|
24
|
-
createMembership(body?:
|
|
23
|
+
createMembership(body?: UserMemberships): import("rxjs").Observable<EntityResponse<UserMemberships>>;
|
|
25
24
|
/**
|
|
26
25
|
* Update existing user
|
|
27
26
|
*/
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { DeviceActionCode } from '../model';
|
|
7
|
-
import { SeverityTypeCode } from '../model';
|
|
3
|
+
import { StringKeyValue } from '../model';
|
|
4
|
+
import { EntityResponse } from '../model';
|
|
5
|
+
import { EventTypeCode } from '../model';
|
|
8
6
|
import { RuleTypeCode } from '../model';
|
|
9
|
-
import { EntitiesResponse } from '../model';
|
|
10
|
-
import { AlertWithDevice } from '../model';
|
|
11
7
|
import { MaliciousIpCard } from '../model';
|
|
12
|
-
import {
|
|
8
|
+
import { SeverityTypeCode } from '../model';
|
|
13
9
|
import { EventCategoryCode } from '../model';
|
|
14
10
|
import { EventStatusCode } from '../model';
|
|
11
|
+
import { AlertWithDevice } from '../model';
|
|
15
12
|
import { ActionResponse } from '../model';
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
13
|
+
import { MaliciousIPData } from '../model';
|
|
14
|
+
import { TimeSeries } from '../model';
|
|
15
|
+
import { Tuple } from '../model';
|
|
16
|
+
import { DeviceActionCode } from '../model';
|
|
18
17
|
import { Alert } from '../model';
|
|
18
|
+
import { EntitiesResponse } from '../model';
|
|
19
19
|
import { Distribution } from '../model';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
export declare class UsrAlertsService {
|
|
@@ -30,7 +30,7 @@ export declare class UsrAlertsService {
|
|
|
30
30
|
/**
|
|
31
31
|
* Find alerts by query
|
|
32
32
|
*/
|
|
33
|
-
find(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,
|
|
33
|
+
find(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<EntitiesResponse<Alert>>;
|
|
34
34
|
/**
|
|
35
35
|
* Export alerts by query to a file
|
|
36
36
|
*/
|
|
@@ -46,7 +46,7 @@ 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[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<
|
|
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<EntitiesResponse<AlertWithDevice>>;
|
|
50
50
|
/**
|
|
51
51
|
* Get top 10 alerts by their severity and time
|
|
52
52
|
*/
|
|
@@ -78,7 +78,7 @@ export declare class UsrAlertsService {
|
|
|
78
78
|
/**
|
|
79
79
|
* Get alerts histogram over the provided time period
|
|
80
80
|
*/
|
|
81
|
-
alertsTimeline(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<TimeSeries<Tuple<number, number>[]>>>;
|
|
81
|
+
alertsTimeline(streamId?: string, deviceId?: string, search?: string, from?: number, to?: number, type?: EventTypeCode[], severity?: SeverityTypeCode[], category?: EventCategoryCode[], status?: EventStatusCode[], ruleId?: string[], targetIp?: string, ruleType?: RuleTypeCode[], dimension?: string): import("rxjs").Observable<EntityResponse<TimeSeries<Tuple<number, number>[]>>>;
|
|
82
82
|
/**
|
|
83
83
|
* Get shieldex histogram over the provided time period
|
|
84
84
|
*/
|
|
@@ -94,7 +94,7 @@ export declare class UsrAlertsService {
|
|
|
94
94
|
/**
|
|
95
95
|
* Apply DNS lookup for each IP in the list
|
|
96
96
|
*/
|
|
97
|
-
getIpLookup(ip?: string): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
97
|
+
getIpLookup(ip?: string[]): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
98
98
|
/**
|
|
99
99
|
* Add tag to an alerts
|
|
100
100
|
*/
|
|
@@ -110,7 +110,7 @@ export declare class UsrAlertsService {
|
|
|
110
110
|
/**
|
|
111
111
|
* Find alerts by query
|
|
112
112
|
*/
|
|
113
|
-
findByInsightContext(streamId?: string,
|
|
113
|
+
findByInsightContext(streamId?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Alert>>;
|
|
114
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsrAlertsService, never>;
|
|
115
115
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsrAlertsService>;
|
|
116
116
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { DeviceReport } from '../model';
|
|
4
|
-
import { EntityResponse } from '../model';
|
|
5
|
-
import { DeviceTypeCode } from '../model';
|
|
6
|
-
import { TimeSeries } from '../model';
|
|
7
|
-
import { DevicesMap } from '../model';
|
|
8
|
-
import { EntitiesResponse } from '../model';
|
|
9
|
-
import { SeverityTypeCode } from '../model';
|
|
10
|
-
import { DeviceActionCode } from '../model';
|
|
11
|
-
import { TimeSeriesConsumption } from '../model';
|
|
12
|
-
import { MapBounds } from '../model';
|
|
13
3
|
import { Device } from '../model';
|
|
14
|
-
import { Entities } from '../model';
|
|
15
4
|
import { ActionResponse } from '../model';
|
|
5
|
+
import { DeviceActionCode } from '../model';
|
|
6
|
+
import { DeviceWithEvents } from '../model';
|
|
16
7
|
import { Distribution } from '../model';
|
|
8
|
+
import { Entities } from '../model';
|
|
9
|
+
import { DeviceTypeCode } from '../model';
|
|
10
|
+
import { DeviceStatusCode } from '../model';
|
|
11
|
+
import { SeverityTypeCode } from '../model';
|
|
17
12
|
import { NetworkMapTypeCode } from '../model';
|
|
13
|
+
import { TimeSeriesConsumption } from '../model';
|
|
14
|
+
import { EntityResponse } from '../model';
|
|
15
|
+
import { EntitiesResponse } from '../model';
|
|
18
16
|
import { NetworkMap } from '../model';
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
17
|
+
import { TimeSeries } from '../model';
|
|
18
|
+
import { DevicesMap } from '../model';
|
|
19
|
+
import { DeviceReport } from '../model';
|
|
20
|
+
import { MapBounds } from '../model';
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
22
22
|
export declare class UsrDevicesService {
|
|
23
23
|
private config;
|
|
@@ -51,15 +51,19 @@ export declare class UsrDevicesService {
|
|
|
51
51
|
/**
|
|
52
52
|
* Find devices by query
|
|
53
53
|
*/
|
|
54
|
-
find(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]
|
|
54
|
+
find(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<EntitiesResponse<Device>>;
|
|
55
55
|
/**
|
|
56
56
|
* Export devices by query to a file as a stream of CSV | JSON | XML | XLSX
|
|
57
57
|
*/
|
|
58
|
-
export(format?: string, streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], sort?: string, page?: number, size?: number
|
|
58
|
+
export(format?: string, streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Blob>>;
|
|
59
59
|
/**
|
|
60
60
|
* Upload device list from csv file
|
|
61
61
|
*/
|
|
62
|
-
upload(
|
|
62
|
+
upload(fileKey: File, streamId?: string, ip?: number[], iccid?: number[], imsi?: number[], msisdn?: number[], imei?: number, name?: number, operator?: number, label?: number[], tag?: number[], country?: number, city?: number, street?: number, postal?: number, lon?: number, lat?: number): import("rxjs").Observable<ActionResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Get list of all existing distinct tags on devices
|
|
65
|
+
*/
|
|
66
|
+
getTags(streamId?: string): import("rxjs").Observable<ActionResponse>;
|
|
63
67
|
/**
|
|
64
68
|
* Add tag to a device
|
|
65
69
|
*/
|
|
@@ -72,26 +76,22 @@ export declare class UsrDevicesService {
|
|
|
72
76
|
* Apply action on a device
|
|
73
77
|
*/
|
|
74
78
|
applyAction(id?: string, action?: DeviceActionCode): import("rxjs").Observable<ActionResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* Get all distinct tags on devices
|
|
77
|
-
*/
|
|
78
|
-
getTags(streamId?: string): import("rxjs").Observable<ActionResponse>;
|
|
79
79
|
/**
|
|
80
80
|
* Find top 10 devices by their score and filter criteria
|
|
81
81
|
*/
|
|
82
|
-
findTop(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]
|
|
82
|
+
findTop(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<EntitiesResponse<DeviceWithEvents>>;
|
|
83
83
|
/**
|
|
84
84
|
* Get device distribution by type filtered by query
|
|
85
85
|
*/
|
|
86
|
-
countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]
|
|
86
|
+
countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
87
87
|
/**
|
|
88
88
|
* Get device distribution by status filtered by query
|
|
89
89
|
*/
|
|
90
|
-
countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]
|
|
90
|
+
countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
91
91
|
/**
|
|
92
92
|
* Get device distribution by action filtered by query
|
|
93
93
|
*/
|
|
94
|
-
countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]
|
|
94
|
+
countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
95
95
|
/**
|
|
96
96
|
* Get network map of devices
|
|
97
97
|
*/
|
|
@@ -115,15 +115,15 @@ export declare class UsrDevicesService {
|
|
|
115
115
|
/**
|
|
116
116
|
* Find devices by insight id query
|
|
117
117
|
*/
|
|
118
|
-
findByInsightContext(streamId?: string,
|
|
118
|
+
findByInsightContext(streamId?: string, tag?: string[], from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Device>>;
|
|
119
119
|
/**
|
|
120
120
|
* Find devices by query
|
|
121
121
|
*/
|
|
122
|
-
findDevicesMap(streamId?: string, search?: string, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds
|
|
122
|
+
findDevicesMap(streamId?: string, search?: string, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, mapBounds?: MapBounds): import("rxjs").Observable<EntityResponse<DevicesMap>>;
|
|
123
123
|
/**
|
|
124
124
|
* Get device distribution by risk filtered by query
|
|
125
125
|
*/
|
|
126
|
-
countByRisk(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]
|
|
126
|
+
countByRisk(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], tag?: string[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[]): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
127
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsrDevicesService, never>;
|
|
128
128
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsrDevicesService>;
|
|
129
129
|
}
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { EventStatusCode } from '../model';
|
|
4
|
-
import { RuleTypeCode } from '../model';
|
|
5
|
-
import { Distribution } from '../model';
|
|
6
|
-
import { ActionResponse } from '../model';
|
|
7
|
-
import { SimpleEntity } from '../model';
|
|
8
|
-
import { Device } from '../model';
|
|
9
|
-
import { EntityResponse } from '../model';
|
|
10
3
|
import { Event } from '../model';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
4
|
+
import { EventWithDevice } from '../model';
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
13
6
|
import { TimeSeries } from '../model';
|
|
14
7
|
import { EventTypeCode } from '../model';
|
|
8
|
+
import { EventCategoryCode } from '../model';
|
|
9
|
+
import { Tuple } from '../model';
|
|
10
|
+
import { SimpleEntity } from '../model';
|
|
15
11
|
import { SeverityTypeCode } from '../model';
|
|
12
|
+
import { EventStatusCode } from '../model';
|
|
13
|
+
import { RuleTypeCode } from '../model';
|
|
14
|
+
import { Distribution } from '../model';
|
|
15
|
+
import { EntityResponse } from '../model';
|
|
16
16
|
import { EntitiesResponse } from '../model';
|
|
17
|
-
import { EventWithDevice } from '../model';
|
|
18
|
-
import { MaliciousIpCard } from '../model';
|
|
19
17
|
import { MaliciousIPData } from '../model';
|
|
18
|
+
import { MaliciousIpCard } from '../model';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class UsrEventsService {
|
|
22
21
|
private config;
|
|
@@ -42,7 +41,7 @@ export declare class UsrEventsService {
|
|
|
42
41
|
/**
|
|
43
42
|
* Get top 10 events by their severity and time
|
|
44
43
|
*/
|
|
45
|
-
findTop(streamId?: string, deviceId?: string, alertId?: 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): import("rxjs").Observable<
|
|
44
|
+
findTop(streamId?: string, deviceId?: string, alertId?: 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): import("rxjs").Observable<EntitiesResponse<EventWithDevice>>;
|
|
46
45
|
/**
|
|
47
46
|
* Get top 10 events by their severity and time
|
|
48
47
|
*/
|
|
@@ -90,11 +89,11 @@ export declare class UsrEventsService {
|
|
|
90
89
|
/**
|
|
91
90
|
* Apply DNS lookup for each IP in the list
|
|
92
91
|
*/
|
|
93
|
-
getIpLookup(ip?: string): import("rxjs").Observable<EntitiesResponse<SimpleEntity<Tuple<string, string>>>>;
|
|
92
|
+
getIpLookup(ip?: string[]): import("rxjs").Observable<EntitiesResponse<SimpleEntity<Tuple<string, string>>>>;
|
|
94
93
|
/**
|
|
95
94
|
* Find events by query
|
|
96
95
|
*/
|
|
97
|
-
findByInsightContext(streamId?: string,
|
|
96
|
+
findByInsightContext(streamId?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Event>>;
|
|
98
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsrEventsService, never>;
|
|
99
98
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsrEventsService>;
|
|
100
99
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import {
|
|
3
|
+
import { EntitiesResponse } from '../model';
|
|
4
|
+
import { Insight } from '../model';
|
|
4
5
|
import { SeverityTypeCode } from '../model';
|
|
5
6
|
import { EntityResponse } from '../model';
|
|
6
7
|
import { Distribution } from '../model';
|
|
7
|
-
import { EntitiesResponse } from '../model';
|
|
8
|
-
import { Insight } from '../model';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class UsrInsightsService {
|
|
11
10
|
private config;
|
|
@@ -19,7 +18,7 @@ export declare class UsrInsightsService {
|
|
|
19
18
|
/**
|
|
20
19
|
* Find insights by query
|
|
21
20
|
*/
|
|
22
|
-
find(streamId?: string, search?: string, from?: number, to?: number, sort?: string, page?: number, size?: number,
|
|
21
|
+
find(streamId?: string, search?: string, from?: number, to?: number, sort?: string, page?: number, size?: number, severity?: SeverityTypeCode[]): import("rxjs").Observable<EntitiesResponse<Insight>>;
|
|
23
22
|
/**
|
|
24
23
|
* Get a single insight by id
|
|
25
24
|
*/
|
|
@@ -27,7 +26,7 @@ export declare class UsrInsightsService {
|
|
|
27
26
|
/**
|
|
28
27
|
* Get alerts distribution by severity filtered by query
|
|
29
28
|
*/
|
|
30
|
-
countAlertsBySeverity(id?: string
|
|
29
|
+
countAlertsBySeverity(id?: string): import("rxjs").Observable<EntityResponse<Distribution<number>>>;
|
|
31
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<UsrInsightsService, never>;
|
|
32
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsrInsightsService>;
|
|
33
32
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { EntitiesResponse } from '../model';
|
|
4
|
-
import { IntegrationTemplate } from '../model';
|
|
5
3
|
import { Integration } from '../model';
|
|
6
4
|
import { EntityResponse } from '../model';
|
|
7
5
|
import { ActionResponse } from '../model';
|
|
6
|
+
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { IntegrationTemplate } from '../model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class UsrIntegrationsService {
|
|
10
10
|
private config;
|
|
@@ -43,7 +43,7 @@ export declare class UsrIntegrationsService {
|
|
|
43
43
|
/**
|
|
44
44
|
* Find available integration templates (read-only for users).
|
|
45
45
|
*/
|
|
46
|
-
findTemplates(search?: string, trigger?: number, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IntegrationTemplate>>;
|
|
46
|
+
findTemplates(search?: string, trigger?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IntegrationTemplate>>;
|
|
47
47
|
/**
|
|
48
48
|
* Get a single integration template by id (read-only for users).
|
|
49
49
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
-
import { ReportSourceCode, ReportTypeCode } from '../model';
|
|
4
3
|
import { EntitiesResponse } from '../model';
|
|
5
4
|
import { ReportInstance } from '../model';
|
|
6
5
|
import { EntityResponse } from '../model';
|
|
7
6
|
import { ActionResponse } from '../model';
|
|
7
|
+
import { ReportSourceCode } from '../model';
|
|
8
|
+
import { ReportTypeCode } from '../model';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class UsrReportsInstanceService {
|
|
10
11
|
private config;
|
|
@@ -26,7 +27,7 @@ export declare class UsrReportsInstanceService {
|
|
|
26
27
|
/**
|
|
27
28
|
* Find reports by query
|
|
28
29
|
*/
|
|
29
|
-
find(
|
|
30
|
+
find(search?: string, sort?: string, page?: number, size?: number, from?: number, to?: number, reportTriggerSource?: ReportSourceCode[], reportType?: ReportTypeCode[]): import("rxjs").Observable<EntitiesResponse<ReportInstance>>;
|
|
30
31
|
/**
|
|
31
32
|
* Download report file as stream of PDF
|
|
32
33
|
*/
|
|
@@ -31,7 +31,7 @@ export declare class UsrReportsService {
|
|
|
31
31
|
/**
|
|
32
32
|
* Find reports by query
|
|
33
33
|
*/
|
|
34
|
-
find(
|
|
34
|
+
find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Report>>;
|
|
35
35
|
/**
|
|
36
36
|
* Create PDF compliance report
|
|
37
37
|
*/
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
|
+
import { RuleWithSQL } from '../model';
|
|
4
|
+
import { SeverityTypeCode } from '../model';
|
|
3
5
|
import { RuleActivityStatusCode } from '../model';
|
|
4
6
|
import { TimeSeries } from '../model';
|
|
5
|
-
import { Distribution } from '../model';
|
|
6
7
|
import { Rule } from '../model';
|
|
8
|
+
import { EntityResponse } from '../model';
|
|
7
9
|
import { ActionResponse } from '../model';
|
|
8
|
-
import { RuleWithSQL } from '../model';
|
|
9
10
|
import { EntitiesResponse } from '../model';
|
|
10
11
|
import { EventTypeCode } from '../model';
|
|
11
|
-
import {
|
|
12
|
-
import { SeverityTypeCode } from '../model';
|
|
12
|
+
import { Distribution } from '../model';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class UsrRulesService {
|
|
15
15
|
private config;
|
|
@@ -38,7 +38,7 @@ export declare class UsrRulesService {
|
|
|
38
38
|
*/
|
|
39
39
|
getWithSQL(id?: string): import("rxjs").Observable<EntityResponse<RuleWithSQL>>;
|
|
40
40
|
/**
|
|
41
|
-
* Get all active rules
|
|
41
|
+
* Get a all active rules fro stream id with computed SQL statement
|
|
42
42
|
*/
|
|
43
43
|
getWithSQLByStreamId(streamId?: string): import("rxjs").Observable<EntitiesResponse<RuleWithSQL>>;
|
|
44
44
|
/**
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { RestUtils } from '../../rest-utils';
|
|
2
2
|
import { AppConfig } from '../../config';
|
|
3
3
|
import { LoginParams } from '../model';
|
|
4
|
-
import { EntityResponse } from '../model';
|
|
5
|
-
import { User } from '../model';
|
|
6
4
|
import { AccountDTO } from '../model';
|
|
7
|
-
import { Image } from '../model';
|
|
8
5
|
import { EntitiesResponse } from '../model';
|
|
9
6
|
import { Feature } from '../model';
|
|
10
7
|
import { Stream } from '../model';
|
|
11
8
|
import { UserMemberships } from '../model';
|
|
12
9
|
import { ActionResponse } from '../model';
|
|
13
|
-
import { FeatureCode } from '../model';
|
|
14
10
|
import { ConfigParam } from '../model';
|
|
11
|
+
import { EntityResponse } from '../model';
|
|
12
|
+
import { User } from '../model';
|
|
13
|
+
import { Image } from '../model';
|
|
15
14
|
import * as i0 from "@angular/core";
|
|
16
15
|
export declare class UsrUserService {
|
|
17
16
|
private config;
|
|
@@ -75,7 +74,7 @@ export declare class UsrUserService {
|
|
|
75
74
|
/**
|
|
76
75
|
* Ask for premium request
|
|
77
76
|
*/
|
|
78
|
-
premiumRequest(featureCode?:
|
|
77
|
+
premiumRequest(featureCode?: string): import("rxjs").Observable<ActionResponse>;
|
|
79
78
|
/**
|
|
80
79
|
* Get system configuration parameters
|
|
81
80
|
*/
|