@binalyze/air-sdk 5.12.1 → 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
- * Username filter
765
+ * Usernames filter
742
766
  */
743
- taskCreatedBy?: string;
767
+ taskCreatedBy?: Array<string>;
744
768
  /**
745
- * Full name filter
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
@@ -2902,11 +2921,11 @@ export type FilterCaseTasksDto = {
2902
2921
  */
2903
2922
  displayTypes?: Array<string>;
2904
2923
  /**
2905
- * Filter by creator user ID
2924
+ * Filter by creator usernames
2906
2925
  */
2907
2926
  taskCreatedBy?: Array<string>;
2908
2927
  /**
2909
- * Filter by creator full name
2928
+ * Filter by creator full names
2910
2929
  */
2911
2930
  taskCreatedByFullName?: Array<string>;
2912
2931
  };
@@ -4737,6 +4756,9 @@ export type EventLogRecordsConfigWritable = {
4737
4756
  export type OffNetworkAcquisitionTaskDtoWritable = {
4738
4757
  [key: string]: unknown;
4739
4758
  };
4759
+ export type PortableDiskImageTaskDtoWritable = {
4760
+ [key: string]: unknown;
4761
+ };
4740
4762
  export type AcquireImageDtoWritable = {
4741
4763
  [key: string]: unknown;
4742
4764
  };
@@ -5284,6 +5306,32 @@ export type AssetsGetMany2Responses = {
5284
5306
  200: AssetsPageDto;
5285
5307
  };
5286
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];
5287
5335
  export type EndpointGetEndpointsWithTaskCountData = {
5288
5336
  body?: never;
5289
5337
  path?: never;
@@ -6141,6 +6189,31 @@ export type TaskGenerateOffNetworkZipPasswordData = {
6141
6189
  export type TaskGenerateOffNetworkZipPasswordResponses = {
6142
6190
  201: unknown;
6143
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];
6144
6217
  export type AssetsAssignRebootTaskData = {
6145
6218
  body: RebootEndpointDto;
6146
6219
  path?: never;
@@ -7325,6 +7398,19 @@ export type AcquisitionCreateOffNetworkAcquisitionTaskFileData = {
7325
7398
  export type AcquisitionCreateOffNetworkAcquisitionTaskFileResponses = {
7326
7399
  201: unknown;
7327
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];
7328
7414
  export type AcquisitionAcquireImageData = {
7329
7415
  body: AcquireImageDtoWritable;
7330
7416
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@binalyze/air-sdk",
3
- "version": "5.12.1",
3
+ "version": "5.13.0",
4
4
  "private": false,
5
5
  "description": "Binalyze AIR - Typescript Axios SDK",
6
6
  "license": "MIT",