@shieldiot/pulse-lib 1.0.2 → 1.0.4
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/config.d.ts +5 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/common/AccountRole.d.ts +7 -0
- package/dist/lib/common/ConsumptionData.d.ts +6 -0
- package/dist/lib/common/ConsumptionTimeDataPoint.d.ts +6 -0
- package/dist/lib/common/DeviceConfig.d.ts +7 -0
- package/dist/lib/common/DeviceScoreConfig.d.ts +6 -0
- package/dist/lib/common/DevicesAtRiskConfig.d.ts +4 -0
- package/dist/lib/common/EventSeverityConfig.d.ts +5 -0
- package/dist/lib/common/FloatKeyValue.d.ts +5 -0
- package/dist/lib/common/GeoData.d.ts +10 -0
- package/dist/lib/common/GraphSeries.d.ts +6 -0
- package/dist/lib/common/Indicator.d.ts +8 -0
- package/dist/lib/common/IntKeySeriesDataValue.d.ts +6 -0
- package/dist/lib/common/IntKeyValue.d.ts +5 -0
- package/dist/lib/common/Interval.d.ts +5 -0
- package/dist/lib/common/Link.d.ts +11 -0
- package/dist/lib/common/Location.d.ts +5 -0
- package/dist/lib/common/LoginParams.d.ts +6 -0
- package/dist/lib/common/MaliciousIPCard.d.ts +12 -0
- package/dist/lib/common/MaliciousIPData.d.ts +7 -0
- package/dist/lib/common/NetworkMap.d.ts +7 -0
- package/dist/lib/common/Node.d.ts +15 -0
- package/dist/lib/common/SeriesData.d.ts +7 -0
- package/dist/lib/common/SessionTransform.d.ts +8 -0
- package/dist/lib/common/SeverityIntervalTuple.d.ts +7 -0
- package/dist/lib/common/ShieldexConfig.d.ts +9 -0
- package/dist/lib/common/StringIntValue.d.ts +5 -0
- package/dist/lib/common/StringKeyIntValue.d.ts +5 -0
- package/dist/lib/common/StringKeyValue.d.ts +5 -0
- package/dist/lib/common/Thresholds.d.ts +4 -0
- package/dist/lib/common/TimeDataPoint.d.ts +5 -0
- package/dist/lib/common/TimeDataPoint2D.d.ts +6 -0
- package/dist/lib/common/TimeDataPointFloat.d.ts +5 -0
- package/dist/lib/common/TimeFrame.d.ts +5 -0
- package/dist/lib/common/TimeSeries.d.ts +8 -0
- package/dist/lib/common/TimeSeriesOf2D.d.ts +8 -0
- package/dist/lib/common/TimeSeriesOfDataConsumption.d.ts +8 -0
- package/dist/lib/common/TimeSeriesOfFloat.d.ts +8 -0
- package/dist/lib/common/TokenData.d.ts +12 -0
- package/dist/lib/common/Tuple.d.ts +5 -0
- package/dist/lib/common/UsageTransform.d.ts +10 -0
- package/dist/lib/common/ZScore.d.ts +5 -0
- package/dist/lib/common/index.d.ts +42 -0
- package/dist/lib/entities/Account.d.ts +17 -0
- package/dist/lib/entities/AccountDTO.d.ts +19 -0
- package/dist/lib/entities/AccountSettings.d.ts +10 -0
- package/dist/lib/entities/Action.d.ts +10 -0
- package/dist/lib/entities/Alert.d.ts +34 -0
- package/dist/lib/entities/AlertWithDevice.d.ts +36 -0
- package/dist/lib/entities/ApiKey.d.ts +11 -0
- package/dist/lib/entities/AuditLog.d.ts +13 -0
- package/dist/lib/entities/BaseEntity.d.ts +6 -0
- package/dist/lib/entities/BulkDevices.d.ts +5 -0
- package/dist/lib/entities/Checkpoint.d.ts +23 -0
- package/dist/lib/entities/ComplianceReportSettings.d.ts +7 -0
- package/dist/lib/entities/Condition.d.ts +8 -0
- package/dist/lib/entities/ConfigParam.d.ts +4 -0
- package/dist/lib/entities/DNSRecord.d.ts +12 -0
- package/dist/lib/entities/DataIngestion.d.ts +18 -0
- package/dist/lib/entities/DataPointOfDeviceReport.d.ts +6 -0
- package/dist/lib/entities/Device.d.ts +30 -0
- package/dist/lib/entities/DeviceReport.d.ts +9 -0
- package/dist/lib/entities/DeviceWithEvents.d.ts +32 -0
- package/dist/lib/entities/Distribution.d.ts +7 -0
- package/dist/lib/entities/Event.d.ts +38 -0
- package/dist/lib/entities/EventOccurrence.d.ts +10 -0
- package/dist/lib/entities/EventWithDevice.d.ts +39 -0
- package/dist/lib/entities/Feature.d.ts +6 -0
- package/dist/lib/entities/FeaturesGroup.d.ts +6 -0
- package/dist/lib/entities/Group.d.ts +8 -0
- package/dist/lib/entities/Image.d.ts +5 -0
- package/dist/lib/entities/Insight.d.ts +18 -0
- package/dist/lib/entities/InsightQuery.d.ts +10 -0
- package/dist/lib/entities/InsightSpec.d.ts +9 -0
- package/dist/lib/entities/IntDistribution.d.ts +7 -0
- package/dist/lib/entities/Integration.d.ts +31 -0
- package/dist/lib/entities/Member.d.ts +7 -0
- package/dist/lib/entities/Radius.d.ts +15 -0
- package/dist/lib/entities/Report.d.ts +13 -0
- package/dist/lib/entities/Rule.d.ts +25 -0
- package/dist/lib/entities/RuleTemplate.d.ts +14 -0
- package/dist/lib/entities/SIM.d.ts +8 -0
- package/dist/lib/entities/ServiceStatus.d.ts +8 -0
- package/dist/lib/entities/SessionRecord.d.ts +22 -0
- package/dist/lib/entities/Shieldex.d.ts +7 -0
- package/dist/lib/entities/Stream.d.ts +11 -0
- package/dist/lib/entities/StreamAnalyticsConfig.d.ts +12 -0
- package/dist/lib/entities/StreamConfig.d.ts +19 -0
- package/dist/lib/entities/TeaserPopUpSettings.d.ts +6 -0
- package/dist/lib/entities/TimeSeriesOfDeviceReport.d.ts +8 -0
- package/dist/lib/entities/UsageRecord.d.ts +32 -0
- package/dist/lib/entities/User.d.ts +16 -0
- package/dist/lib/entities/UserMembership.d.ts +14 -0
- package/dist/lib/entities/UserMemberships.d.ts +14 -0
- package/dist/lib/entities/index.d.ts +52 -0
- package/dist/lib/enums/AccountStatusCode.d.ts +7 -0
- package/dist/lib/enums/AccountTypeCode.d.ts +8 -0
- package/dist/lib/enums/DataSourceCode.d.ts +7 -0
- package/dist/lib/enums/DeviceActionCode.d.ts +8 -0
- package/dist/lib/enums/DeviceCreationCode.d.ts +8 -0
- package/dist/lib/enums/DeviceIdentityCode.d.ts +11 -0
- package/dist/lib/enums/DeviceStatusCode.d.ts +8 -0
- package/dist/lib/enums/DeviceTypeCode.d.ts +18 -0
- package/dist/lib/enums/DirectionContextCode.d.ts +8 -0
- package/dist/lib/enums/EventCategoryCode.d.ts +6 -0
- package/dist/lib/enums/EventStatusCode.d.ts +8 -0
- package/dist/lib/enums/EventTypeCode.d.ts +23 -0
- package/dist/lib/enums/FeatureCode.d.ts +14 -0
- package/dist/lib/enums/HomePageViewCode.d.ts +7 -0
- package/dist/lib/enums/HttpMethodCode.d.ts +9 -0
- package/dist/lib/enums/InsightStatusCode.d.ts +7 -0
- package/dist/lib/enums/InsightTypeCode.d.ts +6 -0
- package/dist/lib/enums/IntegrationTriggerCode.d.ts +6 -0
- package/dist/lib/enums/IntegrationTypeCode.d.ts +8 -0
- package/dist/lib/enums/MemberRoleCode.d.ts +8 -0
- package/dist/lib/enums/NetworkMapTypeCode.d.ts +7 -0
- package/dist/lib/enums/OperatorCode.d.ts +15 -0
- package/dist/lib/enums/PermissionCode.d.ts +9 -0
- package/dist/lib/enums/ReportTypeCode.d.ts +7 -0
- package/dist/lib/enums/RuleTypeCode.d.ts +7 -0
- package/dist/lib/enums/SeverityTypeCode.d.ts +8 -0
- package/dist/lib/enums/TrafficDirectionCode.d.ts +7 -0
- package/dist/lib/enums/UserStatusCode.d.ts +8 -0
- package/dist/lib/enums/UserTypeCode.d.ts +8 -0
- package/dist/lib/enums/index.d.ts +30 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/pulse-client.d.ts +59 -0
- package/dist/lib/services/index.d.ts +27 -0
- package/dist/lib/services/services.export.d.ts +26 -0
- package/dist/lib/services/supportStreamAnalyticsConfig.d.ts +29 -0
- package/dist/lib/services/sysAccountsService.d.ts +45 -0
- package/dist/lib/services/sysAuditLogService.d.ts +22 -0
- package/dist/lib/services/sysCheckpointsService.d.ts +22 -0
- package/dist/lib/services/sysConfigService.d.ts +29 -0
- package/dist/lib/services/sysFeaturesService.d.ts +34 -0
- package/dist/lib/services/sysGroupsService.d.ts +42 -0
- package/dist/lib/services/sysInsightsService.d.ts +54 -0
- package/dist/lib/services/sysKeysService.d.ts +34 -0
- package/dist/lib/services/sysMembersService.d.ts +30 -0
- package/dist/lib/services/sysRuleTemplatesService.d.ts +29 -0
- package/dist/lib/services/sysRulesService.d.ts +34 -0
- package/dist/lib/services/sysStatisticsService.d.ts +25 -0
- package/dist/lib/services/sysStreamsService.d.ts +29 -0
- package/dist/lib/services/sysUsersService.d.ts +44 -0
- package/dist/lib/services/usrAlertsService.d.ts +110 -0
- package/dist/lib/services/usrDevicesService.d.ts +109 -0
- package/dist/lib/services/usrEventsService.d.ts +93 -0
- package/dist/lib/services/usrInsightsService.d.ts +13 -0
- package/dist/lib/services/usrIntegrationsService.d.ts +37 -0
- package/dist/lib/services/usrMembersService.d.ts +34 -0
- package/dist/lib/services/usrNetworkService.d.ts +18 -0
- package/dist/lib/services/usrReportsService.d.ts +47 -0
- package/dist/lib/services/usrRulesService.d.ts +34 -0
- package/dist/lib/services/usrUserService.d.ts +65 -0
- package/dist/public-api.d.ts +3 -0
- package/dist/utils/ActionResponse.d.ts +5 -0
- package/dist/utils/BaseRestResponse.d.ts +4 -0
- package/dist/utils/EntitiesResponse.d.ts +8 -0
- package/dist/utils/EntityResponse.d.ts +8 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/rest-axios-setup.d.ts +3 -0
- package/dist/utils/rest-util.d.ts +15 -0
- package/package.json +1 -1
- package/tsconfig.json +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseEntity } from '../entities';
|
|
2
|
+
export declare class DNSRecord extends BaseEntity {
|
|
3
|
+
source: string;
|
|
4
|
+
deviceId: string;
|
|
5
|
+
deviceIp: string;
|
|
6
|
+
accountId: string;
|
|
7
|
+
streamId: string;
|
|
8
|
+
startTime: number;
|
|
9
|
+
endTime: number;
|
|
10
|
+
fqdn: string;
|
|
11
|
+
records: string[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DeviceTypeCode } from '../enums';
|
|
2
|
+
import { DeviceCreationCode } from '../enums';
|
|
3
|
+
import { DeviceIdentityCode } from '../enums';
|
|
4
|
+
export declare class DataIngestion {
|
|
5
|
+
inputURI: string;
|
|
6
|
+
format: string;
|
|
7
|
+
archiveURI: string;
|
|
8
|
+
inputFilesExt: string[];
|
|
9
|
+
subNets: string[];
|
|
10
|
+
exclude: string[];
|
|
11
|
+
usageTimeWindowSec: number;
|
|
12
|
+
sessionTimeWindowSec: number;
|
|
13
|
+
schedule: string;
|
|
14
|
+
defaultDeviceType: DeviceTypeCode;
|
|
15
|
+
deviceCreationPolicy: DeviceCreationCode;
|
|
16
|
+
deviceIdentityPolicy: DeviceIdentityCode;
|
|
17
|
+
constructor(inputURI?: string, format?: string, archiveURI?: string, inputFilesExt?: string[], subNets?: string[], exclude?: string[], usageTimeWindowSec?: number, sessionTimeWindowSec?: number, schedule?: string, defaultDeviceType?: DeviceTypeCode, deviceCreationPolicy?: DeviceCreationCode, deviceIdentityPolicy?: DeviceIdentityCode);
|
|
18
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DeviceStatusCode } from '../enums';
|
|
2
|
+
import { StringKeyValue } from '../common';
|
|
3
|
+
import { DeviceActionCode } from '../enums';
|
|
4
|
+
import { SIM } from '../entities';
|
|
5
|
+
import { BaseEntity } from '../entities';
|
|
6
|
+
import { DeviceTypeCode } from '../enums';
|
|
7
|
+
export declare class Device extends BaseEntity {
|
|
8
|
+
accountId: string;
|
|
9
|
+
streamId: string;
|
|
10
|
+
externalId: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
country: string;
|
|
14
|
+
operator: string;
|
|
15
|
+
type: DeviceTypeCode;
|
|
16
|
+
status: DeviceStatusCode;
|
|
17
|
+
lastActivity: number;
|
|
18
|
+
mac: string;
|
|
19
|
+
ip: string;
|
|
20
|
+
sid: string;
|
|
21
|
+
eid: string;
|
|
22
|
+
score: number;
|
|
23
|
+
tags: string[];
|
|
24
|
+
labels: StringKeyValue[];
|
|
25
|
+
eventCount: number;
|
|
26
|
+
actionApplied: DeviceActionCode;
|
|
27
|
+
actionAppliedBy: string;
|
|
28
|
+
actionAppliedOn: number;
|
|
29
|
+
simCards: SIM[];
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseEntity } from '../entities';
|
|
2
|
+
import { DeviceTypeCode } from '../enums';
|
|
3
|
+
import { DeviceStatusCode } from '../enums';
|
|
4
|
+
import { StringKeyValue } from '../common';
|
|
5
|
+
import { DeviceActionCode } from '../enums';
|
|
6
|
+
import { SIM } from '../entities';
|
|
7
|
+
import { Event } from '../entities';
|
|
8
|
+
export declare class DeviceWithEvents extends BaseEntity {
|
|
9
|
+
accountId: string;
|
|
10
|
+
streamId: string;
|
|
11
|
+
externalId: string;
|
|
12
|
+
name: string;
|
|
13
|
+
description: string;
|
|
14
|
+
country: string;
|
|
15
|
+
operator: string;
|
|
16
|
+
type: DeviceTypeCode;
|
|
17
|
+
status: DeviceStatusCode;
|
|
18
|
+
lastActivity: number;
|
|
19
|
+
mac: string;
|
|
20
|
+
ip: string;
|
|
21
|
+
sid: string;
|
|
22
|
+
eid: string;
|
|
23
|
+
score: number;
|
|
24
|
+
tags: string[];
|
|
25
|
+
labels: StringKeyValue[];
|
|
26
|
+
eventCount: number;
|
|
27
|
+
actionApplied: DeviceActionCode;
|
|
28
|
+
actionAppliedBy: string;
|
|
29
|
+
actionAppliedOn: number;
|
|
30
|
+
simCards: SIM[];
|
|
31
|
+
events: Event[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { BaseEntity } from '../entities';
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
3
|
+
import { EventStatusCode } from '../enums';
|
|
4
|
+
import { GeoData } from '../common';
|
|
5
|
+
import { StringKeyValue } from '../common';
|
|
6
|
+
import { TrafficDirectionCode } from '../enums';
|
|
7
|
+
import { SeverityTypeCode } from '../enums';
|
|
8
|
+
import { Indicator } from '../common';
|
|
9
|
+
import { RuleTypeCode } from '../enums';
|
|
10
|
+
import { EventCategoryCode } from '../enums';
|
|
11
|
+
import { EventOccurrence } from '../entities';
|
|
12
|
+
export declare class Event extends BaseEntity {
|
|
13
|
+
accountId: string;
|
|
14
|
+
streamId: string;
|
|
15
|
+
deviceId: string;
|
|
16
|
+
startTime: number;
|
|
17
|
+
endTime: number;
|
|
18
|
+
type: EventTypeCode;
|
|
19
|
+
severity: SeverityTypeCode;
|
|
20
|
+
score: number;
|
|
21
|
+
probability: number;
|
|
22
|
+
status: EventStatusCode;
|
|
23
|
+
indicators: Indicator[];
|
|
24
|
+
ruleType: RuleTypeCode;
|
|
25
|
+
ruleId: string;
|
|
26
|
+
sourceIp: string;
|
|
27
|
+
targetIp: string;
|
|
28
|
+
targetLocation: GeoData;
|
|
29
|
+
description: string;
|
|
30
|
+
tags: string[];
|
|
31
|
+
labels: StringKeyValue[];
|
|
32
|
+
category: EventCategoryCode;
|
|
33
|
+
recommendedAction: string;
|
|
34
|
+
occurrences: EventOccurrence[];
|
|
35
|
+
trafficDirection: TrafficDirectionCode;
|
|
36
|
+
confidenceScore: number;
|
|
37
|
+
occurrencesCount: boolean;
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Indicator } from '../common';
|
|
2
|
+
import { TrafficDirectionCode } from '../enums';
|
|
3
|
+
export declare class EventOccurrence {
|
|
4
|
+
timestamp: number;
|
|
5
|
+
source: string;
|
|
6
|
+
sourceIp: string;
|
|
7
|
+
indicators: Indicator[];
|
|
8
|
+
trafficDirection: TrafficDirectionCode;
|
|
9
|
+
constructor(timestamp?: number, source?: string, sourceIp?: string, indicators?: Indicator[], trafficDirection?: TrafficDirectionCode);
|
|
10
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventOccurrence } from '../entities';
|
|
2
|
+
import { EventTypeCode } from '../enums';
|
|
3
|
+
import { SeverityTypeCode } from '../enums';
|
|
4
|
+
import { EventStatusCode } from '../enums';
|
|
5
|
+
import { Indicator } from '../common';
|
|
6
|
+
import { RuleTypeCode } from '../enums';
|
|
7
|
+
import { GeoData } from '../common';
|
|
8
|
+
import { StringKeyValue } from '../common';
|
|
9
|
+
import { Device } from '../entities';
|
|
10
|
+
import { BaseEntity } from '../entities';
|
|
11
|
+
import { EventCategoryCode } from '../enums';
|
|
12
|
+
import { TrafficDirectionCode } from '../enums';
|
|
13
|
+
export declare class EventWithDevice extends BaseEntity {
|
|
14
|
+
accountId: string;
|
|
15
|
+
streamId: string;
|
|
16
|
+
deviceId: string;
|
|
17
|
+
startTime: number;
|
|
18
|
+
endTime: number;
|
|
19
|
+
type: EventTypeCode;
|
|
20
|
+
severity: SeverityTypeCode;
|
|
21
|
+
score: number;
|
|
22
|
+
probability: number;
|
|
23
|
+
status: EventStatusCode;
|
|
24
|
+
indicators: Indicator[];
|
|
25
|
+
ruleType: RuleTypeCode;
|
|
26
|
+
ruleId: string;
|
|
27
|
+
targetIp: string;
|
|
28
|
+
targetLocation: GeoData;
|
|
29
|
+
description: string;
|
|
30
|
+
tags: string[];
|
|
31
|
+
labels: StringKeyValue[];
|
|
32
|
+
category: EventCategoryCode;
|
|
33
|
+
recommendedAction: string;
|
|
34
|
+
occurrences: EventOccurrence[];
|
|
35
|
+
trafficDirection: TrafficDirectionCode;
|
|
36
|
+
confidenceScore: number;
|
|
37
|
+
occurrencesCount: boolean;
|
|
38
|
+
device: Device;
|
|
39
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InsightTypeCode } from '../enums';
|
|
2
|
+
import { InsightStatusCode } from '../enums';
|
|
3
|
+
import { SeverityTypeCode } from '../enums';
|
|
4
|
+
import { DirectionContextCode } from '../enums';
|
|
5
|
+
import { BaseEntity } from '../entities';
|
|
6
|
+
export declare class Insight extends BaseEntity {
|
|
7
|
+
accountId: string;
|
|
8
|
+
streamId: string;
|
|
9
|
+
specId: string;
|
|
10
|
+
dayId: number;
|
|
11
|
+
type: InsightTypeCode;
|
|
12
|
+
status: InsightStatusCode;
|
|
13
|
+
description: string;
|
|
14
|
+
links: string[];
|
|
15
|
+
severity: SeverityTypeCode;
|
|
16
|
+
title: string;
|
|
17
|
+
insightDirectionContext: DirectionContextCode;
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InsightTypeCode } from '../enums';
|
|
2
|
+
import { DirectionContextCode } from '../enums';
|
|
3
|
+
import { BaseEntity } from '../entities';
|
|
4
|
+
export declare class InsightQuery extends BaseEntity {
|
|
5
|
+
type: InsightTypeCode;
|
|
6
|
+
description: string;
|
|
7
|
+
query: string;
|
|
8
|
+
insightDirectionContext: DirectionContextCode;
|
|
9
|
+
uIQuery: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { DeviceActionCode } from '../enums';
|
|
3
|
+
import { BaseEntity } from '../entities';
|
|
4
|
+
import { IntegrationTypeCode } from '../enums';
|
|
5
|
+
import { IntegrationTriggerCode } from '../enums';
|
|
6
|
+
import { HttpMethodCode } from '../enums';
|
|
7
|
+
import { StringKeyValue } from '../common';
|
|
8
|
+
import { EventTypeCode } from '../enums';
|
|
9
|
+
export declare class Integration extends BaseEntity {
|
|
10
|
+
accountId: string;
|
|
11
|
+
streamId: string;
|
|
12
|
+
type: IntegrationTypeCode;
|
|
13
|
+
trigger: IntegrationTriggerCode;
|
|
14
|
+
name: string;
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
host: string;
|
|
17
|
+
port: number;
|
|
18
|
+
user: string;
|
|
19
|
+
password: string;
|
|
20
|
+
url: string;
|
|
21
|
+
method: HttpMethodCode;
|
|
22
|
+
headers: StringKeyValue[];
|
|
23
|
+
mimeType: string;
|
|
24
|
+
recipients: string[];
|
|
25
|
+
subject: string;
|
|
26
|
+
body: string;
|
|
27
|
+
from: string;
|
|
28
|
+
eventTypes: EventTypeCode[];
|
|
29
|
+
eventSeverity: SeverityTypeCode;
|
|
30
|
+
preventiveAction: DeviceActionCode;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StringKeyValue } from '../common';
|
|
2
|
+
import { BaseEntity } from '../entities';
|
|
3
|
+
export declare class Radius extends BaseEntity {
|
|
4
|
+
source: string;
|
|
5
|
+
accountId: string;
|
|
6
|
+
streamId: string;
|
|
7
|
+
assignedOn: number;
|
|
8
|
+
mac: string;
|
|
9
|
+
ip: string;
|
|
10
|
+
sid: string;
|
|
11
|
+
eid: string;
|
|
12
|
+
country: string;
|
|
13
|
+
operator: string;
|
|
14
|
+
attributes: StringKeyValue[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReportTypeCode } from '../enums';
|
|
2
|
+
import { TimeFrame } from '../common';
|
|
3
|
+
import { BaseEntity } from '../entities';
|
|
4
|
+
export declare class Report extends BaseEntity {
|
|
5
|
+
accountId: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
name: string;
|
|
8
|
+
cron: string;
|
|
9
|
+
recipients: string[];
|
|
10
|
+
subject: string;
|
|
11
|
+
reportType: ReportTypeCode;
|
|
12
|
+
timeFrame: TimeFrame;
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { BaseEntity } from '../entities';
|
|
3
|
+
import { RuleTypeCode } from '../enums';
|
|
4
|
+
import { DataSourceCode } from '../enums';
|
|
5
|
+
import { Condition } from '../entities';
|
|
6
|
+
import { DeviceTypeCode } from '../enums';
|
|
7
|
+
import { EventTypeCode } from '../enums';
|
|
8
|
+
export declare class Rule 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: Condition[];
|
|
18
|
+
matchAny: Condition[];
|
|
19
|
+
excludeIDs: string[];
|
|
20
|
+
excludeTags: string[];
|
|
21
|
+
excludeTypes: DeviceTypeCode[];
|
|
22
|
+
timeWindowSec: number;
|
|
23
|
+
setEventType: EventTypeCode;
|
|
24
|
+
setEventSeverity: SeverityTypeCode;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SeverityTypeCode } from '../enums';
|
|
2
|
+
import { BaseEntity } from '../entities';
|
|
3
|
+
import { DataSourceCode } from '../enums';
|
|
4
|
+
import { EventTypeCode } from '../enums';
|
|
5
|
+
export declare class RuleTemplate extends BaseEntity {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
context: DataSourceCode;
|
|
9
|
+
matchAll: string[];
|
|
10
|
+
matchAny: string[];
|
|
11
|
+
timeWindowSec: number;
|
|
12
|
+
setEventType: EventTypeCode;
|
|
13
|
+
setEventSeverity: SeverityTypeCode;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseEntity } from '../entities';
|
|
2
|
+
export declare class SessionRecord extends BaseEntity {
|
|
3
|
+
source: string;
|
|
4
|
+
sessionId: string;
|
|
5
|
+
accountId: string;
|
|
6
|
+
streamId: string;
|
|
7
|
+
deviceId: string;
|
|
8
|
+
simId: string;
|
|
9
|
+
startTime: number;
|
|
10
|
+
endTime: number;
|
|
11
|
+
deviceIp: string;
|
|
12
|
+
devicePort: number;
|
|
13
|
+
dstIP: string;
|
|
14
|
+
dstPort: number;
|
|
15
|
+
dstDns: string;
|
|
16
|
+
protocol: string;
|
|
17
|
+
packetsIn: number;
|
|
18
|
+
packetsOut: number;
|
|
19
|
+
bytesIn: number;
|
|
20
|
+
bytesOut: number;
|
|
21
|
+
labels: string[];
|
|
22
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StringKeyValue } from '../common';
|
|
2
|
+
import { StreamConfig } from '../entities';
|
|
3
|
+
import { BaseEntity } from '../entities';
|
|
4
|
+
export declare class Stream extends BaseEntity {
|
|
5
|
+
accountId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
labels: StringKeyValue[];
|
|
10
|
+
config: StreamConfig;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Thresholds } from '../common';
|
|
2
|
+
import { ShieldexConfig } from '../common';
|
|
3
|
+
import { EventSeverityConfig } from '../common';
|
|
4
|
+
import { DeviceConfig } from '../common';
|
|
5
|
+
import { BaseEntity } from '../entities';
|
|
6
|
+
export declare class StreamAnalyticsConfig extends BaseEntity {
|
|
7
|
+
accountId: string;
|
|
8
|
+
thresholds: Thresholds;
|
|
9
|
+
shieldexConfig: ShieldexConfig;
|
|
10
|
+
eventSeverityConfig: EventSeverityConfig;
|
|
11
|
+
deviceConfig: DeviceConfig;
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DeviceActionCode } from '../enums';
|
|
2
|
+
import { DeviceConfig } from '../common';
|
|
3
|
+
import { DataIngestion } from '../entities';
|
|
4
|
+
import { SessionTransform } from '../common';
|
|
5
|
+
import { UsageTransform } from '../common';
|
|
6
|
+
import { Thresholds } from '../common';
|
|
7
|
+
import { ShieldexConfig } from '../common';
|
|
8
|
+
import { EventSeverityConfig } from '../common';
|
|
9
|
+
export declare class StreamConfig {
|
|
10
|
+
ingest: DataIngestion;
|
|
11
|
+
sessionTransform: SessionTransform;
|
|
12
|
+
usageTransform: UsageTransform;
|
|
13
|
+
thresholds: Thresholds;
|
|
14
|
+
shieldexConfig: ShieldexConfig;
|
|
15
|
+
eventSeverityConfig: EventSeverityConfig;
|
|
16
|
+
preventiveActions: DeviceActionCode[];
|
|
17
|
+
deviceConfig: DeviceConfig;
|
|
18
|
+
constructor(ingest?: DataIngestion, sessionTransform?: SessionTransform, usageTransform?: UsageTransform, thresholds?: Thresholds, shieldexConfig?: ShieldexConfig, eventSeverityConfig?: EventSeverityConfig, preventiveActions?: DeviceActionCode[], deviceConfig?: DeviceConfig);
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TimeFrame } from '../common';
|
|
2
|
+
import { DataPointOfDeviceReport } from '../entities';
|
|
3
|
+
export declare class TimeSeriesOfDeviceReport {
|
|
4
|
+
name: string;
|
|
5
|
+
range: TimeFrame;
|
|
6
|
+
values: DataPointOfDeviceReport[];
|
|
7
|
+
constructor(name?: string, range?: TimeFrame, values?: DataPointOfDeviceReport[]);
|
|
8
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BaseEntity } from '../entities';
|
|
2
|
+
export declare class UsageRecord extends BaseEntity {
|
|
3
|
+
source: string;
|
|
4
|
+
accountId: string;
|
|
5
|
+
streamId: string;
|
|
6
|
+
deviceId: string;
|
|
7
|
+
deviceIp: string;
|
|
8
|
+
simId: string;
|
|
9
|
+
startTime: number;
|
|
10
|
+
endTime: number;
|
|
11
|
+
srcPortsList: number[];
|
|
12
|
+
srcPortsCount: number;
|
|
13
|
+
dstPortsList: number[];
|
|
14
|
+
dstPortsCount: number;
|
|
15
|
+
endpointsList: string[];
|
|
16
|
+
endpointsCount: number;
|
|
17
|
+
srcEndpoints: string[];
|
|
18
|
+
srcEndpointsCount: number;
|
|
19
|
+
dstEndpoints: string[];
|
|
20
|
+
dstEndpointsCount: number;
|
|
21
|
+
packetsIn: number;
|
|
22
|
+
packetsOut: number;
|
|
23
|
+
bytesIn: number;
|
|
24
|
+
bytesOut: number;
|
|
25
|
+
srcAckFlags: number;
|
|
26
|
+
dstAckFlags: number;
|
|
27
|
+
srcSynFlags: number;
|
|
28
|
+
dstSynFlags: number;
|
|
29
|
+
srcRstFlags: number;
|
|
30
|
+
dstRstFlags: number;
|
|
31
|
+
labels: string[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UserTypeCode } from '../enums';
|
|
2
|
+
import { UserStatusCode } from '../enums';
|
|
3
|
+
import { StringKeyValue } from '../common';
|
|
4
|
+
import { BaseEntity } from '../entities';
|
|
5
|
+
export declare class User extends BaseEntity {
|
|
6
|
+
name: string;
|
|
7
|
+
externalId: string;
|
|
8
|
+
email: string;
|
|
9
|
+
mobile: string;
|
|
10
|
+
type: UserTypeCode;
|
|
11
|
+
status: UserStatusCode;
|
|
12
|
+
defaultAccount: string;
|
|
13
|
+
lastSignIn: number;
|
|
14
|
+
labels: StringKeyValue[];
|
|
15
|
+
groups: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UserTypeCode } from '../enums';
|
|
2
|
+
import { UserStatusCode } from '../enums';
|
|
3
|
+
import { AccountRole } from '../common';
|
|
4
|
+
import { BaseEntity } from '../entities';
|
|
5
|
+
export declare class UserMembership extends BaseEntity {
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
mobile: string;
|
|
9
|
+
type: UserTypeCode;
|
|
10
|
+
status: UserStatusCode;
|
|
11
|
+
defaultAccount: string;
|
|
12
|
+
lastSignIn: number;
|
|
13
|
+
accountRole: AccountRole;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UserTypeCode } from '../enums';
|
|
2
|
+
import { UserStatusCode } from '../enums';
|
|
3
|
+
import { AccountRole } from '../common';
|
|
4
|
+
import { BaseEntity } from '../entities';
|
|
5
|
+
export declare class UserMemberships extends BaseEntity {
|
|
6
|
+
name: string;
|
|
7
|
+
email: string;
|
|
8
|
+
mobile: string;
|
|
9
|
+
type: UserTypeCode;
|
|
10
|
+
status: UserStatusCode;
|
|
11
|
+
defaultAccount: string;
|
|
12
|
+
lastSignIn: number;
|
|
13
|
+
accountRoles: AccountRole[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export * from './Account';
|
|
2
|
+
export * from './AccountDTO';
|
|
3
|
+
export * from './AccountSettings';
|
|
4
|
+
export * from './Action';
|
|
5
|
+
export * from './Alert';
|
|
6
|
+
export * from './AlertWithDevice';
|
|
7
|
+
export * from './ApiKey';
|
|
8
|
+
export * from './AuditLog';
|
|
9
|
+
export * from './BaseEntity';
|
|
10
|
+
export * from './BulkDevices';
|
|
11
|
+
export * from './Checkpoint';
|
|
12
|
+
export * from './ComplianceReportSettings';
|
|
13
|
+
export * from './Condition';
|
|
14
|
+
export * from './ConfigParam';
|
|
15
|
+
export * from './DNSRecord';
|
|
16
|
+
export * from './DataIngestion';
|
|
17
|
+
export * from './DataPointOfDeviceReport';
|
|
18
|
+
export * from './Device';
|
|
19
|
+
export * from './DeviceReport';
|
|
20
|
+
export * from './DeviceWithEvents';
|
|
21
|
+
export * from './Distribution';
|
|
22
|
+
export * from './Event';
|
|
23
|
+
export * from './EventOccurrence';
|
|
24
|
+
export * from './EventWithDevice';
|
|
25
|
+
export * from './Feature';
|
|
26
|
+
export * from './FeaturesGroup';
|
|
27
|
+
export * from './Group';
|
|
28
|
+
export * from './Image';
|
|
29
|
+
export * from './Insight';
|
|
30
|
+
export * from './InsightQuery';
|
|
31
|
+
export * from './InsightSpec';
|
|
32
|
+
export * from './IntDistribution';
|
|
33
|
+
export * from './Integration';
|
|
34
|
+
export * from './Member';
|
|
35
|
+
export * from './Radius';
|
|
36
|
+
export * from './Report';
|
|
37
|
+
export * from './Rule';
|
|
38
|
+
export * from './RuleTemplate';
|
|
39
|
+
export * from './SIM';
|
|
40
|
+
export * from './ServiceStatus';
|
|
41
|
+
export * from './SessionRecord';
|
|
42
|
+
export * from './Shieldex';
|
|
43
|
+
export * from './Stream';
|
|
44
|
+
export * from './StreamAnalyticsConfig';
|
|
45
|
+
export * from './StreamConfig';
|
|
46
|
+
export * from './TeaserPopUpSettings';
|
|
47
|
+
export * from './TimeSeriesOfDeviceReport';
|
|
48
|
+
export * from './UsageRecord';
|
|
49
|
+
export * from './User';
|
|
50
|
+
export * from './UserMembership';
|
|
51
|
+
export * from './UserMemberships';
|
|
52
|
+
export * from './index';
|