@shieldiot/pulse-lib 1.0.390 → 1.0.392
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 +2 -1
- package/dist/cjs/lib/common/DeviceScoreConfig.js +4 -1
- package/dist/cjs/lib/common/DeviceScoreConfig.js.map +1 -1
- package/dist/cjs/lib/common/SeriesData.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeries.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeriesOfDataConsumption.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/AccountDTO.d.ts +1 -1
- package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.d.ts +1 -1
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/entities/Alert.d.ts +3 -3
- package/dist/cjs/lib/entities/Alert.js.map +1 -1
- package/dist/cjs/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
- 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/Event.d.ts +6 -6
- 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/FeaturesGroup.d.ts +1 -1
- package/dist/cjs/lib/entities/FeaturesGroup.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/Report.d.ts +1 -1
- package/dist/cjs/lib/entities/Report.js.map +1 -1
- package/dist/cjs/lib/entities/Rule.d.ts +2 -2
- 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/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 +6 -6
- package/dist/cjs/lib/entities/TimeSeriesOfDeviceReport.d.ts +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/enums/FeatureCode.d.ts +2 -1
- package/dist/cjs/lib/enums/FeatureCode.js +3 -0
- package/dist/cjs/lib/enums/FeatureCode.js.map +1 -1
- package/dist/cjs/lib/services/services.export.d.ts +8 -8
- package/dist/cjs/lib/services/services.export.js +14 -14
- package/dist/cjs/lib/services/services.export.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/cjs/lib/services/sysConfigService.d.ts +1 -1
- package/dist/cjs/lib/services/sysIdsRulesService.d.ts +1 -1
- package/dist/cjs/lib/services/usrAlertsService.d.ts +7 -7
- package/dist/cjs/lib/services/usrDevicesService.d.ts +9 -9
- 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/usrNetworkService.d.ts +2 -2
- package/dist/cjs/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/cjs/lib/services/usrReportsService.d.ts +2 -2
- package/dist/cjs/lib/services/usrUserService.d.ts +4 -4
- package/dist/esm/lib/common/DeviceScoreConfig.d.ts +2 -1
- package/dist/esm/lib/common/DeviceScoreConfig.js +4 -1
- package/dist/esm/lib/common/DeviceScoreConfig.js.map +1 -1
- package/dist/esm/lib/common/SeriesData.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeries.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeriesOfDataConsumption.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/AccountDTO.d.ts +1 -1
- package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.d.ts +1 -1
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/entities/Alert.d.ts +3 -3
- package/dist/esm/lib/entities/Alert.js.map +1 -1
- package/dist/esm/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
- 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/Event.d.ts +6 -6
- 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/FeaturesGroup.d.ts +1 -1
- package/dist/esm/lib/entities/FeaturesGroup.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/Report.d.ts +1 -1
- package/dist/esm/lib/entities/Report.js.map +1 -1
- package/dist/esm/lib/entities/Rule.d.ts +2 -2
- 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/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 +6 -6
- package/dist/esm/lib/entities/TimeSeriesOfDeviceReport.d.ts +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/enums/FeatureCode.d.ts +2 -1
- package/dist/esm/lib/enums/FeatureCode.js +3 -0
- package/dist/esm/lib/enums/FeatureCode.js.map +1 -1
- package/dist/esm/lib/services/services.export.d.ts +8 -8
- package/dist/esm/lib/services/services.export.js +14 -14
- package/dist/esm/lib/services/services.export.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/esm/lib/services/sysConfigService.d.ts +1 -1
- package/dist/esm/lib/services/sysIdsRulesService.d.ts +1 -1
- package/dist/esm/lib/services/usrAlertsService.d.ts +7 -7
- package/dist/esm/lib/services/usrDevicesService.d.ts +9 -9
- 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/usrNetworkService.d.ts +2 -2
- package/dist/esm/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/esm/lib/services/usrReportsService.d.ts +2 -2
- package/dist/esm/lib/services/usrUserService.d.ts +4 -4
- package/dist/types/lib/common/DeviceScoreConfig.d.ts +2 -1
- package/dist/types/lib/common/SeriesData.d.ts +1 -1
- package/dist/types/lib/common/TimeSeries.d.ts +1 -1
- package/dist/types/lib/common/TimeSeriesOfDataConsumption.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/AccountDTO.d.ts +1 -1
- package/dist/types/lib/entities/AccountReportDTO.d.ts +1 -1
- package/dist/types/lib/entities/Alert.d.ts +3 -3
- package/dist/types/lib/entities/AlertWithDevice.d.ts +5 -5
- 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/Event.d.ts +6 -6
- package/dist/types/lib/entities/EventWithDevice.d.ts +7 -7
- package/dist/types/lib/entities/FeaturesGroup.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/Report.d.ts +1 -1
- package/dist/types/lib/entities/Rule.d.ts +2 -2
- package/dist/types/lib/entities/RuleTemplate.d.ts +1 -1
- 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 +6 -6
- package/dist/types/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
- package/dist/types/lib/entities/UserMembership.d.ts +1 -1
- package/dist/types/lib/enums/FeatureCode.d.ts +2 -1
- package/dist/types/lib/services/services.export.d.ts +8 -8
- package/dist/types/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/types/lib/services/sysConfigService.d.ts +1 -1
- package/dist/types/lib/services/sysIdsRulesService.d.ts +1 -1
- package/dist/types/lib/services/usrAlertsService.d.ts +7 -7
- package/dist/types/lib/services/usrDevicesService.d.ts +9 -9
- 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/usrNetworkService.d.ts +2 -2
- package/dist/types/lib/services/usrReportsInstanceService.d.ts +1 -1
- package/dist/types/lib/services/usrReportsService.d.ts +2 -2
- package/dist/types/lib/services/usrUserService.d.ts +4 -4
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.LICENSE.txt +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
2
|
import { Alert } from '../entities';
|
|
3
|
+
import { EventStatusCode } from '../enums';
|
|
3
4
|
import { RuleTypeCode } from '../enums';
|
|
4
5
|
import { AlertWithDevice } from '../entities';
|
|
6
|
+
import { TimeSeriesOf2D } from '../common';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
|
+
import { EventTypeCode } from '../enums';
|
|
9
|
+
import { SeverityTypeCode } from '../enums';
|
|
5
10
|
import { IntDistribution } from '../entities';
|
|
6
11
|
import { DeviceActionCode } from '../enums';
|
|
7
|
-
import {
|
|
12
|
+
import { EventCategoryCode } from '../enums';
|
|
8
13
|
import { MaliciousIPData } from '../common';
|
|
9
|
-
import { MaliciousIPCard } from '../common';
|
|
10
14
|
import { TimeSeriesOfFloat } from '../common';
|
|
11
|
-
import {
|
|
12
|
-
import { EventTypeCode } from '../enums';
|
|
13
|
-
import { EventCategoryCode } from '../enums';
|
|
14
|
-
import { EventStatusCode } from '../enums';
|
|
15
|
-
import { TimeSeriesOf2D } from '../common';
|
|
15
|
+
import { MaliciousIPCard } from '../common';
|
|
16
16
|
export declare class UsrAlertsService {
|
|
17
17
|
private apiUrl;
|
|
18
18
|
private rest;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { DeviceReport } from '../entities';
|
|
3
|
-
import { DeviceActionCode } from '../enums';
|
|
4
|
-
import { NetworkMap } from '../common';
|
|
5
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
6
|
-
import { TimeSeriesOfDataConsumption } from '../common';
|
|
7
|
-
import { DeviceTypeCode } from '../enums';
|
|
8
|
-
import { DeviceWithEvents } from '../entities';
|
|
9
|
-
import { IntDistribution } from '../entities';
|
|
10
|
-
import { NetworkMapTypeCode } from '../enums';
|
|
11
2
|
import { MapBounds } from '../common';
|
|
12
3
|
import { DevicesMap } from '../common';
|
|
4
|
+
import { DeviceTypeCode } from '../enums';
|
|
13
5
|
import { DeviceStatusCode } from '../enums';
|
|
6
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
7
|
+
import { DeviceReport } from '../entities';
|
|
14
8
|
import { BulkDevices } from '../entities';
|
|
15
9
|
import { SeverityTypeCode } from '../enums';
|
|
10
|
+
import { NetworkMapTypeCode } from '../enums';
|
|
11
|
+
import { NetworkMap } from '../common';
|
|
16
12
|
import { Device } from '../entities';
|
|
13
|
+
import { DeviceWithEvents } from '../entities';
|
|
14
|
+
import { IntDistribution } from '../entities';
|
|
15
|
+
import { TimeSeriesOfDataConsumption } from '../common';
|
|
16
|
+
import { DeviceActionCode } from '../enums';
|
|
17
17
|
export declare class UsrDevicesService {
|
|
18
18
|
private apiUrl;
|
|
19
19
|
private rest;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { StringKeyValue } from '../common';
|
|
3
|
-
import { EventTypeCode } from '../enums';
|
|
4
|
-
import { SeverityTypeCode } from '../enums';
|
|
5
|
-
import { EventCategoryCode } from '../enums';
|
|
6
2
|
import { EventWithDevice } from '../entities';
|
|
7
|
-
import { MaliciousIPData } from '../common';
|
|
8
3
|
import { IntDistribution } from '../entities';
|
|
9
4
|
import { TimeSeriesOf2D } from '../common';
|
|
5
|
+
import { MaliciousIPCard } from '../common';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
10
7
|
import { Event } from '../entities';
|
|
11
8
|
import { EventStatusCode } from '../enums';
|
|
9
|
+
import { EventCategoryCode } from '../enums';
|
|
12
10
|
import { RuleTypeCode } from '../enums';
|
|
11
|
+
import { MaliciousIPData } from '../common';
|
|
13
12
|
import { TimeSeriesOfFloat } from '../common';
|
|
14
|
-
import {
|
|
13
|
+
import { EventTypeCode } from '../enums';
|
|
14
|
+
import { SeverityTypeCode } from '../enums';
|
|
15
15
|
export declare class UsrEventsService {
|
|
16
16
|
private apiUrl;
|
|
17
17
|
private rest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
|
|
2
|
+
import { Insight } from '../entities';
|
|
2
3
|
import { SeverityTypeCode } from '../enums';
|
|
3
4
|
import { IntDistribution } from '../entities';
|
|
4
|
-
import { Insight } from '../entities';
|
|
5
5
|
export declare class UsrInsightsService {
|
|
6
6
|
private apiUrl;
|
|
7
7
|
private rest;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { UsageRecord } from '../entities';
|
|
3
|
-
import { SessionRecord } from '../entities';
|
|
4
2
|
import { IntDistribution } from '../entities';
|
|
5
3
|
import { Distribution } from '../entities';
|
|
6
4
|
import { FlowRecord } from '../entities';
|
|
5
|
+
import { UsageRecord } from '../entities';
|
|
6
|
+
import { SessionRecord } from '../entities';
|
|
7
7
|
export declare class UsrNetworkService {
|
|
8
8
|
private apiUrl;
|
|
9
9
|
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,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { TimeSeries } from '../common';
|
|
3
|
-
import { GraphSeries } from '../common';
|
|
4
2
|
import { Report } from '../entities';
|
|
5
3
|
import { ReportSourceCode } from '../enums';
|
|
4
|
+
import { TimeSeries } from '../common';
|
|
5
|
+
import { GraphSeries } from '../common';
|
|
6
6
|
export declare class UsrReportsService {
|
|
7
7
|
private apiUrl;
|
|
8
8
|
private rest;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { Image } from '../entities';
|
|
3
|
+
import { UserMemberships } from '../entities';
|
|
4
|
+
import { FeatureCode } from '../enums';
|
|
2
5
|
import { LoginParams } from '../common';
|
|
3
6
|
import { AccountDTO } from '../entities';
|
|
4
|
-
import { Image } from '../entities';
|
|
5
7
|
import { Feature } from '../entities';
|
|
6
8
|
import { Stream } from '../entities';
|
|
7
|
-
import { User } from '../entities';
|
|
8
|
-
import { UserMemberships } from '../entities';
|
|
9
|
-
import { FeatureCode } from '../enums';
|
|
10
9
|
import { ConfigParam } from '../entities';
|
|
10
|
+
import { User } from '../entities';
|
|
11
11
|
export declare class UsrUserService {
|
|
12
12
|
private apiUrl;
|
|
13
13
|
private rest;
|
|
@@ -9,6 +9,7 @@ export declare class DeviceScoreConfig {
|
|
|
9
9
|
lowWeightAlphaFactor: number;
|
|
10
10
|
mediumWeightAlphaFactor: number;
|
|
11
11
|
highWeightAlphaFactor: number;
|
|
12
|
+
criticalWeightAlphaFactor: number;
|
|
12
13
|
highVolumeWeightAlphaFactor: number;
|
|
13
14
|
abnormalOutPortsAlphaFactor: number;
|
|
14
15
|
abnormalOutEndpointsAlphaFactor: number;
|
|
@@ -20,5 +21,5 @@ export declare class DeviceScoreConfig {
|
|
|
20
21
|
ruleBasedSeverityConditionConfigs: RuleBasedSeverityConditionConfig[];
|
|
21
22
|
isSeverityBased: boolean;
|
|
22
23
|
isAlertBased: boolean;
|
|
23
|
-
constructor(deviceScoreAlphaFactor?: number, occurrenceThreshold?: number, ruleCountThreshold?: number, lowWeightAlphaFactor?: number, mediumWeightAlphaFactor?: number, highWeightAlphaFactor?: number, highVolumeWeightAlphaFactor?: number, abnormalOutPortsAlphaFactor?: number, abnormalOutEndpointsAlphaFactor?: number, suspiciousIpAlphaFactor?: number, defaultSeverityRange?: Interval, defaultSeverityFactor?: number, severityConditionConfigs?: SeverityConditionConfig[], ruleCountThresholdConfigs?: RuleCountThresholdConfig[], ruleBasedSeverityConditionConfigs?: RuleBasedSeverityConditionConfig[], isSeverityBased?: boolean, isAlertBased?: boolean);
|
|
24
|
+
constructor(deviceScoreAlphaFactor?: number, occurrenceThreshold?: number, ruleCountThreshold?: number, lowWeightAlphaFactor?: number, mediumWeightAlphaFactor?: number, highWeightAlphaFactor?: number, criticalWeightAlphaFactor?: number, highVolumeWeightAlphaFactor?: number, abnormalOutPortsAlphaFactor?: number, abnormalOutEndpointsAlphaFactor?: number, suspiciousIpAlphaFactor?: number, defaultSeverityRange?: Interval, defaultSeverityFactor?: number, severityConditionConfigs?: SeverityConditionConfig[], ruleCountThresholdConfigs?: RuleCountThresholdConfig[], ruleBasedSeverityConditionConfigs?: RuleBasedSeverityConditionConfig[], isSeverityBased?: boolean, isAlertBased?: boolean);
|
|
24
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// DeviceScoreConfig is a set of parameters for device score config
|
|
2
2
|
export class DeviceScoreConfig {
|
|
3
|
-
constructor(deviceScoreAlphaFactor, occurrenceThreshold, ruleCountThreshold, lowWeightAlphaFactor, mediumWeightAlphaFactor, highWeightAlphaFactor, highVolumeWeightAlphaFactor, abnormalOutPortsAlphaFactor, abnormalOutEndpointsAlphaFactor, suspiciousIpAlphaFactor, defaultSeverityRange, defaultSeverityFactor, severityConditionConfigs, ruleCountThresholdConfigs, ruleBasedSeverityConditionConfigs, isSeverityBased, isAlertBased) {
|
|
3
|
+
constructor(deviceScoreAlphaFactor, occurrenceThreshold, ruleCountThreshold, lowWeightAlphaFactor, mediumWeightAlphaFactor, highWeightAlphaFactor, criticalWeightAlphaFactor, highVolumeWeightAlphaFactor, abnormalOutPortsAlphaFactor, abnormalOutEndpointsAlphaFactor, suspiciousIpAlphaFactor, defaultSeverityRange, defaultSeverityFactor, severityConditionConfigs, ruleCountThresholdConfigs, ruleBasedSeverityConditionConfigs, isSeverityBased, isAlertBased) {
|
|
4
4
|
if (deviceScoreAlphaFactor !== undefined) {
|
|
5
5
|
this.deviceScoreAlphaFactor = deviceScoreAlphaFactor;
|
|
6
6
|
}
|
|
@@ -19,6 +19,9 @@ export class DeviceScoreConfig {
|
|
|
19
19
|
if (highWeightAlphaFactor !== undefined) {
|
|
20
20
|
this.highWeightAlphaFactor = highWeightAlphaFactor;
|
|
21
21
|
}
|
|
22
|
+
if (criticalWeightAlphaFactor !== undefined) {
|
|
23
|
+
this.criticalWeightAlphaFactor = criticalWeightAlphaFactor;
|
|
24
|
+
}
|
|
22
25
|
if (highVolumeWeightAlphaFactor !== undefined) {
|
|
23
26
|
this.highVolumeWeightAlphaFactor = highVolumeWeightAlphaFactor;
|
|
24
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceScoreConfig.js","sourceRoot":"","sources":["../../../../src/lib/common/DeviceScoreConfig.ts"],"names":[],"mappings":"AAOA,mEAAmE;AACnE,MAAM,OAAO,iBAAiB;
|
|
1
|
+
{"version":3,"file":"DeviceScoreConfig.js","sourceRoot":"","sources":["../../../../src/lib/common/DeviceScoreConfig.ts"],"names":[],"mappings":"AAOA,mEAAmE;AACnE,MAAM,OAAO,iBAAiB;IAwDzB,YAAY,sBAA+B,EAAE,mBAA4B,EAAE,kBAA2B,EAAE,oBAA6B,EAAE,uBAAgC,EAAE,qBAA8B,EAAE,yBAAkC,EAAE,2BAAoC,EAAE,2BAAoC,EAAE,+BAAwC,EAAE,uBAAgC,EAAE,oBAA+B,EAAE,qBAA8B,EAAE,wBAAoD,EAAE,yBAAsD,EAAE,iCAAsE,EAAE,eAAyB,EAAE,YAAsB;QAC1qB,IAAI,sBAAsB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QAAC,CAAC;QACnG,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAAC,CAAC;QAC1F,IAAI,kBAAkB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAAC,CAAC;QACvF,IAAI,oBAAoB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QAAC,CAAC;QAC7F,IAAI,uBAAuB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;QAAC,CAAC;QACtG,IAAI,qBAAqB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QAAC,CAAC;QAChG,IAAI,yBAAyB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;QAAC,CAAC;QAC5G,IAAI,2BAA2B,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;QAAC,CAAC;QAClH,IAAI,2BAA2B,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;QAAC,CAAC;QAClH,IAAI,+BAA+B,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,+BAA+B,GAAG,+BAA+B,CAAC;QAAC,CAAC;QAC9H,IAAI,uBAAuB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;QAAC,CAAC;QACtG,IAAI,oBAAoB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QAAC,CAAC;QAC7F,IAAI,qBAAqB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QAAC,CAAC;QAChG,IAAI,wBAAwB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAC;QAAC,CAAC;QACzG,IAAI,yBAAyB,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;QAAC,CAAC;QAC5G,IAAI,iCAAiC,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,iCAAiC,GAAG,iCAAiC,CAAC;QAAC,CAAC;QACpI,IAAI,eAAe,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QAAC,CAAC;QAC9E,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QAAC,CAAC;IACzE,CAAC;CAEJ"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { AccountTypeCode } from '../enums';
|
|
3
2
|
import { AccountStatusCode } from '../enums';
|
|
4
3
|
import { FeatureCode } from '../enums';
|
|
5
4
|
import { StringKeyValue } from '../common';
|
|
6
5
|
import { AccountSettings } from '../entities';
|
|
6
|
+
import { BaseEntity } from '../base';
|
|
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":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,kDAAkD;AAClD,MAAM,OAAO,UAAW,SAAQ,UAAU;CAoCzC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
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';
|
|
6
5
|
import { DeviceReport } from '../entities';
|
|
7
6
|
import { IntDistribution } from '../entities';
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
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":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,2EAA2E;AAC3E,MAAM,OAAO,gBAAiB,SAAQ,UAAU;CA6C/C"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventStatusCode } from '../enums';
|
|
2
2
|
import { StringKeyValue } from '../common';
|
|
3
3
|
import { TrafficDirectionCode } from '../enums';
|
|
4
|
+
import { GeoData } from '../common';
|
|
5
|
+
import { EventCategoryCode } from '../enums';
|
|
4
6
|
import { BaseEntity } from '../base';
|
|
5
7
|
import { EventTypeCode } from '../enums';
|
|
6
8
|
import { SeverityTypeCode } from '../enums';
|
|
7
|
-
import { EventStatusCode } from '../enums';
|
|
8
9
|
import { RuleTypeCode } from '../enums';
|
|
9
|
-
import { EventCategoryCode } 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":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAOrC,qBAAqB;AACrB,sMAAsM;AACtM,qNAAqN;AACrN,kNAAkN;AAClN,MAAM,OAAO,KAAM,SAAQ,UAAU;CAwEpC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Device } from '../entities';
|
|
2
|
-
import { SeverityTypeCode } from '../enums';
|
|
3
1
|
import { RuleTypeCode } from '../enums';
|
|
4
|
-
import {
|
|
2
|
+
import { GeoData } from '../common';
|
|
5
3
|
import { EventCategoryCode } from '../enums';
|
|
6
4
|
import { TrafficDirectionCode } from '../enums';
|
|
7
|
-
import {
|
|
5
|
+
import { Device } from '../entities';
|
|
8
6
|
import { EventStatusCode } from '../enums';
|
|
9
|
-
import {
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
|
+
import { StringKeyValue } from '../common';
|
|
10
9
|
import { BaseEntity } from '../base';
|
|
10
|
+
import { EventTypeCode } from '../enums';
|
|
11
11
|
export declare class AlertWithDevice extends BaseEntity {
|
|
12
12
|
accountId: string;
|
|
13
13
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/AlertWithDevice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AlertWithDevice.js","sourceRoot":"","sources":["../../../../src/lib/entities/AlertWithDevice.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,oFAAoF;AACpF,MAAM,OAAO,eAAgB,SAAQ,UAAU;CA2E9C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { DeviceTypeCode } from '../enums';
|
|
1
2
|
import { DeviceStatusCode } from '../enums';
|
|
2
3
|
import { StringKeyValue } from '../common';
|
|
3
4
|
import { DeviceActionCode } from '../enums';
|
|
4
5
|
import { SIM } from '../entities';
|
|
5
6
|
import { GeoData } from '../common';
|
|
6
7
|
import { BaseEntity } from '../base';
|
|
7
|
-
import { DeviceTypeCode } from '../enums';
|
|
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":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,0EAA0E;AAC1E,MAAM,OAAO,MAAO,SAAQ,UAAU;CAwErC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { GeoData } from '../common';
|
|
1
2
|
import { StringKeyValue } from '../common';
|
|
3
|
+
import { EventCategoryCode } from '../enums';
|
|
2
4
|
import { EventOccurrence } from '../entities';
|
|
3
|
-
import { TrafficDirectionCode } from '../enums';
|
|
4
5
|
import { BaseEntity } from '../base';
|
|
5
|
-
import { Indicator } from '../common';
|
|
6
|
-
import { RuleTypeCode } from '../enums';
|
|
7
|
-
import { GeoData } from '../common';
|
|
8
|
-
import { EventCategoryCode } from '../enums';
|
|
9
|
-
import { EventTypeCode } from '../enums';
|
|
10
6
|
import { SeverityTypeCode } from '../enums';
|
|
11
7
|
import { EventStatusCode } from '../enums';
|
|
8
|
+
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { TrafficDirectionCode } from '../enums';
|
|
10
|
+
import { EventTypeCode } from '../enums';
|
|
11
|
+
import { Indicator } from '../common';
|
|
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":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAUrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAM,OAAO,KAAM,SAAQ,UAAU;CA8EpC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { EventStatusCode } from '../enums';
|
|
3
|
+
import { GeoData } from '../common';
|
|
3
4
|
import { StringKeyValue } from '../common';
|
|
4
5
|
import { EventCategoryCode } from '../enums';
|
|
5
|
-
import { TrafficDirectionCode } from '../enums';
|
|
6
6
|
import { Device } from '../entities';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { EventStatusCode } from '../enums';
|
|
7
|
+
import { EventTypeCode } from '../enums';
|
|
8
|
+
import { Indicator } from '../common';
|
|
10
9
|
import { RuleTypeCode } from '../enums';
|
|
11
|
-
import { GeoData } from '../common';
|
|
12
10
|
import { EventOccurrence } from '../entities';
|
|
11
|
+
import { TrafficDirectionCode } from '../enums';
|
|
12
|
+
import { BaseEntity } from '../base';
|
|
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":"AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,oFAAoF;AACpF,MAAM,OAAO,eAAgB,SAAQ,UAAU;CA8E9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeaturesGroup.js","sourceRoot":"","sources":["../../../../src/lib/entities/FeaturesGroup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FeaturesGroup.js","sourceRoot":"","sources":["../../../../src/lib/entities/FeaturesGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,+FAA+F;AAC/F,MAAM,OAAO,aAAc,SAAQ,UAAU;CAS5C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
|
-
import { BaseEntity } from '../base';
|
|
3
1
|
import { RuleTypeCode } from '../enums';
|
|
4
2
|
import { DataSourceCode } from '../enums';
|
|
5
3
|
import { ConditionDescription } from '../common';
|
|
6
4
|
import { DeviceTypeCode } from '../enums';
|
|
7
5
|
import { EventTypeCode } from '../enums';
|
|
6
|
+
import { SeverityTypeCode } from '../enums';
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
8
8
|
export declare class IdsRule extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdsRule.js","sourceRoot":"","sources":["../../../../src/lib/entities/IdsRule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IdsRule.js","sourceRoot":"","sources":["../../../../src/lib/entities/IdsRule.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,0CAA0C;AAC1C,MAAM,OAAO,OAAQ,SAAQ,UAAU;CAqEtC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { RegulatoryViolation } from '../entities';
|
|
2
|
+
import { MitreAttackCategory } from '../entities';
|
|
1
3
|
import { BaseEntity } from '../base';
|
|
2
4
|
import { InsightTypeCode } from '../enums';
|
|
3
5
|
import { InsightStatusCode } from '../enums';
|
|
4
6
|
import { SeverityTypeCode } from '../enums';
|
|
5
7
|
import { DirectionContextCode } from '../enums';
|
|
6
|
-
import { RegulatoryViolation } from '../entities';
|
|
7
|
-
import { MitreAttackCategory } from '../entities';
|
|
8
8
|
export declare class Insight extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
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,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAQrC,UAAU;AACV,sGAAsG;AACtG,MAAM,OAAO,OAAQ,SAAQ,UAAU;CAsDtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Report.js","sourceRoot":"","sources":["../../../../src/lib/entities/Report.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Report.js","sourceRoot":"","sources":["../../../../src/lib/entities/Report.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,wEAAwE;AACxE,MAAM,OAAO,MAAO,SAAQ,UAAU;CA8BrC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { ConditionDescription } from '../common';
|
|
2
|
+
import { DeviceTypeCode } from '../enums';
|
|
1
3
|
import { EventTypeCode } from '../enums';
|
|
2
4
|
import { SeverityTypeCode } from '../enums';
|
|
3
5
|
import { BaseEntity } from '../base';
|
|
4
6
|
import { RuleTypeCode } from '../enums';
|
|
5
7
|
import { DataSourceCode } from '../enums';
|
|
6
|
-
import { ConditionDescription } from '../common';
|
|
7
|
-
import { DeviceTypeCode } 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":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMrC,gCAAgC;AAChC,MAAM,OAAO,IAAK,SAAQ,UAAU;CAkEnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DataSourceCode } from '../enums';
|
|
2
1
|
import { EventTypeCode } from '../enums';
|
|
3
2
|
import { SeverityTypeCode } from '../enums';
|
|
4
3
|
import { BaseEntity } from '../base';
|
|
4
|
+
import { DataSourceCode } 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,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,qFAAqF;AACrF,MAAM,OAAO,YAAa,SAAQ,UAAU;CA2B3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stream.js","sourceRoot":"","sources":["../../../../src/lib/entities/Stream.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stream.js","sourceRoot":"","sources":["../../../../src/lib/entities/Stream.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,+LAA+L;AAC/L,MAAM,OAAO,MAAO,SAAQ,UAAU;CAqBrC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { Thresholds } from '../common';
|
|
1
2
|
import { ShieldexConfig } from '../common';
|
|
2
3
|
import { EventSeverityConfig } from '../common';
|
|
3
4
|
import { DeviceConfig } from '../common';
|
|
4
5
|
import { BaseEntity } from '../base';
|
|
5
|
-
import { Thresholds } from '../common';
|
|
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,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,0EAA0E;AAC1E,MAAM,OAAO,qBAAsB,SAAQ,UAAU;CAkBpD"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IdsConfig } from '../entities';
|
|
3
|
-
import { UsageTransform } from '../common';
|
|
1
|
+
import { DataIngestion } from '../entities';
|
|
4
2
|
import { Thresholds } from '../common';
|
|
3
|
+
import { ShieldexConfig } from '../common';
|
|
5
4
|
import { EventSeverityConfig } from '../common';
|
|
6
|
-
import { DeviceActionCode } from '../enums';
|
|
7
|
-
import { DataIngestion } from '../entities';
|
|
8
5
|
import { SessionTransform } from '../common';
|
|
9
|
-
import {
|
|
6
|
+
import { UsageTransform } from '../common';
|
|
7
|
+
import { DeviceActionCode } from '../enums';
|
|
8
|
+
import { DeviceConfig } from '../common';
|
|
9
|
+
import { IdsConfig } from '../entities';
|
|
10
10
|
export declare class StreamConfig {
|
|
11
11
|
ingest: DataIngestion;
|
|
12
12
|
sessionTransform: SessionTransform;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { UserTypeCode } from '../enums';
|
|
1
2
|
import { UserStatusCode } from '../enums';
|
|
2
3
|
import { AccountRole } from '../common';
|
|
3
4
|
import { BaseEntity } from '../base';
|
|
4
|
-
import { UserTypeCode } from '../enums';
|
|
5
5
|
export declare class UserMembership extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMembership.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMembership.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserMembership.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMembership.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,4EAA4E;AAC5E,MAAM,OAAO,cAAe,SAAQ,UAAU;CA2B7C"}
|
|
@@ -27,6 +27,8 @@ export var FeatureCode;
|
|
|
27
27
|
FeatureCode[FeatureCode["GENERAL_UPGRADE"] = 11] = "GENERAL_UPGRADE";
|
|
28
28
|
// Enable add/delete device actions [12]
|
|
29
29
|
FeatureCode[FeatureCode["ADD_DELETE_DEVICE"] = 12] = "ADD_DELETE_DEVICE";
|
|
30
|
+
// Enable AI-based insights [13]
|
|
31
|
+
FeatureCode[FeatureCode["ADVANCED_INSIGHTS"] = 13] = "ADVANCED_INSIGHTS";
|
|
30
32
|
})(FeatureCode || (FeatureCode = {}));
|
|
31
33
|
// Return list of FeatureCode values and their display names
|
|
32
34
|
export function GetFeatureCodes() {
|
|
@@ -44,6 +46,7 @@ export function GetFeatureCodes() {
|
|
|
44
46
|
result.set(FeatureCode.INTEGRATIONS, 'Integrations');
|
|
45
47
|
result.set(FeatureCode.GENERAL_UPGRADE, 'General Upgrade');
|
|
46
48
|
result.set(FeatureCode.ADD_DELETE_DEVICE, 'Add Delete Device');
|
|
49
|
+
result.set(FeatureCode.ADVANCED_INSIGHTS, 'Advanced Insights');
|
|
47
50
|
return result;
|
|
48
51
|
}
|
|
49
52
|
//# sourceMappingURL=FeatureCode.js.map
|