@shieldiot/pulse-lib 1.0.379 → 1.0.381
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/DevicesMap.d.ts +1 -1
- package/dist/cjs/lib/common/SeriesData.d.ts +1 -1
- package/dist/cjs/lib/common/TimeSeriesOfFloat.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 +3 -3
- package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/cjs/lib/entities/Action.d.ts +1 -1
- package/dist/cjs/lib/entities/Action.js.map +1 -1
- package/dist/cjs/lib/entities/Alert.d.ts +4 -4
- 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/Device.d.ts +1 -1
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +2 -2
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +3 -3
- package/dist/cjs/lib/entities/Event.js.map +1 -1
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +6 -6
- 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 +1 -1
- package/dist/cjs/lib/entities/Insight.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/Radius.d.ts +1 -1
- package/dist/cjs/lib/entities/Radius.js.map +1 -1
- package/dist/cjs/lib/entities/Report.d.ts +1 -1
- package/dist/cjs/lib/entities/Report.js.map +1 -1
- package/dist/cjs/lib/entities/ReportInstance.d.ts +1 -1
- package/dist/cjs/lib/entities/ReportInstance.js.map +1 -1
- package/dist/cjs/lib/entities/Rule.d.ts +1 -1
- package/dist/cjs/lib/entities/Rule.js.map +1 -1
- package/dist/cjs/lib/entities/RuleTemplate.d.ts +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 +2 -2
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/cjs/lib/entities/StreamConfig.d.ts +5 -5
- package/dist/cjs/lib/entities/User.d.ts +1 -1
- 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 +1 -1
- package/dist/cjs/lib/entities/UserMemberships.js.map +1 -1
- package/dist/cjs/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/cjs/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/cjs/lib/services/usrAlertsService.d.ts +15 -15
- package/dist/cjs/lib/services/usrAlertsService.js +21 -21
- package/dist/cjs/lib/services/usrDevicesService.d.ts +16 -16
- package/dist/cjs/lib/services/usrDevicesService.js +18 -18
- package/dist/cjs/lib/services/usrEventsService.d.ts +8 -8
- package/dist/cjs/lib/services/usrInsightsService.d.ts +5 -0
- package/dist/cjs/lib/services/usrInsightsService.js +6 -0
- package/dist/cjs/lib/services/usrInsightsService.js.map +1 -1
- package/dist/cjs/lib/services/usrReportsService.d.ts +2 -2
- package/dist/cjs/lib/services/usrRulesService.d.ts +3 -3
- package/dist/cjs/lib/services/usrUserService.d.ts +4 -4
- package/dist/esm/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/esm/lib/common/DevicesMap.d.ts +1 -1
- package/dist/esm/lib/common/SeriesData.d.ts +1 -1
- package/dist/esm/lib/common/TimeSeriesOfFloat.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 +3 -3
- package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
- package/dist/esm/lib/entities/Action.d.ts +1 -1
- package/dist/esm/lib/entities/Action.js.map +1 -1
- package/dist/esm/lib/entities/Alert.d.ts +4 -4
- 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/Device.d.ts +1 -1
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +2 -2
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +3 -3
- package/dist/esm/lib/entities/Event.js.map +1 -1
- package/dist/esm/lib/entities/EventWithDevice.d.ts +6 -6
- 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 +1 -1
- package/dist/esm/lib/entities/Insight.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/Radius.d.ts +1 -1
- package/dist/esm/lib/entities/Radius.js.map +1 -1
- package/dist/esm/lib/entities/Report.d.ts +1 -1
- package/dist/esm/lib/entities/Report.js.map +1 -1
- package/dist/esm/lib/entities/ReportInstance.d.ts +1 -1
- package/dist/esm/lib/entities/ReportInstance.js.map +1 -1
- package/dist/esm/lib/entities/Rule.d.ts +1 -1
- package/dist/esm/lib/entities/Rule.js.map +1 -1
- package/dist/esm/lib/entities/RuleTemplate.d.ts +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 +2 -2
- package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/esm/lib/entities/StreamConfig.d.ts +5 -5
- package/dist/esm/lib/entities/User.d.ts +1 -1
- 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 +1 -1
- package/dist/esm/lib/entities/UserMemberships.js.map +1 -1
- package/dist/esm/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/esm/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/esm/lib/services/usrAlertsService.d.ts +15 -15
- package/dist/esm/lib/services/usrAlertsService.js +21 -21
- package/dist/esm/lib/services/usrDevicesService.d.ts +16 -16
- package/dist/esm/lib/services/usrDevicesService.js +18 -18
- package/dist/esm/lib/services/usrEventsService.d.ts +8 -8
- package/dist/esm/lib/services/usrInsightsService.d.ts +5 -0
- package/dist/esm/lib/services/usrInsightsService.js +6 -0
- package/dist/esm/lib/services/usrInsightsService.js.map +1 -1
- package/dist/esm/lib/services/usrReportsService.d.ts +2 -2
- package/dist/esm/lib/services/usrRulesService.d.ts +3 -3
- package/dist/esm/lib/services/usrUserService.d.ts +4 -4
- package/dist/types/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/types/lib/common/DevicesMap.d.ts +1 -1
- package/dist/types/lib/common/SeriesData.d.ts +1 -1
- package/dist/types/lib/common/TimeSeriesOfFloat.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 +3 -3
- package/dist/types/lib/entities/Action.d.ts +1 -1
- package/dist/types/lib/entities/Alert.d.ts +4 -4
- package/dist/types/lib/entities/AlertWithDevice.d.ts +5 -5
- package/dist/types/lib/entities/Device.d.ts +1 -1
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +2 -2
- package/dist/types/lib/entities/Event.d.ts +3 -3
- package/dist/types/lib/entities/EventWithDevice.d.ts +6 -6
- 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 +1 -1
- package/dist/types/lib/entities/Integration.d.ts +3 -3
- package/dist/types/lib/entities/Radius.d.ts +1 -1
- package/dist/types/lib/entities/Report.d.ts +1 -1
- package/dist/types/lib/entities/ReportInstance.d.ts +1 -1
- package/dist/types/lib/entities/Rule.d.ts +1 -1
- package/dist/types/lib/entities/RuleTemplate.d.ts +1 -1
- package/dist/types/lib/entities/Stream.d.ts +1 -1
- package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +2 -2
- package/dist/types/lib/entities/StreamConfig.d.ts +5 -5
- package/dist/types/lib/entities/User.d.ts +1 -1
- package/dist/types/lib/entities/UserMembership.d.ts +1 -1
- package/dist/types/lib/entities/UserMemberships.d.ts +1 -1
- package/dist/types/lib/services/sysAccountsService.d.ts +1 -1
- package/dist/types/lib/services/sysIdsRulesService.d.ts +2 -2
- package/dist/types/lib/services/usrAlertsService.d.ts +15 -15
- package/dist/types/lib/services/usrDevicesService.d.ts +16 -16
- package/dist/types/lib/services/usrEventsService.d.ts +8 -8
- package/dist/types/lib/services/usrInsightsService.d.ts +5 -0
- package/dist/types/lib/services/usrReportsService.d.ts +2 -2
- package/dist/types/lib/services/usrRulesService.d.ts +3 -3
- package/dist/types/lib/services/usrUserService.d.ts +4 -4
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
|
@@ -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":"AAUA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,eAAe;AACf,8IAA8I;AAC9I,8HAA8H;AAC9H,MAAM,OAAO,KAAM,SAAQ,UAAU;CA8EpC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { StringKeyValue } from '../common';
|
|
2
|
+
import { EventCategoryCode } from '../enums';
|
|
3
|
+
import { EventOccurrence } from '../entities';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
|
+
import { EventTypeCode } from '../enums';
|
|
6
|
+
import { Indicator } from '../common';
|
|
1
7
|
import { RuleTypeCode } from '../enums';
|
|
2
8
|
import { GeoData } from '../common';
|
|
3
|
-
import { StringKeyValue } from '../common';
|
|
4
9
|
import { TrafficDirectionCode } from '../enums';
|
|
5
10
|
import { Device } from '../entities';
|
|
6
|
-
import { BaseEntity } from '../base';
|
|
7
|
-
import { Indicator } from '../common';
|
|
8
11
|
import { SeverityTypeCode } from '../enums';
|
|
9
12
|
import { EventStatusCode } from '../enums';
|
|
10
|
-
import { EventCategoryCode } from '../enums';
|
|
11
|
-
import { EventOccurrence } from '../entities';
|
|
12
|
-
import { EventTypeCode } from '../enums';
|
|
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":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAYrC,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 { RuleTypeCode } from '../enums';
|
|
2
|
+
import { DataSourceCode } from '../enums';
|
|
1
3
|
import { ConditionDescription } from '../common';
|
|
2
4
|
import { DeviceTypeCode } from '../enums';
|
|
3
5
|
import { EventTypeCode } from '../enums';
|
|
4
6
|
import { SeverityTypeCode } from '../enums';
|
|
5
7
|
import { BaseEntity } from '../base';
|
|
6
|
-
import { RuleTypeCode } from '../enums';
|
|
7
|
-
import { DataSourceCode } from '../enums';
|
|
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 { BaseEntity } from '../base';
|
|
2
1
|
import { InsightTypeCode } from '../enums';
|
|
3
2
|
import { InsightStatusCode } from '../enums';
|
|
4
3
|
import { SeverityTypeCode } from '../enums';
|
|
5
4
|
import { DirectionContextCode } from '../enums';
|
|
6
5
|
import { RegulatoryViolation } from '../entities';
|
|
7
6
|
import { MitreAttackCategory } from '../entities';
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
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":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,UAAU;AACV,sGAAsG;AACtG,MAAM,OAAO,OAAQ,SAAQ,UAAU;CAsDtC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { SeverityTypeCode } from '../enums';
|
|
2
|
-
import { DeviceActionCode } from '../enums';
|
|
3
|
-
import { BaseEntity } from '../base';
|
|
4
1
|
import { IntegrationTypeCode } from '../enums';
|
|
5
2
|
import { IntegrationTriggerCode } from '../enums';
|
|
6
3
|
import { HttpMethodCode } from '../enums';
|
|
7
4
|
import { StringKeyValue } from '../common';
|
|
8
5
|
import { EventTypeCode } from '../enums';
|
|
6
|
+
import { SeverityTypeCode } from '../enums';
|
|
7
|
+
import { DeviceActionCode } from '../enums';
|
|
8
|
+
import { BaseEntity } from '../base';
|
|
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":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,6BAA6B;AAC7B,MAAM,OAAO,WAAY,SAAQ,UAAU;CAkE1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radius.js","sourceRoot":"","sources":["../../../../src/lib/entities/Radius.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Radius.js","sourceRoot":"","sources":["../../../../src/lib/entities/Radius.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,yDAAyD;AACzD,MAAM,OAAO,MAAO,SAAQ,UAAU;CAoCrC"}
|
|
@@ -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,7 +1,7 @@
|
|
|
1
|
+
import { IntDistribution } from '../entities';
|
|
1
2
|
import { DeviceReport } from '../entities';
|
|
2
3
|
import { ReportTypeCode } from '../enums';
|
|
3
4
|
import { BaseEntity } from '../base';
|
|
4
|
-
import { IntDistribution } from '../entities';
|
|
5
5
|
export declare class ReportInstance extends BaseEntity {
|
|
6
6
|
accountId: string;
|
|
7
7
|
from: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportInstance.js","sourceRoot":"","sources":["../../../../src/lib/entities/ReportInstance.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReportInstance.js","sourceRoot":"","sources":["../../../../src/lib/entities/ReportInstance.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,qDAAqD;AACrD,MAAM,OAAO,cAAe,SAAQ,UAAU;CAoC7C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventTypeCode } from '../enums';
|
|
2
1
|
import { SeverityTypeCode } from '../enums';
|
|
3
2
|
import { BaseEntity } from '../base';
|
|
4
3
|
import { RuleTypeCode } from '../enums';
|
|
5
4
|
import { DataSourceCode } from '../enums';
|
|
6
5
|
import { ConditionDescription } from '../common';
|
|
7
6
|
import { DeviceTypeCode } from '../enums';
|
|
7
|
+
import { EventTypeCode } 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":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AASrC,gCAAgC;AAChC,MAAM,OAAO,IAAK,SAAQ,UAAU;CAkEnC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { DataSourceCode } from '../enums';
|
|
1
2
|
import { EventTypeCode } from '../enums';
|
|
2
3
|
import { SeverityTypeCode } from '../enums';
|
|
3
4
|
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":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAIrC,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';
|
|
2
|
+
import { ShieldexConfig } from '../common';
|
|
1
3
|
import { EventSeverityConfig } from '../common';
|
|
2
4
|
import { DeviceConfig } from '../common';
|
|
3
5
|
import { BaseEntity } from '../base';
|
|
4
|
-
import { Thresholds } from '../common';
|
|
5
|
-
import { ShieldexConfig } 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,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SessionTransform } from '../common';
|
|
2
|
+
import { DeviceConfig } from '../common';
|
|
3
|
+
import { IdsConfig } from '../entities';
|
|
3
4
|
import { ShieldexConfig } from '../common';
|
|
4
5
|
import { EventSeverityConfig } from '../common';
|
|
5
6
|
import { DeviceActionCode } from '../enums';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { SessionTransform } from '../common';
|
|
7
|
+
import { DataIngestion } from '../entities';
|
|
8
|
+
import { UsageTransform } from '../common';
|
|
9
9
|
import { Thresholds } from '../common';
|
|
10
10
|
export declare class StreamConfig {
|
|
11
11
|
ingest: DataIngestion;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { UserTypeCode } from '../enums';
|
|
2
1
|
import { UserStatusCode } from '../enums';
|
|
3
2
|
import { StringKeyValue } from '../common';
|
|
4
3
|
import { BaseEntity } from '../base';
|
|
4
|
+
import { UserTypeCode } from '../enums';
|
|
5
5
|
export declare class User extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
externalId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/lib/entities/User.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/lib/entities/User.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAKrC,sGAAsG;AACtG,+DAA+D;AAC/D,MAAM,OAAO,IAAK,SAAQ,UAAU;CAiCnC"}
|
|
@@ -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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { UserTypeCode } from '../enums';
|
|
2
3
|
import { UserStatusCode } from '../enums';
|
|
3
4
|
import { AccountRole } from '../common';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class UserMemberships extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMemberships.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMemberships.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserMemberships.js","sourceRoot":"","sources":["../../../../src/lib/entities/UserMemberships.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAOrC,2EAA2E;AAC3E,MAAM,OAAO,eAAgB,SAAQ,UAAU;CA2B9C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { AccountSettings } from '../entities';
|
|
2
3
|
import { AccountTypeCode } from '../enums';
|
|
3
4
|
import { AccountStatusCode } from '../enums';
|
|
4
5
|
import { Image } from '../entities';
|
|
5
6
|
import { AccountReportDTO } from '../entities';
|
|
6
7
|
import { Account } from '../entities';
|
|
7
|
-
import { AccountSettings } from '../entities';
|
|
8
8
|
export declare class SysAccountsService {
|
|
9
9
|
private apiUrl;
|
|
10
10
|
private rest;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { RuleActivityStatusCode } from '../enums';
|
|
3
|
+
import { EventTypeCode } from '../enums';
|
|
2
4
|
import { Rule } from '../entities';
|
|
3
5
|
import { IdsRule } from '../entities';
|
|
4
6
|
import { SeverityTypeCode } from '../enums';
|
|
5
|
-
import { RuleActivityStatusCode } from '../enums';
|
|
6
|
-
import { EventTypeCode } from '../enums';
|
|
7
7
|
export declare class SysIdsRulesService {
|
|
8
8
|
private apiUrl;
|
|
9
9
|
private rest;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { MaliciousIPCard } from '../common';
|
|
2
|
+
import { DeviceActionCode } from '../enums';
|
|
3
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
5
4
|
import { Alert } from '../entities';
|
|
6
|
-
import { SeverityTypeCode } from '../enums';
|
|
7
5
|
import { MaliciousIPData } from '../common';
|
|
8
|
-
import {
|
|
9
|
-
import { RuleTypeCode } from '../enums';
|
|
6
|
+
import { TimeSeriesOf2D } from '../common';
|
|
10
7
|
import { IntDistribution } from '../entities';
|
|
11
|
-
import { StringKeyValue } from '../common';
|
|
12
8
|
import { EventTypeCode } from '../enums';
|
|
9
|
+
import { SeverityTypeCode } from '../enums';
|
|
13
10
|
import { EventCategoryCode } from '../enums';
|
|
14
11
|
import { AlertWithDevice } from '../entities';
|
|
15
|
-
import {
|
|
12
|
+
import { EventStatusCode } from '../enums';
|
|
13
|
+
import { RuleTypeCode } from '../enums';
|
|
14
|
+
import { MaliciousIPCard } from '../common';
|
|
15
|
+
import { StringKeyValue } from '../common';
|
|
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 {
|
|
3
|
-
import { DevicesMap } from '../common';
|
|
2
|
+
import { BulkDevices } from '../entities';
|
|
4
3
|
import { IntDistribution } from '../entities';
|
|
5
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
6
|
-
import { NetworkMapTypeCode } from '../enums';
|
|
7
4
|
import { DeviceReport } from '../entities';
|
|
8
|
-
import { SeverityTypeCode } from '../enums';
|
|
9
|
-
import { DeviceWithEvents } from '../entities';
|
|
10
5
|
import { DeviceStatusCode } from '../enums';
|
|
6
|
+
import { DeviceWithEvents } from '../entities';
|
|
7
|
+
import { NetworkMap } from '../common';
|
|
8
|
+
import { Device } from '../entities';
|
|
11
9
|
import { DeviceActionCode } from '../enums';
|
|
12
|
-
import { BulkDevices } from '../entities';
|
|
13
|
-
import { DeviceTypeCode } from '../enums';
|
|
14
10
|
import { TimeSeriesOfDataConsumption } from '../common';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
11
|
+
import { MapBounds } from '../common';
|
|
12
|
+
import { DevicesMap } from '../common';
|
|
13
|
+
import { DeviceTypeCode } from '../enums';
|
|
14
|
+
import { SeverityTypeCode } from '../enums';
|
|
15
|
+
import { NetworkMapTypeCode } from '../enums';
|
|
16
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
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
|
*/
|