@shieldiot/pulse-lib 1.0.380 → 1.0.384

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.
Files changed (188) hide show
  1. package/dist/cjs/lib/common/DeviceNode.d.ts +1 -1
  2. package/dist/cjs/lib/common/DeviceScoreConfig.d.ts +1 -1
  3. package/dist/cjs/lib/common/DevicesMap.d.ts +1 -1
  4. package/dist/cjs/lib/common/NetworkMap.d.ts +1 -1
  5. package/dist/cjs/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
  6. package/dist/cjs/lib/common/SeriesData.d.ts +1 -1
  7. package/dist/cjs/lib/common/TokenData.d.ts +1 -1
  8. package/dist/cjs/lib/entities/AccountDTO.d.ts +2 -2
  9. package/dist/cjs/lib/entities/AccountDTO.js.map +1 -1
  10. package/dist/cjs/lib/entities/AccountReportDTO.d.ts +2 -2
  11. package/dist/cjs/lib/entities/AccountReportDTO.js.map +1 -1
  12. package/dist/cjs/lib/entities/Action.d.ts +1 -1
  13. package/dist/cjs/lib/entities/Action.js.map +1 -1
  14. package/dist/cjs/lib/entities/Alert.d.ts +4 -4
  15. package/dist/cjs/lib/entities/Alert.js.map +1 -1
  16. package/dist/cjs/lib/entities/AlertWithDevice.d.ts +6 -6
  17. package/dist/cjs/lib/entities/AlertWithDevice.js.map +1 -1
  18. package/dist/cjs/lib/entities/ConfigParams.d.ts +1 -1
  19. package/dist/cjs/lib/entities/ConfigParams.js.map +1 -1
  20. package/dist/cjs/lib/entities/DataIngestion.d.ts +1 -1
  21. package/dist/cjs/lib/entities/Device.d.ts +1 -1
  22. package/dist/cjs/lib/entities/Device.js.map +1 -1
  23. package/dist/cjs/lib/entities/Event.d.ts +6 -6
  24. package/dist/cjs/lib/entities/Event.js.map +1 -1
  25. package/dist/cjs/lib/entities/EventOccurrence.d.ts +1 -1
  26. package/dist/cjs/lib/entities/EventWithDevice.d.ts +6 -6
  27. package/dist/cjs/lib/entities/EventWithDevice.js.map +1 -1
  28. package/dist/cjs/lib/entities/Feature.d.ts +1 -1
  29. package/dist/cjs/lib/entities/Feature.js.map +1 -1
  30. package/dist/cjs/lib/entities/FeaturesGroup.d.ts +1 -1
  31. package/dist/cjs/lib/entities/FeaturesGroup.js.map +1 -1
  32. package/dist/cjs/lib/entities/IdsRule.d.ts +3 -3
  33. package/dist/cjs/lib/entities/IdsRule.js.map +1 -1
  34. package/dist/cjs/lib/entities/Integration.d.ts +2 -2
  35. package/dist/cjs/lib/entities/Integration.js.map +1 -1
  36. package/dist/cjs/lib/entities/Report.d.ts +1 -1
  37. package/dist/cjs/lib/entities/Report.js.map +1 -1
  38. package/dist/cjs/lib/entities/ReportInstance.d.ts +1 -1
  39. package/dist/cjs/lib/entities/ReportInstance.js.map +1 -1
  40. package/dist/cjs/lib/entities/Rule.d.ts +3 -3
  41. package/dist/cjs/lib/entities/Rule.js.map +1 -1
  42. package/dist/cjs/lib/entities/RuleTemplate.d.ts +2 -2
  43. package/dist/cjs/lib/entities/RuleTemplate.js.map +1 -1
  44. package/dist/cjs/lib/entities/Stream.d.ts +1 -1
  45. package/dist/cjs/lib/entities/Stream.js.map +1 -1
  46. package/dist/cjs/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  47. package/dist/cjs/lib/entities/StreamAnalyticsConfig.js.map +1 -1
  48. package/dist/cjs/lib/entities/StreamConfig.d.ts +4 -4
  49. package/dist/cjs/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
  50. package/dist/cjs/lib/entities/User.d.ts +1 -1
  51. package/dist/cjs/lib/entities/User.js.map +1 -1
  52. package/dist/cjs/lib/entities/UserMembership.d.ts +1 -1
  53. package/dist/cjs/lib/entities/UserMembership.js.map +1 -1
  54. package/dist/cjs/lib/enums/EventTypeCode.d.ts +14 -3
  55. package/dist/cjs/lib/enums/EventTypeCode.js +41 -8
  56. package/dist/cjs/lib/enums/EventTypeCode.js.map +1 -1
  57. package/dist/cjs/lib/services/services.export.d.ts +8 -8
  58. package/dist/cjs/lib/services/services.export.js +14 -14
  59. package/dist/cjs/lib/services/services.export.js.map +1 -1
  60. package/dist/cjs/lib/services/sysAccountsService.d.ts +2 -2
  61. package/dist/cjs/lib/services/sysKeysService.d.ts +1 -1
  62. package/dist/cjs/lib/services/sysUsersService.d.ts +1 -1
  63. package/dist/cjs/lib/services/usrAlertsService.d.ts +6 -6
  64. package/dist/cjs/lib/services/usrDevicesService.d.ts +8 -8
  65. package/dist/cjs/lib/services/usrEventsService.d.ts +8 -8
  66. package/dist/cjs/lib/services/usrInsightsService.d.ts +6 -1
  67. package/dist/cjs/lib/services/usrInsightsService.js +6 -0
  68. package/dist/cjs/lib/services/usrInsightsService.js.map +1 -1
  69. package/dist/cjs/lib/services/usrNetworkService.d.ts +2 -2
  70. package/dist/cjs/lib/services/usrRulesService.d.ts +1 -1
  71. package/dist/cjs/lib/services/usrUserService.d.ts +5 -5
  72. package/dist/esm/lib/common/DeviceNode.d.ts +1 -1
  73. package/dist/esm/lib/common/DeviceScoreConfig.d.ts +1 -1
  74. package/dist/esm/lib/common/DevicesMap.d.ts +1 -1
  75. package/dist/esm/lib/common/NetworkMap.d.ts +1 -1
  76. package/dist/esm/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
  77. package/dist/esm/lib/common/SeriesData.d.ts +1 -1
  78. package/dist/esm/lib/common/TokenData.d.ts +1 -1
  79. package/dist/esm/lib/entities/AccountDTO.d.ts +2 -2
  80. package/dist/esm/lib/entities/AccountDTO.js.map +1 -1
  81. package/dist/esm/lib/entities/AccountReportDTO.d.ts +2 -2
  82. package/dist/esm/lib/entities/AccountReportDTO.js.map +1 -1
  83. package/dist/esm/lib/entities/Action.d.ts +1 -1
  84. package/dist/esm/lib/entities/Action.js.map +1 -1
  85. package/dist/esm/lib/entities/Alert.d.ts +4 -4
  86. package/dist/esm/lib/entities/Alert.js.map +1 -1
  87. package/dist/esm/lib/entities/AlertWithDevice.d.ts +6 -6
  88. package/dist/esm/lib/entities/AlertWithDevice.js.map +1 -1
  89. package/dist/esm/lib/entities/ConfigParams.d.ts +1 -1
  90. package/dist/esm/lib/entities/ConfigParams.js.map +1 -1
  91. package/dist/esm/lib/entities/DataIngestion.d.ts +1 -1
  92. package/dist/esm/lib/entities/Device.d.ts +1 -1
  93. package/dist/esm/lib/entities/Device.js.map +1 -1
  94. package/dist/esm/lib/entities/Event.d.ts +6 -6
  95. package/dist/esm/lib/entities/Event.js.map +1 -1
  96. package/dist/esm/lib/entities/EventOccurrence.d.ts +1 -1
  97. package/dist/esm/lib/entities/EventWithDevice.d.ts +6 -6
  98. package/dist/esm/lib/entities/EventWithDevice.js.map +1 -1
  99. package/dist/esm/lib/entities/Feature.d.ts +1 -1
  100. package/dist/esm/lib/entities/Feature.js.map +1 -1
  101. package/dist/esm/lib/entities/FeaturesGroup.d.ts +1 -1
  102. package/dist/esm/lib/entities/FeaturesGroup.js.map +1 -1
  103. package/dist/esm/lib/entities/IdsRule.d.ts +3 -3
  104. package/dist/esm/lib/entities/IdsRule.js.map +1 -1
  105. package/dist/esm/lib/entities/Integration.d.ts +2 -2
  106. package/dist/esm/lib/entities/Integration.js.map +1 -1
  107. package/dist/esm/lib/entities/Report.d.ts +1 -1
  108. package/dist/esm/lib/entities/Report.js.map +1 -1
  109. package/dist/esm/lib/entities/ReportInstance.d.ts +1 -1
  110. package/dist/esm/lib/entities/ReportInstance.js.map +1 -1
  111. package/dist/esm/lib/entities/Rule.d.ts +3 -3
  112. package/dist/esm/lib/entities/Rule.js.map +1 -1
  113. package/dist/esm/lib/entities/RuleTemplate.d.ts +2 -2
  114. package/dist/esm/lib/entities/RuleTemplate.js.map +1 -1
  115. package/dist/esm/lib/entities/Stream.d.ts +1 -1
  116. package/dist/esm/lib/entities/Stream.js.map +1 -1
  117. package/dist/esm/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  118. package/dist/esm/lib/entities/StreamAnalyticsConfig.js.map +1 -1
  119. package/dist/esm/lib/entities/StreamConfig.d.ts +4 -4
  120. package/dist/esm/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
  121. package/dist/esm/lib/entities/User.d.ts +1 -1
  122. package/dist/esm/lib/entities/User.js.map +1 -1
  123. package/dist/esm/lib/entities/UserMembership.d.ts +1 -1
  124. package/dist/esm/lib/entities/UserMembership.js.map +1 -1
  125. package/dist/esm/lib/enums/EventTypeCode.d.ts +14 -3
  126. package/dist/esm/lib/enums/EventTypeCode.js +41 -8
  127. package/dist/esm/lib/enums/EventTypeCode.js.map +1 -1
  128. package/dist/esm/lib/services/services.export.d.ts +8 -8
  129. package/dist/esm/lib/services/services.export.js +14 -14
  130. package/dist/esm/lib/services/services.export.js.map +1 -1
  131. package/dist/esm/lib/services/sysAccountsService.d.ts +2 -2
  132. package/dist/esm/lib/services/sysKeysService.d.ts +1 -1
  133. package/dist/esm/lib/services/sysUsersService.d.ts +1 -1
  134. package/dist/esm/lib/services/usrAlertsService.d.ts +6 -6
  135. package/dist/esm/lib/services/usrDevicesService.d.ts +8 -8
  136. package/dist/esm/lib/services/usrEventsService.d.ts +8 -8
  137. package/dist/esm/lib/services/usrInsightsService.d.ts +6 -1
  138. package/dist/esm/lib/services/usrInsightsService.js +6 -0
  139. package/dist/esm/lib/services/usrInsightsService.js.map +1 -1
  140. package/dist/esm/lib/services/usrNetworkService.d.ts +2 -2
  141. package/dist/esm/lib/services/usrRulesService.d.ts +1 -1
  142. package/dist/esm/lib/services/usrUserService.d.ts +5 -5
  143. package/dist/types/lib/common/DeviceNode.d.ts +1 -1
  144. package/dist/types/lib/common/DeviceScoreConfig.d.ts +1 -1
  145. package/dist/types/lib/common/DevicesMap.d.ts +1 -1
  146. package/dist/types/lib/common/NetworkMap.d.ts +1 -1
  147. package/dist/types/lib/common/RuleBasedSeverityConditionConfig.d.ts +1 -1
  148. package/dist/types/lib/common/SeriesData.d.ts +1 -1
  149. package/dist/types/lib/common/TokenData.d.ts +1 -1
  150. package/dist/types/lib/entities/AccountDTO.d.ts +2 -2
  151. package/dist/types/lib/entities/AccountReportDTO.d.ts +2 -2
  152. package/dist/types/lib/entities/Action.d.ts +1 -1
  153. package/dist/types/lib/entities/Alert.d.ts +4 -4
  154. package/dist/types/lib/entities/AlertWithDevice.d.ts +6 -6
  155. package/dist/types/lib/entities/ConfigParams.d.ts +1 -1
  156. package/dist/types/lib/entities/DataIngestion.d.ts +1 -1
  157. package/dist/types/lib/entities/Device.d.ts +1 -1
  158. package/dist/types/lib/entities/Event.d.ts +6 -6
  159. package/dist/types/lib/entities/EventOccurrence.d.ts +1 -1
  160. package/dist/types/lib/entities/EventWithDevice.d.ts +6 -6
  161. package/dist/types/lib/entities/Feature.d.ts +1 -1
  162. package/dist/types/lib/entities/FeaturesGroup.d.ts +1 -1
  163. package/dist/types/lib/entities/IdsRule.d.ts +3 -3
  164. package/dist/types/lib/entities/Integration.d.ts +2 -2
  165. package/dist/types/lib/entities/Report.d.ts +1 -1
  166. package/dist/types/lib/entities/ReportInstance.d.ts +1 -1
  167. package/dist/types/lib/entities/Rule.d.ts +3 -3
  168. package/dist/types/lib/entities/RuleTemplate.d.ts +2 -2
  169. package/dist/types/lib/entities/Stream.d.ts +1 -1
  170. package/dist/types/lib/entities/StreamAnalyticsConfig.d.ts +1 -1
  171. package/dist/types/lib/entities/StreamConfig.d.ts +4 -4
  172. package/dist/types/lib/entities/TimeSeriesOfDeviceReport.d.ts +1 -1
  173. package/dist/types/lib/entities/User.d.ts +1 -1
  174. package/dist/types/lib/entities/UserMembership.d.ts +1 -1
  175. package/dist/types/lib/enums/EventTypeCode.d.ts +14 -3
  176. package/dist/types/lib/services/services.export.d.ts +8 -8
  177. package/dist/types/lib/services/sysAccountsService.d.ts +2 -2
  178. package/dist/types/lib/services/sysKeysService.d.ts +1 -1
  179. package/dist/types/lib/services/sysUsersService.d.ts +1 -1
  180. package/dist/types/lib/services/usrAlertsService.d.ts +6 -6
  181. package/dist/types/lib/services/usrDevicesService.d.ts +8 -8
  182. package/dist/types/lib/services/usrEventsService.d.ts +8 -8
  183. package/dist/types/lib/services/usrInsightsService.d.ts +6 -1
  184. package/dist/types/lib/services/usrNetworkService.d.ts +2 -2
  185. package/dist/types/lib/services/usrRulesService.d.ts +1 -1
  186. package/dist/types/lib/services/usrUserService.d.ts +5 -5
  187. package/dist/umd/index.js +1 -1
  188. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { Location } from '../common';
