@shieldiot/pulse-lib 1.0.379 → 1.0.380
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/cjs/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/cjs/lib/common/DeviceNode.d.ts +1 -1
- package/dist/cjs/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/cjs/lib/common/DevicesMap.d.ts +1 -1
- package/dist/cjs/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeriesOfFloat.d.ts +1 -1
- package/dist/cjs/lib/common/TokenData.d.ts +1 -1
- package/dist/cjs/lib/entities/Account.d.ts +1 -1
- package/dist/cjs/lib/entities/Account.js.map +1 -1
- package/dist/cjs/lib/entities/AccountDTO.d.ts +2 -2
- package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.d.ts +3 -3
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/entities/Alert.d.ts +5 -5
- package/dist/cjs/lib/entities/Alert.js.map +1 -1
- package/dist/cjs/lib/entities/AlertWithDevice.d.ts +3 -3
- package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/ConfigParams.d.ts +1 -1
- package/dist/cjs/lib/entities/ConfigParams.js.map +1 -1
- package/dist/cjs/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +6 -6
- package/dist/cjs/lib/entities/Event.js.map +1 -1
- package/dist/cjs/lib/entities/EventOccurrence.d.ts +1 -1
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +5 -5
- package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/Feature.d.ts +1 -1
- package/dist/cjs/lib/entities/Feature.js.map +1 -1
- package/dist/cjs/lib/entities/IdsRule.d.ts +2 -2
- package/dist/cjs/lib/entities/IdsRule.js.map +1 -1
- package/dist/cjs/lib/entities/Insight.d.ts +2 -2
- package/dist/cjs/lib/entities/Insight.js.map +1 -1
- package/dist/cjs/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/cjs/lib/entities/InsightQuery.js.map +1 -1
- package/dist/cjs/lib/entities/Integration.d.ts +1 -1
- package/dist/cjs/lib/entities/Integration.js.map +1 -1
- package/dist/cjs/lib/entities/Radius.d.ts +1 -1
- package/dist/cjs/lib/entities/Radius.js.map +1 -1
- package/dist/cjs/lib/entities/Report.d.ts +1 -1
- package/dist/cjs/lib/entities/Report.js.map +1 -1
- package/dist/cjs/lib/entities/ReportInstance.d.ts +1 -1
- package/dist/cjs/lib/entities/ReportInstance.js.map +1 -1
- package/dist/cjs/lib/entities/Rule.d.ts +1 -1
- package/dist/cjs/lib/entities/Rule.js.map +1 -1
- package/dist/cjs/lib/entities/RuleTemplate.d.ts +2 -2
- package/dist/cjs/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/cjs/lib/entities/Stream.d.ts +1 -1
- package/dist/cjs/lib/entities/Stream.js.map +1 -1
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/cjs/lib/entities/StreamConfig.d.ts +3 -3
- package/dist/cjs/lib/entities/User.d.ts +1 -1
- package/dist/cjs/lib/entities/User.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/cjs/lib/services/sysKeysService.d.ts +1 -1
- package/dist/cjs/lib/services/sysUsersService.d.ts +2 -2
- package/dist/cjs/lib/services/usrAlertsService.d.ts +15 -15
- package/dist/cjs/lib/services/usrAlertsService.js +21 -21
- package/dist/cjs/lib/services/usrDevicesService.d.ts +16 -16
- package/dist/cjs/lib/services/usrDevicesService.js +18 -18
- package/dist/cjs/lib/services/usrEventsService.d.ts +6 -6
- package/dist/cjs/lib/services/usrInsightsService.d.ts +1 -1
- package/dist/cjs/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/cjs/lib/services/usrRulesService.d.ts +3 -3
- package/dist/cjs/lib/services/usrUserService.d.ts +5 -5
- package/dist/esm/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/esm/lib/common/DeviceNode.d.ts +1 -1
- package/dist/esm/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/esm/lib/common/DevicesMap.d.ts +1 -1
- package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeriesOfFloat.d.ts +1 -1
- package/dist/esm/lib/common/TokenData.d.ts +1 -1
- package/dist/esm/lib/entities/Account.d.ts +1 -1
- package/dist/esm/lib/entities/Account.js.map +1 -1
- package/dist/esm/lib/entities/AccountDTO.d.ts +2 -2
- package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.d.ts +3 -3
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/entities/Alert.d.ts +5 -5
- package/dist/esm/lib/entities/Alert.js.map +1 -1
- package/dist/esm/lib/entities/AlertWithDevice.d.ts +3 -3
- package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/ConfigParams.d.ts +1 -1
- package/dist/esm/lib/entities/ConfigParams.js.map +1 -1
- package/dist/esm/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +6 -6
- package/dist/esm/lib/entities/Event.js.map +1 -1
- package/dist/esm/lib/entities/EventOccurrence.d.ts +1 -1
- package/dist/esm/lib/entities/EventWithDevice.d.ts +5 -5
- package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/Feature.d.ts +1 -1
- package/dist/esm/lib/entities/Feature.js.map +1 -1
- package/dist/esm/lib/entities/IdsRule.d.ts +2 -2
- package/dist/esm/lib/entities/IdsRule.js.map +1 -1
- package/dist/esm/lib/entities/Insight.d.ts +2 -2
- package/dist/esm/lib/entities/Insight.js.map +1 -1
- package/dist/esm/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/esm/lib/entities/InsightQuery.js.map +1 -1
- package/dist/esm/lib/entities/Integration.d.ts +1 -1
- package/dist/esm/lib/entities/Integration.js.map +1 -1
- package/dist/esm/lib/entities/Radius.d.ts +1 -1
- package/dist/esm/lib/entities/Radius.js.map +1 -1
- package/dist/esm/lib/entities/Report.d.ts +1 -1
- package/dist/esm/lib/entities/Report.js.map +1 -1
- package/dist/esm/lib/entities/ReportInstance.d.ts +1 -1
- package/dist/esm/lib/entities/ReportInstance.js.map +1 -1
- package/dist/esm/lib/entities/Rule.d.ts +1 -1
- package/dist/esm/lib/entities/Rule.js.map +1 -1
- package/dist/esm/lib/entities/RuleTemplate.d.ts +2 -2
- package/dist/esm/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/esm/lib/entities/Stream.d.ts +1 -1
- package/dist/esm/lib/entities/Stream.js.map +1 -1
- package/dist/esm/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/esm/lib/entities/StreamConfig.d.ts +3 -3
- package/dist/esm/lib/entities/User.d.ts +1 -1
- package/dist/esm/lib/entities/User.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/esm/lib/services/sysKeysService.d.ts +1 -1
- package/dist/esm/lib/services/sysUsersService.d.ts +2 -2
- package/dist/esm/lib/services/usrAlertsService.d.ts +15 -15
- package/dist/esm/lib/services/usrAlertsService.js +21 -21
- package/dist/esm/lib/services/usrDevicesService.d.ts +16 -16
- package/dist/esm/lib/services/usrDevicesService.js +18 -18
- package/dist/esm/lib/services/usrEventsService.d.ts +6 -6
- package/dist/esm/lib/services/usrInsightsService.d.ts +1 -1
- package/dist/esm/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/esm/lib/services/usrRulesService.d.ts +3 -3
- package/dist/esm/lib/services/usrUserService.d.ts +5 -5
- package/dist/types/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/types/lib/common/DeviceNode.d.ts +1 -1
- package/dist/types/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/types/lib/common/DevicesMap.d.ts +1 -1
- package/dist/types/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/types/lib/common/TimeSeriesOfFloat.d.ts +1 -1
- package/dist/types/lib/common/TokenData.d.ts +1 -1
- package/dist/types/lib/entities/Account.d.ts +1 -1
- package/dist/types/lib/entities/AccountDTO.d.ts +2 -2
- package/dist/types/lib/entities/AccountReportDTO.d.ts +3 -3
- package/dist/types/lib/entities/Alert.d.ts +5 -5
- package/dist/types/lib/entities/AlertWithDevice.d.ts +3 -3
- package/dist/types/lib/entities/ConfigParams.d.ts +1 -1
- package/dist/types/lib/entities/DataIngestion.d.ts +1 -1
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/types/lib/entities/Event.d.ts +6 -6
- package/dist/types/lib/entities/EventOccurrence.d.ts +1 -1
- package/dist/types/lib/entities/EventWithDevice.d.ts +5 -5
- package/dist/types/lib/entities/Feature.d.ts +1 -1
- package/dist/types/lib/entities/IdsRule.d.ts +2 -2
- package/dist/types/lib/entities/Insight.d.ts +2 -2
- package/dist/types/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/types/lib/entities/Integration.d.ts +1 -1
- package/dist/types/lib/entities/Radius.d.ts +1 -1
- package/dist/types/lib/entities/Report.d.ts +1 -1
- package/dist/types/lib/entities/ReportInstance.d.ts +1 -1
- package/dist/types/lib/entities/Rule.d.ts +1 -1
- package/dist/types/lib/entities/RuleTemplate.d.ts +2 -2
- package/dist/types/lib/entities/Stream.d.ts +1 -1
- package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/types/lib/entities/StreamConfig.d.ts +3 -3
- package/dist/types/lib/entities/User.d.ts +1 -1
- package/dist/types/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/types/lib/services/sysKeysService.d.ts +1 -1
- package/dist/types/lib/services/sysUsersService.d.ts +2 -2
- package/dist/types/lib/services/usrAlertsService.d.ts +15 -15
- package/dist/types/lib/services/usrDevicesService.d.ts +16 -16
- package/dist/types/lib/services/usrEventsService.d.ts +6 -6
- package/dist/types/lib/services/usrInsightsService.d.ts +1 -1
- package/dist/types/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/types/lib/services/usrRulesService.d.ts +3 -3
- package/dist/types/lib/services/usrUserService.d.ts +5 -5
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
3
|
-
import { TimeSeriesOf2D } from '../common';
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
4
3
|
import { MaliciousIPCard } from '../common';
|
|
5
|
-
import { Alert } from '../entities';
|
|
6
|
-
import { SeverityTypeCode } from '../enums';
|
|
7
|
-
import { MaliciousIPData } from '../common';
|
|
8
|
-
import { TimeSeriesOfFloat } from '../common';
|
|
9
4
|
import { RuleTypeCode } from '../enums';
|
|
5
|
+
import { MaliciousIPData } from '../common';
|
|
10
6
|
import { IntDistribution } from '../entities';
|
|
7
|
+
import { TimeSeriesOf2D } from '../common';
|
|
8
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
9
|
+
import { DeviceActionCode } from '../enums';
|
|
11
10
|
import { StringKeyValue } from '../common';
|
|
12
|
-
import {
|
|
11
|
+
import { Alert } from '../entities';
|
|
12
|
+
import { SeverityTypeCode } from '../enums';
|
|
13
13
|
import { EventCategoryCode } from '../enums';
|
|
14
|
+
import { EventStatusCode } from '../enums';
|
|
14
15
|
import { AlertWithDevice } from '../entities';
|
|
15
|
-
import { DeviceActionCode } from '../enums';
|
|
16
16
|
export declare class UsrAlertsService {
|
|
17
17
|
private apiUrl;
|
|
18
18
|
private rest;
|
|
@@ -25,7 +25,7 @@ export declare class UsrAlertsService {
|
|
|
25
25
|
/**
|
|
26
26
|
* Find list of alerts by query
|
|
27
27
|
*/
|
|
28
|
-
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, withoutOccurrences?: boolean,
|
|
28
|
+
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, withoutOccurrences?: boolean, ids?: string[]): import("rxjs").Observable<EntitiesResponse<Alert>>;
|
|
29
29
|
/**
|
|
30
30
|
* Export list of alerts by query to a file with the specified format
|
|
31
31
|
*/
|
|
@@ -33,7 +33,7 @@ export declare class UsrAlertsService {
|
|
|
33
33
|
/**
|
|
34
34
|
* Find top 10 alerts by their severity filter by query
|
|
35
35
|
*/
|
|
36
|
-
getTop(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, withoutOccurrences?: boolean,
|
|
36
|
+
getTop(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, withoutOccurrences?: boolean, ids?: string[]): import("rxjs").Observable<EntitiesResponse<AlertWithDevice>>;
|
|
37
37
|
/**
|
|
38
38
|
* Get top malicious IPs
|
|
39
39
|
*/
|
|
@@ -41,23 +41,23 @@ export declare class UsrAlertsService {
|
|
|
41
41
|
/**
|
|
42
42
|
* Find alerts distribution by type filtered by query
|
|
43
43
|
*/
|
|
44
|
-
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean,
|
|
44
|
+
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
45
45
|
/**
|
|
46
46
|
* Find alerts distribution by status filtered by query
|
|
47
47
|
*/
|
|
48
|
-
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean,
|
|
48
|
+
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
49
49
|
/**
|
|
50
50
|
* Find alerts distribution by severity filtered by query
|
|
51
51
|
*/
|
|
52
|
-
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean,
|
|
52
|
+
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
53
53
|
/**
|
|
54
54
|
* Find alerts distribution by rule filtered by query
|
|
55
55
|
*/
|
|
56
|
-
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean,
|
|
56
|
+
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
57
57
|
/**
|
|
58
58
|
* Find alerts distribution by category filtered by query
|
|
59
59
|
*/
|
|
60
|
-
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean,
|
|
60
|
+
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[], sort?: string, page?: number, size?: number, withoutOccurrences?: boolean, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
61
61
|
/**
|
|
62
62
|
* Add tag to an alert
|
|
63
63
|
*/
|
|
@@ -22,7 +22,7 @@ class UsrAlertsService {
|
|
|
22
22
|
/**
|
|
23
23
|
* Find list of alerts by query
|
|
24
24
|
*/
|
|
25
|
-
find(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
25
|
+
find(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
26
26
|
const params = [];
|
|
27
27
|
if (streamId != null) {
|
|
28
28
|
params.push(`streamId=${streamId}`);
|
|
@@ -72,8 +72,8 @@ class UsrAlertsService {
|
|
|
72
72
|
if (withoutOccurrences != null) {
|
|
73
73
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
76
|
-
params.push(`
|
|
75
|
+
if (ids != null) {
|
|
76
|
+
params.push(`ids=${ids}`);
|
|
77
77
|
}
|
|
78
78
|
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
79
79
|
}
|
|
@@ -132,7 +132,7 @@ class UsrAlertsService {
|
|
|
132
132
|
/**
|
|
133
133
|
* Find top 10 alerts by their severity filter by query
|
|
134
134
|
*/
|
|
135
|
-
getTop(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
135
|
+
getTop(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
136
136
|
const params = [];
|
|
137
137
|
if (streamId != null) {
|
|
138
138
|
params.push(`streamId=${streamId}`);
|
|
@@ -182,8 +182,8 @@ class UsrAlertsService {
|
|
|
182
182
|
if (withoutOccurrences != null) {
|
|
183
183
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
184
184
|
}
|
|
185
|
-
if (
|
|
186
|
-
params.push(`
|
|
185
|
+
if (ids != null) {
|
|
186
|
+
params.push(`ids=${ids}`);
|
|
187
187
|
}
|
|
188
188
|
return this.rest.get(`${this.baseUrl}/top`, ...params);
|
|
189
189
|
}
|
|
@@ -209,7 +209,7 @@ class UsrAlertsService {
|
|
|
209
209
|
/**
|
|
210
210
|
* Find alerts distribution by type filtered by query
|
|
211
211
|
*/
|
|
212
|
-
countByType(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
212
|
+
countByType(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
213
213
|
const params = [];
|
|
214
214
|
if (streamId != null) {
|
|
215
215
|
params.push(`streamId=${streamId}`);
|
|
@@ -259,15 +259,15 @@ class UsrAlertsService {
|
|
|
259
259
|
if (withoutOccurrences != null) {
|
|
260
260
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
261
261
|
}
|
|
262
|
-
if (
|
|
263
|
-
params.push(`
|
|
262
|
+
if (ids != null) {
|
|
263
|
+
params.push(`ids=${ids}`);
|
|
264
264
|
}
|
|
265
265
|
return this.rest.get(`${this.baseUrl}/count/by-type`, ...params);
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* Find alerts distribution by status filtered by query
|
|
269
269
|
*/
|
|
270
|
-
countByStatus(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
270
|
+
countByStatus(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
271
271
|
const params = [];
|
|
272
272
|
if (streamId != null) {
|
|
273
273
|
params.push(`streamId=${streamId}`);
|
|
@@ -317,15 +317,15 @@ class UsrAlertsService {
|
|
|
317
317
|
if (withoutOccurrences != null) {
|
|
318
318
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
319
319
|
}
|
|
320
|
-
if (
|
|
321
|
-
params.push(`
|
|
320
|
+
if (ids != null) {
|
|
321
|
+
params.push(`ids=${ids}`);
|
|
322
322
|
}
|
|
323
323
|
return this.rest.get(`${this.baseUrl}/count/by-status`, ...params);
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
326
|
* Find alerts distribution by severity filtered by query
|
|
327
327
|
*/
|
|
328
|
-
countBySeverity(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
328
|
+
countBySeverity(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
329
329
|
const params = [];
|
|
330
330
|
if (streamId != null) {
|
|
331
331
|
params.push(`streamId=${streamId}`);
|
|
@@ -375,15 +375,15 @@ class UsrAlertsService {
|
|
|
375
375
|
if (withoutOccurrences != null) {
|
|
376
376
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
377
377
|
}
|
|
378
|
-
if (
|
|
379
|
-
params.push(`
|
|
378
|
+
if (ids != null) {
|
|
379
|
+
params.push(`ids=${ids}`);
|
|
380
380
|
}
|
|
381
381
|
return this.rest.get(`${this.baseUrl}/count/by-severity`, ...params);
|
|
382
382
|
}
|
|
383
383
|
/**
|
|
384
384
|
* Find alerts distribution by rule filtered by query
|
|
385
385
|
*/
|
|
386
|
-
countByRule(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
386
|
+
countByRule(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
387
387
|
const params = [];
|
|
388
388
|
if (streamId != null) {
|
|
389
389
|
params.push(`streamId=${streamId}`);
|
|
@@ -433,15 +433,15 @@ class UsrAlertsService {
|
|
|
433
433
|
if (withoutOccurrences != null) {
|
|
434
434
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
435
435
|
}
|
|
436
|
-
if (
|
|
437
|
-
params.push(`
|
|
436
|
+
if (ids != null) {
|
|
437
|
+
params.push(`ids=${ids}`);
|
|
438
438
|
}
|
|
439
439
|
return this.rest.get(`${this.baseUrl}/count/by-rule`, ...params);
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
442
442
|
* Find alerts distribution by category filtered by query
|
|
443
443
|
*/
|
|
444
|
-
countByCategory(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
444
|
+
countByCategory(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
445
445
|
const params = [];
|
|
446
446
|
if (streamId != null) {
|
|
447
447
|
params.push(`streamId=${streamId}`);
|
|
@@ -491,8 +491,8 @@ class UsrAlertsService {
|
|
|
491
491
|
if (withoutOccurrences != null) {
|
|
492
492
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
493
493
|
}
|
|
494
|
-
if (
|
|
495
|
-
params.push(`
|
|
494
|
+
if (ids != null) {
|
|
495
|
+
params.push(`ids=${ids}`);
|
|
496
496
|
}
|
|
497
497
|
return this.rest.get(`${this.baseUrl}/count/by-category`, ...params);
|
|
498
498
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { MapBounds } from '../common';
|
|
3
|
-
import { DevicesMap } from '../common';
|
|
4
|
-
import { IntDistribution } from '../entities';
|
|
5
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
6
|
-
import { NetworkMapTypeCode } from '../enums';
|
|
7
|
-
import { DeviceReport } from '../entities';
|
|
8
|
-
import { SeverityTypeCode } from '../enums';
|
|
9
2
|
import { DeviceWithEvents } from '../entities';
|
|
10
|
-
import { DeviceStatusCode } from '../enums';
|
|
11
3
|
import { DeviceActionCode } from '../enums';
|
|
12
4
|
import { BulkDevices } from '../entities';
|
|
13
|
-
import {
|
|
5
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
6
|
+
import { NetworkMapTypeCode } from '../enums';
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
|
+
import { IntDistribution } from '../entities';
|
|
9
|
+
import { NetworkMap } from '../common';
|
|
10
|
+
import { DeviceReport } from '../entities';
|
|
14
11
|
import { TimeSeriesOfDataConsumption } from '../common';
|
|
15
12
|
import { Device } from '../entities';
|
|
16
|
-
import {
|
|
13
|
+
import { DeviceStatusCode } from '../enums';
|
|
14
|
+
import { MapBounds } from '../common';
|
|
15
|
+
import { DevicesMap } from '../common';
|
|
16
|
+
import { DeviceTypeCode } from '../enums';
|
|
17
17
|
export declare class UsrDevicesService {
|
|
18
18
|
private apiUrl;
|
|
19
19
|
private rest;
|
|
@@ -46,7 +46,7 @@ export declare class UsrDevicesService {
|
|
|
46
46
|
/**
|
|
47
47
|
* Find list of devices by query
|
|
48
48
|
*/
|
|
49
|
-
find(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number,
|
|
49
|
+
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[]): import("rxjs").Observable<EntitiesResponse<Device>>;
|
|
50
50
|
/**
|
|
51
51
|
* Export list of devices by query to a file with the specified format
|
|
52
52
|
*/
|
|
@@ -54,23 +54,23 @@ export declare class UsrDevicesService {
|
|
|
54
54
|
/**
|
|
55
55
|
* Find top 10 devices by their score filter by query
|
|
56
56
|
*/
|
|
57
|
-
findTop(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number,
|
|
57
|
+
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[]): import("rxjs").Observable<EntitiesResponse<DeviceWithEvents>>;
|
|
58
58
|
/**
|
|
59
59
|
* Find device distribution by type filtered by query
|
|
60
60
|
*/
|
|
61
|
-
countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number,
|
|
61
|
+
countByType(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
62
62
|
/**
|
|
63
63
|
* Find device distribution by status filtered by query
|
|
64
64
|
*/
|
|
65
|
-
countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number,
|
|
65
|
+
countByStatus(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
66
66
|
/**
|
|
67
67
|
* Find device distribution by action filtered by query
|
|
68
68
|
*/
|
|
69
|
-
countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number,
|
|
69
|
+
countByAction(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
70
70
|
/**
|
|
71
71
|
* Find device distribution by risk filtered by query
|
|
72
72
|
*/
|
|
73
|
-
countByRisk(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number,
|
|
73
|
+
countByRisk(streamId?: string, search?: string, from?: number, to?: number, type?: DeviceTypeCode[], status?: DeviceStatusCode[], risk?: SeverityTypeCode[], scoreRange?: number[], sort?: string, page?: number, size?: number, ids?: string[]): import("rxjs").Observable<EntityResponse<IntDistribution>>;
|
|
74
74
|
/**
|
|
75
75
|
* Add tag to a device
|
|
76
76
|
*/
|
|
@@ -52,7 +52,7 @@ class UsrDevicesService {
|
|
|
52
52
|
/**
|
|
53
53
|
* Find list of devices by query
|
|
54
54
|
*/
|
|
55
|
-
find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
55
|
+
find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
56
56
|
const params = [];
|
|
57
57
|
if (streamId != null) {
|
|
58
58
|
params.push(`streamId=${streamId}`);
|
|
@@ -87,8 +87,8 @@ class UsrDevicesService {
|
|
|
87
87
|
if (size != null) {
|
|
88
88
|
params.push(`size=${size}`);
|
|
89
89
|
}
|
|
90
|
-
if (
|
|
91
|
-
params.push(`
|
|
90
|
+
if (ids != null) {
|
|
91
|
+
params.push(`ids=${ids}`);
|
|
92
92
|
}
|
|
93
93
|
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
94
94
|
}
|
|
@@ -132,7 +132,7 @@ class UsrDevicesService {
|
|
|
132
132
|
/**
|
|
133
133
|
* Find top 10 devices by their score filter by query
|
|
134
134
|
*/
|
|
135
|
-
findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
135
|
+
findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
136
136
|
const params = [];
|
|
137
137
|
if (streamId != null) {
|
|
138
138
|
params.push(`streamId=${streamId}`);
|
|
@@ -167,15 +167,15 @@ class UsrDevicesService {
|
|
|
167
167
|
if (size != null) {
|
|
168
168
|
params.push(`size=${size}`);
|
|
169
169
|
}
|
|
170
|
-
if (
|
|
171
|
-
params.push(`
|
|
170
|
+
if (ids != null) {
|
|
171
|
+
params.push(`ids=${ids}`);
|
|
172
172
|
}
|
|
173
173
|
return this.rest.get(`${this.baseUrl}/top`, ...params);
|
|
174
174
|
}
|
|
175
175
|
/**
|
|
176
176
|
* Find device distribution by type filtered by query
|
|
177
177
|
*/
|
|
178
|
-
countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
178
|
+
countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
179
179
|
const params = [];
|
|
180
180
|
if (streamId != null) {
|
|
181
181
|
params.push(`streamId=${streamId}`);
|
|
@@ -210,15 +210,15 @@ class UsrDevicesService {
|
|
|
210
210
|
if (size != null) {
|
|
211
211
|
params.push(`size=${size}`);
|
|
212
212
|
}
|
|
213
|
-
if (
|
|
214
|
-
params.push(`
|
|
213
|
+
if (ids != null) {
|
|
214
|
+
params.push(`ids=${ids}`);
|
|
215
215
|
}
|
|
216
216
|
return this.rest.get(`${this.baseUrl}/count/by-type`, ...params);
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
219
219
|
* Find device distribution by status filtered by query
|
|
220
220
|
*/
|
|
221
|
-
countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
221
|
+
countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
222
222
|
const params = [];
|
|
223
223
|
if (streamId != null) {
|
|
224
224
|
params.push(`streamId=${streamId}`);
|
|
@@ -253,15 +253,15 @@ class UsrDevicesService {
|
|
|
253
253
|
if (size != null) {
|
|
254
254
|
params.push(`size=${size}`);
|
|
255
255
|
}
|
|
256
|
-
if (
|
|
257
|
-
params.push(`
|
|
256
|
+
if (ids != null) {
|
|
257
|
+
params.push(`ids=${ids}`);
|
|
258
258
|
}
|
|
259
259
|
return this.rest.get(`${this.baseUrl}/count/by-status`, ...params);
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
262
|
* Find device distribution by action filtered by query
|
|
263
263
|
*/
|
|
264
|
-
countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
264
|
+
countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
265
265
|
const params = [];
|
|
266
266
|
if (streamId != null) {
|
|
267
267
|
params.push(`streamId=${streamId}`);
|
|
@@ -296,15 +296,15 @@ class UsrDevicesService {
|
|
|
296
296
|
if (size != null) {
|
|
297
297
|
params.push(`size=${size}`);
|
|
298
298
|
}
|
|
299
|
-
if (
|
|
300
|
-
params.push(`
|
|
299
|
+
if (ids != null) {
|
|
300
|
+
params.push(`ids=${ids}`);
|
|
301
301
|
}
|
|
302
302
|
return this.rest.get(`${this.baseUrl}/count/by-action`, ...params);
|
|
303
303
|
}
|
|
304
304
|
/**
|
|
305
305
|
* Find device distribution by risk filtered by query
|
|
306
306
|
*/
|
|
307
|
-
countByRisk(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
307
|
+
countByRisk(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
308
308
|
const params = [];
|
|
309
309
|
if (streamId != null) {
|
|
310
310
|
params.push(`streamId=${streamId}`);
|
|
@@ -339,8 +339,8 @@ class UsrDevicesService {
|
|
|
339
339
|
if (size != null) {
|
|
340
340
|
params.push(`size=${size}`);
|
|
341
341
|
}
|
|
342
|
-
if (
|
|
343
|
-
params.push(`
|
|
342
|
+
if (ids != null) {
|
|
343
|
+
params.push(`ids=${ids}`);
|
|
344
344
|
}
|
|
345
345
|
return this.rest.get(`${this.baseUrl}/count/by-risk`, ...params);
|
|
346
346
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
2
|
+
import { TimeSeriesOf2D } from '../common';
|
|
3
|
+
import { StringKeyValue } from '../common';
|
|
4
|
+
import { EventTypeCode } from '../enums';
|
|
3
5
|
import { SeverityTypeCode } from '../enums';
|
|
4
6
|
import { EventStatusCode } from '../enums';
|
|
7
|
+
import { RuleTypeCode } from '../enums';
|
|
5
8
|
import { MaliciousIPData } from '../common';
|
|
6
9
|
import { IntDistribution } from '../entities';
|
|
7
|
-
import { TimeSeriesOf2D } from '../common';
|
|
8
|
-
import { MaliciousIPCard } from '../common';
|
|
9
|
-
import { StringKeyValue } from '../common';
|
|
10
10
|
import { Event } from '../entities';
|
|
11
|
-
import { EventTypeCode } from '../enums';
|
|
12
11
|
import { EventCategoryCode } from '../enums';
|
|
13
|
-
import { RuleTypeCode } from '../enums';
|
|
14
12
|
import { EventWithDevice } from '../entities';
|
|
13
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
14
|
+
import { MaliciousIPCard } from '../common';
|
|
15
15
|
export declare class UsrEventsService {
|
|
16
16
|
private apiUrl;
|
|
17
17
|
private rest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { Insight } from '../entities';
|
|
3
2
|
import { SeverityTypeCode } from '../enums';
|
|
3
|
+
import { Insight } from '../entities';
|
|
4
4
|
export declare class UsrInsightsService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { ReportInstance } from '../entities';
|
|
3
2
|
import { ReportSourceCode } from '../enums';
|
|
3
|
+
import { ReportInstance } from '../entities';
|
|
4
4
|
export declare class UsrReportsInstanceService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { IntDistribution } from '../entities';
|
|
3
|
+
import { Distribution } from '../entities';
|
|
4
|
+
import { Rule } from '../entities';
|
|
2
5
|
import { SeverityTypeCode } from '../enums';
|
|
3
6
|
import { RuleActivityStatusCode } from '../enums';
|
|
4
7
|
import { EventTypeCode } from '../enums';
|
|
5
8
|
import { TimeSeriesOfFloat } from '../common';
|
|
6
|
-
import { IntDistribution } from '../entities';
|
|
7
|
-
import { Distribution } from '../entities';
|
|
8
|
-
import { Rule } from '../entities';
|
|
9
9
|
export declare class UsrRulesService {
|
|
10
10
|
private apiUrl;
|
|
11
11
|
private rest;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { Image } from '../entities';
|
|
3
|
-
import { Stream } from '../entities';
|
|
4
|
-
import { FeatureCode } from '../enums';
|
|
5
|
-
import { LoginParams } from '../common';
|
|
6
2
|
import { User } from '../entities';
|
|
7
|
-
import {
|
|
3
|
+
import { Image } from '../entities';
|
|
8
4
|
import { Feature } from '../entities';
|
|
5
|
+
import { Stream } from '../entities';
|
|
9
6
|
import { UserMemberships } from '../entities';
|
|
7
|
+
import { LoginParams } from '../common';
|
|
8
|
+
import { FeatureCode } from '../enums';
|
|
10
9
|
import { ConfigParam } from '../entities';
|
|
10
|
+
import { AccountDTO } from '../entities';
|
|
11
11
|
export declare class UsrUserService {
|
|
12
12
|
private apiUrl;
|
|
13
13
|
private rest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
1
2
|
import { Interval } from '../common';
|
|
2
3
|
import { SeverityConditionConfig } from '../common';
|
|
3
4
|
import { RuleCountThresholdConfig } from '../common';
|
|
4
|
-
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { AccountTypeCode } from '../enums';
|
|
3
2
|
import { AccountStatusCode } from '../enums';
|
|
4
3
|
import { StringKeyValue } from '../common';
|
|
5
4
|
import { AccountSettings } from '../entities';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
6
6
|
export declare class Account extends BaseEntity {
|
|
7
7
|
name: string;
|
|
8
8
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/lib/entities/Account.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/lib/entities/Account.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,2DAA2D;AAC3D,MAAM,OAAO,OAAQ,SAAQ,UAAU;CAiCtC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
|
-
import { AccountTypeCode } from '../enums';
|
|
3
1
|
import { AccountStatusCode } from '../enums';
|
|
4
2
|
import { FeatureCode } from '../enums';
|
|
5
3
|
import { StringKeyValue } from '../common';
|
|
6
4
|
import { AccountSettings } from '../entities';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
6
|
+
import { AccountTypeCode } from '../enums';
|
|
7
7
|
export declare class AccountDTO extends BaseEntity {
|
|
8
8
|
name: string;
|
|
9
9
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountDTO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccountDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountDTO.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,kDAAkD;AAClD,MAAM,OAAO,UAAW,SAAQ,UAAU;CAoCzC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AccountTypeCode } from '../enums';
|
|
2
|
-
import { AccountStatusCode } from '../enums';
|
|
3
|
-
import { StringKeyValue } from '../common';
|
|
4
1
|
import { AccountSettings } from '../entities';
|
|
5
2
|
import { DeviceReport } from '../entities';
|
|
6
3
|
import { IntDistribution } from '../entities';
|
|
7
4
|
import { BaseEntity } from '../base';
|
|
5
|
+
import { AccountTypeCode } from '../enums';
|
|
6
|
+
import { AccountStatusCode } from '../enums';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
8
|
export declare class AccountReportDTO extends BaseEntity {
|
|
9
9
|
name: string;
|
|
10
10
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAOrC,2EAA2E;AAC3E,MAAM,OAAO,gBAAiB,SAAQ,UAAU;CA6C/C"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StringKeyValue } from '../common';
|
|
1
|
+
import { EventCategoryCode } from '../enums';
|
|
3
2
|
import { BaseEntity } from '../base';
|
|
4
|
-
import {
|
|
3
|
+
import { GeoData } from '../common';
|
|
4
|
+
import { StringKeyValue } from '../common';
|
|
5
5
|
import { EventStatusCode } from '../enums';
|
|
6
6
|
import { RuleTypeCode } from '../enums';
|
|
7
|
-
import { GeoData } from '../common';
|
|
8
|
-
import { EventCategoryCode } from '../enums';
|
|
9
7
|
import { TrafficDirectionCode } from '../enums';
|
|
8
|
+
import { EventTypeCode } from '../enums';
|
|
9
|
+
import { SeverityTypeCode } from '../enums';
|
|
10
10
|
export declare class Alert extends BaseEntity {
|
|
11
11
|
accountId: string;
|
|
12
12
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/lib/entities/Alert.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/lib/entities/Alert.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAWrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAM,OAAO,KAAM,SAAQ,UAAU;CAwEpC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { EventTypeCode } from '../enums';
|
|
2
2
|
import { SeverityTypeCode } from '../enums';
|
|
3
3
|
import { RuleTypeCode } from '../enums';
|
|
4
|
+
import { EventStatusCode } from '../enums';
|
|
5
|
+
import { GeoData } from '../common';
|
|
4
6
|
import { StringKeyValue } from '../common';
|
|
7
|
+
import { EventCategoryCode } from '../enums';
|
|
5
8
|
import { TrafficDirectionCode } from '../enums';
|
|
6
9
|
import { Device } from '../entities';
|
|
7
10
|
import { BaseEntity } from '../base';
|
|
8
|
-
import { EventStatusCode } from '../enums';
|
|
9
|
-
import { GeoData } from '../common';
|
|
10
|
-
import { EventCategoryCode } from '../enums';
|
|
11
11
|
export declare class AlertWithDevice extends BaseEntity {
|
|
12
12
|
accountId: string;
|
|
13
13
|
streamId: string;
|