@shieldiot/pulse-lib 1.0.378 → 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 +2 -2
- package/dist/cjs/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/cjs/lib/common/SeriesData.d.ts +1 -1
- package/dist/cjs/lib/common/SeverityConditionConfig.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 +1 -1
- package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.d.ts +2 -2
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/entities/Alert.d.ts +6 -6
- package/dist/cjs/lib/entities/Alert.js.map +1 -1
- package/dist/cjs/lib/entities/AlertWithDevice.d.ts +4 -4
- 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/Device.d.ts +3 -3
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +4 -4
- 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/IdsRule.d.ts +2 -2
- package/dist/cjs/lib/entities/IdsRule.js.map +1 -1
- package/dist/cjs/lib/entities/Insight.d.ts +3 -3
- 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 +3 -3
- package/dist/cjs/lib/entities/Integration.js.map +1 -1
- package/dist/cjs/lib/entities/Member.d.ts +1 -1
- package/dist/cjs/lib/entities/Member.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 +3 -3
- package/dist/cjs/lib/entities/Rule.js.map +1 -1
- package/dist/cjs/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/cjs/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.d.ts +2 -2
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/cjs/lib/entities/StreamConfig.d.ts +4 -4
- package/dist/cjs/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/cjs/lib/entities/User.d.ts +2 -2
- package/dist/cjs/lib/entities/User.js.map +1 -1
- package/dist/cjs/lib/entities/UserMembership.d.ts +1 -1
- package/dist/cjs/lib/entities/UserMembership.js.map +1 -1
- package/dist/cjs/lib/entities/UserMemberships.d.ts +2 -2
- package/dist/cjs/lib/entities/UserMemberships.js.map +1 -1
- package/dist/cjs/lib/pulse-client.d.ts +16 -14
- package/dist/cjs/lib/pulse-client.js +28 -26
- package/dist/cjs/lib/pulse-client.js.map +1 -1
- package/dist/cjs/lib/services/index.d.ts +1 -0
- package/dist/cjs/lib/services/index.js +1 -0
- package/dist/cjs/lib/services/index.js.map +1 -1
- package/dist/cjs/lib/services/services.export.d.ts +2 -1
- package/dist/cjs/lib/services/services.export.js +2 -0
- package/dist/cjs/lib/services/services.export.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/cjs/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/cjs/lib/services/sysInsightsService.d.ts +53 -0
- package/dist/cjs/lib/services/sysInsightsService.js +135 -0
- package/dist/cjs/lib/services/sysInsightsService.js.map +1 -0
- package/dist/cjs/lib/services/sysKeysService.d.ts +1 -1
- package/dist/cjs/lib/services/sysUsersService.d.ts +1 -1
- package/dist/cjs/lib/services/usrAlertsService.d.ts +16 -16
- package/dist/cjs/lib/services/usrAlertsService.js +21 -21
- package/dist/cjs/lib/services/usrDevicesService.d.ts +15 -15
- package/dist/cjs/lib/services/usrDevicesService.js +18 -18
- package/dist/cjs/lib/services/usrEventsService.d.ts +7 -7
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/esm/lib/common/SeriesData.d.ts +1 -1
- package/dist/esm/lib/common/SeverityConditionConfig.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 +1 -1
- package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.d.ts +2 -2
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/entities/Alert.d.ts +6 -6
- package/dist/esm/lib/entities/Alert.js.map +1 -1
- package/dist/esm/lib/entities/AlertWithDevice.d.ts +4 -4
- 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/Device.d.ts +3 -3
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +4 -4
- 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/IdsRule.d.ts +2 -2
- package/dist/esm/lib/entities/IdsRule.js.map +1 -1
- package/dist/esm/lib/entities/Insight.d.ts +3 -3
- 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 +3 -3
- package/dist/esm/lib/entities/Integration.js.map +1 -1
- package/dist/esm/lib/entities/Member.d.ts +1 -1
- package/dist/esm/lib/entities/Member.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 +3 -3
- package/dist/esm/lib/entities/Rule.js.map +1 -1
- package/dist/esm/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/esm/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/esm/lib/entities/StreamAnalyticsConfig.d.ts +2 -2
- package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/esm/lib/entities/StreamConfig.d.ts +4 -4
- package/dist/esm/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/esm/lib/entities/User.d.ts +2 -2
- package/dist/esm/lib/entities/User.js.map +1 -1
- package/dist/esm/lib/entities/UserMembership.d.ts +1 -1
- package/dist/esm/lib/entities/UserMembership.js.map +1 -1
- package/dist/esm/lib/entities/UserMemberships.d.ts +2 -2
- package/dist/esm/lib/entities/UserMemberships.js.map +1 -1
- package/dist/esm/lib/pulse-client.d.ts +16 -14
- package/dist/esm/lib/pulse-client.js +16 -14
- package/dist/esm/lib/pulse-client.js.map +1 -1
- package/dist/esm/lib/services/index.d.ts +1 -0
- package/dist/esm/lib/services/index.js +1 -0
- package/dist/esm/lib/services/index.js.map +1 -1
- package/dist/esm/lib/services/services.export.d.ts +2 -1
- package/dist/esm/lib/services/services.export.js +2 -0
- package/dist/esm/lib/services/services.export.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/esm/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/esm/lib/services/sysInsightsService.d.ts +53 -0
- package/dist/esm/lib/services/sysInsightsService.js +131 -0
- package/dist/esm/lib/services/sysInsightsService.js.map +1 -0
- package/dist/esm/lib/services/sysKeysService.d.ts +1 -1
- package/dist/esm/lib/services/sysUsersService.d.ts +1 -1
- package/dist/esm/lib/services/usrAlertsService.d.ts +16 -16
- package/dist/esm/lib/services/usrAlertsService.js +21 -21
- package/dist/esm/lib/services/usrDevicesService.d.ts +15 -15
- package/dist/esm/lib/services/usrDevicesService.js +18 -18
- package/dist/esm/lib/services/usrEventsService.d.ts +7 -7
- 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 +2 -2
- 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 +2 -2
- package/dist/types/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
- package/dist/types/lib/common/SeriesData.d.ts +1 -1
- package/dist/types/lib/common/SeverityConditionConfig.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 +1 -1
- package/dist/types/lib/entities/AccountReportDTO.d.ts +2 -2
- package/dist/types/lib/entities/Alert.d.ts +6 -6
- package/dist/types/lib/entities/AlertWithDevice.d.ts +4 -4
- 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/Device.d.ts +3 -3
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +4 -4
- 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/IdsRule.d.ts +2 -2
- package/dist/types/lib/entities/Insight.d.ts +3 -3
- package/dist/types/lib/entities/InsightQuery.d.ts +1 -1
- package/dist/types/lib/entities/Integration.d.ts +3 -3
- package/dist/types/lib/entities/Member.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 +3 -3
- package/dist/types/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +2 -2
- package/dist/types/lib/entities/StreamConfig.d.ts +4 -4
- package/dist/types/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/types/lib/entities/User.d.ts +2 -2
- package/dist/types/lib/entities/UserMembership.d.ts +1 -1
- package/dist/types/lib/entities/UserMemberships.d.ts +2 -2
- package/dist/types/lib/pulse-client.d.ts +16 -14
- package/dist/types/lib/services/index.d.ts +1 -0
- package/dist/types/lib/services/services.export.d.ts +2 -1
- package/dist/types/lib/services/sysAccountsService.d.ts +2 -2
- package/dist/types/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/types/lib/services/sysInsightsService.d.ts +53 -0
- package/dist/types/lib/services/sysKeysService.d.ts +1 -1
- package/dist/types/lib/services/sysUsersService.d.ts +1 -1
- package/dist/types/lib/services/usrAlertsService.d.ts +16 -16
- package/dist/types/lib/services/usrDevicesService.d.ts +15 -15
- package/dist/types/lib/services/usrEventsService.d.ts +7 -7
- 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 +2 -2
- package/dist/types/lib/services/usrUserService.d.ts +5 -5
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sysInsightsService.js","sourceRoot":"","sources":["../../../../src/lib/services/sysInsightsService.ts"],"names":[],"mappings":"AAOA,yEAAyE;AACzE,0EAA0E;AAC1E,0EAA0E;AAC1E,MAAM,OAAO,kBAAkB;IAK7B,oBAAoB;IACpB,YAAoB,MAAc,EAAU,IAAc;QAAtC,WAAM,GAAN,MAAM,CAAQ;QAAU,SAAI,GAAJ,IAAI,CAAU;QAJ1D,iBAAiB;QACT,YAAO,GAAG,eAAe,CAAC;QAIhC,IAAI,CAAC,O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AAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,UAAU,MAAM,EAAE,CAAC,CAAC;QAAC,CAAC;QACxD,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QAAC,CAAC;QAClD,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QAAC,CAAC;QAClD,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QAAC,CAAC;QAEpD,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAiC,GAAG,IAAI,CAAC,OAAO,eAAe,EAAE,GAAG,MAAM,CAAC,CAAC;IAChG,CAAC;CAEF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { ApiKey } from '../entities';
|
|
3
2
|
import { StringIntValue } from '../common';
|
|
3
|
+
import { ApiKey } from '../entities';
|
|
4
4
|
export declare class SysKeysService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { UserStatusCode } from '../enums';
|
|
2
3
|
import { UserMemberships } from '../entities';
|
|
3
4
|
import { User } from '../entities';
|
|
4
5
|
import { UserTypeCode } from '../enums';
|
|
5
|
-
import { UserStatusCode } from '../enums';
|
|
6
6
|
export declare class SysUsersService {
|
|
7
7
|
private apiUrl;
|
|
8
8
|
private rest;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
2
|
import { EventTypeCode } from '../enums';
|
|
3
|
-
import {
|
|
4
|
-
import { AlertWithDevice } from '../entities';
|
|
5
|
-
import { IntDistribution } from '../entities';
|
|
6
|
-
import { Alert } from '../entities';
|
|
7
|
-
import { SeverityTypeCode } from '../enums';
|
|
3
|
+
import { MaliciousIPCard } from '../common';
|
|
8
4
|
import { RuleTypeCode } from '../enums';
|
|
9
|
-
import { StringKeyValue } from '../common';
|
|
10
5
|
import { MaliciousIPData } from '../common';
|
|
11
|
-
import {
|
|
12
|
-
import { EventStatusCode } from '../enums';
|
|
13
|
-
import { DeviceActionCode } from '../enums';
|
|
6
|
+
import { IntDistribution } from '../entities';
|
|
14
7
|
import { TimeSeriesOf2D } from '../common';
|
|
15
8
|
import { TimeSeriesOfFloat } from '../common';
|
|
9
|
+
import { DeviceActionCode } from '../enums';
|
|
10
|
+
import { StringKeyValue } from '../common';
|
|
11
|
+
import { Alert } from '../entities';
|
|
12
|
+
import { SeverityTypeCode } from '../enums';
|
|
13
|
+
import { EventCategoryCode } from '../enums';
|
|
14
|
+
import { EventStatusCode } from '../enums';
|
|
15
|
+
import { AlertWithDevice } from '../entities';
|
|
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
|
*/
|
|
@@ -19,7 +19,7 @@ export class UsrAlertsService {
|
|
|
19
19
|
/**
|
|
20
20
|
* Find list of alerts by query
|
|
21
21
|
*/
|
|
22
|
-
find(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
22
|
+
find(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
23
23
|
const params = [];
|
|
24
24
|
if (streamId != null) {
|
|
25
25
|
params.push(`streamId=${streamId}`);
|
|
@@ -69,8 +69,8 @@ export class UsrAlertsService {
|
|
|
69
69
|
if (withoutOccurrences != null) {
|
|
70
70
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
71
71
|
}
|
|
72
|
-
if (
|
|
73
|
-
params.push(`
|
|
72
|
+
if (ids != null) {
|
|
73
|
+
params.push(`ids=${ids}`);
|
|
74
74
|
}
|
|
75
75
|
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
76
76
|
}
|
|
@@ -129,7 +129,7 @@ export class UsrAlertsService {
|
|
|
129
129
|
/**
|
|
130
130
|
* Find top 10 alerts by their severity filter by query
|
|
131
131
|
*/
|
|
132
|
-
getTop(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
132
|
+
getTop(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
133
133
|
const params = [];
|
|
134
134
|
if (streamId != null) {
|
|
135
135
|
params.push(`streamId=${streamId}`);
|
|
@@ -179,8 +179,8 @@ export class UsrAlertsService {
|
|
|
179
179
|
if (withoutOccurrences != null) {
|
|
180
180
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
181
181
|
}
|
|
182
|
-
if (
|
|
183
|
-
params.push(`
|
|
182
|
+
if (ids != null) {
|
|
183
|
+
params.push(`ids=${ids}`);
|
|
184
184
|
}
|
|
185
185
|
return this.rest.get(`${this.baseUrl}/top`, ...params);
|
|
186
186
|
}
|
|
@@ -206,7 +206,7 @@ export class UsrAlertsService {
|
|
|
206
206
|
/**
|
|
207
207
|
* Find alerts distribution by type filtered by query
|
|
208
208
|
*/
|
|
209
|
-
countByType(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
209
|
+
countByType(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
210
210
|
const params = [];
|
|
211
211
|
if (streamId != null) {
|
|
212
212
|
params.push(`streamId=${streamId}`);
|
|
@@ -256,15 +256,15 @@ export class UsrAlertsService {
|
|
|
256
256
|
if (withoutOccurrences != null) {
|
|
257
257
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
258
258
|
}
|
|
259
|
-
if (
|
|
260
|
-
params.push(`
|
|
259
|
+
if (ids != null) {
|
|
260
|
+
params.push(`ids=${ids}`);
|
|
261
261
|
}
|
|
262
262
|
return this.rest.get(`${this.baseUrl}/count/by-type`, ...params);
|
|
263
263
|
}
|
|
264
264
|
/**
|
|
265
265
|
* Find alerts distribution by status filtered by query
|
|
266
266
|
*/
|
|
267
|
-
countByStatus(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
267
|
+
countByStatus(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
268
268
|
const params = [];
|
|
269
269
|
if (streamId != null) {
|
|
270
270
|
params.push(`streamId=${streamId}`);
|
|
@@ -314,15 +314,15 @@ export class UsrAlertsService {
|
|
|
314
314
|
if (withoutOccurrences != null) {
|
|
315
315
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
316
316
|
}
|
|
317
|
-
if (
|
|
318
|
-
params.push(`
|
|
317
|
+
if (ids != null) {
|
|
318
|
+
params.push(`ids=${ids}`);
|
|
319
319
|
}
|
|
320
320
|
return this.rest.get(`${this.baseUrl}/count/by-status`, ...params);
|
|
321
321
|
}
|
|
322
322
|
/**
|
|
323
323
|
* Find alerts distribution by severity filtered by query
|
|
324
324
|
*/
|
|
325
|
-
countBySeverity(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
325
|
+
countBySeverity(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
326
326
|
const params = [];
|
|
327
327
|
if (streamId != null) {
|
|
328
328
|
params.push(`streamId=${streamId}`);
|
|
@@ -372,15 +372,15 @@ export class UsrAlertsService {
|
|
|
372
372
|
if (withoutOccurrences != null) {
|
|
373
373
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
374
374
|
}
|
|
375
|
-
if (
|
|
376
|
-
params.push(`
|
|
375
|
+
if (ids != null) {
|
|
376
|
+
params.push(`ids=${ids}`);
|
|
377
377
|
}
|
|
378
378
|
return this.rest.get(`${this.baseUrl}/count/by-severity`, ...params);
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
381
|
* Find alerts distribution by rule filtered by query
|
|
382
382
|
*/
|
|
383
|
-
countByRule(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
383
|
+
countByRule(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
384
384
|
const params = [];
|
|
385
385
|
if (streamId != null) {
|
|
386
386
|
params.push(`streamId=${streamId}`);
|
|
@@ -430,15 +430,15 @@ export class UsrAlertsService {
|
|
|
430
430
|
if (withoutOccurrences != null) {
|
|
431
431
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
432
432
|
}
|
|
433
|
-
if (
|
|
434
|
-
params.push(`
|
|
433
|
+
if (ids != null) {
|
|
434
|
+
params.push(`ids=${ids}`);
|
|
435
435
|
}
|
|
436
436
|
return this.rest.get(`${this.baseUrl}/count/by-rule`, ...params);
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
439
|
* Find alerts distribution by category filtered by query
|
|
440
440
|
*/
|
|
441
|
-
countByCategory(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences,
|
|
441
|
+
countByCategory(streamId, deviceId, search, from, to, type, severity, category, status, ruleId, targetIp, ruleType, sort, page, size, withoutOccurrences, ids) {
|
|
442
442
|
const params = [];
|
|
443
443
|
if (streamId != null) {
|
|
444
444
|
params.push(`streamId=${streamId}`);
|
|
@@ -488,8 +488,8 @@ export class UsrAlertsService {
|
|
|
488
488
|
if (withoutOccurrences != null) {
|
|
489
489
|
params.push(`withoutOccurrences=${withoutOccurrences}`);
|
|
490
490
|
}
|
|
491
|
-
if (
|
|
492
|
-
params.push(`
|
|
491
|
+
if (ids != null) {
|
|
492
|
+
params.push(`ids=${ids}`);
|
|
493
493
|
}
|
|
494
494
|
return this.rest.get(`${this.baseUrl}/count/by-category`, ...params);
|
|
495
495
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { DeviceWithEvents } from '../entities';
|
|
3
|
+
import { DeviceActionCode } from '../enums';
|
|
4
|
+
import { BulkDevices } from '../entities';
|
|
2
5
|
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
3
|
-
import { Device } from '../entities';
|
|
4
|
-
import { DeviceTypeCode } from '../enums';
|
|
5
6
|
import { NetworkMapTypeCode } from '../enums';
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
|
+
import { IntDistribution } from '../entities';
|
|
9
|
+
import { NetworkMap } from '../common';
|
|
6
10
|
import { DeviceReport } from '../entities';
|
|
7
11
|
import { TimeSeriesOfDataConsumption } from '../common';
|
|
8
|
-
import {
|
|
9
|
-
import { BulkDevices } from '../entities';
|
|
12
|
+
import { Device } from '../entities';
|
|
10
13
|
import { DeviceStatusCode } from '../enums';
|
|
11
|
-
import {
|
|
12
|
-
import { NetworkMap } from '../common';
|
|
13
|
-
import { DeviceWithEvents } from '../entities';
|
|
14
|
-
import { IntDistribution } from '../entities';
|
|
15
|
-
import { DeviceActionCode } from '../enums';
|
|
14
|
+
import { MapBounds } from '../common';
|
|
16
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
|
*/
|
|
@@ -49,7 +49,7 @@ export class UsrDevicesService {
|
|
|
49
49
|
/**
|
|
50
50
|
* Find list of devices by query
|
|
51
51
|
*/
|
|
52
|
-
find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
52
|
+
find(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
53
53
|
const params = [];
|
|
54
54
|
if (streamId != null) {
|
|
55
55
|
params.push(`streamId=${streamId}`);
|
|
@@ -84,8 +84,8 @@ export class UsrDevicesService {
|
|
|
84
84
|
if (size != null) {
|
|
85
85
|
params.push(`size=${size}`);
|
|
86
86
|
}
|
|
87
|
-
if (
|
|
88
|
-
params.push(`
|
|
87
|
+
if (ids != null) {
|
|
88
|
+
params.push(`ids=${ids}`);
|
|
89
89
|
}
|
|
90
90
|
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
91
91
|
}
|
|
@@ -129,7 +129,7 @@ export class UsrDevicesService {
|
|
|
129
129
|
/**
|
|
130
130
|
* Find top 10 devices by their score filter by query
|
|
131
131
|
*/
|
|
132
|
-
findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
132
|
+
findTop(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
133
133
|
const params = [];
|
|
134
134
|
if (streamId != null) {
|
|
135
135
|
params.push(`streamId=${streamId}`);
|
|
@@ -164,15 +164,15 @@ export class UsrDevicesService {
|
|
|
164
164
|
if (size != null) {
|
|
165
165
|
params.push(`size=${size}`);
|
|
166
166
|
}
|
|
167
|
-
if (
|
|
168
|
-
params.push(`
|
|
167
|
+
if (ids != null) {
|
|
168
|
+
params.push(`ids=${ids}`);
|
|
169
169
|
}
|
|
170
170
|
return this.rest.get(`${this.baseUrl}/top`, ...params);
|
|
171
171
|
}
|
|
172
172
|
/**
|
|
173
173
|
* Find device distribution by type filtered by query
|
|
174
174
|
*/
|
|
175
|
-
countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
175
|
+
countByType(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
176
176
|
const params = [];
|
|
177
177
|
if (streamId != null) {
|
|
178
178
|
params.push(`streamId=${streamId}`);
|
|
@@ -207,15 +207,15 @@ export class UsrDevicesService {
|
|
|
207
207
|
if (size != null) {
|
|
208
208
|
params.push(`size=${size}`);
|
|
209
209
|
}
|
|
210
|
-
if (
|
|
211
|
-
params.push(`
|
|
210
|
+
if (ids != null) {
|
|
211
|
+
params.push(`ids=${ids}`);
|
|
212
212
|
}
|
|
213
213
|
return this.rest.get(`${this.baseUrl}/count/by-type`, ...params);
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* Find device distribution by status filtered by query
|
|
217
217
|
*/
|
|
218
|
-
countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
218
|
+
countByStatus(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
219
219
|
const params = [];
|
|
220
220
|
if (streamId != null) {
|
|
221
221
|
params.push(`streamId=${streamId}`);
|
|
@@ -250,15 +250,15 @@ export class UsrDevicesService {
|
|
|
250
250
|
if (size != null) {
|
|
251
251
|
params.push(`size=${size}`);
|
|
252
252
|
}
|
|
253
|
-
if (
|
|
254
|
-
params.push(`
|
|
253
|
+
if (ids != null) {
|
|
254
|
+
params.push(`ids=${ids}`);
|
|
255
255
|
}
|
|
256
256
|
return this.rest.get(`${this.baseUrl}/count/by-status`, ...params);
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
259
|
* Find device distribution by action filtered by query
|
|
260
260
|
*/
|
|
261
|
-
countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
261
|
+
countByAction(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
262
262
|
const params = [];
|
|
263
263
|
if (streamId != null) {
|
|
264
264
|
params.push(`streamId=${streamId}`);
|
|
@@ -293,15 +293,15 @@ export class UsrDevicesService {
|
|
|
293
293
|
if (size != null) {
|
|
294
294
|
params.push(`size=${size}`);
|
|
295
295
|
}
|
|
296
|
-
if (
|
|
297
|
-
params.push(`
|
|
296
|
+
if (ids != null) {
|
|
297
|
+
params.push(`ids=${ids}`);
|
|
298
298
|
}
|
|
299
299
|
return this.rest.get(`${this.baseUrl}/count/by-action`, ...params);
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
302
|
* Find device distribution by risk filtered by query
|
|
303
303
|
*/
|
|
304
|
-
countByRisk(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size,
|
|
304
|
+
countByRisk(streamId, search, from, to, type, status, risk, scoreRange, sort, page, size, ids) {
|
|
305
305
|
const params = [];
|
|
306
306
|
if (streamId != null) {
|
|
307
307
|
params.push(`streamId=${streamId}`);
|
|
@@ -336,8 +336,8 @@ export class UsrDevicesService {
|
|
|
336
336
|
if (size != null) {
|
|
337
337
|
params.push(`size=${size}`);
|
|
338
338
|
}
|
|
339
|
-
if (
|
|
340
|
-
params.push(`
|
|
339
|
+
if (ids != null) {
|
|
340
|
+
params.push(`ids=${ids}`);
|
|
341
341
|
}
|
|
342
342
|
return this.rest.get(`${this.baseUrl}/count/by-risk`, ...params);
|
|
343
343
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
3
|
-
import { EventCategoryCode } from '../enums';
|
|
4
|
-
import { EventStatusCode } from '../enums';
|
|
5
|
-
import { MaliciousIPCard } from '../common';
|
|
2
|
+
import { TimeSeriesOf2D } from '../common';
|
|
6
3
|
import { StringKeyValue } from '../common';
|
|
7
|
-
import { Event } from '../entities';
|
|
8
4
|
import { EventTypeCode } from '../enums';
|
|
5
|
+
import { SeverityTypeCode } from '../enums';
|
|
6
|
+
import { EventStatusCode } from '../enums';
|
|
9
7
|
import { RuleTypeCode } from '../enums';
|
|
10
|
-
import { EventWithDevice } from '../entities';
|
|
11
8
|
import { MaliciousIPData } from '../common';
|
|
12
9
|
import { IntDistribution } from '../entities';
|
|
13
|
-
import {
|
|
10
|
+
import { Event } from '../entities';
|
|
11
|
+
import { EventCategoryCode } from '../enums';
|
|
12
|
+
import { EventWithDevice } from '../entities';
|
|
14
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';
|
|
2
4
|
import { Rule } from '../entities';
|
|
3
5
|
import { SeverityTypeCode } from '../enums';
|
|
4
6
|
import { RuleActivityStatusCode } from '../enums';
|
|
5
7
|
import { EventTypeCode } from '../enums';
|
|
6
8
|
import { TimeSeriesOfFloat } from '../common';
|
|
7
|
-
import { IntDistribution } from '../entities';
|
|
8
|
-
import { Distribution } 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 {
|
|
2
|
+
import { User } from '../entities';
|
|
3
3
|
import { Image } from '../entities';
|
|
4
|
-
import {
|
|
4
|
+
import { Feature } from '../entities';
|
|
5
5
|
import { Stream } from '../entities';
|
|
6
6
|
import { UserMemberships } from '../entities';
|
|
7
|
-
import { ConfigParam } from '../entities';
|
|
8
7
|
import { LoginParams } from '../common';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { FeatureCode } from '../enums';
|
|
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 { SeverityConditionConfig } from '../common';
|
|
2
|
-
import { RuleCountThresholdConfig } from '../common';
|
|
3
1
|
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
4
2
|
import { Interval } from '../common';
|
|
3
|
+
import { SeverityConditionConfig } from '../common';
|
|
4
|
+
import { RuleCountThresholdConfig } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { AccountTypeCode } from '../enums';
|
|
1
2
|
import { AccountStatusCode } from '../enums';
|
|
2
3
|
import { StringKeyValue } from '../common';
|
|
3
4
|
import { AccountSettings } from '../entities';
|
|
4
5
|
import { BaseEntity } from '../base';
|
|
5
|
-
import { AccountTypeCode } from '../enums';
|
|
6
6
|
export declare class Account extends BaseEntity {
|
|
7
7
|
name: string;
|
|
8
8
|
externalId: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { AccountStatusCode } from '../enums';
|
|
1
2
|
import { FeatureCode } from '../enums';
|
|
2
3
|
import { StringKeyValue } from '../common';
|
|
3
4
|
import { AccountSettings } from '../entities';
|
|
4
5
|
import { BaseEntity } from '../base';
|
|
5
6
|
import { AccountTypeCode } from '../enums';
|
|
6
|
-
import { AccountStatusCode } from '../enums';
|
|
7
7
|
export declare class AccountDTO extends BaseEntity {
|
|
8
8
|
name: string;
|
|
9
9
|
externalId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { AccountSettings } from '../entities';
|
|
2
|
+
import { DeviceReport } from '../entities';
|
|
1
3
|
import { IntDistribution } from '../entities';
|
|
2
4
|
import { BaseEntity } from '../base';
|
|
3
5
|
import { AccountTypeCode } from '../enums';
|
|
4
6
|
import { AccountStatusCode } from '../enums';
|
|
5
7
|
import { StringKeyValue } from '../common';
|
|
6
|
-
import { AccountSettings } from '../entities';
|
|
7
|
-
import { DeviceReport } from '../entities';
|
|
8
8
|
export declare class AccountReportDTO extends BaseEntity {
|
|
9
9
|
name: string;
|
|
10
10
|
externalId: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EventStatusCode } from '../enums';
|
|
3
|
-
import { RuleTypeCode } from '../enums';
|
|
4
|
-
import { StringKeyValue } from '../common';
|
|
1
|
+
import { EventCategoryCode } from '../enums';
|
|
5
2
|
import { BaseEntity } from '../base';
|
|
6
|
-
import { SeverityTypeCode } from '../enums';
|
|
7
3
|
import { GeoData } from '../common';
|
|
8
|
-
import {
|
|
4
|
+
import { StringKeyValue } from '../common';
|
|
5
|
+
import { EventStatusCode } from '../enums';
|
|
6
|
+
import { RuleTypeCode } 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;
|