2
1
  import { DeviceTypeCode } from '../enums';
2
+ import { Location } from '../common';
3
3
  export declare class DeviceNode {
4
4
  deviceId: string;
5
5
  score: number;
@@ -1,7 +1,7 @@
1
- import { RuleBasedSeverityConditionConfig } from '../common';
2
1
  import { Interval } from '../common';
3
2
  import { SeverityConditionConfig } from '../common';
4
3
  import { RuleCountThresholdConfig } from '../common';
4
+ import { RuleBasedSeverityConditionConfig } from '../common';
5
5
  export declare class DeviceScoreConfig {
6
6
  deviceScoreAlphaFactor: number;
7
7
  occurrenceThreshold: number;
@@ -1,5 +1,5 @@
1
- import { DeviceNode } from '../common';
2
1
  import { MapBounds } from '../common';
2
+ import { DeviceNode } from '../common';
3
3
  export declare class DevicesMap {
4
4
  deviceNodes: DeviceNode[];
5
5
  mapBounds: MapBounds;
@@ -1,5 +1,5 @@
1
- import { Node } from '../common';
2
1
  import { Link } from '../common';
2
+ import { Node } from '../common';
3
3
  export declare class NetworkMap {
4
4
  nodes: Node[];
5
5
  links: Link[];
@@ -1,5 +1,5 @@
1
- import { RuleCountThresholdConfig } from '../common';
2
1
  import { SeverityTypeCode } from '../enums';
2
+ import { RuleCountThresholdConfig } from '../common';
3
3
  export declare class RuleBasedSeverityConditionConfig {
4
4
  severityType: SeverityTypeCode;
5
5
  bias: number;
@@ -1,5 +1,5 @@
1
- import { StringKeyIntValue } from '../common';
2
1
  import { Interval } from '../common';
2
+ import { StringKeyIntValue } from '../common';
3
3
  export declare class SeriesData {
4
4
  interval: Interval;
5
5
  values: StringKeyIntValue[];
@@ -1,6 +1,6 @@
1
- import { UserStatusCode } from '../enums';
2
1
  import { UserTypeCode } from '../enums';
3
2
  import { MemberRoleCode } from '../enums';
3
+ import { UserStatusCode } from '../enums';
4
4
  export declare class TokenData {
5
5
  accountId: string;
6
6
  subjectId: string;
@@ -1,9 +1,9 @@
1
+ import { BaseEntity } from '../base';
2
+ import { AccountTypeCode } from '../enums';
1
3
  import { AccountStatusCode } from '../enums';
2
4
  import { FeatureCode } from '../enums';
3
5
  import { StringKeyValue } from '../common';
4
6
  import { AccountSettings } from '../entities';
5
- import { BaseEntity } from '../base';
6
- import { AccountTypeCode } from '../enums';
7
7
  export declare class AccountDTO extends BaseEntity {
8
8
  name: string;
9
9
  externalId: string;
@@ -1,10 +1,10 @@
1
+ import { AccountStatusCode } from '../enums';
2
+ import { StringKeyValue } from '../common';
1
3
  import { AccountSettings } from '../entities';
2
4
  import { DeviceReport } from '../entities';
3
5
  import { IntDistribution } from '../entities';
4
6
  import { BaseEntity } from '../base';
5
7
  import { AccountTypeCode } from '../enums';
6
- import { AccountStatusCode } from '../enums';
7
- import { StringKeyValue } from '../common';
8
8
  export declare class AccountReportDTO extends BaseEntity {
9
9
  name: string;
10
10
  externalId: string;
@@ -1,5 +1,5 @@
1
- import { DeviceActionCode } from '../enums';
2
1
  import { BaseEntity } from '../base';
2
+ import { DeviceActionCode } from '../enums';
3
3
  export declare class Action extends BaseEntity {
4
4
  accountId: string;
5
5
  streamId: string;
@@ -1,12 +1,12 @@
1
- import { EventCategoryCode } from '../enums';
2
1
  import { BaseEntity } from '../base';
2
+ import { EventTypeCode } from '../enums';
3
+ import { EventStatusCode } from '../enums';
3
4
  import { GeoData } from '../common';
4
5
  import { StringKeyValue } from '../common';
5
- import { EventStatusCode } from '../enums';
6
- import { RuleTypeCode } from '../enums';
6
+ import { EventCategoryCode } from '../enums';
7
7
  import { TrafficDirectionCode } from '../enums';
8
- import { EventTypeCode } from '../enums';
9
8
  import { SeverityTypeCode } from '../enums';
9
+ import { RuleTypeCode } from '../enums';
10
10
  export declare class Alert extends BaseEntity {
11
11
  accountId: string;
12
12
  streamId: string;
@@ -1,13 +1,13 @@
1
- import { EventTypeCode } from '../enums';
2
- import { SeverityTypeCode } from '../enums';
3
- import { RuleTypeCode } from '../enums';
4
- import { EventStatusCode } from '../enums';
5
- import { GeoData } from '../common';
6
- import { StringKeyValue } from '../common';
7
1
  import { EventCategoryCode } from '../enums';
8
2
  import { TrafficDirectionCode } from '../enums';
9
3
  import { Device } from '../entities';
10
4
  import { BaseEntity } from '../base';
5
+ import { GeoData } from '../common';
6
+ import { StringKeyValue } from '../common';
7
+ import { EventStatusCode } from '../enums';
8
+ import { RuleTypeCode } from '../enums';
9
+ import { EventTypeCode } from '../enums';
10
+ import { SeverityTypeCode } from '../enums';
11
11
  export declare class AlertWithDevice extends BaseEntity {
12
12
  accountId: string;
13
13
  streamId: string;
@@ -1,5 +1,5 @@
1
- import { BaseEntity } from '../base';
2
1
  import { ConfigParam } from '../entities';
2
+ import { BaseEntity } from '../base';
3
3
  export declare class ConfigParams extends BaseEntity {
4
4
  params: ConfigParam[];
5
5
  }
@@ -1,6 +1,6 @@
1
- import { DeviceIdentityCode } from '../enums';
2
1
  import { DeviceTypeCode } from '../enums';
3
2
  import { DeviceCreationCode } from '../enums';
3
+ import { DeviceIdentityCode } from '../enums';
4
4
  export declare class DataIngestion {
5
5
  inputURI: string;
6
6
  format: string;
@@ -1,10 +1,10 @@
1
+ import { BaseEntity } from '../base';
1
2
  import { DeviceTypeCode } from '../enums';
2
3
  import { DeviceStatusCode } from '../enums';
3
4
  import { StringKeyValue } from '../common';
4
5
  import { DeviceActionCode } from '../enums';
5
6
  import { SIM } from '../entities';
6
7
  import { GeoData } from '../common';
7
- import { BaseEntity } from '../base';
8
8
  export declare class Device extends BaseEntity {
9
9
  accountId: string;
10
10
  streamId: string;
@@ -1,14 +1,14 @@
1
- import { BaseEntity } from '../base';
2
- import { Indicator } from '../common';
3
- import { RuleTypeCode } from '../enums';
4
- import { GeoData } from '../common';
5
- import { EventCategoryCode } from '../enums';
6
- import { TrafficDirectionCode } from '../enums';
7
1
  import { EventTypeCode } from '../enums';
8
2
  import { SeverityTypeCode } from '../enums';
9
3
  import { EventStatusCode } from '../enums';
4
+ import { RuleTypeCode } from '../enums';
5
+ import { GeoData } from '../common';
6
+ import { TrafficDirectionCode } from '../enums';
7
+ import { Indicator } from '../common';
10
8
  import { StringKeyValue } from '../common';
9
+ import { EventCategoryCode } from '../enums';
11
10
  import { EventOccurrence } from '../entities';
11
+ import { BaseEntity } from '../base';
12
12
  export declare class Event extends BaseEntity {
13
13
  accountId: string;
14
14
  streamId: string;
@@ -1,5 +1,5 @@
1
- import { TrafficDirectionCode } from '../enums';
2
1
  import { Indicator } from '../common';
2
+ import { TrafficDirectionCode } from '../enums';
3
3
  export declare class EventOccurrence {
4
4
  timestamp: number;
5
5
  source: string;
@@ -1,15 +1,15 @@
1
- import { SeverityTypeCode } from '../enums';
2
- import { RuleTypeCode } from '../enums';
3
1
  import { GeoData } from '../common';
4
- import { StringKeyValue } from '../common';
5
2
  import { EventOccurrence } from '../entities';
6
- import { Device } from '../entities';
3
+ import { TrafficDirectionCode } from '../enums';
7
4
  import { BaseEntity } from '../base';
8
5
  import { EventTypeCode } from '../enums';
9
- import { EventStatusCode } from '../enums';
6
+ import { SeverityTypeCode } from '../enums';
10
7
  import { Indicator } from '../common';
8
+ import { RuleTypeCode } from '../enums';
9
+ import { EventStatusCode } from '../enums';
10
+ import { StringKeyValue } from '../common';
11
11
  import { EventCategoryCode } from '../enums';
12
- import { TrafficDirectionCode } from '../enums';
12
+ import { Device } from '../entities';
13
13
  export declare class EventWithDevice extends BaseEntity {
14
14
  accountId: string;
15
15
  streamId: string;
@@ -1,5 +1,5 @@
1
- import { BaseEntity } from '../base';
2
1
  import { FeatureCode } from '../enums';
2
+ import { BaseEntity } from '../base';
3
3
  export declare class Feature extends BaseEntity {
4
4
  code: FeatureCode;
5
5
  name: string;
@@ -1,5 +1,5 @@
1
- import { FeatureCode } from '../enums';
2
1
  import { BaseEntity } from '../base';
2
+ import { FeatureCode } from '../enums';
3
3
  export declare class FeaturesGroup extends BaseEntity {
4
4
  name: string;
5
5
  features: FeatureCode[];
@@ -1,10 +1,10 @@
1
+ import { EventTypeCode } from '../enums';
2
+ import { SeverityTypeCode } from '../enums';
3
+ import { BaseEntity } from '../base';
1
4
  import { RuleTypeCode } from '../enums';
2
5
  import { DataSourceCode } from '../enums';
3
6
  import { ConditionDescription } from '../common';
4
7
  import { DeviceTypeCode } from '../enums';
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,11 +1,11 @@
1
+ import { HttpMethodCode } from '../enums';
2
+ import { StringKeyValue } from '../common';
1
3
  import { EventTypeCode } from '../enums';
2
4
  import { SeverityTypeCode } from '../enums';
3
5
  import { DeviceActionCode } from '../enums';
4
6
  import { BaseEntity } from '../base';
5
7
  import { IntegrationTypeCode } from '../enums';
6
8
  import { IntegrationTriggerCode } from '../enums';
7
- import { HttpMethodCode } from '../enums';
8
- import { StringKeyValue } from '../common';
9
9
  export declare class Integration extends BaseEntity {
10
10
  accountId: string;
11
11
  streamId: string;
@@ -1,6 +1,6 @@
1
- import { BaseEntity } from '../base';
2
1
  import { ReportTypeCode } from '../enums';
3
2
  import { TimeFrame } from '../common';
3
+ import { BaseEntity } from '../base';
4
4
  export declare class Report extends BaseEntity {
5
5
  accountId: string;
6
6
  userId: string;
@@ -1,7 +1,7 @@
1
+ import { BaseEntity } from '../base';
1
2
  import { IntDistribution } from '../entities';
2
3
  import { DeviceReport } from '../entities';
3
4
  import { ReportTypeCode } from '../enums';
4
- import { BaseEntity } from '../base';
5
5
  export declare class ReportInstance extends BaseEntity {
6
6
  accountId: string;
7
7
  from: number;
@@ -1,10 +1,10 @@
1
+ import { RuleTypeCode } from '../enums';
2
+ import { DataSourceCode } from '../enums';
3
+ import { ConditionDescription } from '../common';
1
4
  import { DeviceTypeCode } from '../enums';
2
5
  import { EventTypeCode } from '../enums';
3
6
  import { SeverityTypeCode } from '../enums';
4
7
  import { BaseEntity } from '../base';
5
- import { RuleTypeCode } from '../enums';
6
- import { DataSourceCode } from '../enums';
7
- import { ConditionDescription } from '../common';
8
8
  export declare class Rule extends BaseEntity {
9
9
  accountId: string;
10
10
  streamId: string;
@@ -1,7 +1,7 @@
1
- import { BaseEntity } from '../base';
2
- import { DataSourceCode } from '../enums';
3
1
  import { EventTypeCode } from '../enums';
4
2
  import { SeverityTypeCode } from '../enums';
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,6 +1,6 @@
1
+ import { BaseEntity } from '../base';
1
2
  import { StringKeyValue } from '../common';
2
3
  import { StreamConfig } from '../entities';
3
- import { BaseEntity } from '../base';
4
4
  export declare class Stream extends BaseEntity {
5
5
  accountId: string;
6
6
  name: string;
@@ -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,12 +1,12 @@
1
+ import { SessionTransform } from '../common';
2
+ import { UsageTransform } from '../common';
3
+ import { Thresholds } from '../common';
1
4
  import { ShieldexConfig } from '../common';
2
5
  import { DeviceActionCode } from '../enums';
3
- import { EventSeverityConfig } from '../common';
4
6
  import { DeviceConfig } from '../common';
5
7
  import { IdsConfig } from '../entities';
6
8
  import { DataIngestion } from '../entities';
7
- import { SessionTransform } from '../common';
8
- import { UsageTransform } from '../common';
9
- import { Thresholds } from '../common';
9
+ import { EventSeverityConfig } from '../common';
10
10
  export declare class StreamConfig {
11
11
  ingest: DataIngestion;
12
12
  sessionTransform: SessionTransform;
@@ -1,5 +1,5 @@
1
- import { TimeFrame } from '../common';
2
1
  import { DataPointOfDeviceReport } from '../entities';
2
+ import { TimeFrame } from '../common';
3
3
  export declare class TimeSeriesOfDeviceReport {
4
4
  name: string;
5
5
  range: TimeFrame;
@@ -1,7 +1,7 @@
1
+ import { UserTypeCode } from '../enums';
1
2
  import { UserStatusCode } from '../enums';
2
3
  import { StringKeyValue } from '../common';
3
4
  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,7 +1,7 @@
1
- import { UserStatusCode } from '../enums';
2
1
  import { AccountRole } from '../common';
3
2
  import { BaseEntity } from '../base';
4
3
  import { UserTypeCode } from '../enums';
4
+ import { UserStatusCode } from '../enums';
5
5
  export declare class UserMembership extends BaseEntity {
6
6
  name: string;
7
7
  email: string;
@@ -16,14 +16,25 @@ export declare enum EventTypeCode {
16
16
  DEVICE_TAKEOVER_ATTEMPT = 14,
17
17
  UNKNOWN_OPERATION = 15,
18
18
  CRYPTO_MINING = 16,
19
- SUSPICIOUS_IP = 17,
20
19
  ABNORMAL_OUTBOUND_PORTS = 18,
21
20
  ABNORMAL_OUTBOUND_ENDPOINTS = 19,
22
21
  SIM_SWITCH = 20,
23
22
  SIM_MISUSAGE = 21,
24
23
  DEVICE_DISCONNECTION = 22,
25
24
  ANOMALY_DETECTED = 23,
26
- DGA_DNS_QUERY = 24,
27
- CASE_MUTATED_DNS_QUERY = 25
25
+ CASE_MUTATED_DNS_QUERY = 24,
26
+ DGA_DNS_QUERY = 25,
27
+ SUSPICIOUS_IP = 26,
28
+ SUSPICIOUS_IP_OUT = 27,
29
+ IP_LOOKUP_DNS_REQUEST = 28,
30
+ EXCESSIVE_NONSTD_DNS_ATTEMPTS = 29,
31
+ IOT_MALWARE_PORT_CONN = 30,
32
+ IOT_OUTBOUND_WIN_WORM_PORT = 31,
33
+ IOT_OUTBOUND_EMAIL_SPAM_PORT = 32,
34
+ IOT_OUTBOUND_NOTORIOUS_PORT = 33,
35
+ IOT_OUTBOUND_LONG_CONN_ALT_SSH = 34,
36
+ IOT_OUTBOUND_FAST_CONNECT_BURST = 35,
37
+ IOT_LOCAL_FAST_CONNECT_BURST = 36,
38
+ IOT_HIGH_RISK_TLD_QUERY = 37
28
39
  }
29
40
  export declare function GetEventTypeCodes(): Map<EventTypeCode, string>;
@@ -1,3 +1,10 @@
1
+ import { UsrAlertsService } from './usrAlertsService';
2
+ import { UsrDevicesService } from './usrDevicesService';
3
+ import { UsrEventsService } from './usrEventsService';
4
+ import { UsrNetworkService } from './usrNetworkService';
5
+ import { UsrReportsInstanceService } from './usrReportsInstanceService';
6
+ import { UsrReportsService } from './usrReportsService';
7
+ import { UsrRulesService } from './usrRulesService';
1
8
  import { SupportStreamAnalyticsConfig } from './supportStreamAnalyticsConfig';
2
9
  import { SysAccountsService } from './sysAccountsService';
3
10
  import { SysAuditLogService } from './sysAuditLogService';
@@ -18,11 +25,4 @@ import { UsrInsightsService } from './usrInsightsService';
18
25
  import { UsrIntegrationsService } from './usrIntegrationsService';
19
26
  import { UsrMembersService } from './usrMembersService';
20
27
  import { UsrUserService } from './usrUserService';
21
- import { UsrAlertsService } from './usrAlertsService';
22
- import { UsrDevicesService } from './usrDevicesService';
23
- import { UsrEventsService } from './usrEventsService';
24
- import { UsrNetworkService } from './usrNetworkService';
25
- import { UsrReportsInstanceService } from './usrReportsInstanceService';
26
- import { UsrReportsService } from './usrReportsService';
27
- import { UsrRulesService } from './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)[];
28
+ export declare const Services: (typeof UsrAlertsService | typeof UsrDevicesService | typeof UsrEventsService | typeof UsrNetworkService | typeof UsrReportsInstanceService | typeof UsrReportsService | typeof UsrRulesService | 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)[];
@@ -1,10 +1,10 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
- import { AccountSettings } from '../entities';
3
- import { AccountTypeCode } from '../enums';
4
2
  import { AccountStatusCode } from '../enums';
5
3
  import { Image } from '../entities';
6
4
  import { AccountReportDTO } from '../entities';
7
5
  import { Account } from '../entities';
6
+ import { AccountSettings } from '../entities';
7
+ import { AccountTypeCode } from '../enums';
8
8
  export declare class SysAccountsService {
9
9
  private apiUrl;
10
10
  private rest;
@@ -1,6 +1,6 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
- import { StringIntValue } from '../common';
3
2
  import { ApiKey } from '../entities';
3
+ import { StringIntValue } from '../common';
4
4
  export declare class SysKeysService {
5
5
  private apiUrl;
6
6
  private rest;
@@ -1,8 +1,8 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
- import { UserStatusCode } from '../enums';
3
2
  import { UserMemberships } from '../entities';
4
3
  import { User } from '../entities';
5
4
  import { UserTypeCode } from '../enums';
5
+ import { UserStatusCode } from '../enums';
6
6
  export declare class SysUsersService {
7
7
  private apiUrl;
8
8
  private rest;
@@ -1,18 +1,18 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { SeverityTypeCode } from '../enums';
3
+ import { MaliciousIPData } from '../common';
4
+ import { StringKeyValue } from '../common';
2
5
  import { EventTypeCode } from '../enums';
3
- import { MaliciousIPCard } from '../common';
4
6
  import { RuleTypeCode } from '../enums';
5
- import { MaliciousIPData } from '../common';
6
- import { IntDistribution } from '../entities';
7
7
  import { TimeSeriesOf2D } from '../common';
8
8
  import { TimeSeriesOfFloat } from '../common';
9
- import { DeviceActionCode } from '../enums';
10
- import { StringKeyValue } from '../common';
9
+ import { MaliciousIPCard } from '../common';
11
10
  import { Alert } from '../entities';
12
- import { SeverityTypeCode } from '../enums';
13
11
  import { EventCategoryCode } from '../enums';
14
12
  import { EventStatusCode } from '../enums';
13
+ import { DeviceActionCode } from '../enums';
15
14
  import { AlertWithDevice } from '../entities';
15
+ import { IntDistribution } from '../entities';
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 { BulkDevices } from '../entities';
4
+ import { DeviceStatusCode } from '../enums';
2
5
  import { DeviceWithEvents } from '../entities';
3
6
  import { DeviceActionCode } from '../enums';
4
- import { BulkDevices } from '../entities';
5
7
  import { TimeSeriesOfDeviceReport } from '../entities';
6
- import { NetworkMapTypeCode } from '../enums';
7
- import { SeverityTypeCode } from '../enums';
8
+ import { Device } from '../entities';
8
9
  import { IntDistribution } from '../entities';
10
+ import { NetworkMapTypeCode } from '../enums';
11
+ import { DeviceTypeCode } from '../enums';
9
12
  import { NetworkMap } from '../common';
10
- import { DeviceReport } from '../entities';
11
13
  import { TimeSeriesOfDataConsumption } from '../common';
12
- import { Device } from '../entities';
13
- import { DeviceStatusCode } from '../enums';
14
- import { MapBounds } from '../common';
15
14
  import { DevicesMap } from '../common';
16
- import { DeviceTypeCode } from '../enums';
15
+ import { SeverityTypeCode } from '../enums';
16
+ import { MapBounds } from '../common';
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 { MaliciousIPData } from '../common';
2
3
  import { TimeSeriesOf2D } from '../common';
4
+ import { TimeSeriesOfFloat } from '../common';
3
5
  import { StringKeyValue } from '../common';
4
- import { EventTypeCode } from '../enums';
5
- import { SeverityTypeCode } from '../enums';
6
- import { EventStatusCode } from '../enums';
7
- import { RuleTypeCode } from '../enums';
8
- import { MaliciousIPData } from '../common';
9
- import { IntDistribution } from '../entities';
10
6
  import { Event } from '../entities';
11
7
  import { EventCategoryCode } from '../enums';
12
- import { EventWithDevice } from '../entities';
13
- import { TimeSeriesOfFloat } from '../common';
8
+ import { EventStatusCode } from '../enums';
9
+ import { RuleTypeCode } from '../enums';
14
10
  import { MaliciousIPCard } from '../common';
11
+ import { EventTypeCode } from '../enums';
12
+ import { SeverityTypeCode } from '../enums';
13
+ import { EventWithDevice } from '../entities';
14
+ import { IntDistribution } from '../entities';
15
15
  export declare class UsrEventsService {
16
16
  private apiUrl;
17
17
  private rest;
@@ -1,6 +1,7 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
2
- import { SeverityTypeCode } from '../enums';
2
+ import { IntDistribution } from '../entities';
3
3
  import { Insight } from '../entities';
4
+ import { SeverityTypeCode } from '../enums';
4
5
  export declare class UsrInsightsService {
5
6
  private apiUrl;
6
7
  private rest;
@@ -18,4 +19,8 @@ export declare class UsrInsightsService {
18
19
  * Get single insight by id
19
20
  */
20
21
  get(id?: string): import("rxjs").Observable<EntityResponse<Insight>>;
22
+ /**
23
+ * Get alerts distribution by severity filtered by insight id
24
+ */
25
+ countAffectedAlertsBySeverity(id?: string): import("rxjs").Observable<EntityResponse<IntDistribution>>;
21
26
  }
@@ -1,9 +1,9 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse } from '../../utils';
2
+ import { Distribution } from '../entities';
3
+ import { FlowRecord } from '../entities';
2
4
  import { UsageRecord } from '../entities';
3
5
  import { SessionRecord } from '../entities';
4
6
  import { IntDistribution } from '../entities';
5
- import { Distribution } from '../entities';
6
- import { FlowRecord } from '../entities';
7
7
  export declare class UsrNetworkService {
8
8
  private apiUrl;
9
9
  private rest;
@@ -1,11 +1,11 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../../utils';
2
+ import { TimeSeriesOfFloat } from '../common';
2
3
  import { IntDistribution } from '../entities';
3
4
  import { Distribution } from '../entities';
4
5
  import { Rule } from '../entities';
5
6
  import { SeverityTypeCode } from '../enums';
6
7
  import { RuleActivityStatusCode } from '../enums';
7
8
  import { EventTypeCode } from '../enums';
8
- import { TimeSeriesOfFloat } from '../common';
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 { User } from '../entities';
3
- import { Image } from '../entities';
2
+ import { LoginParams } from '../common';
3
+ import { AccountDTO } from '../entities';
4
4
  import { Feature } from '../entities';
5
- import { Stream } from '../entities';
6
5
  import { UserMemberships } from '../entities';
7
- import { LoginParams } from '../common';
8
6
  import { FeatureCode } from '../enums';
9
7
  import { ConfigParam } from '../entities';
10
- import { AccountDTO } from '../entities';
8
+ import { User } from '../entities';
9
+ import { Image } from '../entities';
10
+ import { Stream } from '../entities';
11
11
  export declare class UsrUserService {
12
12
  private apiUrl;
13
13
  private rest;