@binalyze/air-sdk 5.11.8 → 5.13.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.
|
@@ -198,6 +198,24 @@ export type AssetsPageDto = {
|
|
|
198
198
|
*/
|
|
199
199
|
createdAt: string;
|
|
200
200
|
};
|
|
201
|
+
export type BaseFilterDto = {
|
|
202
|
+
/**
|
|
203
|
+
* Number of items per page
|
|
204
|
+
*/
|
|
205
|
+
pageSize?: number;
|
|
206
|
+
/**
|
|
207
|
+
* Page number to retrieve
|
|
208
|
+
*/
|
|
209
|
+
pageNumber?: number;
|
|
210
|
+
/**
|
|
211
|
+
* Sort direction
|
|
212
|
+
*/
|
|
213
|
+
sortType?: 'ASC' | 'DESC';
|
|
214
|
+
/**
|
|
215
|
+
* Field name to sort by
|
|
216
|
+
*/
|
|
217
|
+
sortBy?: string;
|
|
218
|
+
};
|
|
201
219
|
export type FilterEndpointWithTaskCountDto = {
|
|
202
220
|
/**
|
|
203
221
|
* Search text
|
|
@@ -662,6 +680,12 @@ export type ImportOffNetworkCollectionToTaskDto = {
|
|
|
662
680
|
export type GenerateOffNetworkZipPasswordDto = {
|
|
663
681
|
[key: string]: unknown;
|
|
664
682
|
};
|
|
683
|
+
export type PortableDiskImageDecryptionKeyResponseDto = {
|
|
684
|
+
/**
|
|
685
|
+
* 64-char hex AES-256 decryption key
|
|
686
|
+
*/
|
|
687
|
+
decryptionKey: string;
|
|
688
|
+
};
|
|
665
689
|
export type AssignedTaskDto = {
|
|
666
690
|
/**
|
|
667
691
|
* Task identifier
|
|
@@ -720,7 +744,7 @@ export type FilterEndpointTasksDto = {
|
|
|
720
744
|
/**
|
|
721
745
|
* Task type list
|
|
722
746
|
*/
|
|
723
|
-
type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-update' | 'offline-acquisition' | 'offline-triage' | 'migration' | 'interact-shell' | 'baseline-comparison' | 'baseline-acquisition' | 'agent-deployment' | 'acquire-image' | 'purge-local-data' | 'retry-upload' | 'calculate-hash' | 'drone-analysis' | 'full-text-search' | 'cloud-acquisition' | 'image-evidence-acquisition'>;
|
|
747
|
+
type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-update' | 'offline-acquisition' | 'offline-triage' | 'migration' | 'interact-shell' | 'baseline-comparison' | 'baseline-acquisition' | 'agent-deployment' | 'acquire-image' | 'purge-local-data' | 'retry-upload' | 'calculate-hash' | 'drone-analysis' | 'full-text-search' | 'cloud-acquisition' | 'image-evidence-acquisition' | 'portable-disk-image'>;
|
|
724
748
|
/**
|
|
725
749
|
* Task status list
|
|
726
750
|
*/
|
|
@@ -738,13 +762,13 @@ export type FilterEndpointTasksDto = {
|
|
|
738
762
|
*/
|
|
739
763
|
displayTypes?: Array<string>;
|
|
740
764
|
/**
|
|
741
|
-
*
|
|
765
|
+
* Usernames filter
|
|
742
766
|
*/
|
|
743
|
-
taskCreatedBy?: string
|
|
767
|
+
taskCreatedBy?: Array<string>;
|
|
744
768
|
/**
|
|
745
|
-
* Full
|
|
769
|
+
* Full names filter
|
|
746
770
|
*/
|
|
747
|
-
taskCreatedByFullName?: string
|
|
771
|
+
taskCreatedByFullName?: Array<string>;
|
|
748
772
|
};
|
|
749
773
|
export type TaskEntity = {
|
|
750
774
|
[key: string]: unknown;
|
|
@@ -1498,6 +1522,19 @@ export type AssignedTaskResponseDto = {
|
|
|
1498
1522
|
export type OffNetworkAcquisitionTaskDto = {
|
|
1499
1523
|
[key: string]: unknown;
|
|
1500
1524
|
};
|
|
1525
|
+
export type PortableDiskImageTaskDto = {
|
|
1526
|
+
[key: string]: unknown;
|
|
1527
|
+
};
|
|
1528
|
+
export type PortableDiskImageTaskResponseDto = {
|
|
1529
|
+
taskId: string;
|
|
1530
|
+
fileName: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* 64-char hex AES-256 decryption key
|
|
1533
|
+
*/
|
|
1534
|
+
decryptionKey: string;
|
|
1535
|
+
downloadUrl: string;
|
|
1536
|
+
shareUrl: string;
|
|
1537
|
+
};
|
|
1501
1538
|
export type AcquireImageDto = {
|
|
1502
1539
|
[key: string]: unknown;
|
|
1503
1540
|
};
|
|
@@ -2048,24 +2085,6 @@ export type GoogleCloudStorageRepositoryDto = {
|
|
|
2048
2085
|
export type FilterNotificationsDto = {
|
|
2049
2086
|
[key: string]: unknown;
|
|
2050
2087
|
};
|
|
2051
|
-
export type BaseFilterDto = {
|
|
2052
|
-
/**
|
|
2053
|
-
* Number of items per page
|
|
2054
|
-
*/
|
|
2055
|
-
pageSize?: number;
|
|
2056
|
-
/**
|
|
2057
|
-
* Page number to retrieve
|
|
2058
|
-
*/
|
|
2059
|
-
pageNumber?: number;
|
|
2060
|
-
/**
|
|
2061
|
-
* Sort direction
|
|
2062
|
-
*/
|
|
2063
|
-
sortType?: 'ASC' | 'DESC';
|
|
2064
|
-
/**
|
|
2065
|
-
* Field name to sort by
|
|
2066
|
-
*/
|
|
2067
|
-
sortBy?: string;
|
|
2068
|
-
};
|
|
2069
2088
|
export type FilterAuditLogRequestDto = {
|
|
2070
2089
|
/**
|
|
2071
2090
|
* Search text
|
|
@@ -2794,6 +2813,66 @@ export type CreateCaseDto = {
|
|
|
2794
2813
|
export type UpdateCaseDto = {
|
|
2795
2814
|
[key: string]: unknown;
|
|
2796
2815
|
};
|
|
2816
|
+
export type CaseFilterDto = {
|
|
2817
|
+
/**
|
|
2818
|
+
* Included case IDs
|
|
2819
|
+
*/
|
|
2820
|
+
includedIds?: Array<string>;
|
|
2821
|
+
/**
|
|
2822
|
+
* Excluded case IDs
|
|
2823
|
+
*/
|
|
2824
|
+
excludedIds?: Array<string>;
|
|
2825
|
+
/**
|
|
2826
|
+
* Organization IDs
|
|
2827
|
+
*/
|
|
2828
|
+
organizationIds: Array<number>;
|
|
2829
|
+
/**
|
|
2830
|
+
* Search term for cases
|
|
2831
|
+
*/
|
|
2832
|
+
searchTerm?: string;
|
|
2833
|
+
/**
|
|
2834
|
+
* Statuses to filter
|
|
2835
|
+
*/
|
|
2836
|
+
status?: Array<string>;
|
|
2837
|
+
/**
|
|
2838
|
+
* Started date range
|
|
2839
|
+
*/
|
|
2840
|
+
startedOn?: DateRangeDto;
|
|
2841
|
+
/**
|
|
2842
|
+
* Closed date range
|
|
2843
|
+
*/
|
|
2844
|
+
closedOn?: DateRangeDto;
|
|
2845
|
+
/**
|
|
2846
|
+
* Category IDs
|
|
2847
|
+
*/
|
|
2848
|
+
categoryIds?: Array<string>;
|
|
2849
|
+
/**
|
|
2850
|
+
* Tag IDs
|
|
2851
|
+
*/
|
|
2852
|
+
tagIds?: Array<string>;
|
|
2853
|
+
/**
|
|
2854
|
+
* Filter cases without a category
|
|
2855
|
+
*/
|
|
2856
|
+
withoutCategory?: boolean;
|
|
2857
|
+
/**
|
|
2858
|
+
* Filter cases without tags
|
|
2859
|
+
*/
|
|
2860
|
+
withoutTag?: boolean;
|
|
2861
|
+
/**
|
|
2862
|
+
* Filter cases closing soon
|
|
2863
|
+
*/
|
|
2864
|
+
closingSoon?: boolean;
|
|
2865
|
+
/**
|
|
2866
|
+
* Close reasons
|
|
2867
|
+
*/
|
|
2868
|
+
closeReasons?: Array<string>;
|
|
2869
|
+
};
|
|
2870
|
+
export type CaseOperationsByFilterRequestDto = {
|
|
2871
|
+
/**
|
|
2872
|
+
* Filter criteria for cases to process
|
|
2873
|
+
*/
|
|
2874
|
+
filter: CaseFilterDto;
|
|
2875
|
+
};
|
|
2797
2876
|
export type ChangeCaseOwnerDto = {
|
|
2798
2877
|
/**
|
|
2799
2878
|
* ID of the new owner for the case
|
|
@@ -2842,11 +2921,11 @@ export type FilterCaseTasksDto = {
|
|
|
2842
2921
|
*/
|
|
2843
2922
|
displayTypes?: Array<string>;
|
|
2844
2923
|
/**
|
|
2845
|
-
* Filter by creator
|
|
2924
|
+
* Filter by creator usernames
|
|
2846
2925
|
*/
|
|
2847
2926
|
taskCreatedBy?: Array<string>;
|
|
2848
2927
|
/**
|
|
2849
|
-
* Filter by creator full
|
|
2928
|
+
* Filter by creator full names
|
|
2850
2929
|
*/
|
|
2851
2930
|
taskCreatedByFullName?: Array<string>;
|
|
2852
2931
|
};
|
|
@@ -4677,6 +4756,9 @@ export type EventLogRecordsConfigWritable = {
|
|
|
4677
4756
|
export type OffNetworkAcquisitionTaskDtoWritable = {
|
|
4678
4757
|
[key: string]: unknown;
|
|
4679
4758
|
};
|
|
4759
|
+
export type PortableDiskImageTaskDtoWritable = {
|
|
4760
|
+
[key: string]: unknown;
|
|
4761
|
+
};
|
|
4680
4762
|
export type AcquireImageDtoWritable = {
|
|
4681
4763
|
[key: string]: unknown;
|
|
4682
4764
|
};
|
|
@@ -5224,6 +5306,32 @@ export type AssetsGetMany2Responses = {
|
|
|
5224
5306
|
200: AssetsPageDto;
|
|
5225
5307
|
};
|
|
5226
5308
|
export type AssetsGetMany2Response = AssetsGetMany2Responses[keyof AssetsGetMany2Responses];
|
|
5309
|
+
export type AssetsGetManyByFilterData = {
|
|
5310
|
+
body: BaseFilterDto;
|
|
5311
|
+
path?: never;
|
|
5312
|
+
query?: never;
|
|
5313
|
+
url: '/api/public/endpoints/filter';
|
|
5314
|
+
};
|
|
5315
|
+
export type AssetsGetManyByFilterResponses = {
|
|
5316
|
+
/**
|
|
5317
|
+
* Assets retrieved successfully
|
|
5318
|
+
*/
|
|
5319
|
+
200: AssetsPageDto;
|
|
5320
|
+
};
|
|
5321
|
+
export type AssetsGetManyByFilterResponse = AssetsGetManyByFilterResponses[keyof AssetsGetManyByFilterResponses];
|
|
5322
|
+
export type AssetsGetManyByFilter2Data = {
|
|
5323
|
+
body: BaseFilterDto;
|
|
5324
|
+
path?: never;
|
|
5325
|
+
query?: never;
|
|
5326
|
+
url: '/api/public/assets/filter';
|
|
5327
|
+
};
|
|
5328
|
+
export type AssetsGetManyByFilter2Responses = {
|
|
5329
|
+
/**
|
|
5330
|
+
* Assets retrieved successfully
|
|
5331
|
+
*/
|
|
5332
|
+
200: AssetsPageDto;
|
|
5333
|
+
};
|
|
5334
|
+
export type AssetsGetManyByFilter2Response = AssetsGetManyByFilter2Responses[keyof AssetsGetManyByFilter2Responses];
|
|
5227
5335
|
export type EndpointGetEndpointsWithTaskCountData = {
|
|
5228
5336
|
body?: never;
|
|
5229
5337
|
path?: never;
|
|
@@ -5903,6 +6011,19 @@ export type EndpointGroupGetRootGroupsData = {
|
|
|
5903
6011
|
export type EndpointGroupGetRootGroupsResponses = {
|
|
5904
6012
|
200: unknown;
|
|
5905
6013
|
};
|
|
6014
|
+
export type GetTaskDisplayTypesData = {
|
|
6015
|
+
body?: never;
|
|
6016
|
+
path?: never;
|
|
6017
|
+
query?: never;
|
|
6018
|
+
url: '/api/public/tasks/display-types';
|
|
6019
|
+
};
|
|
6020
|
+
export type GetTaskDisplayTypesResponses = {
|
|
6021
|
+
/**
|
|
6022
|
+
* Task display types retrieved successfully
|
|
6023
|
+
*/
|
|
6024
|
+
200: Array<string>;
|
|
6025
|
+
};
|
|
6026
|
+
export type GetTaskDisplayTypesResponse = GetTaskDisplayTypesResponses[keyof GetTaskDisplayTypesResponses];
|
|
5906
6027
|
export type TaskDeleteData = {
|
|
5907
6028
|
body?: never;
|
|
5908
6029
|
path: {
|
|
@@ -6068,6 +6189,31 @@ export type TaskGenerateOffNetworkZipPasswordData = {
|
|
|
6068
6189
|
export type TaskGenerateOffNetworkZipPasswordResponses = {
|
|
6069
6190
|
201: unknown;
|
|
6070
6191
|
};
|
|
6192
|
+
export type PortableDiskImageDownloadPackageData = {
|
|
6193
|
+
body?: never;
|
|
6194
|
+
path?: never;
|
|
6195
|
+
query?: never;
|
|
6196
|
+
url: '/api/public/tasks/portable-disk-image/download';
|
|
6197
|
+
};
|
|
6198
|
+
export type PortableDiskImageDownloadPackageResponses = {
|
|
6199
|
+
/**
|
|
6200
|
+
* ZIP stream
|
|
6201
|
+
*/
|
|
6202
|
+
200: unknown;
|
|
6203
|
+
};
|
|
6204
|
+
export type PortableDiskImageRetrieveDecryptionKeyData = {
|
|
6205
|
+
body?: never;
|
|
6206
|
+
path?: never;
|
|
6207
|
+
query?: never;
|
|
6208
|
+
url: '/api/public/tasks/portable-disk-image/{taskId}/decryption-key';
|
|
6209
|
+
};
|
|
6210
|
+
export type PortableDiskImageRetrieveDecryptionKeyResponses = {
|
|
6211
|
+
/**
|
|
6212
|
+
* Decryption key retrieved successfully
|
|
6213
|
+
*/
|
|
6214
|
+
200: PortableDiskImageDecryptionKeyResponseDto;
|
|
6215
|
+
};
|
|
6216
|
+
export type PortableDiskImageRetrieveDecryptionKeyResponse = PortableDiskImageRetrieveDecryptionKeyResponses[keyof PortableDiskImageRetrieveDecryptionKeyResponses];
|
|
6071
6217
|
export type AssetsAssignRebootTaskData = {
|
|
6072
6218
|
body: RebootEndpointDto;
|
|
6073
6219
|
path?: never;
|
|
@@ -7099,6 +7245,24 @@ export type LicenseSetLicenseData = {
|
|
|
7099
7245
|
export type LicenseSetLicenseResponses = {
|
|
7100
7246
|
201: unknown;
|
|
7101
7247
|
};
|
|
7248
|
+
export type LicenseRefreshLicenseData = {
|
|
7249
|
+
body?: never;
|
|
7250
|
+
path?: never;
|
|
7251
|
+
query?: never;
|
|
7252
|
+
url: '/api/public/license/refresh';
|
|
7253
|
+
};
|
|
7254
|
+
export type LicenseRefreshLicenseResponses = {
|
|
7255
|
+
200: unknown;
|
|
7256
|
+
};
|
|
7257
|
+
export type LicenseGetSubscriptionDetailsData = {
|
|
7258
|
+
body?: never;
|
|
7259
|
+
path?: never;
|
|
7260
|
+
query?: never;
|
|
7261
|
+
url: '/api/public/license/subscription-details';
|
|
7262
|
+
};
|
|
7263
|
+
export type LicenseGetSubscriptionDetailsResponses = {
|
|
7264
|
+
200: unknown;
|
|
7265
|
+
};
|
|
7102
7266
|
export type LicenseGetQuotaData = {
|
|
7103
7267
|
body?: never;
|
|
7104
7268
|
path?: never;
|
|
@@ -7234,6 +7398,19 @@ export type AcquisitionCreateOffNetworkAcquisitionTaskFileData = {
|
|
|
7234
7398
|
export type AcquisitionCreateOffNetworkAcquisitionTaskFileResponses = {
|
|
7235
7399
|
201: unknown;
|
|
7236
7400
|
};
|
|
7401
|
+
export type AcquisitionCreatePortableDiskImageTaskData = {
|
|
7402
|
+
body: PortableDiskImageTaskDtoWritable;
|
|
7403
|
+
path?: never;
|
|
7404
|
+
query?: never;
|
|
7405
|
+
url: '/api/public/acquisitions/acquire/portable-disk-image';
|
|
7406
|
+
};
|
|
7407
|
+
export type AcquisitionCreatePortableDiskImageTaskResponses = {
|
|
7408
|
+
/**
|
|
7409
|
+
* Portable disk image task created successfully
|
|
7410
|
+
*/
|
|
7411
|
+
201: PortableDiskImageTaskResponseDto;
|
|
7412
|
+
};
|
|
7413
|
+
export type AcquisitionCreatePortableDiskImageTaskResponse = AcquisitionCreatePortableDiskImageTaskResponses[keyof AcquisitionCreatePortableDiskImageTaskResponses];
|
|
7237
7414
|
export type AcquisitionAcquireImageData = {
|
|
7238
7415
|
body: AcquireImageDtoWritable;
|
|
7239
7416
|
path?: never;
|
|
@@ -8524,6 +8701,24 @@ export type CaseArchiveCaseResponses = {
|
|
|
8524
8701
|
200: CaseResponseDto;
|
|
8525
8702
|
};
|
|
8526
8703
|
export type CaseArchiveCaseResponse = CaseArchiveCaseResponses[keyof CaseArchiveCaseResponses];
|
|
8704
|
+
export type CasesCloseByFilterData = {
|
|
8705
|
+
body: CaseOperationsByFilterRequestDto;
|
|
8706
|
+
path?: never;
|
|
8707
|
+
query?: never;
|
|
8708
|
+
url: '/api/public/cases/close';
|
|
8709
|
+
};
|
|
8710
|
+
export type CasesCloseByFilterResponses = {
|
|
8711
|
+
201: unknown;
|
|
8712
|
+
};
|
|
8713
|
+
export type CasesArchiveByFilterData = {
|
|
8714
|
+
body: CaseOperationsByFilterRequestDto;
|
|
8715
|
+
path?: never;
|
|
8716
|
+
query?: never;
|
|
8717
|
+
url: '/api/public/cases/archive';
|
|
8718
|
+
};
|
|
8719
|
+
export type CasesArchiveByFilterResponses = {
|
|
8720
|
+
201: unknown;
|
|
8721
|
+
};
|
|
8527
8722
|
export type CasesChangeOwnerData = {
|
|
8528
8723
|
body: ChangeCaseOwnerDto;
|
|
8529
8724
|
path: {
|
|
@@ -9566,6 +9761,15 @@ export type CloudAccountsCreateCloudAccountData = {
|
|
|
9566
9761
|
export type CloudAccountsCreateCloudAccountResponses = {
|
|
9567
9762
|
201: unknown;
|
|
9568
9763
|
};
|
|
9764
|
+
export type CloudAccountsGetConfigData = {
|
|
9765
|
+
body?: never;
|
|
9766
|
+
path?: never;
|
|
9767
|
+
query?: never;
|
|
9768
|
+
url: '/api/public/cloud-forensics/accounts/config';
|
|
9769
|
+
};
|
|
9770
|
+
export type CloudAccountsGetConfigResponses = {
|
|
9771
|
+
200: unknown;
|
|
9772
|
+
};
|
|
9569
9773
|
export type CloudAccountsExportData = {
|
|
9570
9774
|
body?: never;
|
|
9571
9775
|
path?: never;
|