@shieldiot/pulse-lib 1.0.325 → 1.0.327
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/DeviceScoreConfig.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeriesOf2D.d.ts +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 +23 -0
- package/dist/cjs/lib/entities/AccountReportDTO.js +9 -0
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -0
- 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/DataIngestion.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +7 -7
- package/dist/cjs/lib/entities/Event.js.map +1 -1
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +7 -7
- package/dist/cjs/lib/entities/EventWithDevice.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 -0
- 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/Rule.d.ts +1 -1
- 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 +3 -3
- package/dist/cjs/lib/entities/index.d.ts +1 -0
- package/dist/cjs/lib/entities/index.js +1 -0
- package/dist/cjs/lib/entities/index.js.map +1 -1
- package/dist/cjs/lib/enums/ReportSourceCode.d.ts +6 -0
- package/dist/cjs/lib/enums/ReportSourceCode.js +23 -0
- package/dist/cjs/lib/enums/ReportSourceCode.js.map +1 -0
- package/dist/cjs/lib/enums/index.d.ts +1 -0
- package/dist/cjs/lib/enums/index.js +1 -0
- package/dist/cjs/lib/enums/index.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +6 -1
- package/dist/cjs/lib/services/sysAccountsService.js +25 -0
- package/dist/cjs/lib/services/sysAccountsService.js.map +1 -1
- package/dist/cjs/lib/services/sysUsersService.d.ts +1 -1
- package/dist/cjs/lib/services/usrAlertsService.d.ts +5 -5
- package/dist/cjs/lib/services/usrDevicesService.d.ts +7 -7
- package/dist/cjs/lib/services/usrEventsService.d.ts +7 -7
- package/dist/cjs/lib/services/usrReportsService.d.ts +2 -1
- package/dist/cjs/lib/services/usrReportsService.js +4 -1
- package/dist/cjs/lib/services/usrReportsService.js.map +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/DeviceScoreConfig.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeriesOf2D.d.ts +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 +23 -0
- package/dist/esm/lib/entities/AccountReportDTO.js +5 -0
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -0
- 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/DataIngestion.d.ts +1 -1
- package/dist/esm/lib/entities/Device.d.ts +1 -1
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +7 -7
- package/dist/esm/lib/entities/Event.js.map +1 -1
- package/dist/esm/lib/entities/EventWithDevice.d.ts +7 -7
- package/dist/esm/lib/entities/EventWithDevice.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 -0
- 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/Rule.d.ts +1 -1
- 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 +3 -3
- package/dist/esm/lib/entities/index.d.ts +1 -0
- package/dist/esm/lib/entities/index.js +1 -0
- package/dist/esm/lib/entities/index.js.map +1 -1
- package/dist/esm/lib/enums/ReportSourceCode.d.ts +6 -0
- package/dist/esm/lib/enums/ReportSourceCode.js +19 -0
- package/dist/esm/lib/enums/ReportSourceCode.js.map +1 -0
- package/dist/esm/lib/enums/index.d.ts +1 -0
- package/dist/esm/lib/enums/index.js +1 -0
- package/dist/esm/lib/enums/index.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +6 -1
- package/dist/esm/lib/services/sysAccountsService.js +25 -0
- package/dist/esm/lib/services/sysAccountsService.js.map +1 -1
- package/dist/esm/lib/services/sysUsersService.d.ts +1 -1
- package/dist/esm/lib/services/usrAlertsService.d.ts +5 -5
- package/dist/esm/lib/services/usrDevicesService.d.ts +7 -7
- package/dist/esm/lib/services/usrEventsService.d.ts +7 -7
- package/dist/esm/lib/services/usrReportsService.d.ts +2 -1
- package/dist/esm/lib/services/usrReportsService.js +4 -1
- package/dist/esm/lib/services/usrReportsService.js.map +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/DeviceScoreConfig.d.ts +1 -1
- package/dist/types/lib/common/TimeSeriesOf2D.d.ts +1 -1
- package/dist/types/lib/entities/AccountDTO.d.ts +2 -2
- package/dist/types/lib/entities/AccountReportDTO.d.ts +23 -0
- 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/DataIngestion.d.ts +1 -1
- package/dist/types/lib/entities/Device.d.ts +1 -1
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +1 -1
- package/dist/types/lib/entities/Event.d.ts +7 -7
- package/dist/types/lib/entities/EventWithDevice.d.ts +7 -7
- package/dist/types/lib/entities/Insight.d.ts +2 -2
- package/dist/types/lib/entities/InsightQuery.d.ts +1 -0
- package/dist/types/lib/entities/Integration.d.ts +3 -3
- package/dist/types/lib/entities/Rule.d.ts +1 -1
- 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 +3 -3
- package/dist/types/lib/entities/index.d.ts +1 -0
- package/dist/types/lib/enums/ReportSourceCode.d.ts +6 -0
- package/dist/types/lib/enums/index.d.ts +1 -0
- package/dist/types/lib/services/sysAccountsService.d.ts +6 -1
- package/dist/types/lib/services/sysUsersService.d.ts +1 -1
- package/dist/types/lib/services/usrAlertsService.d.ts +5 -5
- package/dist/types/lib/services/usrDevicesService.d.ts +7 -7
- package/dist/types/lib/services/usrEventsService.d.ts +7 -7
- package/dist/types/lib/services/usrReportsService.d.ts +2 -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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Interval } from '../common';
|
|
2
1
|
import { SeverityConditionConfig } from '../common';
|
|
3
2
|
import { RuleCountThresholdConfig } from '../common';
|
|
4
3
|
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
4
|
+
import { Interval } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AccountTypeCode } from '../enums';
|
|
2
|
-
import { AccountStatusCode } from '../enums';
|
|
3
1
|
import { FeatureCode } from '../enums';
|
|
4
2
|
import { StringKeyValue } from '../common';
|
|
5
3
|
import { AccountSettings } from '../entities';
|
|
6
4
|
import { BaseEntity } from '../base';
|
|
5
|
+
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 +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":";;;AAGA,kCAAqC;AAMrC,kDAAkD;AAClD,MAAa,UAAW,SAAQ,iBAAU;CAoCzC;AApCD,gCAoCC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AccountSettings } from '../entities';
|
|
2
|
+
import { DeviceReport } from '../entities';
|
|
3
|
+
import { IntDistribution } from '../entities';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
|
+
import { AccountTypeCode } from '../enums';
|
|
6
|
+
import { AccountStatusCode } from '../enums';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
|
+
export declare class AccountReportDTO extends BaseEntity {
|
|
9
|
+
name: string;
|
|
10
|
+
externalId: string;
|
|
11
|
+
description: string;
|
|
12
|
+
type: AccountTypeCode;
|
|
13
|
+
status: AccountStatusCode;
|
|
14
|
+
groups: string[];
|
|
15
|
+
expiredOn: number;
|
|
16
|
+
tags: string[];
|
|
17
|
+
labels: StringKeyValue[];
|
|
18
|
+
settings: AccountSettings;
|
|
19
|
+
healthScore: number;
|
|
20
|
+
membersCount: number;
|
|
21
|
+
latestDeviceReport: DeviceReport;
|
|
22
|
+
deviceDistributionByStatus: IntDistribution;
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountReportDTO = void 0;
|
|
4
|
+
const base_1 = require("../base");
|
|
5
|
+
// AccountReportDTO includes additional data related to Account for display
|
|
6
|
+
class AccountReportDTO extends base_1.BaseEntity {
|
|
7
|
+
}
|
|
8
|
+
exports.AccountReportDTO = AccountReportDTO;
|
|
9
|
+
//# sourceMappingURL=AccountReportDTO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountReportDTO.js","sourceRoot":"","sources":["../../../../src/lib/entities/AccountReportDTO.ts"],"names":[],"mappings":";;;AAGA,kCAAqC;AAOrC,2EAA2E;AAC3E,MAAa,gBAAiB,SAAQ,iBAAU;CA6C/C;AA7CD,4CA6CC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
2
2
|
import { EventStatusCode } from '../enums';
|
|
3
3
|
import { RuleTypeCode } from '../enums';
|
|
4
|
-
import { EventCategoryCode } from '../enums';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
|
-
import { EventTypeCode } from '../enums';
|
|
7
4
|
import { GeoData } from '../common';
|
|
8
|
-
import { StringKeyValue } from '../common';
|
|
9
5
|
import { TrafficDirectionCode } from '../enums';
|
|
6
|
+
import { SeverityTypeCode } from '../enums';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
|
+
import { EventCategoryCode } from '../enums';
|
|
9
|
+
import { BaseEntity } from '../base';
|
|
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":";;;AAQA,kCAAqC;AAIrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAa,KAAM,SAAQ,iBAAU;CAwEpC;AAxED,sBAwEC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Device } from '../entities';
|
|
2
|
-
import { EventStatusCode } from '../enums';
|
|
3
1
|
import { RuleTypeCode } from '../enums';
|
|
4
2
|
import { StringKeyValue } from '../common';
|
|
3
|
+
import { EventCategoryCode } from '../enums';
|
|
5
4
|
import { TrafficDirectionCode } from '../enums';
|
|
5
|
+
import { Device } from '../entities';
|
|
6
6
|
import { BaseEntity } from '../base';
|
|
7
7
|
import { EventTypeCode } from '../enums';
|
|
8
8
|
import { SeverityTypeCode } from '../enums';
|
|
9
|
+
import { EventStatusCode } from '../enums';
|
|
9
10
|
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;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { StringKeyValue } from '../common';
|
|
2
1
|
import { DeviceActionCode } from '../enums';
|
|
3
2
|
import { SIM } from '../entities';
|
|
4
3
|
import { GeoData } from '../common';
|
|
5
4
|
import { BaseEntity } from '../base';
|
|
6
5
|
import { DeviceTypeCode } from '../enums';
|
|
7
6
|
import { DeviceStatusCode } from '../enums';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
8
|
export declare class Device extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../../src/lib/entities/Device.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Device.js","sourceRoot":"","sources":["../../../../src/lib/entities/Device.ts"],"names":[],"mappings":";;;AAGA,kCAAqC;AAOrC,0EAA0E;AAC1E,MAAa,MAAO,SAAQ,iBAAU;CAwErC;AAxED,wBAwEC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DeviceStatusCode } from '../enums';
|
|
1
2
|
import { StringKeyValue } from '../common';
|
|
2
3
|
import { DeviceActionCode } from '../enums';
|
|
3
4
|
import { SIM } from '../entities';
|
|
@@ -5,7 +6,6 @@ import { Event } from '../entities';
|
|
|
5
6
|
import { GeoData } from '../common';
|
|
6
7
|
import { BaseEntity } from '../base';
|
|
7
8
|
import { DeviceTypeCode } from '../enums';
|
|
8
|
-
import { DeviceStatusCode } from '../enums';
|
|
9
9
|
export declare class DeviceWithEvents extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceWithEvents.js","sourceRoot":"","sources":["../../../../src/lib/entities/DeviceWithEvents.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"DeviceWithEvents.js","sourceRoot":"","sources":["../../../../src/lib/entities/DeviceWithEvents.ts"],"names":[],"mappings":";;;AAMA,kCAAqC;AAKrC,iFAAiF;AACjF,MAAa,gBAAiB,SAAQ,iBAAU;CA2E/C;AA3ED,4CA2EC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EventStatusCode } from '../enums';
|
|
3
|
-
import { EventCategoryCode } from '../enums';
|
|
1
|
+
import { EventOccurrence } from '../entities';
|
|
4
2
|
import { TrafficDirectionCode } from '../enums';
|
|
5
3
|
import { BaseEntity } from '../base';
|
|
6
|
-
import {
|
|
4
|
+
import { EventStatusCode } from '../enums';
|
|
7
5
|
import { Indicator } from '../common';
|
|
8
|
-
import { RuleTypeCode } from '../enums';
|
|
9
|
-
import { GeoData } from '../common';
|
|
10
6
|
import { StringKeyValue } from '../common';
|
|
11
|
-
import {
|
|
7
|
+
import { GeoData } from '../common';
|
|
8
|
+
import { EventCategoryCode } from '../enums';
|
|
9
|
+
import { EventTypeCode } from '../enums';
|
|
10
|
+
import { SeverityTypeCode } from '../enums';
|
|
11
|
+
import { RuleTypeCode } from '../enums';
|
|
12
12
|
export declare class Event extends BaseEntity {
|
|
13
13
|
accountId: string;
|
|
14
14
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../../src/lib/entities/Event.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../../src/lib/entities/Event.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAYrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAa,KAAM,SAAQ,iBAAU;CA8EpC;AA9ED,sBA8EC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Indicator } from '../common';
|
|
3
|
-
import { StringKeyValue } from '../common';
|
|
1
|
+
import { GeoData } from '../common';
|
|
4
2
|
import { EventCategoryCode } from '../enums';
|
|
3
|
+
import { EventOccurrence } from '../entities';
|
|
5
4
|
import { TrafficDirectionCode } from '../enums';
|
|
5
|
+
import { Device } from '../entities';
|
|
6
|
+
import { BaseEntity } from '../base';
|
|
6
7
|
import { EventTypeCode } from '../enums';
|
|
7
8
|
import { SeverityTypeCode } from '../enums';
|
|
9
|
+
import { EventStatusCode } from '../enums';
|
|
10
|
+
import { Indicator } from '../common';
|
|
8
11
|
import { RuleTypeCode } from '../enums';
|
|
9
|
-
import {
|
|
10
|
-
import { EventOccurrence } from '../entities';
|
|
11
|
-
import { Device } from '../entities';
|
|
12
|
-
import { BaseEntity } from '../base';
|
|
12
|
+
import { StringKeyValue } from '../common';
|
|
13
13
|
export declare class EventWithDevice extends BaseEntity {
|
|
14
14
|
accountId: string;
|
|
15
15
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/EventWithDevice.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"EventWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/EventWithDevice.ts"],"names":[],"mappings":";;;AAKA,kCAAqC;AAUrC,oFAAoF;AACpF,MAAa,eAAgB,SAAQ,iBAAU;CA8E9C;AA9ED,0CA8EC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { DirectionContextCode } from '../enums';
|
|
1
3
|
import { BaseEntity } from '../base';
|
|
2
4
|
import { InsightTypeCode } from '../enums';
|
|
3
5
|
import { InsightStatusCode } from '../enums';
|
|
4
|
-
import { SeverityTypeCode } from '../enums';
|
|
5
|
-
import { DirectionContextCode } from '../enums';
|
|
6
6
|
export declare class Insight extends BaseEntity {
|
|
7
7
|
accountId: string;
|
|
8
8
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Insight.js","sourceRoot":"","sources":["../../../../src/lib/entities/Insight.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Insight.js","sourceRoot":"","sources":["../../../../src/lib/entities/Insight.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAMrC,UAAU;AACV,sGAAsG;AACtG,MAAa,OAAQ,SAAQ,iBAAU;CAoCtC;AApCD,0BAoCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InsightQuery.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightQuery.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAIrC,eAAe;AACf,kIAAkI;AAClI,MAAa,YAAa,SAAQ,iBAAU;
|
|
1
|
+
{"version":3,"file":"InsightQuery.js","sourceRoot":"","sources":["../../../../src/lib/entities/InsightQuery.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAIrC,eAAe;AACf,kIAAkI;AAClI,MAAa,YAAa,SAAQ,iBAAU;CAqB3C;AArBD,oCAqBC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { StringKeyValue } from '../common';
|
|
2
|
-
import { EventTypeCode } from '../enums';
|
|
3
|
-
import { SeverityTypeCode } from '../enums';
|
|
4
1
|
import { DeviceActionCode } from '../enums';
|
|
5
2
|
import { BaseEntity } from '../base';
|
|
6
3
|
import { IntegrationTypeCode } from '../enums';
|
|
7
4
|
import { IntegrationTriggerCode } from '../enums';
|
|
8
5
|
import { HttpMethodCode } from '../enums';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
7
|
+
import { EventTypeCode } from '../enums';
|
|
8
|
+
import { SeverityTypeCode } from '../enums';
|
|
9
9
|
export declare class Integration extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Integration.js","sourceRoot":"","sources":["../../../../src/lib/entities/Integration.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Integration.js","sourceRoot":"","sources":["../../../../src/lib/entities/Integration.ts"],"names":[],"mappings":";;;AACA,kCAAqC;AAUrC,6BAA6B;AAC7B,MAAa,WAAY,SAAQ,iBAAU;CAkE1C;AAlED,kCAkEC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
1
|
import { BaseEntity } from '../base';
|
|
3
2
|
import { RuleTypeCode } from '../enums';
|
|
4
3
|
import { DataSourceCode } from '../enums';
|
|
5
4
|
import { Condition } from '../entities';
|
|
6
5
|
import { DeviceTypeCode } from '../enums';
|
|
7
6
|
import { EventTypeCode } from '../enums';
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
8
|
export declare class Rule extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../src/lib/entities/Rule.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../src/lib/entities/Rule.ts"],"names":[],"mappings":";;;AAAA,kCAAqC;AAUrC,gCAAgC;AAChC,MAAa,IAAK,SAAQ,iBAAU;CAyDnC;AAzDD,oBAyDC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
1
2
|
import { SeverityTypeCode } from '../enums';
|
|
2
3
|
import { BaseEntity } from '../base';
|
|
3
4
|
import { DataSourceCode } from '../enums';
|
|
4
|
-
import { EventTypeCode } from '../enums';
|
|
5
5
|
export declare class RuleTemplate extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuleTemplate.js","sourceRoot":"","sources":["../../../../src/lib/entities/RuleTemplate.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"RuleTemplate.js","sourceRoot":"","sources":["../../../../src/lib/entities/RuleTemplate.ts"],"names":[],"mappings":";;;AAEA,kCAAqC;AAKrC,qFAAqF;AACrF,MAAa,YAAa,SAAQ,iBAAU;CA2B3C;AA3BD,oCA2BC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DeviceConfig } from '../common';
|
|
2
|
-
import { BaseEntity } from '../base';
|
|
3
1
|
import { Thresholds } from '../common';
|
|
4
2
|
import { ShieldexConfig } from '../common';
|
|
5
3
|
import { EventSeverityConfig } from '../common';
|
|
4
|
+
import { DeviceConfig } from '../common';
|
|
5
|
+
import { BaseEntity } from '../base';
|
|
6
6
|
export declare class StreamAnalyticsConfig extends BaseEntity {
|
|
7
7
|
accountId: string;
|
|
8
8
|
thresholds: Thresholds;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamAnalyticsConfig.js","sourceRoot":"","sources":["../../../../src/lib/entities/StreamAnalyticsConfig.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"StreamAnalyticsConfig.js","sourceRoot":"","sources":["../../../../src/lib/entities/StreamAnalyticsConfig.ts"],"names":[],"mappings":";;;AAIA,kCAAqC;AAIrC,0EAA0E;AAC1E,MAAa,qBAAsB,SAAQ,iBAAU;CAkBpD;AAlBD,sDAkBC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { ShieldexConfig } from '../common';
|
|
2
|
+
import { EventSeverityConfig } from '../common';
|
|
3
|
+
import { DeviceActionCode } from '../enums';
|
|
1
4
|
import { DeviceConfig } from '../common';
|
|
2
5
|
import { DataIngestion } from '../entities';
|
|
3
6
|
import { SessionTransform } from '../common';
|
|
4
7
|
import { UsageTransform } from '../common';
|
|
5
8
|
import { Thresholds } from '../common';
|
|
6
|
-
import { ShieldexConfig } from '../common';
|
|
7
|
-
import { EventSeverityConfig } from '../common';
|
|
8
|
-
import { DeviceActionCode } from '../enums';
|
|
9
9
|
export declare class StreamConfig {
|
|
10
10
|
ingest: DataIngestion;
|
|
11
11
|
sessionTransform: SessionTransform;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Account"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./AccountDTO"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./AccountReportDTO"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./AccountSettings"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./Action"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./Alert"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/entities/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,uDAA6B;AAC7B,4DAAkC;AAClC,mDAAyB;AACzB,kDAAwB;AACxB,4DAAkC;AAClC,mDAAyB;AACzB,qDAA2B;AAC3B,wDAA8B;AAC9B,uDAA6B;AAC7B,sDAA4B;AAC5B,wDAA8B;AAC9B,yDAA+B;AAC/B,sDAA4B;AAC5B,0DAAgC;AAChC,oEAA0C;AAC1C,mDAAyB;AACzB,yDAA+B;AAC/B,6DAAmC;AACnC,yDAA+B;AAC/B,kDAAwB;AACxB,4DAAkC;AAClC,4DAAkC;AAClC,oDAA0B;AAC1B,0DAAgC;AAChC,kDAAwB;AACxB,kDAAwB;AACxB,oDAA0B;AAC1B,yDAA+B;AAC/B,wDAA8B;AAC9B,4DAAkC;AAClC,wDAA8B;AAC9B,mDAAyB;AACzB,mDAAyB;AACzB,mDAAyB;AACzB,iDAAuB;AACvB,yDAA+B;AAC/B,gDAAsB;AACtB,0DAAgC;AAChC,0DAAgC;AAChC,qDAA2B;AAC3B,mDAAyB;AACzB,kEAAwC;AACxC,yDAA+B;AAC/B,qEAA2C;AAC3C,wDAA8B;AAC9B,iDAAuB;AACvB,2DAAiC;AACjC,4DAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/entities/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,uDAA6B;AAC7B,6DAAmC;AACnC,4DAAkC;AAClC,mDAAyB;AACzB,kDAAwB;AACxB,4DAAkC;AAClC,mDAAyB;AACzB,qDAA2B;AAC3B,wDAA8B;AAC9B,uDAA6B;AAC7B,sDAA4B;AAC5B,wDAA8B;AAC9B,yDAA+B;AAC/B,sDAA4B;AAC5B,0DAAgC;AAChC,oEAA0C;AAC1C,mDAAyB;AACzB,yDAA+B;AAC/B,6DAAmC;AACnC,yDAA+B;AAC/B,kDAAwB;AACxB,4DAAkC;AAClC,4DAAkC;AAClC,oDAA0B;AAC1B,0DAAgC;AAChC,kDAAwB;AACxB,kDAAwB;AACxB,oDAA0B;AAC1B,yDAA+B;AAC/B,wDAA8B;AAC9B,4DAAkC;AAClC,wDAA8B;AAC9B,mDAAyB;AACzB,mDAAyB;AACzB,mDAAyB;AACzB,iDAAuB;AACvB,yDAA+B;AAC/B,gDAAsB;AACtB,0DAAgC;AAChC,0DAAgC;AAChC,qDAA2B;AAC3B,mDAAyB;AACzB,kEAAwC;AACxC,yDAA+B;AAC/B,qEAA2C;AAC3C,wDAA8B;AAC9B,iDAAuB;AACvB,2DAAiC;AACjC,4DAAkC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReportSourceCode = void 0;
|
|
4
|
+
exports.GetReportSourceCodes = GetReportSourceCodes;
|
|
5
|
+
// Report source code
|
|
6
|
+
var ReportSourceCode;
|
|
7
|
+
(function (ReportSourceCode) {
|
|
8
|
+
// Undefined [0]
|
|
9
|
+
ReportSourceCode[ReportSourceCode["UNDEFINED"] = 0] = "UNDEFINED";
|
|
10
|
+
// Ondemand report source - from API [1]
|
|
11
|
+
ReportSourceCode[ReportSourceCode["ONDEMAND"] = 1] = "ONDEMAND";
|
|
12
|
+
// Periodic task report source [2]
|
|
13
|
+
ReportSourceCode[ReportSourceCode["PERIODIC"] = 2] = "PERIODIC";
|
|
14
|
+
})(ReportSourceCode || (exports.ReportSourceCode = ReportSourceCode = {}));
|
|
15
|
+
// Return list of ReportSourceCode values and their display names
|
|
16
|
+
function GetReportSourceCodes() {
|
|
17
|
+
let result = new Map();
|
|
18
|
+
result.set(ReportSourceCode.UNDEFINED, 'Undefined');
|
|
19
|
+
result.set(ReportSourceCode.ONDEMAND, 'Ondemand');
|
|
20
|
+
result.set(ReportSourceCode.PERIODIC, 'Periodic');
|
|
21
|
+
return result;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=ReportSourceCode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportSourceCode.js","sourceRoot":"","sources":["../../../../src/lib/enums/ReportSourceCode.ts"],"names":[],"mappings":";;;AAgBA,oDAaC;AA5BD,qBAAqB;AACrB,IAAY,gBAWX;AAXD,WAAY,gBAAgB;IAExB,iBAAiB;IACjB,iEAAa,CAAA;IAEb,yCAAyC;IACzC,+DAAY,CAAA;IAEZ,mCAAmC;IACnC,+DAAY,CAAA;AAEhB,CAAC,EAXW,gBAAgB,gCAAhB,gBAAgB,QAW3B;AAED,iEAAiE;AACjE,SAAgB,oBAAoB;IAEhC,IAAI,MAAM,GAAG,IAAI,GAAG,EAA4B,CAAC;IAGjD,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAEpD,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAElD,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;IAGlD,OAAO,MAAM,CAAC;AAClB,CAAC"}
|
|
@@ -21,6 +21,7 @@ export * from './MemberRoleCode';
|
|
|
21
21
|
export * from './NetworkMapTypeCode';
|
|
22
22
|
export * from './OperatorCode';
|
|
23
23
|
export * from './PermissionCode';
|
|
24
|
+
export * from './ReportSourceCode';
|
|
24
25
|
export * from './ReportTypeCode';
|
|
25
26
|
export * from './RuleActivityStatusCode';
|
|
26
27
|
export * from './RuleTypeCode';
|
|
@@ -24,6 +24,7 @@ tslib_1.__exportStar(require("./MemberRoleCode"), exports);
|
|
|
24
24
|
tslib_1.__exportStar(require("./NetworkMapTypeCode"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./OperatorCode"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./PermissionCode"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./ReportSourceCode"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./ReportTypeCode"), exports);
|
|
28
29
|
tslib_1.__exportStar(require("./RuleActivityStatusCode"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./RuleTypeCode"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/enums/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,4DAAkC;AAClC,2DAAiC;AACjC,6DAAmC;AACnC,+DAAqC;AACrC,+DAAqC;AACrC,6DAAmC;AACnC,2DAAiC;AACjC,iEAAuC;AACvC,8DAAoC;AACpC,4DAAkC;AAClC,0DAAgC;AAChC,wDAA8B;AAC9B,6DAAmC;AACnC,2DAAiC;AACjC,8DAAoC;AACpC,4DAAkC;AAClC,mEAAyC;AACzC,gEAAsC;AACtC,2DAAiC;AACjC,+DAAqC;AACrC,yDAA+B;AAC/B,2DAAiC;AACjC,2DAAiC;AACjC,mEAAyC;AACzC,yDAA+B;AAC/B,6DAAmC;AACnC,iEAAuC;AACvC,2DAAiC;AACjC,yDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/enums/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,4DAAkC;AAClC,2DAAiC;AACjC,6DAAmC;AACnC,+DAAqC;AACrC,+DAAqC;AACrC,6DAAmC;AACnC,2DAAiC;AACjC,iEAAuC;AACvC,8DAAoC;AACpC,4DAAkC;AAClC,0DAAgC;AAChC,wDAA8B;AAC9B,6DAAmC;AACnC,2DAAiC;AACjC,8DAAoC;AACpC,4DAAkC;AAClC,mEAAyC;AACzC,gEAAsC;AACtC,2DAAiC;AACjC,+DAAqC;AACrC,yDAA+B;AAC/B,2DAAiC;AACjC,6DAAmC;AACnC,2DAAiC;AACjC,mEAAyC;AACzC,yDAA+B;AAC/B,6DAAmC;AACnC,iEAAuC;AACvC,2DAAiC;AACjC,yDAA+B"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { Account } from '../entities';
|
|
3
2
|
import { AccountSettings } from '../entities';
|
|
4
3
|
import { AccountTypeCode } from '../enums';
|
|
5
4
|
import { AccountStatusCode } from '../enums';
|
|
6
5
|
import { Image } from '../entities';
|
|
6
|
+
import { AccountReportDTO } from '../entities';
|
|
7
|
+
import { Account } from '../entities';
|
|
7
8
|
export declare class SysAccountsService {
|
|
8
9
|
private apiUrl;
|
|
9
10
|
private rest;
|
|
@@ -41,4 +42,8 @@ export declare class SysAccountsService {
|
|
|
41
42
|
* Get account's logo image
|
|
42
43
|
*/
|
|
43
44
|
getLogo(id?: string): import("rxjs").Observable<EntityResponse<Image>>;
|
|
45
|
+
/**
|
|
46
|
+
* Find list of account reports by query
|
|
47
|
+
*/
|
|
48
|
+
findAccountReports(search?: string, type?: AccountTypeCode[], status?: AccountStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<AccountReportDTO>>;
|
|
44
49
|
}
|
|
@@ -80,6 +80,31 @@ class SysAccountsService {
|
|
|
80
80
|
getLogo(id) {
|
|
81
81
|
return this.rest.get(`${this.baseUrl}/logo`);
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Find list of account reports by query
|
|
85
|
+
*/
|
|
86
|
+
findAccountReports(search, type, status, sort, page, size) {
|
|
87
|
+
const params = [];
|
|
88
|
+
if (search != null) {
|
|
89
|
+
params.push(`search=${search}`);
|
|
90
|
+
}
|
|
91
|
+
if (type != null) {
|
|
92
|
+
params.push(`type=${type}`);
|
|
93
|
+
}
|
|
94
|
+
if (status != null) {
|
|
95
|
+
params.push(`status=${status}`);
|
|
96
|
+
}
|
|
97
|
+
if (sort != null) {
|
|
98
|
+
params.push(`sort=${sort}`);
|
|
99
|
+
}
|
|
100
|
+
if (page != null) {
|
|
101
|
+
params.push(`page=${page}`);
|
|
102
|
+
}
|
|
103
|
+
if (size != null) {
|
|
104
|
+
params.push(`size=${size}`);
|
|
105
|
+
}
|
|
106
|
+
return this.rest.get(`${this.baseUrl}`, ...params);
|
|
107
|
+
}
|
|
83
108
|
}
|
|
84
109
|
exports.SysAccountsService = SysAccountsService;
|
|
85
110
|
//# sourceMappingURL=sysAccountsService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sysAccountsService.js","sourceRoot":"","sources":["../../../../src/lib/services/sysAccountsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"sysAccountsService.js","sourceRoot":"","sources":["../../../../src/lib/services/sysAccountsService.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { UserTypeCode } from '../enums';
|
|
3
2
|
import { UserStatusCode } from '../enums';
|
|
4
3
|
import { UserMemberships } from '../entities';
|
|
5
4
|
import { User } from '../entities';
|
|
5
|
+
import { UserTypeCode } 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 { Alert } from '../entities';
|
|
3
3
|
import { EventTypeCode } from '../enums';
|
|
4
|
-
import { RuleTypeCode } from '../enums';
|
|
5
|
-
import { IntDistribution } from '../entities';
|
|
6
|
-
import { TimeSeriesOf2D } from '../common';
|
|
7
|
-
import { MaliciousIPCard } from '../common';
|
|
8
4
|
import { SeverityTypeCode } from '../enums';
|
|
5
|
+
import { IntDistribution } from '../entities';
|
|
9
6
|
import { EventCategoryCode } from '../enums';
|
|
10
7
|
import { DeviceActionCode } from '../enums';
|
|
8
|
+
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { MaliciousIPData } from '../common';
|
|
10
|
+
import { TimeSeriesOf2D } from '../common';
|
|
11
11
|
import { StringKeyValue } from '../common';
|
|
12
12
|
import { EventStatusCode } from '../enums';
|
|
13
13
|
import { AlertWithDevice } from '../entities';
|
|
14
|
-
import { MaliciousIPData } from '../common';
|
|
15
14
|
import { TimeSeriesOfFloat } from '../common';
|
|
15
|
+
import { MaliciousIPCard } from '../common';
|
|
16
16
|
export declare class UsrAlertsService {
|
|
17
17
|
private apiUrl;
|
|
18
18
|
private rest;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
3
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { DeviceWithEvents } from '../entities';
|
|
4
3
|
import { IntDistribution } from '../entities';
|
|
4
|
+
import { NetworkMap } from '../common';
|
|
5
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
6
|
+
import { DeviceStatusCode } from '../enums';
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
|
+
import { DeviceTypeCode } from '../enums';
|
|
5
9
|
import { DeviceActionCode } from '../enums';
|
|
6
10
|
import { NetworkMapTypeCode } from '../enums';
|
|
7
|
-
import { NetworkMap } from '../common';
|
|
8
11
|
import { DeviceReport } from '../entities';
|
|
9
|
-
import { BulkDevices } from '../entities';
|
|
10
12
|
import { TimeSeriesOfDataConsumption } from '../common';
|
|
11
|
-
import { DeviceStatusCode } from '../enums';
|
|
12
|
-
import { DeviceWithEvents } from '../entities';
|
|
13
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
14
13
|
import { Device } from '../entities';
|
|
14
|
+
import { BulkDevices } from '../entities';
|
|
15
15
|
export declare class UsrDevicesService {
|
|
16
16
|
private apiUrl;
|
|
17
17
|
private rest;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
3
|
+
import { SeverityTypeCode } from '../enums';
|
|
4
|
+
import { EventCategoryCode } from '../enums';
|
|
5
|
+
import { EventWithDevice } from '../entities';
|
|
2
6
|
import { MaliciousIPData } from '../common';
|
|
3
|
-
import {
|
|
7
|
+
import { MaliciousIPCard } from '../common';
|
|
8
|
+
import { Event } from '../entities';
|
|
4
9
|
import { EventStatusCode } from '../enums';
|
|
5
10
|
import { RuleTypeCode } from '../enums';
|
|
6
|
-
import {
|
|
11
|
+
import { IntDistribution } from '../entities';
|
|
7
12
|
import { TimeSeriesOf2D } from '../common';
|
|
8
|
-
import { Event } from '../entities';
|
|
9
|
-
import { EventTypeCode } from '../enums';
|
|
10
|
-
import { SeverityTypeCode } from '../enums';
|
|
11
|
-
import { EventCategoryCode } from '../enums';
|
|
12
13
|
import { TimeSeriesOfFloat } from '../common';
|
|
13
|
-
import { MaliciousIPCard } from '../common';
|
|
14
14
|
import { StringKeyValue } from '../common';
|
|
15
15
|
export declare class UsrEventsService {
|
|
16
16
|
private apiUrl;
|
|
@@ -2,6 +2,7 @@ import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../.
|
|
|
2
2
|
import { TimeSeries } from '../common';
|
|
3
3
|
import { GraphSeries } from '../common';
|
|
4
4
|
import { Report } from '../entities';
|
|
5
|
+
import { ReportSourceCode } from '../enums';
|
|
5
6
|
export declare class UsrReportsService {
|
|
6
7
|
private apiUrl;
|
|
7
8
|
private rest;
|
|
@@ -34,7 +35,7 @@ export declare class UsrReportsService {
|
|
|
34
35
|
/**
|
|
35
36
|
* Create compliance report and send it by email
|
|
36
37
|
*/
|
|
37
|
-
getComplianceReportByMail(streamId?: string, from?: number, to?: number, addresses?: string[]): import("rxjs").Observable<ActionResponse>;
|
|
38
|
+
getComplianceReportByMail(streamId?: string, from?: number, to?: number, addresses?: string[], source?: ReportSourceCode): import("rxjs").Observable<ActionResponse>;
|
|
38
39
|
/**
|
|
39
40
|
* Get histogram of network activity over time
|
|
40
41
|
*/
|
|
@@ -78,7 +78,7 @@ class UsrReportsService {
|
|
|
78
78
|
/**
|
|
79
79
|
* Create compliance report and send it by email
|
|
80
80
|
*/
|
|
81
|
-
getComplianceReportByMail(streamId, from, to, addresses) {
|
|
81
|
+
getComplianceReportByMail(streamId, from, to, addresses, source) {
|
|
82
82
|
const params = [];
|
|
83
83
|
if (streamId != null) {
|
|
84
84
|
params.push(`streamId=${streamId}`);
|
|
@@ -92,6 +92,9 @@ class UsrReportsService {
|
|
|
92
92
|
if (addresses != null) {
|
|
93
93
|
params.push(`addresses=${addresses}`);
|
|
94
94
|
}
|
|
95
|
+
if (source != null) {
|
|
96
|
+
params.push(`source=${source}`);
|
|
97
|
+
}
|
|
95
98
|
return this.rest.get(`${this.baseUrl}/compliance-by-mail`, ...params);
|
|
96
99
|
}
|
|
97
100
|
/**
|