@shieldiot/pulse-lib 1.0.360 → 1.0.362
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/cjs/lib/common/DeviceNode.d.ts +1 -1
- package/dist/cjs/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/cjs/lib/common/DevicesMap.d.ts +1 -1
- package/dist/cjs/lib/common/Node.d.ts +1 -1
- package/dist/cjs/lib/common/SeriesData.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/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 +5 -5
- package/dist/cjs/lib/entities/Alert.js.map +1 -1
- package/dist/cjs/lib/entities/AlertWithDevice.d.ts +4 -4
- package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/Device.d.ts +3 -3
- package/dist/cjs/lib/entities/Device.js.map +1 -1
- package/dist/cjs/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/cjs/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/cjs/lib/entities/Event.d.ts +6 -6
- package/dist/cjs/lib/entities/EventWithDevice.d.ts +4 -4
- package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/cjs/lib/entities/IdsConfig.d.ts +8 -0
- package/dist/cjs/lib/entities/IdsConfig.js +25 -0
- package/dist/cjs/lib/entities/IdsConfig.js.map +1 -0
- package/dist/cjs/lib/entities/IdsRule.d.ts +28 -0
- package/dist/cjs/lib/entities/IdsRule.js +9 -0
- package/dist/cjs/lib/entities/IdsRule.js.map +1 -0
- 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/Integration.d.ts +2 -2
- package/dist/cjs/lib/entities/Integration.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/RuleTemplate.d.ts +2 -2
- package/dist/cjs/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/cjs/lib/entities/Stream.d.ts +1 -1
- package/dist/cjs/lib/entities/Stream.js.map +1 -1
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/cjs/lib/entities/StreamConfig.d.ts +5 -3
- package/dist/cjs/lib/entities/StreamConfig.js +4 -1
- package/dist/cjs/lib/entities/StreamConfig.js.map +1 -1
- 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/entities/index.d.ts +2 -0
- package/dist/cjs/lib/entities/index.js +2 -0
- package/dist/cjs/lib/entities/index.js.map +1 -1
- package/dist/cjs/lib/enums/RuleTypeCode.d.ts +2 -1
- package/dist/cjs/lib/enums/RuleTypeCode.js +3 -0
- package/dist/cjs/lib/enums/RuleTypeCode.js.map +1 -1
- package/dist/cjs/lib/pulse-client.d.ts +2 -0
- package/dist/cjs/lib/pulse-client.js +21 -19
- package/dist/cjs/lib/pulse-client.js.map +1 -1
- package/dist/cjs/lib/services/index.d.ts +1 -0
- package/dist/cjs/lib/services/index.js +1 -0
- package/dist/cjs/lib/services/index.js.map +1 -1
- package/dist/cjs/lib/services/services.export.d.ts +2 -1
- package/dist/cjs/lib/services/services.export.js +2 -0
- package/dist/cjs/lib/services/services.export.js.map +1 -1
- package/dist/cjs/lib/services/sysIdsRulesService.d.ts +32 -0
- package/dist/cjs/lib/services/sysIdsRulesService.js +73 -0
- package/dist/cjs/lib/services/sysIdsRulesService.js.map +1 -0
- package/dist/cjs/lib/services/sysInsightsService.d.ts +1 -1
- package/dist/cjs/lib/services/sysUsersService.d.ts +1 -1
- package/dist/cjs/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/cjs/lib/services/usrDevicesService.d.ts +10 -10
- package/dist/cjs/lib/services/usrEventsService.d.ts +7 -7
- 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 +1 -1
- package/dist/cjs/lib/services/usrRulesService.d.ts +1 -1
- package/dist/cjs/lib/services/usrUserService.d.ts +5 -5
- package/dist/esm/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/esm/lib/common/DeviceNode.d.ts +1 -1
- package/dist/esm/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/esm/lib/common/DevicesMap.d.ts +1 -1
- package/dist/esm/lib/common/Node.d.ts +1 -1
- package/dist/esm/lib/common/SeriesData.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/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 +5 -5
- package/dist/esm/lib/entities/Alert.js.map +1 -1
- package/dist/esm/lib/entities/AlertWithDevice.d.ts +4 -4
- package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/Device.d.ts +3 -3
- package/dist/esm/lib/entities/Device.js.map +1 -1
- package/dist/esm/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/esm/lib/entities/DeviceWithEvents.js.map +1 -1
- package/dist/esm/lib/entities/Event.d.ts +6 -6
- package/dist/esm/lib/entities/EventWithDevice.d.ts +4 -4
- package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
- package/dist/esm/lib/entities/IdsConfig.d.ts +8 -0
- package/dist/esm/lib/entities/IdsConfig.js +21 -0
- package/dist/esm/lib/entities/IdsConfig.js.map +1 -0
- package/dist/esm/lib/entities/IdsRule.d.ts +28 -0
- package/dist/esm/lib/entities/IdsRule.js +5 -0
- package/dist/esm/lib/entities/IdsRule.js.map +1 -0
- 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/Integration.d.ts +2 -2
- package/dist/esm/lib/entities/Integration.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/RuleTemplate.d.ts +2 -2
- package/dist/esm/lib/entities/RuleTemplate.js.map +1 -1
- package/dist/esm/lib/entities/Stream.d.ts +1 -1
- package/dist/esm/lib/entities/Stream.js.map +1 -1
- package/dist/esm/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
- package/dist/esm/lib/entities/StreamConfig.d.ts +5 -3
- package/dist/esm/lib/entities/StreamConfig.js +4 -1
- package/dist/esm/lib/entities/StreamConfig.js.map +1 -1
- 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/entities/index.d.ts +2 -0
- package/dist/esm/lib/entities/index.js +2 -0
- package/dist/esm/lib/entities/index.js.map +1 -1
- package/dist/esm/lib/enums/RuleTypeCode.d.ts +2 -1
- package/dist/esm/lib/enums/RuleTypeCode.js +3 -0
- package/dist/esm/lib/enums/RuleTypeCode.js.map +1 -1
- package/dist/esm/lib/pulse-client.d.ts +2 -0
- package/dist/esm/lib/pulse-client.js +2 -0
- package/dist/esm/lib/pulse-client.js.map +1 -1
- package/dist/esm/lib/services/index.d.ts +1 -0
- package/dist/esm/lib/services/index.js +1 -0
- package/dist/esm/lib/services/index.js.map +1 -1
- package/dist/esm/lib/services/services.export.d.ts +2 -1
- package/dist/esm/lib/services/services.export.js +2 -0
- package/dist/esm/lib/services/services.export.js.map +1 -1
- package/dist/esm/lib/services/sysIdsRulesService.d.ts +32 -0
- package/dist/esm/lib/services/sysIdsRulesService.js +69 -0
- package/dist/esm/lib/services/sysIdsRulesService.js.map +1 -0
- package/dist/esm/lib/services/sysInsightsService.d.ts +1 -1
- package/dist/esm/lib/services/sysUsersService.d.ts +1 -1
- package/dist/esm/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/esm/lib/services/usrDevicesService.d.ts +10 -10
- package/dist/esm/lib/services/usrEventsService.d.ts +7 -7
- 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 +1 -1
- package/dist/esm/lib/services/usrRulesService.d.ts +1 -1
- package/dist/esm/lib/services/usrUserService.d.ts +5 -5
- package/dist/types/lib/common/DeviceConfig.d.ts +1 -1
- package/dist/types/lib/common/DeviceNode.d.ts +1 -1
- package/dist/types/lib/common/DeviceScoreConfig.d.ts +1 -1
- package/dist/types/lib/common/DevicesMap.d.ts +1 -1
- package/dist/types/lib/common/Node.d.ts +1 -1
- package/dist/types/lib/common/SeriesData.d.ts +1 -1
- package/dist/types/lib/entities/Account.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 +5 -5
- package/dist/types/lib/entities/AlertWithDevice.d.ts +4 -4
- package/dist/types/lib/entities/Device.d.ts +3 -3
- package/dist/types/lib/entities/DeviceWithEvents.d.ts +3 -3
- package/dist/types/lib/entities/Event.d.ts +6 -6
- package/dist/types/lib/entities/EventWithDevice.d.ts +4 -4
- package/dist/types/lib/entities/IdsConfig.d.ts +8 -0
- package/dist/types/lib/entities/IdsRule.d.ts +28 -0
- package/dist/types/lib/entities/Insight.d.ts +2 -2
- package/dist/types/lib/entities/Integration.d.ts +2 -2
- package/dist/types/lib/entities/ReportInstance.d.ts +1 -1
- package/dist/types/lib/entities/RuleTemplate.d.ts +2 -2
- package/dist/types/lib/entities/Stream.d.ts +1 -1
- package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
- package/dist/types/lib/entities/StreamConfig.d.ts +5 -3
- 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/entities/index.d.ts +2 -0
- package/dist/types/lib/enums/RuleTypeCode.d.ts +2 -1
- package/dist/types/lib/pulse-client.d.ts +2 -0
- package/dist/types/lib/services/index.d.ts +1 -0
- package/dist/types/lib/services/services.export.d.ts +2 -1
- package/dist/types/lib/services/sysIdsRulesService.d.ts +32 -0
- package/dist/types/lib/services/sysInsightsService.d.ts +1 -1
- package/dist/types/lib/services/sysUsersService.d.ts +1 -1
- package/dist/types/lib/services/usrAlertsService.d.ts +9 -9
- package/dist/types/lib/services/usrDevicesService.d.ts +10 -10
- package/dist/types/lib/services/usrEventsService.d.ts +7 -7
- 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 +1 -1
- package/dist/types/lib/services/usrRulesService.d.ts +1 -1
- package/dist/types/lib/services/usrUserService.d.ts +5 -5
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.LICENSE.txt +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sysIdsRulesService.js","sourceRoot":"","sources":["../../../../src/lib/services/sysIdsRulesService.ts"],"names":[],"mappings":"AAUA,+DAA+D;AAC/D,0EAA0E;AAC1E,0EAA0E;AAC1E,MAAM,OAAO,kBAAkB;IAK7B,oBAAoB;IACpB,YAAoB,MAAc,EAAU,IAAc;QAAtC,WAAM,GAAN,MAAM,CAAQ;QAAU,SAAI,GAAJ,IAAI,CAAU;QAJ1D,iBAAiB;QACT,YAAO,GAAG,gBAAgB,CAAC;QAIjC,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;IACvC,CAAC;IAGD;;OAEG;IACH,MAAM,CAAC,IAAW;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA0B,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC3H,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAAW;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAA0B,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC7H,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,EAAW;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAiB,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,EAAW;QACb,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA0B,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;OAEG;IACH,IAAI,CAAC,QAAiB,EAAE,MAAe,EAAE,aAAkC,EAAE,cAAyC,EAAE,SAA2B,EAAE,IAAa,EAAE,IAAa,EAAE,IAAa;QAC9L,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,IAAI,QAAQ,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,YAAY,QAAQ,EAAE,CAAC,CAAC;QAAC,CAAC;QAC9D,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,UAAU,MAAM,EAAE,CAAC,CAAC;QAAC,CAAC;QACxD,IAAI,aAAa,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,iBAAiB,aAAa,EAAE,CAAC,CAAC;QAAC,CAAC;QAC7E,IAAI,cAAc,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,cAAc,EAAE,CAAC,CAAC;QAAC,CAAC;QAChF,IAAI,SAAS,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,aAAa,SAAS,EAAE,CAAC,CAAC;QAAC,CAAC;QACjE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QAAC,CAAC;QAClD,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QAAC,CAAC;QAClD,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;QAAC,CAAC;QAEpD,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAA4B,GAAG,IAAI,CAAC,OAAO,EAAE,EAAE,GAAG,MAAM,CAAC,CAAC;IAC9E,CAAC;CAEF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { InsightSpec } from '../entities';
|
|
3
2
|
import { InsightQuery } from '../entities';
|
|
3
|
+
import { InsightSpec } from '../entities';
|
|
4
4
|
export declare class SysInsightsService {
|
|
5
5
|
private apiUrl;
|
|
6
6
|
private rest;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { User } from '../entities';
|
|
3
2
|
import { UserTypeCode } from '../enums';
|
|
4
3
|
import { UserStatusCode } from '../enums';
|
|
5
4
|
import { UserMemberships } from '../entities';
|
|
5
|
+
import { User } from '../entities';
|
|
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 { EventStatusCode } from '../enums';
|
|
3
|
-
import {
|
|
4
|
-
import { TimeSeriesOfFloat } from '../common';
|
|
3
|
+
import { AlertWithDevice } from '../entities';
|
|
5
4
|
import { DeviceActionCode } from '../enums';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { MaliciousIPCard } from '../common';
|
|
6
|
+
import { StringKeyValue } from '../common';
|
|
8
7
|
import { SeverityTypeCode } from '../enums';
|
|
9
|
-
import {
|
|
10
|
-
import { Alert } from '../entities';
|
|
8
|
+
import { EventCategoryCode } from '../enums';
|
|
11
9
|
import { RuleTypeCode } from '../enums';
|
|
10
|
+
import { MaliciousIPData } from '../common';
|
|
11
|
+
import { EventTypeCode } from '../enums';
|
|
12
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
13
|
+
import { Alert } from '../entities';
|
|
12
14
|
import { IntDistribution } from '../entities';
|
|
13
|
-
import {
|
|
14
|
-
import { MaliciousIPCard } from '../common';
|
|
15
|
-
import { StringKeyValue } from '../common';
|
|
15
|
+
import { TimeSeriesOf2D } 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 {
|
|
3
|
-
import {
|
|
2
|
+
import { BulkDevices } from '../entities';
|
|
3
|
+
import { DeviceReport } from '../entities';
|
|
4
|
+
import { Device } from '../entities';
|
|
5
|
+
import { SeverityTypeCode } from '../enums';
|
|
4
6
|
import { IntDistribution } from '../entities';
|
|
7
|
+
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
8
|
+
import { DevicesMap } from '../common';
|
|
5
9
|
import { DeviceStatusCode } from '../enums';
|
|
6
|
-
import { BulkDevices } from '../entities';
|
|
7
|
-
import { DeviceTypeCode } from '../enums';
|
|
8
10
|
import { DeviceActionCode } from '../enums';
|
|
9
|
-
import { TimeSeriesOfDeviceReport } from '../entities';
|
|
10
|
-
import { Device } from '../entities';
|
|
11
|
-
import { DeviceWithEvents } from '../entities';
|
|
12
11
|
import { NetworkMapTypeCode } from '../enums';
|
|
13
|
-
import {
|
|
12
|
+
import { NetworkMap } from '../common';
|
|
13
|
+
import { DeviceTypeCode } from '../enums';
|
|
14
|
+
import { DeviceWithEvents } from '../entities';
|
|
14
15
|
import { TimeSeriesOfDataConsumption } from '../common';
|
|
15
|
-
import {
|
|
16
|
-
import { SeverityTypeCode } from '../enums';
|
|
16
|
+
import { MapBounds } from '../common';
|
|
17
17
|
export declare class UsrDevicesService {
|
|
18
18
|
private apiUrl;
|
|
19
19
|
private rest;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import { MaliciousIPData } from '../common';
|
|
3
|
-
import { EventCategoryCode } from '../enums';
|
|
4
2
|
import { RuleTypeCode } from '../enums';
|
|
5
3
|
import { EventWithDevice } from '../entities';
|
|
6
|
-
import {
|
|
7
|
-
import { IntDistribution } from '../entities';
|
|
4
|
+
import { MaliciousIPData } from '../common';
|
|
8
5
|
import { TimeSeriesOf2D } from '../common';
|
|
9
|
-
import { TimeSeriesOfFloat } from '../common';
|
|
10
|
-
import { MaliciousIPCard } from '../common';
|
|
11
|
-
import { Event } from '../entities';
|
|
12
6
|
import { EventTypeCode } from '../enums';
|
|
13
7
|
import { SeverityTypeCode } from '../enums';
|
|
8
|
+
import { EventCategoryCode } from '../enums';
|
|
9
|
+
import { EventStatusCode } from '../enums';
|
|
10
|
+
import { MaliciousIPCard } from '../common';
|
|
11
|
+
import { Event } from '../entities';
|
|
12
|
+
import { IntDistribution } from '../entities';
|
|
13
|
+
import { TimeSeriesOfFloat } from '../common';
|
|
14
14
|
import { StringKeyValue } from '../common';
|
|
15
15
|
export declare class UsrEventsService {
|
|
16
16
|
private apiUrl;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
|
|
2
|
-
import { IntDistribution } from '../entities';
|
|
3
|
-
import { Distribution } from '../entities';
|
|
4
2
|
import { FlowRecord } from '../entities';
|
|
5
3
|
import { UsageRecord } from '../entities';
|
|
6
4
|
import { SessionRecord } from '../entities';
|
|
5
|
+
import { IntDistribution } from '../entities';
|
|
6
|
+
import { Distribution } 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 { ReportSourceCode } from '../enums';
|
|
3
2
|
import { ReportInstance } from '../entities';
|
|
3
|
+
import { ReportSourceCode } from '../enums';
|
|
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 { GraphSeries } from '../common';
|
|
2
3
|
import { Report } from '../entities';
|
|
3
4
|
import { ReportSourceCode } from '../enums';
|
|
4
5
|
import { TimeSeries } from '../common';
|
|
5
|
-
import { GraphSeries } from '../common';
|
|
6
6
|
export declare class UsrReportsService {
|
|
7
7
|
private apiUrl;
|
|
8
8
|
private rest;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
2
3
|
import { TimeSeriesOfFloat } from '../common';
|
|
3
4
|
import { IntDistribution } from '../entities';
|
|
4
5
|
import { Distribution } from '../entities';
|
|
5
6
|
import { Rule } from '../entities';
|
|
6
7
|
import { SeverityTypeCode } from '../enums';
|
|
7
8
|
import { RuleActivityStatusCode } from '../enums';
|
|
8
|
-
import { EventTypeCode } from '../enums';
|
|
9
9
|
export declare class UsrRulesService {
|
|
10
10
|
private apiUrl;
|
|
11
11
|
private rest;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
-
import {
|
|
2
|
+
import { FeatureCode } from '../enums';
|
|
3
|
+
import { AccountDTO } from '../entities';
|
|
4
|
+
import { Image } from '../entities';
|
|
5
|
+
import { Feature } from '../entities';
|
|
3
6
|
import { Stream } from '../entities';
|
|
4
7
|
import { UserMemberships } from '../entities';
|
|
5
8
|
import { ConfigParam } from '../entities';
|
|
6
9
|
import { LoginParams } from '../common';
|
|
7
|
-
import {
|
|
8
|
-
import { Image } from '../entities';
|
|
9
|
-
import { Feature } from '../entities';
|
|
10
|
-
import { FeatureCode } from '../enums';
|
|
10
|
+
import { User } from '../entities';
|
|
11
11
|
export declare class UsrUserService {
|
|
12
12
|
private apiUrl;
|
|
13
13
|
private rest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { RuleCountThresholdConfig } from '../common';
|
|
2
1
|
import { RuleBasedSeverityConditionConfig } from '../common';
|
|
3
2
|
import { Interval } from '../common';
|
|
4
3
|
import { SeverityConditionConfig } from '../common';
|
|
4
|
+
import { RuleCountThresholdConfig } from '../common';
|
|
5
5
|
export declare class DeviceScoreConfig {
|
|
6
6
|
deviceScoreAlphaFactor: number;
|
|
7
7
|
occurrenceThreshold: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
1
2
|
import { AccountTypeCode } from '../enums';
|
|
2
3
|
import { AccountStatusCode } from '../enums';
|
|
3
4
|
import { StringKeyValue } from '../common';
|
|
4
5
|
import { AccountSettings } from '../entities';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
6
|
export declare class Account extends BaseEntity {
|
|
7
7
|
name: string;
|
|
8
8
|
externalId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { IntDistribution } from '../entities';
|
|
2
|
+
import { BaseEntity } from '../base';
|
|
3
|
+
import { AccountTypeCode } from '../enums';
|
|
1
4
|
import { AccountStatusCode } from '../enums';
|
|
2
5
|
import { StringKeyValue } from '../common';
|
|
3
6
|
import { AccountSettings } from '../entities';
|
|
4
7
|
import { DeviceReport } from '../entities';
|
|
5
|
-
import { IntDistribution } from '../entities';
|
|
6
|
-
import { BaseEntity } from '../base';
|
|
7
|
-
import { AccountTypeCode } from '../enums';
|
|
8
8
|
export declare class AccountReportDTO extends BaseEntity {
|
|
9
9
|
name: string;
|
|
10
10
|
externalId: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TrafficDirectionCode } from '../enums';
|
|
2
|
-
import { BaseEntity } from '../base';
|
|
3
1
|
import { EventTypeCode } from '../enums';
|
|
2
|
+
import { SeverityTypeCode } from '../enums';
|
|
3
|
+
import { EventStatusCode } from '../enums';
|
|
4
4
|
import { GeoData } from '../common';
|
|
5
|
-
import { RuleTypeCode } from '../enums';
|
|
6
5
|
import { StringKeyValue } from '../common';
|
|
7
6
|
import { EventCategoryCode } from '../enums';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { BaseEntity } from '../base';
|
|
8
|
+
import { RuleTypeCode } from '../enums';
|
|
9
|
+
import { TrafficDirectionCode } from '../enums';
|
|
10
10
|
export declare class Alert extends BaseEntity {
|
|
11
11
|
accountId: string;
|
|
12
12
|
streamId: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TrafficDirectionCode } from '../enums';
|
|
1
|
+
import { RuleTypeCode } from '../enums';
|
|
3
2
|
import { StringKeyValue } from '../common';
|
|
4
3
|
import { EventCategoryCode } from '../enums';
|
|
5
4
|
import { Device } from '../entities';
|
|
6
5
|
import { BaseEntity } from '../base';
|
|
7
|
-
import { EventTypeCode } from '../enums';
|
|
8
6
|
import { SeverityTypeCode } from '../enums';
|
|
9
7
|
import { EventStatusCode } from '../enums';
|
|
10
|
-
import {
|
|
8
|
+
import { TrafficDirectionCode } from '../enums';
|
|
9
|
+
import { EventTypeCode } from '../enums';
|
|
10
|
+
import { GeoData } from '../common';
|
|
11
11
|
export declare class AlertWithDevice extends BaseEntity {
|
|
12
12
|
accountId: string;
|
|
13
13
|
streamId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
2
|
+
import { DeviceTypeCode } from '../enums';
|
|
3
|
+
import { DeviceStatusCode } from '../enums';
|
|
1
4
|
import { StringKeyValue } from '../common';
|
|
2
5
|
import { DeviceActionCode } from '../enums';
|
|
3
6
|
import { SIM } from '../entities';
|
|
4
7
|
import { GeoData } from '../common';
|
|
5
|
-
import { BaseEntity } from '../base';
|
|
6
|
-
import { DeviceTypeCode } from '../enums';
|
|
7
|
-
import { DeviceStatusCode } from '../enums';
|
|
8
8
|
export declare class Device extends BaseEntity {
|
|
9
9
|
accountId: string;
|
|
10
10
|
streamId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Event } from '../entities';
|
|
2
|
-
import { GeoData } from '../common';
|
|
3
|
-
import { BaseEntity } from '../base';
|
|
4
1
|
import { DeviceTypeCode } from '../enums';
|
|
5
2
|
import { DeviceStatusCode } from '../enums';
|
|
6
3
|
import { StringKeyValue } from '../common';
|
|
7
4
|
import { DeviceActionCode } from '../enums';
|
|
8
5
|
import { SIM } from '../entities';
|
|
6
|
+
import { Event } from '../entities';
|
|
7
|
+
import { GeoData } from '../common';
|
|
8
|
+
import { BaseEntity } from '../base';
|
|
9
9
|
export declare class DeviceWithEvents extends BaseEntity {
|
|
10
10
|
accountId: string;
|
|
11
11
|
streamId: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Indicator } from '../common';
|
|
2
|
+
import { GeoData } from '../common';
|
|
2
3
|
import { EventCategoryCode } from '../enums';
|
|
3
|
-
import { EventOccurrence } from '../entities';
|
|
4
4
|
import { BaseEntity } from '../base';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { Indicator } from '../common';
|
|
8
|
-
import { RuleTypeCode } from '../enums';
|
|
5
|
+
import { StringKeyValue } from '../common';
|
|
6
|
+
import { EventOccurrence } from '../entities';
|
|
9
7
|
import { TrafficDirectionCode } from '../enums';
|
|
10
8
|
import { EventTypeCode } from '../enums';
|
|
9
|
+
import { SeverityTypeCode } from '../enums';
|
|
11
10
|
import { EventStatusCode } from '../enums';
|
|
11
|
+
import { RuleTypeCode } from '../enums';
|
|
12
12
|
export declare class Event extends BaseEntity {
|
|
13
13
|
accountId: string;
|
|
14
14
|
streamId: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { EventStatusCode } from '../enums';
|
|
3
|
-
import { EventOccurrence } from '../entities';
|
|
1
|
+
import { EventCategoryCode } from '../enums';
|
|
4
2
|
import { TrafficDirectionCode } from '../enums';
|
|
5
3
|
import { BaseEntity } from '../base';
|
|
6
4
|
import { EventTypeCode } from '../enums';
|
|
5
|
+
import { SeverityTypeCode } from '../enums';
|
|
7
6
|
import { Indicator } from '../common';
|
|
8
7
|
import { RuleTypeCode } from '../enums';
|
|
9
8
|
import { GeoData } from '../common';
|
|
9
|
+
import { EventStatusCode } from '../enums';
|
|
10
10
|
import { StringKeyValue } from '../common';
|
|
11
|
-
import {
|
|
11
|
+
import { EventOccurrence } from '../entities';
|
|
12
12
|
import { Device } from '../entities';
|
|
13
13
|
export declare class EventWithDevice extends BaseEntity {
|
|
14
14
|
accountId: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare class IdsConfig {
|
|
2
|
+
authorizedDnsServers: string[];
|
|
3
|
+
authorizedFtpServers: string[];
|
|
4
|
+
modbusMasters: string[];
|
|
5
|
+
modbusPorts: number[];
|
|
6
|
+
longSessionsPorts: number[];
|
|
7
|
+
constructor(authorizedDnsServers?: string[], authorizedFtpServers?: string[], modbusMasters?: string[], modbusPorts?: number[], longSessionsPorts?: number[]);
|
|
8
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
2
|
+
import { SeverityTypeCode } from '../enums';
|
|
3
|
+
import { BaseEntity } from '../base';
|
|
4
|
+
import { RuleTypeCode } from '../enums';
|
|
5
|
+
import { DataSourceCode } from '../enums';
|
|
6
|
+
import { ConditionDescription } from '../common';
|
|
7
|
+
import { DeviceTypeCode } from '../enums';
|
|
8
|
+
export declare class IdsRule extends BaseEntity {
|
|
9
|
+
accountId: string;
|
|
10
|
+
streamId: string;
|
|
11
|
+
name: string;
|
|
12
|
+
type: RuleTypeCode;
|
|
13
|
+
description: string;
|
|
14
|
+
isSystemRule: boolean;
|
|
15
|
+
isActiveRule: boolean;
|
|
16
|
+
context: DataSourceCode;
|
|
17
|
+
matchAll: ConditionDescription[];
|
|
18
|
+
matchAny: ConditionDescription[];
|
|
19
|
+
excludeIDs: string[];
|
|
20
|
+
excludeTags: string[];
|
|
21
|
+
excludeTypes: DeviceTypeCode[];
|
|
22
|
+
timeWindowSec: number;
|
|
23
|
+
setEventType: EventTypeCode;
|
|
24
|
+
setEventSeverity: SeverityTypeCode;
|
|
25
|
+
lastAlertTimestamp: number;
|
|
26
|
+
alertsCount: number;
|
|
27
|
+
sql: string;
|
|
28
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { BaseEntity } from '../base';
|
|
2
|
+
import { InsightTypeCode } from '../enums';
|
|
1
3
|
import { InsightStatusCode } from '../enums';
|
|
2
4
|
import { SeverityTypeCode } from '../enums';
|
|
3
5
|
import { DirectionContextCode } from '../enums';
|
|
4
|
-
import { BaseEntity } from '../base';
|
|
5
|
-
import { InsightTypeCode } from '../enums';
|
|
6
6
|
export declare class Insight extends BaseEntity {
|
|
7
7
|
accountId: string;
|
|
8
8
|
streamId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { EventTypeCode } from '../enums';
|
|
2
|
+
import { SeverityTypeCode } from '../enums';
|
|
1
3
|
import { DeviceActionCode } from '../enums';
|
|
2
4
|
import { BaseEntity } from '../base';
|
|
3
5
|
import { IntegrationTypeCode } from '../enums';
|
|
4
6
|
import { IntegrationTriggerCode } from '../enums';
|
|
5
7
|
import { HttpMethodCode } from '../enums';
|
|
6
8
|
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,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,7 +1,7 @@
|
|
|
1
|
-
import { DataSourceCode } from '../enums';
|
|
2
|
-
import { EventTypeCode } from '../enums';
|
|
3
1
|
import { SeverityTypeCode } from '../enums';
|
|
4
2
|
import { BaseEntity } from '../base';
|
|
3
|
+
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,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { Thresholds } from '../common';
|
|
3
2
|
import { ShieldexConfig } from '../common';
|
|
4
3
|
import { EventSeverityConfig } from '../common';
|
|
5
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,10 +1,11 @@
|
|
|
1
|
+
import { SessionTransform } from '../common';
|
|
2
|
+
import { EventSeverityConfig } from '../common';
|
|
1
3
|
import { DeviceConfig } from '../common';
|
|
4
|
+
import { IdsConfig } from '../entities';
|
|
2
5
|
import { DataIngestion } from '../entities';
|
|
3
|
-
import { SessionTransform } from '../common';
|
|
4
6
|
import { UsageTransform } from '../common';
|
|
5
7
|
import { Thresholds } from '../common';
|
|
6
8
|
import { ShieldexConfig } from '../common';
|
|
7
|
-
import { EventSeverityConfig } from '../common';
|
|
8
9
|
import { DeviceActionCode } from '../enums';
|
|
9
10
|
export declare class StreamConfig {
|
|
10
11
|
ingest: DataIngestion;
|
|
@@ -15,5 +16,6 @@ export declare class StreamConfig {
|
|
|
15
16
|
eventSeverityConfig: EventSeverityConfig;
|
|
16
17
|
preventiveActions: DeviceActionCode[];
|
|
17
18
|
deviceConfig: DeviceConfig;
|
|
18
|
-
|
|
19
|
+
idsConfig: IdsConfig;
|
|
20
|
+
constructor(ingest?: DataIngestion, sessionTransform?: SessionTransform, usageTransform?: UsageTransform, thresholds?: Thresholds, shieldexConfig?: ShieldexConfig, eventSeverityConfig?: EventSeverityConfig, preventiveActions?: DeviceActionCode[], deviceConfig?: DeviceConfig, idsConfig?: IdsConfig);
|
|
19
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { UserTypeCode } from '../enums';
|
|
3
2
|
import { UserStatusCode } from '../enums';
|
|
4
3
|
import { StringKeyValue } from '../common';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class User extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
externalId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { UserTypeCode } from '../enums';
|
|
3
2
|
import { UserStatusCode } from '../enums';
|
|
4
3
|
import { AccountRole } from '../common';
|
|
4
|
+
import { BaseEntity } from '../base';
|
|
5
5
|
export declare class UserMembership extends BaseEntity {
|
|
6
6
|
name: string;
|
|
7
7
|
email: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from '../base';
|
|
2
1
|
import { UserTypeCode } from '../enums';
|
|
3
2
|
import { UserStatusCode } from '../enums';
|
|
4
3
|
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;
|
|
@@ -26,6 +26,8 @@ export * from './Feature';
|
|
|
26
26
|
export * from './FeaturesGroup';
|
|
27
27
|
export * from './FlowRecord';
|
|
28
28
|
export * from './Group';
|
|
29
|
+
export * from './IdsConfig';
|
|
30
|
+
export * from './IdsRule';
|
|
29
31
|
export * from './Image';
|
|
30
32
|
export * from './Insight';
|
|
31
33
|
export * from './InsightQuery';
|
|
@@ -5,6 +5,7 @@ import { SysCheckpointsService } from "./services";
|
|
|
5
5
|
import { SysConfigService } from "./services";
|
|
6
6
|
import { SysFeaturesService } from "./services";
|
|
7
7
|
import { SysGroupsService } from "./services";
|
|
8
|
+
import { SysIdsRulesService } from "./services";
|
|
8
9
|
import { SysInsightsService } from "./services";
|
|
9
10
|
import { SysKeysService } from "./services";
|
|
10
11
|
import { SysMembersService } from "./services";
|
|
@@ -35,6 +36,7 @@ export declare class PulseClient {
|
|
|
35
36
|
readonly SysConfigService: SysConfigService;
|
|
36
37
|
readonly SysFeaturesService: SysFeaturesService;
|
|
37
38
|
readonly SysGroupsService: SysGroupsService;
|
|
39
|
+
readonly SysIdsRulesService: SysIdsRulesService;
|
|
38
40
|
readonly SysInsightsService: SysInsightsService;
|
|
39
41
|
readonly SysKeysService: SysKeysService;
|
|
40
42
|
readonly SysMembersService: SysMembersService;
|
|
@@ -6,6 +6,7 @@ export * from './sysCheckpointsService';
|
|
|
6
6
|
export * from './sysConfigService';
|
|
7
7
|
export * from './sysFeaturesService';
|
|
8
8
|
export * from './sysGroupsService';
|
|
9
|
+
export * from './sysIdsRulesService';
|
|
9
10
|
export * from './sysInsightsService';
|
|
10
11
|
export * from './sysKeysService';
|
|
11
12
|
export * from './sysMembersService';
|
|
@@ -5,6 +5,7 @@ import { SysCheckpointsService } from './sysCheckpointsService';
|
|
|
5
5
|
import { SysConfigService } from './sysConfigService';
|
|
6
6
|
import { SysFeaturesService } from './sysFeaturesService';
|
|
7
7
|
import { SysGroupsService } from './sysGroupsService';
|
|
8
|
+
import { SysIdsRulesService } from './sysIdsRulesService';
|
|
8
9
|
import { SysInsightsService } from './sysInsightsService';
|
|
9
10
|
import { SysKeysService } from './sysKeysService';
|
|
10
11
|
import { SysMembersService } from './sysMembersService';
|
|
@@ -24,4 +25,4 @@ import { UsrNetworkService } from './usrNetworkService';
|
|
|
24
25
|
import { UsrReportsInstanceService } from './usrReportsInstanceService';
|
|
25
26
|
import { UsrReportsService } from './usrReportsService';
|
|
26
27
|
import { UsrRulesService } from './usrRulesService';
|
|
27
|
-
export declare const Services: (typeof SupportStreamAnalyticsConfig | typeof SysAccountsService | typeof SysAuditLogService | typeof SysCheckpointsService | typeof SysConfigService | typeof SysFeaturesService | typeof SysGroupsService | typeof SysInsightsService | typeof SysKeysService | typeof SysMembersService | typeof SysRuleTemplatesService | typeof SysRulesService | typeof SysStatisticsService | typeof SysStreamsService | typeof SysUsersService | typeof UsrInsightsService | typeof UsrIntegrationsService | typeof UsrMembersService | typeof UsrUserService | typeof UsrAlertsService | typeof UsrDevicesService | typeof UsrEventsService | typeof UsrNetworkService | typeof UsrReportsInstanceService | typeof UsrReportsService | typeof UsrRulesService)[];
|
|
28
|
+
export declare const Services: (typeof SupportStreamAnalyticsConfig | typeof SysAccountsService | typeof SysAuditLogService | typeof SysCheckpointsService | typeof SysConfigService | typeof SysFeaturesService | typeof SysGroupsService | typeof SysIdsRulesService | typeof SysInsightsService | typeof SysKeysService | typeof SysMembersService | typeof SysRuleTemplatesService | typeof SysRulesService | typeof SysStatisticsService | typeof SysStreamsService | typeof SysUsersService | typeof UsrInsightsService | typeof UsrIntegrationsService | typeof UsrMembersService | typeof UsrUserService | typeof UsrAlertsService | typeof UsrDevicesService | typeof UsrEventsService | typeof UsrNetworkService | typeof UsrReportsInstanceService | typeof UsrReportsService | typeof UsrRulesService)[];
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
|
|
2
|
+
import { IdsRule } from '../entities';
|
|
3
|
+
import { SeverityTypeCode } from '../enums';
|
|
4
|
+
import { RuleActivityStatusCode } from '../enums';
|
|
5
|
+
import { EventTypeCode } from '../enums';
|
|
6
|
+
import { Rule } from '../entities';
|
|
7
|
+
export declare class SysIdsRulesService {
|
|
8
|
+
private apiUrl;
|
|
9
|
+
private rest;
|
|
10
|
+
private baseUrl;
|
|
11
|
+
constructor(apiUrl: string, rest: RestUtil);
|
|
12
|
+
/**
|
|
13
|
+
* Create new IDS rule
|
|
14
|
+
*/
|
|
15
|
+
create(body?: Rule): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
16
|
+
/**
|
|
17
|
+
* Update existing IDS rule in the system
|
|
18
|
+
*/
|
|
19
|
+
update(body?: Rule): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
20
|
+
/**
|
|
21
|
+
* Delete a IDS rule from the system
|
|
22
|
+
*/
|
|
23
|
+
delete(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Get single IDS rule by id
|
|
26
|
+
*/
|
|
27
|
+
get(id?: string): import("rxjs").Observable<EntityResponse<IdsRule>>;
|
|
28
|
+
/**
|
|
29
|
+
* Find list of IDS rules by query
|
|
30
|
+
*/
|
|
31
|
+
find(streamId?: string, search?: string, eventSeverity?: SeverityTypeCode[], activityStatus?: RuleActivityStatusCode[], eventType?: EventTypeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<IdsRule>>;
|
|
32
|
+
}
|