@binalyze/air-sdk 0.1.0 → 4.46.0
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/LICENSE +1 -0
- package/README.md +5 -2
- package/dist/air/AIR.js +5 -5
- package/dist/air/AIR.js.map +1 -1
- package/dist/domains/acquisitions.js +1 -19
- package/dist/domains/acquisitions.js.map +1 -1
- package/dist/domains/api-tokens.js +0 -24
- package/dist/domains/api-tokens.js.map +1 -1
- package/dist/domains/assets.js +0 -70
- package/dist/domains/assets.js.map +1 -1
- package/dist/domains/baseline.js +0 -22
- package/dist/domains/baseline.js.map +1 -1
- package/dist/domains/cases.js +0 -57
- package/dist/domains/cases.js.map +1 -1
- package/dist/domains/interact.js +0 -28
- package/dist/domains/interact.js.map +1 -1
- package/dist/domains/organization.js +0 -50
- package/dist/domains/organization.js.map +1 -1
- package/dist/domains/repositories.js +0 -14
- package/dist/domains/repositories.js.map +1 -1
- package/dist/domains/tasks.js +0 -28
- package/dist/domains/tasks.js.map +1 -1
- package/dist/domains/triage.js +0 -17
- package/dist/domains/triage.js.map +1 -1
- package/dist/domains/users.js +0 -14
- package/dist/domains/users.js.map +1 -1
- package/dist/sdk/typescript-axios/sdk.gen.d.ts +91 -37
- package/dist/sdk/typescript-axios/sdk.gen.js +106 -67
- package/dist/sdk/typescript-axios/sdk.gen.js.map +1 -1
- package/dist/sdk/typescript-axios/types.gen.d.ts +98 -125
- package/dist/types/acquisitions.d.ts +0 -12
- package/dist/types/api-tokens.d.ts +0 -18
- package/dist/types/assets.d.ts +0 -13
- package/dist/types/baseline.d.ts +0 -7
- package/dist/types/cases.d.ts +0 -18
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/interact.d.ts +0 -11
- package/dist/types/organization.d.ts +0 -15
- package/dist/types/repositories.d.ts +0 -6
- package/dist/types/tasks.d.ts +0 -9
- package/dist/types/triage.d.ts +0 -13
- package/dist/types/users.d.ts +0 -6
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/{air.helpers.js → utils.js} +1 -1
- package/dist/utils/utils.js.map +1 -0
- package/package.json +1 -1
- package/dist/types/common.d.ts +0 -1
- package/dist/types/common.js +0 -3
- package/dist/types/common.js.map +0 -1
- package/dist/utils/air.helpers.js.map +0 -1
- /package/dist/utils/{air.helpers.d.ts → utils.d.ts} +0 -0
|
@@ -41,27 +41,27 @@ export type FilterEndpointDto = {
|
|
|
41
41
|
/**
|
|
42
42
|
* Managed status list
|
|
43
43
|
*/
|
|
44
|
-
managedStatus?: Array<
|
|
44
|
+
managedStatus?: Array<Array<unknown>>;
|
|
45
45
|
/**
|
|
46
46
|
* Isolation status list
|
|
47
47
|
*/
|
|
48
|
-
isolationStatus?: Array<
|
|
48
|
+
isolationStatus?: Array<Array<unknown>>;
|
|
49
49
|
/**
|
|
50
50
|
* Platform list
|
|
51
51
|
*/
|
|
52
|
-
platform?: Array<
|
|
52
|
+
platform?: Array<Array<unknown>>;
|
|
53
53
|
/**
|
|
54
54
|
* Endpoint issue list
|
|
55
55
|
*/
|
|
56
|
-
issue?: Array<
|
|
56
|
+
issue?: Array<Array<unknown>>;
|
|
57
57
|
/**
|
|
58
58
|
* Online status list
|
|
59
59
|
*/
|
|
60
|
-
onlineStatus?: Array<
|
|
60
|
+
onlineStatus?: Array<Array<unknown>>;
|
|
61
61
|
/**
|
|
62
62
|
* Tags list
|
|
63
63
|
*/
|
|
64
|
-
tags?: Array<
|
|
64
|
+
tags?: Array<Array<unknown>>;
|
|
65
65
|
/**
|
|
66
66
|
* Agent version
|
|
67
67
|
*/
|
|
@@ -73,15 +73,15 @@ export type FilterEndpointDto = {
|
|
|
73
73
|
/**
|
|
74
74
|
* Included endpoint IDs
|
|
75
75
|
*/
|
|
76
|
-
includedEndpointIds?: Array<
|
|
76
|
+
includedEndpointIds?: Array<Array<unknown>>;
|
|
77
77
|
/**
|
|
78
78
|
* Excluded endpoint IDs
|
|
79
79
|
*/
|
|
80
|
-
excludedEndpointIds?: Array<
|
|
80
|
+
excludedEndpointIds?: Array<Array<unknown>>;
|
|
81
81
|
/**
|
|
82
82
|
* Organization IDs (comma separated)
|
|
83
83
|
*/
|
|
84
|
-
organizationIds: string
|
|
84
|
+
organizationIds: Array<string>;
|
|
85
85
|
/**
|
|
86
86
|
* Connection route id
|
|
87
87
|
*/
|
|
@@ -97,11 +97,11 @@ export type FilterEndpointDto = {
|
|
|
97
97
|
/**
|
|
98
98
|
* Filter by AWS regions
|
|
99
99
|
*/
|
|
100
|
-
awsRegions?: Array<
|
|
100
|
+
awsRegions?: Array<Array<unknown>>;
|
|
101
101
|
/**
|
|
102
102
|
* Filter by Azure regions
|
|
103
103
|
*/
|
|
104
|
-
azureRegions?: Array<
|
|
104
|
+
azureRegions?: Array<Array<unknown>>;
|
|
105
105
|
/**
|
|
106
106
|
* Filter by agent installation presence
|
|
107
107
|
*/
|
|
@@ -117,15 +117,15 @@ export type FilterEndpointDto = {
|
|
|
117
117
|
/**
|
|
118
118
|
* Filter by vendor IDs
|
|
119
119
|
*/
|
|
120
|
-
vendorIds?: Array<
|
|
120
|
+
vendorIds?: Array<Array<unknown>>;
|
|
121
121
|
/**
|
|
122
122
|
* Filter by vendor device IDs
|
|
123
123
|
*/
|
|
124
|
-
vendorDeviceIds?: Array<
|
|
124
|
+
vendorDeviceIds?: Array<Array<unknown>>;
|
|
125
125
|
/**
|
|
126
126
|
* Filter by build architecture
|
|
127
127
|
*/
|
|
128
|
-
buildArch?: Array<
|
|
128
|
+
buildArch?: Array<Array<unknown>>;
|
|
129
129
|
/**
|
|
130
130
|
* Filter endpoints excluded from updates
|
|
131
131
|
*/
|
|
@@ -177,27 +177,27 @@ export type FilterEndpointWithTaskCountDto = {
|
|
|
177
177
|
/**
|
|
178
178
|
* Managed status list
|
|
179
179
|
*/
|
|
180
|
-
managedStatus?: Array<
|
|
180
|
+
managedStatus?: Array<Array<unknown>>;
|
|
181
181
|
/**
|
|
182
182
|
* Isolation status list
|
|
183
183
|
*/
|
|
184
|
-
isolationStatus?: Array<
|
|
184
|
+
isolationStatus?: Array<Array<unknown>>;
|
|
185
185
|
/**
|
|
186
186
|
* Platform list
|
|
187
187
|
*/
|
|
188
|
-
platform?: Array<
|
|
188
|
+
platform?: Array<Array<unknown>>;
|
|
189
189
|
/**
|
|
190
190
|
* Endpoint issue list
|
|
191
191
|
*/
|
|
192
|
-
issue?: Array<
|
|
192
|
+
issue?: Array<Array<unknown>>;
|
|
193
193
|
/**
|
|
194
194
|
* Online status list
|
|
195
195
|
*/
|
|
196
|
-
onlineStatus?: Array<
|
|
196
|
+
onlineStatus?: Array<Array<unknown>>;
|
|
197
197
|
/**
|
|
198
198
|
* Tags list
|
|
199
199
|
*/
|
|
200
|
-
tags?: Array<
|
|
200
|
+
tags?: Array<Array<unknown>>;
|
|
201
201
|
/**
|
|
202
202
|
* Agent version
|
|
203
203
|
*/
|
|
@@ -209,15 +209,15 @@ export type FilterEndpointWithTaskCountDto = {
|
|
|
209
209
|
/**
|
|
210
210
|
* Included endpoint IDs
|
|
211
211
|
*/
|
|
212
|
-
includedEndpointIds?: Array<
|
|
212
|
+
includedEndpointIds?: Array<Array<unknown>>;
|
|
213
213
|
/**
|
|
214
214
|
* Excluded endpoint IDs
|
|
215
215
|
*/
|
|
216
|
-
excludedEndpointIds?: Array<
|
|
216
|
+
excludedEndpointIds?: Array<Array<unknown>>;
|
|
217
217
|
/**
|
|
218
218
|
* Organization IDs (comma separated)
|
|
219
219
|
*/
|
|
220
|
-
organizationIds: string
|
|
220
|
+
organizationIds: Array<string>;
|
|
221
221
|
/**
|
|
222
222
|
* Connection route id
|
|
223
223
|
*/
|
|
@@ -233,11 +233,11 @@ export type FilterEndpointWithTaskCountDto = {
|
|
|
233
233
|
/**
|
|
234
234
|
* Filter by AWS regions
|
|
235
235
|
*/
|
|
236
|
-
awsRegions?: Array<
|
|
236
|
+
awsRegions?: Array<Array<unknown>>;
|
|
237
237
|
/**
|
|
238
238
|
* Filter by Azure regions
|
|
239
239
|
*/
|
|
240
|
-
azureRegions?: Array<
|
|
240
|
+
azureRegions?: Array<Array<unknown>>;
|
|
241
241
|
/**
|
|
242
242
|
* Filter by agent installation presence
|
|
243
243
|
*/
|
|
@@ -253,15 +253,15 @@ export type FilterEndpointWithTaskCountDto = {
|
|
|
253
253
|
/**
|
|
254
254
|
* Filter by vendor IDs
|
|
255
255
|
*/
|
|
256
|
-
vendorIds?: Array<
|
|
256
|
+
vendorIds?: Array<Array<unknown>>;
|
|
257
257
|
/**
|
|
258
258
|
* Filter by vendor device IDs
|
|
259
259
|
*/
|
|
260
|
-
vendorDeviceIds?: Array<
|
|
260
|
+
vendorDeviceIds?: Array<Array<unknown>>;
|
|
261
261
|
/**
|
|
262
262
|
* Filter by build architecture
|
|
263
263
|
*/
|
|
264
|
-
buildArch?: Array<
|
|
264
|
+
buildArch?: Array<Array<unknown>>;
|
|
265
265
|
/**
|
|
266
266
|
* Filter endpoints excluded from updates
|
|
267
267
|
*/
|
|
@@ -291,7 +291,7 @@ export type RemoveTagsFromEndpointsByFilterDto = {
|
|
|
291
291
|
/**
|
|
292
292
|
* Tags to remove from the selected assets/endpoints
|
|
293
293
|
*/
|
|
294
|
-
tags: Array<
|
|
294
|
+
tags: Array<Array<unknown>>;
|
|
295
295
|
};
|
|
296
296
|
export type FilterEndpointsByPolicyFilterDto = {
|
|
297
297
|
[key: string]: unknown;
|
|
@@ -581,7 +581,7 @@ export type FilterUsersDto = {
|
|
|
581
581
|
/**
|
|
582
582
|
* Limit to these organization IDs
|
|
583
583
|
*/
|
|
584
|
-
organizationIds
|
|
584
|
+
organizationIds: Array<number>;
|
|
585
585
|
/**
|
|
586
586
|
* Filter by role names
|
|
587
587
|
*/
|
|
@@ -652,19 +652,6 @@ export type AcquisitionProfileFilterDto = {
|
|
|
652
652
|
*/
|
|
653
653
|
allOrganizations?: boolean;
|
|
654
654
|
};
|
|
655
|
-
export type AcquisitionProfileListItemDto = {
|
|
656
|
-
_id: string;
|
|
657
|
-
name: string;
|
|
658
|
-
organizationIds: Array<number>;
|
|
659
|
-
averageTime: number;
|
|
660
|
-
createdAt: string;
|
|
661
|
-
createdBy: string;
|
|
662
|
-
deletable: boolean;
|
|
663
|
-
hasEventLogRecordsEvidence: boolean;
|
|
664
|
-
profileTypes: Array<string>;
|
|
665
|
-
lastUsedAt: string | null;
|
|
666
|
-
lastUsedBy: string | null;
|
|
667
|
-
};
|
|
668
655
|
export type TaskConfig = {
|
|
669
656
|
[key: string]: unknown;
|
|
670
657
|
};
|
|
@@ -682,15 +669,15 @@ export type TaskSchedulerConfig = {
|
|
|
682
669
|
};
|
|
683
670
|
export type AcquireEvidenceDto = {
|
|
684
671
|
/**
|
|
685
|
-
* Optional
|
|
672
|
+
* Optional name for the acquisition task
|
|
686
673
|
*/
|
|
687
674
|
taskName?: string;
|
|
688
675
|
/**
|
|
689
676
|
* Case ID to associate with the acquisition (required if mandatory case selection is enabled)
|
|
690
677
|
*/
|
|
691
|
-
caseId
|
|
678
|
+
caseId: string;
|
|
692
679
|
/**
|
|
693
|
-
*
|
|
680
|
+
* Acquisition profile ID to associate with the acquisition
|
|
694
681
|
*/
|
|
695
682
|
acquisitionProfileId: string;
|
|
696
683
|
/**
|
|
@@ -698,17 +685,17 @@ export type AcquireEvidenceDto = {
|
|
|
698
685
|
*/
|
|
699
686
|
taskConfig: TaskConfig;
|
|
700
687
|
/**
|
|
701
|
-
* Filter object to select the target endpoints
|
|
688
|
+
* Filter object to select the target endpoints
|
|
702
689
|
*/
|
|
703
690
|
filter: AcquisitionEndpointFilterDto;
|
|
704
691
|
/**
|
|
705
692
|
* Drone execution configuration
|
|
706
693
|
*/
|
|
707
|
-
droneConfig
|
|
694
|
+
droneConfig: DroneConfig;
|
|
708
695
|
/**
|
|
709
696
|
* Windows Event Log records configuration
|
|
710
697
|
*/
|
|
711
|
-
eventLogRecordsConfig
|
|
698
|
+
eventLogRecordsConfig: EventLogRecordsConfig;
|
|
712
699
|
/**
|
|
713
700
|
* Scheduler configuration for when to run the task
|
|
714
701
|
*/
|
|
@@ -768,11 +755,11 @@ export type UpdateTriageRuleDto = {
|
|
|
768
755
|
/**
|
|
769
756
|
* Organization IDs this rule belongs to
|
|
770
757
|
*/
|
|
771
|
-
organizationIds?: Array<
|
|
758
|
+
organizationIds?: Array<Array<unknown>>;
|
|
772
759
|
/**
|
|
773
760
|
* Tag IDs associated with the rule
|
|
774
761
|
*/
|
|
775
|
-
tagIds?: Array<
|
|
762
|
+
tagIds?: Array<Array<unknown>>;
|
|
776
763
|
};
|
|
777
764
|
export type TriageRuleFilterDto = {
|
|
778
765
|
[key: string]: unknown;
|
|
@@ -799,27 +786,27 @@ export type TriageDto = {
|
|
|
799
786
|
*/
|
|
800
787
|
taskName?: string;
|
|
801
788
|
/**
|
|
802
|
-
* Case ID to associate with the triage task
|
|
789
|
+
* Case ID to associate with the triage task
|
|
803
790
|
*/
|
|
804
791
|
caseId?: string;
|
|
805
792
|
/**
|
|
806
793
|
* List of triage rule IDs to execute
|
|
807
794
|
*/
|
|
808
|
-
triageRuleIds
|
|
795
|
+
triageRuleIds: Array<string>;
|
|
809
796
|
/**
|
|
810
797
|
* MITRE ATT&CK selection to run instead of explicit triage rules
|
|
811
798
|
*/
|
|
812
|
-
mitreAttack
|
|
799
|
+
mitreAttack: MitreAttackDto;
|
|
813
800
|
/**
|
|
814
801
|
* Task configuration settings
|
|
815
802
|
*/
|
|
816
|
-
taskConfig
|
|
803
|
+
taskConfig: TaskConfig;
|
|
817
804
|
/**
|
|
818
805
|
* Scheduler configuration for executing the task
|
|
819
806
|
*/
|
|
820
807
|
schedulerConfig?: TaskSchedulerConfig;
|
|
821
808
|
/**
|
|
822
|
-
* Endpoint filter to target assets for triage
|
|
809
|
+
* Endpoint filter to target assets for triage
|
|
823
810
|
*/
|
|
824
811
|
filter: TriageEndpointFilterDto;
|
|
825
812
|
};
|
|
@@ -976,7 +963,7 @@ export type FilterOrganizationsDto = {
|
|
|
976
963
|
*/
|
|
977
964
|
name?: string;
|
|
978
965
|
/**
|
|
979
|
-
*
|
|
966
|
+
* Search across organization fields
|
|
980
967
|
*/
|
|
981
968
|
searchTerm?: string;
|
|
982
969
|
};
|
|
@@ -1121,7 +1108,7 @@ export type CreateCaseDto = {
|
|
|
1121
1108
|
/**
|
|
1122
1109
|
* IDs of users who can access the case when visibility is privateToUsers
|
|
1123
1110
|
*/
|
|
1124
|
-
assignedUserIds
|
|
1111
|
+
assignedUserIds: Array<string>;
|
|
1125
1112
|
/**
|
|
1126
1113
|
* Category ID of the case
|
|
1127
1114
|
*/
|
|
@@ -1170,7 +1157,7 @@ export type FilterCaseTasksDto = {
|
|
|
1170
1157
|
*/
|
|
1171
1158
|
hasDroneData?: boolean;
|
|
1172
1159
|
/**
|
|
1173
|
-
*
|
|
1160
|
+
* Asset names
|
|
1174
1161
|
*/
|
|
1175
1162
|
assetNames?: Array<string>;
|
|
1176
1163
|
/**
|
|
@@ -1180,11 +1167,11 @@ export type FilterCaseTasksDto = {
|
|
|
1180
1167
|
/**
|
|
1181
1168
|
* Filter by creator user ID
|
|
1182
1169
|
*/
|
|
1183
|
-
taskCreatedBy?: string
|
|
1170
|
+
taskCreatedBy?: Array<string>;
|
|
1184
1171
|
/**
|
|
1185
1172
|
* Filter by creator full name
|
|
1186
1173
|
*/
|
|
1187
|
-
taskCreatedByFullName?: string
|
|
1174
|
+
taskCreatedByFullName?: Array<string>;
|
|
1188
1175
|
};
|
|
1189
1176
|
export type FilterCaseTaskAssignmentsDto = {
|
|
1190
1177
|
[key: string]: unknown;
|
|
@@ -1253,21 +1240,21 @@ export type InteractShellDto = {
|
|
|
1253
1240
|
*/
|
|
1254
1241
|
taskName?: string;
|
|
1255
1242
|
/**
|
|
1256
|
-
* Vendor ID for the target system
|
|
1243
|
+
* Vendor ID for the target system
|
|
1257
1244
|
*/
|
|
1258
|
-
vendorId
|
|
1245
|
+
vendorId: string;
|
|
1259
1246
|
/**
|
|
1260
|
-
* Asset ID for the target system
|
|
1247
|
+
* Asset ID for the target system
|
|
1261
1248
|
*/
|
|
1262
|
-
assetId
|
|
1249
|
+
assetId: string;
|
|
1263
1250
|
/**
|
|
1264
|
-
* Vendor device ID for the target system
|
|
1251
|
+
* Vendor device ID for the target system
|
|
1265
1252
|
*/
|
|
1266
|
-
vendorDeviceId
|
|
1253
|
+
vendorDeviceId: string;
|
|
1267
1254
|
/**
|
|
1268
|
-
* Case ID to associate with the InterACT session
|
|
1255
|
+
* Case ID to associate with the InterACT session
|
|
1269
1256
|
*/
|
|
1270
|
-
caseId
|
|
1257
|
+
caseId: string;
|
|
1271
1258
|
/**
|
|
1272
1259
|
* Task configuration settings for the InterACT session
|
|
1273
1260
|
*/
|
|
@@ -1292,17 +1279,17 @@ export type BaselineCompareDto = {
|
|
|
1292
1279
|
*/
|
|
1293
1280
|
taskName?: string;
|
|
1294
1281
|
/**
|
|
1295
|
-
* Case ID to associate with the comparison
|
|
1282
|
+
* Case ID to associate with the comparison
|
|
1296
1283
|
*/
|
|
1297
|
-
caseId
|
|
1284
|
+
caseId: string;
|
|
1298
1285
|
/**
|
|
1299
|
-
* Endpoint ID of the target where the two baseline tasks were executed
|
|
1286
|
+
* Endpoint ID of the target where the two baseline tasks were executed
|
|
1300
1287
|
*/
|
|
1301
|
-
endpointId
|
|
1288
|
+
endpointId: string;
|
|
1302
1289
|
/**
|
|
1303
|
-
* Vendor device ID of the target where the two baseline tasks were executed
|
|
1290
|
+
* Vendor device ID of the target where the two baseline tasks were executed
|
|
1304
1291
|
*/
|
|
1305
|
-
vendorDeviceId
|
|
1292
|
+
vendorDeviceId: string;
|
|
1306
1293
|
/**
|
|
1307
1294
|
* Exactly two task IDs corresponding to baseline acquisition tasks to compare
|
|
1308
1295
|
*/
|
|
@@ -1313,11 +1300,11 @@ export type BaselineCompareDto = {
|
|
|
1313
1300
|
};
|
|
1314
1301
|
export type AcquireBaselineEvidenceDto = {
|
|
1315
1302
|
/**
|
|
1316
|
-
* Case ID to associate with the baseline acquisition
|
|
1303
|
+
* Case ID to associate with the baseline acquisition
|
|
1317
1304
|
*/
|
|
1318
|
-
caseId
|
|
1305
|
+
caseId: string;
|
|
1319
1306
|
/**
|
|
1320
|
-
* Endpoint filter to select targets for baseline acquisition.
|
|
1307
|
+
* Endpoint filter to select targets for baseline acquisition.
|
|
1321
1308
|
*/
|
|
1322
1309
|
filter: FilterEndpointDto;
|
|
1323
1310
|
};
|
|
@@ -1329,15 +1316,15 @@ export type FilterApiTokenDto = {
|
|
|
1329
1316
|
};
|
|
1330
1317
|
export type CreateApiTokenDto = {
|
|
1331
1318
|
/**
|
|
1332
|
-
*
|
|
1319
|
+
* The name of the API token
|
|
1333
1320
|
*/
|
|
1334
1321
|
name: string;
|
|
1335
1322
|
/**
|
|
1336
|
-
*
|
|
1323
|
+
* Description for the API token
|
|
1337
1324
|
*/
|
|
1338
1325
|
description?: string;
|
|
1339
1326
|
/**
|
|
1340
|
-
* Expiration date
|
|
1327
|
+
* Expiration date for the API token
|
|
1341
1328
|
*/
|
|
1342
1329
|
expirationDate?: string;
|
|
1343
1330
|
/**
|
|
@@ -1347,15 +1334,15 @@ export type CreateApiTokenDto = {
|
|
|
1347
1334
|
};
|
|
1348
1335
|
export type UpdateApiTokenDto = {
|
|
1349
1336
|
/**
|
|
1350
|
-
*
|
|
1337
|
+
* Description for the API token
|
|
1351
1338
|
*/
|
|
1352
1339
|
description?: string;
|
|
1353
1340
|
/**
|
|
1354
|
-
*
|
|
1341
|
+
* Expiration date for the token
|
|
1355
1342
|
*/
|
|
1356
1343
|
expirationDate?: string;
|
|
1357
1344
|
/**
|
|
1358
|
-
* Role identifier
|
|
1345
|
+
* Role identifier that constrains the permissions of the token
|
|
1359
1346
|
*/
|
|
1360
1347
|
roleId?: string;
|
|
1361
1348
|
};
|
|
@@ -1422,12 +1409,18 @@ export type ExportInvestigationSectionDataDto = {
|
|
|
1422
1409
|
export type GetSectionsByTaskAssignmentsDto = {
|
|
1423
1410
|
[key: string]: unknown;
|
|
1424
1411
|
};
|
|
1412
|
+
export type GetInvestigationFlagSummaryByFilterDto = {
|
|
1413
|
+
[key: string]: unknown;
|
|
1414
|
+
};
|
|
1425
1415
|
export type FilterInvestigationFindingsDto = {
|
|
1426
1416
|
[key: string]: unknown;
|
|
1427
1417
|
};
|
|
1428
1418
|
export type GetInvestigationFindingsSummaryByFilterDto = {
|
|
1429
1419
|
[key: string]: unknown;
|
|
1430
1420
|
};
|
|
1421
|
+
export type GetInvestigationMitreMatchesByFilterDto = {
|
|
1422
|
+
[key: string]: unknown;
|
|
1423
|
+
};
|
|
1431
1424
|
export type InvestigationGlobalSearchDto = {
|
|
1432
1425
|
[key: string]: unknown;
|
|
1433
1426
|
};
|
|
@@ -1473,9 +1466,6 @@ export type ExportInvestigationFindingsForApiDto = {
|
|
|
1473
1466
|
export type ImportTornadoEvidenceDto = {
|
|
1474
1467
|
[key: string]: unknown;
|
|
1475
1468
|
};
|
|
1476
|
-
export type ExecuteSqlQueryOnHubDto = {
|
|
1477
|
-
[key: string]: unknown;
|
|
1478
|
-
};
|
|
1479
1469
|
export type FindingExclusionRuleDto = {
|
|
1480
1470
|
[key: string]: unknown;
|
|
1481
1471
|
};
|
|
@@ -1881,7 +1871,7 @@ export type EndpointGetEndpointsStats1Data = {
|
|
|
1881
1871
|
export type EndpointGetEndpointsStats1Responses = {
|
|
1882
1872
|
200: unknown;
|
|
1883
1873
|
};
|
|
1884
|
-
export type
|
|
1874
|
+
export type AssetsGetMany3Data = {
|
|
1885
1875
|
body?: never;
|
|
1886
1876
|
path: {
|
|
1887
1877
|
/**
|
|
@@ -1892,10 +1882,10 @@ export type AssetsGetByIdData = {
|
|
|
1892
1882
|
query?: never;
|
|
1893
1883
|
url: '/api/public/endpoints/{id}';
|
|
1894
1884
|
};
|
|
1895
|
-
export type
|
|
1885
|
+
export type AssetsGetMany3Responses = {
|
|
1896
1886
|
200: unknown;
|
|
1897
1887
|
};
|
|
1898
|
-
export type
|
|
1888
|
+
export type AssetsGetMany4Data = {
|
|
1899
1889
|
body?: never;
|
|
1900
1890
|
path: {
|
|
1901
1891
|
/**
|
|
@@ -1906,7 +1896,7 @@ export type AssetsGetById2Data = {
|
|
|
1906
1896
|
query?: never;
|
|
1907
1897
|
url: '/api/public/assets/{id}';
|
|
1908
1898
|
};
|
|
1909
|
-
export type
|
|
1899
|
+
export type AssetsGetMany4Responses = {
|
|
1910
1900
|
200: unknown;
|
|
1911
1901
|
};
|
|
1912
1902
|
export type EndpointImportPpcAsEndpointData = {
|
|
@@ -2445,7 +2435,7 @@ export type TaskDeleteData = {
|
|
|
2445
2435
|
body?: never;
|
|
2446
2436
|
path: {
|
|
2447
2437
|
/**
|
|
2448
|
-
* The
|
|
2438
|
+
* The ID of the task
|
|
2449
2439
|
*/
|
|
2450
2440
|
id: string;
|
|
2451
2441
|
};
|
|
@@ -2459,7 +2449,7 @@ export type TasksGetByIdData = {
|
|
|
2459
2449
|
body?: never;
|
|
2460
2450
|
path: {
|
|
2461
2451
|
/**
|
|
2462
|
-
* The
|
|
2452
|
+
* The ID of the task
|
|
2463
2453
|
*/
|
|
2464
2454
|
id: string;
|
|
2465
2455
|
};
|
|
@@ -2511,7 +2501,7 @@ export type TasksGetDataData = {
|
|
|
2511
2501
|
body?: never;
|
|
2512
2502
|
path: {
|
|
2513
2503
|
/**
|
|
2514
|
-
* The
|
|
2504
|
+
* The ID of the task
|
|
2515
2505
|
*/
|
|
2516
2506
|
id: string;
|
|
2517
2507
|
};
|
|
@@ -2552,7 +2542,7 @@ export type TaskCancelData = {
|
|
|
2552
2542
|
body?: never;
|
|
2553
2543
|
path: {
|
|
2554
2544
|
/**
|
|
2555
|
-
* The
|
|
2545
|
+
* The ID of the task
|
|
2556
2546
|
*/
|
|
2557
2547
|
id: string;
|
|
2558
2548
|
};
|
|
@@ -2820,7 +2810,7 @@ export type TaskAssignmentFilterData = {
|
|
|
2820
2810
|
body?: never;
|
|
2821
2811
|
path: {
|
|
2822
2812
|
/**
|
|
2823
|
-
* The
|
|
2813
|
+
* The ID of the task
|
|
2824
2814
|
*/
|
|
2825
2815
|
id: string;
|
|
2826
2816
|
};
|
|
@@ -3562,7 +3552,7 @@ export type LicenseGetQuotaData = {
|
|
|
3562
3552
|
export type LicenseGetQuotaResponses = {
|
|
3563
3553
|
200: unknown;
|
|
3564
3554
|
};
|
|
3565
|
-
export type
|
|
3555
|
+
export type AcquisitionProfilesGetOneData = {
|
|
3566
3556
|
body?: never;
|
|
3567
3557
|
path?: never;
|
|
3568
3558
|
query: {
|
|
@@ -3586,13 +3576,9 @@ export type AcquisitionProfilesGetManyData = {
|
|
|
3586
3576
|
};
|
|
3587
3577
|
url: '/api/public/acquisitions/profiles';
|
|
3588
3578
|
};
|
|
3589
|
-
export type
|
|
3590
|
-
|
|
3591
|
-
* Acquisition profiles
|
|
3592
|
-
*/
|
|
3593
|
-
200: Array<AcquisitionProfileListItemDto>;
|
|
3579
|
+
export type AcquisitionProfilesGetOneResponses = {
|
|
3580
|
+
200: unknown;
|
|
3594
3581
|
};
|
|
3595
|
-
export type AcquisitionProfilesGetManyResponse = AcquisitionProfilesGetManyResponses[keyof AcquisitionProfilesGetManyResponses];
|
|
3596
3582
|
export type AcquisitionCreateData = {
|
|
3597
3583
|
body: AcquisitionProfileDto;
|
|
3598
3584
|
path?: never;
|
|
@@ -3616,7 +3602,7 @@ export type AcquisitionDeleteData = {
|
|
|
3616
3602
|
export type AcquisitionDeleteResponses = {
|
|
3617
3603
|
200: unknown;
|
|
3618
3604
|
};
|
|
3619
|
-
export type
|
|
3605
|
+
export type AcquisitionGetData = {
|
|
3620
3606
|
body?: never;
|
|
3621
3607
|
path: {
|
|
3622
3608
|
/**
|
|
@@ -3627,7 +3613,7 @@ export type AcquisitionProfilesGetOneData = {
|
|
|
3627
3613
|
query?: never;
|
|
3628
3614
|
url: '/api/public/acquisitions/profiles/{id}';
|
|
3629
3615
|
};
|
|
3630
|
-
export type
|
|
3616
|
+
export type AcquisitionGetResponses = {
|
|
3631
3617
|
200: unknown;
|
|
3632
3618
|
};
|
|
3633
3619
|
export type AcquisitionUpdateData = {
|
|
@@ -3644,22 +3630,22 @@ export type AcquisitionUpdateData = {
|
|
|
3644
3630
|
export type AcquisitionUpdateResponses = {
|
|
3645
3631
|
200: unknown;
|
|
3646
3632
|
};
|
|
3647
|
-
export type
|
|
3633
|
+
export type AcquisitionAssignEvidenceTaskData = {
|
|
3648
3634
|
body: AcquireEvidenceDto;
|
|
3649
3635
|
path?: never;
|
|
3650
3636
|
query?: never;
|
|
3651
3637
|
url: '/api/public/acquisitions/acquire';
|
|
3652
3638
|
};
|
|
3653
|
-
export type
|
|
3639
|
+
export type AcquisitionAssignEvidenceTaskResponses = {
|
|
3654
3640
|
201: unknown;
|
|
3655
3641
|
};
|
|
3656
|
-
export type
|
|
3642
|
+
export type AcquisitionAssignEvidenceTask2Data = {
|
|
3657
3643
|
body: AcquireEvidenceDto;
|
|
3658
3644
|
path?: never;
|
|
3659
3645
|
query?: never;
|
|
3660
3646
|
url: '/api/public/acquisitions/acquire/evidence';
|
|
3661
3647
|
};
|
|
3662
|
-
export type
|
|
3648
|
+
export type AcquisitionAssignEvidenceTask2Responses = {
|
|
3663
3649
|
201: unknown;
|
|
3664
3650
|
};
|
|
3665
3651
|
export type AcquisitionCreateOffNetworkAcquisitionTaskFileData = {
|
|
@@ -4662,9 +4648,7 @@ export type CaseExportCaseEndpoints1Responses = {
|
|
|
4662
4648
|
};
|
|
4663
4649
|
export type CasesGetData = {
|
|
4664
4650
|
body?: never;
|
|
4665
|
-
path
|
|
4666
|
-
id: string;
|
|
4667
|
-
};
|
|
4651
|
+
path?: never;
|
|
4668
4652
|
query?: never;
|
|
4669
4653
|
url: '/api/public/cases/{id}';
|
|
4670
4654
|
};
|
|
@@ -5712,7 +5696,7 @@ export type InvestigationGetSectionsByEndpointsResponses = {
|
|
|
5712
5696
|
201: unknown;
|
|
5713
5697
|
};
|
|
5714
5698
|
export type InvestigationGetSummaryData = {
|
|
5715
|
-
body
|
|
5699
|
+
body: GetInvestigationFlagSummaryByFilterDto;
|
|
5716
5700
|
path: {
|
|
5717
5701
|
investigationId: string;
|
|
5718
5702
|
};
|
|
@@ -5756,7 +5740,7 @@ export type InvestigationGetFindingsSummaryResponses = {
|
|
|
5756
5740
|
201: unknown;
|
|
5757
5741
|
};
|
|
5758
5742
|
export type InvestigationGetMitreMatchesData = {
|
|
5759
|
-
body:
|
|
5743
|
+
body: GetInvestigationMitreMatchesByFilterDto;
|
|
5760
5744
|
path: {
|
|
5761
5745
|
investigationId: string;
|
|
5762
5746
|
};
|
|
@@ -6015,17 +5999,6 @@ export type InvestigationImportTornadoEvidenceToInvestigation1Data = {
|
|
|
6015
5999
|
export type InvestigationImportTornadoEvidenceToInvestigation1Responses = {
|
|
6016
6000
|
201: unknown;
|
|
6017
6001
|
};
|
|
6018
|
-
export type InvestigationExecuteSqlQueryOnInvestigationData = {
|
|
6019
|
-
body: ExecuteSqlQueryOnHubDto;
|
|
6020
|
-
path: {
|
|
6021
|
-
investigationId: string;
|
|
6022
|
-
};
|
|
6023
|
-
query?: never;
|
|
6024
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/execute-sql-query';
|
|
6025
|
-
};
|
|
6026
|
-
export type InvestigationExecuteSqlQueryOnInvestigationResponses = {
|
|
6027
|
-
201: unknown;
|
|
6028
|
-
};
|
|
6029
6002
|
export type InvestigationExclusionAddFindingExclusionRuleData = {
|
|
6030
6003
|
body: FindingExclusionRuleDto;
|
|
6031
6004
|
path?: never;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { PromiseReturn } from './common';
|
|
2
|
-
import { acquisitionProfilesGetOne, acquisitionsAssignEvidenceTask } from '../generated/bindings';
|
|
3
1
|
export interface AcquisitionsAPI {
|
|
4
2
|
getProfile: (id: string) => Promise<any>;
|
|
5
3
|
assignEvidenceTask: (params: {
|
|
@@ -9,14 +7,4 @@ export interface AcquisitionsAPI {
|
|
|
9
7
|
caseId: string;
|
|
10
8
|
taskName?: string;
|
|
11
9
|
}) => Promise<any>;
|
|
12
|
-
raw: {
|
|
13
|
-
getProfile: (id: string) => PromiseReturn<typeof acquisitionProfilesGetOne>;
|
|
14
|
-
assignEvidenceTask: (params: {
|
|
15
|
-
acquisitionProfileId: string;
|
|
16
|
-
organizationId: number;
|
|
17
|
-
endpointId: string;
|
|
18
|
-
caseId: string;
|
|
19
|
-
taskName?: string;
|
|
20
|
-
}) => PromiseReturn<typeof acquisitionsAssignEvidenceTask>;
|
|
21
|
-
};
|
|
22
10
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { PromiseReturn } from './common';
|
|
2
|
-
import { apiTokensGetMany, apiTokensGetOne, apiTokensCreate, apiTokensUpdate, apiTokensDelete } from '../generated/bindings';
|
|
3
1
|
export interface ApiTokensAPI {
|
|
4
2
|
get: (id: string) => Promise<any>;
|
|
5
3
|
getMany: (organizationId: number, pageNumber?: number, pageSize?: number) => Promise<any>;
|
|
@@ -15,20 +13,4 @@ export interface ApiTokensAPI {
|
|
|
15
13
|
expirationDate?: string;
|
|
16
14
|
} | any) => Promise<any>;
|
|
17
15
|
delete: (id: string) => Promise<any>;
|
|
18
|
-
raw: {
|
|
19
|
-
get: (id: string) => PromiseReturn<typeof apiTokensGetOne>;
|
|
20
|
-
getMany: (organizationId: number, pageNumber?: number, pageSize?: number) => PromiseReturn<typeof apiTokensGetMany>;
|
|
21
|
-
create: (input: {
|
|
22
|
-
name: string;
|
|
23
|
-
roleId: string;
|
|
24
|
-
description?: string;
|
|
25
|
-
expirationDate?: string;
|
|
26
|
-
} | any) => PromiseReturn<typeof apiTokensCreate>;
|
|
27
|
-
update: (id: string, input: {
|
|
28
|
-
roleId?: string;
|
|
29
|
-
description?: string;
|
|
30
|
-
expirationDate?: string;
|
|
31
|
-
} | any) => PromiseReturn<typeof apiTokensUpdate>;
|
|
32
|
-
delete: (id: string) => PromiseReturn<typeof apiTokensDelete>;
|
|
33
|
-
};
|
|
34
16
|
}
|