@binalyze/air-sdk 5.23.0 → 5.24.3

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.
@@ -119,6 +119,10 @@ export type FilterEndpointDto = {
119
119
  * Endpoint issue list
120
120
  */
121
121
  issue?: Array<Array<unknown>>;
122
+ /**
123
+ * Responder update version status list
124
+ */
125
+ versionStatus?: Array<'unsupported-os' | 'updating' | 'waiting' | 'failed' | 'scheduled' | 'excluded' | 'update-required' | 'update-available' | 'up-to-date'>;
122
126
  /**
123
127
  * Online status list
124
128
  */
@@ -281,6 +285,44 @@ export type BaseFilterDto = {
281
285
  */
282
286
  sortBy?: string;
283
287
  };
288
+ export type FilterEndpointByExpressionDto = {
289
+ /**
290
+ * Number of items per page
291
+ */
292
+ pageSize?: number;
293
+ /**
294
+ * Page number to retrieve
295
+ */
296
+ pageNumber?: number;
297
+ /**
298
+ * Sort direction
299
+ */
300
+ sortType?: 'ASC' | 'DESC';
301
+ /**
302
+ * Field name to sort by
303
+ */
304
+ sortBy?: string;
305
+ /**
306
+ * Recursive filter expression: [field, operator, value] leaves joined by and/or
307
+ */
308
+ filter: Array<unknown>;
309
+ /**
310
+ * Organization IDs (required for tenant isolation)
311
+ */
312
+ organizationIds: Array<number>;
313
+ /**
314
+ * Free-text multi-column search
315
+ */
316
+ searchTerm?: string;
317
+ /**
318
+ * Case scoping
319
+ */
320
+ caseId?: string;
321
+ /**
322
+ * Timezone offset (minutes) for task scheduling
323
+ */
324
+ timezoneOffset?: number;
325
+ };
284
326
  export type FilterEndpointWithTaskCountDto = {
285
327
  /**
286
328
  * Search text
@@ -338,6 +380,10 @@ export type FilterEndpointWithTaskCountDto = {
338
380
  * Endpoint issue list
339
381
  */
340
382
  issue?: Array<Array<unknown>>;
383
+ /**
384
+ * Responder update version status list
385
+ */
386
+ versionStatus?: Array<'unsupported-os' | 'updating' | 'waiting' | 'failed' | 'scheduled' | 'excluded' | 'update-required' | 'update-available' | 'up-to-date'>;
341
387
  /**
342
388
  * Online status list
343
389
  */
@@ -466,11 +512,185 @@ export type DeleteEndpointsByFilterApiDto = {
466
512
  */
467
513
  assertions?: TaskAssertions;
468
514
  };
515
+ export type EndpointFilterWithExpressionDto = {
516
+ /**
517
+ * Search text
518
+ */
519
+ searchTerm?: string;
520
+ /**
521
+ * Filter by endpoint/asset name
522
+ */
523
+ name?: string;
524
+ /**
525
+ * Filter by IP address
526
+ */
527
+ ipAddress?: string;
528
+ /**
529
+ * Filter by group id
530
+ */
531
+ groupId?: string;
532
+ /**
533
+ * Filter by full group path
534
+ */
535
+ groupFullPath?: string;
536
+ /**
537
+ * Filter by label
538
+ */
539
+ label?: string;
540
+ /**
541
+ * Seen after date
542
+ */
543
+ lastSeenAfter?: string;
544
+ /**
545
+ * Seen before date
546
+ */
547
+ lastSeenBefore?: string;
548
+ /**
549
+ * Seen between date range
550
+ */
551
+ lastSeenBetween?: DateRangeDto;
552
+ /**
553
+ * Registered at date range
554
+ */
555
+ registeredAt?: DateRangeDto;
556
+ /**
557
+ * Managed status list
558
+ */
559
+ managedStatus?: Array<Array<unknown>>;
560
+ /**
561
+ * Isolation status list
562
+ */
563
+ isolationStatus?: Array<Array<unknown>>;
564
+ /**
565
+ * Platform list
566
+ */
567
+ platform?: Array<Array<unknown>>;
568
+ /**
569
+ * Endpoint issue list
570
+ */
571
+ issue?: Array<Array<unknown>>;
572
+ /**
573
+ * Responder update version status list
574
+ */
575
+ versionStatus?: Array<'unsupported-os' | 'updating' | 'waiting' | 'failed' | 'scheduled' | 'excluded' | 'update-required' | 'update-available' | 'up-to-date'>;
576
+ /**
577
+ * Online status list
578
+ */
579
+ onlineStatus?: Array<Array<unknown>>;
580
+ /**
581
+ * Tags list
582
+ */
583
+ tags?: Array<Array<unknown>>;
584
+ /**
585
+ * Agent version
586
+ */
587
+ version?: string;
588
+ /**
589
+ * Policy name
590
+ */
591
+ policy?: string;
592
+ /**
593
+ * Included endpoint IDs
594
+ */
595
+ includedEndpointIds?: Array<string>;
596
+ /**
597
+ * Excluded endpoint IDs
598
+ */
599
+ excludedEndpointIds?: Array<string>;
600
+ /**
601
+ * Organization IDs (comma separated)
602
+ */
603
+ organizationIds: Array<number>;
604
+ /**
605
+ * Connection route id
606
+ */
607
+ connectionRouteId?: number;
608
+ /**
609
+ * Filter by presence of a connection route
610
+ */
611
+ hasConnectionRoute?: boolean;
612
+ /**
613
+ * Filter by case id
614
+ */
615
+ caseId?: string;
616
+ /**
617
+ * Filter by AWS regions
618
+ */
619
+ awsRegions?: Array<Array<unknown>>;
620
+ /**
621
+ * Filter by Azure regions
622
+ */
623
+ azureRegions?: Array<Array<unknown>>;
624
+ /**
625
+ * Filter by GCP regions
626
+ */
627
+ gcpRegions?: Array<Array<unknown>>;
628
+ /**
629
+ * Filter by agent installation presence
630
+ */
631
+ agentInstalled?: boolean;
632
+ /**
633
+ * Filter by server endpoints
634
+ */
635
+ isServer?: boolean;
636
+ /**
637
+ * Filter by endpoints that have evidence
638
+ */
639
+ hasEvidence?: boolean;
640
+ /**
641
+ * Filter by vendor IDs
642
+ */
643
+ vendorIds?: Array<Array<unknown>>;
644
+ /**
645
+ * Filter by vendor device IDs
646
+ */
647
+ vendorDeviceIds?: Array<Array<unknown>>;
648
+ /**
649
+ * Filter by build architecture
650
+ */
651
+ buildArch?: Array<Array<unknown>>;
652
+ /**
653
+ * Filter endpoints excluded from updates
654
+ */
655
+ excludedFromUpdates?: boolean;
656
+ /**
657
+ * Filter by serial number
658
+ */
659
+ serialNumber?: string;
660
+ /**
661
+ * Filter by asset type (endpoint or disk-image only)
662
+ */
663
+ assetType?: Array<'disk-image' | 'endpoint' | 'cloud-asset'>;
664
+ /**
665
+ * Filter by maintenance mode
666
+ */
667
+ maintenanceMode?: boolean;
668
+ /**
669
+ * Filter by asset IDs
670
+ */
671
+ assetIds?: Array<string>;
672
+ /**
673
+ * Filter by IPv4 address (searches netInterfaces ipv4Addrs)
674
+ */
675
+ ipv4Address?: string;
676
+ /**
677
+ * Filter by IPv6 address (searches netInterfaces ipv6Addrs)
678
+ */
679
+ ipv6Address?: string;
680
+ /**
681
+ * Filter by MAC address (searches netInterfaces macAddr)
682
+ */
683
+ macAddress?: string;
684
+ /**
685
+ * Filter by network interface name (searches netInterfaces name)
686
+ */
687
+ interfaceName?: string;
688
+ };
469
689
  export type AddTagsToEndpointsByFilterDto = {
470
690
  /**
471
691
  * Filter to select assets/endpoints to tag
472
692
  */
473
- filter: FilterEndpointDto;
693
+ filter: EndpointFilterWithExpressionDto;
474
694
  /**
475
695
  * Tags to add to the selected assets/endpoints
476
696
  */
@@ -480,7 +700,7 @@ export type SetMitreAttackDatabaseVersionDto = {
480
700
  /**
481
701
  * Filter to select assets to update
482
702
  */
483
- filter: FilterEndpointDto;
703
+ filter: EndpointFilterWithExpressionDto;
484
704
  /**
485
705
  * MITRE ATT&CK database version to set as demanded for selected agents
486
706
  */
@@ -490,7 +710,7 @@ export type RemoveTagsFromEndpointsByFilterDto = {
490
710
  /**
491
711
  * Filter to select assets/endpoints to remove tags from
492
712
  */
493
- filter: FilterEndpointDto;
713
+ filter: EndpointFilterWithExpressionDto;
494
714
  /**
495
715
  * Tags to remove from the selected assets/endpoints
496
716
  */
@@ -517,9 +737,25 @@ export type SetMaintenanceModeDto = {
517
737
  */
518
738
  enabled: boolean;
519
739
  };
520
- export type FilterTagsDto = {
740
+ export type CreateAssetTagDto = {
741
+ /**
742
+ * Organization that owns the asset tag
743
+ */
744
+ organizationId: number;
745
+ /**
746
+ * Unique asset tag name within the organization
747
+ */
748
+ name: string;
749
+ };
750
+ export type FilterAssetTagsDto = {
521
751
  [key: string]: unknown;
522
752
  };
753
+ export type RenameAssetTagDto = {
754
+ /**
755
+ * New unique asset tag name within the organization
756
+ */
757
+ name: string;
758
+ };
523
759
  export type TaskResponseDto = {
524
760
  /**
525
761
  * Unique task identifier
@@ -862,7 +1098,7 @@ export type RebootEndpointDto = {
862
1098
  /**
863
1099
  * Filter to select the target assets/endpoints for reboot
864
1100
  */
865
- filter: FilterEndpointDto;
1101
+ filter: EndpointFilterWithExpressionDto;
866
1102
  };
867
1103
  export type ShutdownEndpointDto = {
868
1104
  /**
@@ -872,7 +1108,7 @@ export type ShutdownEndpointDto = {
872
1108
  /**
873
1109
  * Filter to select the target assets/endpoints for shutdown
874
1110
  */
875
- filter: FilterEndpointDto;
1111
+ filter: EndpointFilterWithExpressionDto;
876
1112
  };
877
1113
  export type RetrieveLogsDto = {
878
1114
  /**
@@ -902,7 +1138,7 @@ export type SetIsolationOnEndpointDto = {
902
1138
  /**
903
1139
  * Filter to select the target assets/endpoints
904
1140
  */
905
- filter: FilterEndpointDto;
1141
+ filter: EndpointFilterWithExpressionDto;
906
1142
  };
907
1143
  export type FilterEndpointTasksDto = {
908
1144
  /**
@@ -921,6 +1157,10 @@ export type FilterEndpointTasksDto = {
921
1157
  * Task status list
922
1158
  */
923
1159
  status?: Array<'scheduled' | 'assigned' | 'processing' | 'completed' | 'failed' | 'expired' | 'cancelled' | 'compressing' | 'uploading' | 'analyzing' | 'partially-completed'>;
1160
+ /**
1161
+ * When true, returns running (processing-phase) non-update tasks that conflict with a responder update
1162
+ */
1163
+ conflictingWithUpdate?: boolean;
924
1164
  /**
925
1165
  * Task execution type list
926
1166
  */
@@ -1667,6 +1907,16 @@ export type ChangePasswordRequestDto = {
1667
1907
  */
1668
1908
  confirmPassword: string;
1669
1909
  };
1910
+ export type ResetUserPasswordResponseDto = {
1911
+ /**
1912
+ * Single-use link to hand to the user so they can choose a new password. Treat it as a credential: it is valid once, and only until it expires.
1913
+ */
1914
+ resetUrl: string;
1915
+ /**
1916
+ * Moment the link stops working.
1917
+ */
1918
+ expiresAt: string;
1919
+ };
1670
1920
  export type UpdateUserDto = {
1671
1921
  [key: string]: unknown;
1672
1922
  };
@@ -2686,6 +2936,10 @@ export type FilterTaxiiIndicatorsRequestDto = {
2686
2936
  * Maximum confidence score (0–100)
2687
2937
  */
2688
2938
  maxConfidence?: number;
2939
+ /**
2940
+ * Filter by STIX labels (match any selected label)
2941
+ */
2942
+ labels?: Array<string>;
2689
2943
  /**
2690
2944
  * Filter by organization IDs (comma-separated)
2691
2945
  */
@@ -3689,7 +3943,7 @@ export type EvidenceRepositoryInfoDto = {
3689
3943
  /**
3690
3944
  * Repository type
3691
3945
  */
3692
- type: 'smb' | 'sftp' | 'azure-storage' | 'amazon-s3' | 's3-compatible' | 'ftps' | 'google-cloud-storage';
3946
+ type: 'smb' | 'sftp' | 'azure-storage' | 'amazon-s3' | 's3-compatible' | 'ftps' | 'google-cloud-storage' | 'box';
3693
3947
  /**
3694
3948
  * Host for network repositories
3695
3949
  */
@@ -3746,6 +4000,26 @@ export type EvidenceRepositoryInfoDto = {
3746
4000
  * Google Cloud Storage client email
3747
4001
  */
3748
4002
  gcsClientEmail?: string;
4003
+ /**
4004
+ * Box authentication method
4005
+ */
4006
+ boxAuthMethod?: 'ccg' | 'jwt' | 'developer-token';
4007
+ /**
4008
+ * Box application client ID
4009
+ */
4010
+ boxClientId?: string;
4011
+ /**
4012
+ * Box enterprise ID
4013
+ */
4014
+ boxEnterpriseId?: string;
4015
+ /**
4016
+ * Box user ID
4017
+ */
4018
+ boxUserId?: string;
4019
+ /**
4020
+ * Box destination folder ID. "0" is the All Files root folder.
4021
+ */
4022
+ boxFolderId?: string;
3749
4023
  /**
3750
4024
  * Username who last used the repository
3751
4025
  */
@@ -3806,6 +4080,12 @@ export type ValidateGoogleCloudStorageDto = {
3806
4080
  export type GoogleCloudStorageRepositoryDto = {
3807
4081
  [key: string]: unknown;
3808
4082
  };
4083
+ export type ValidateBoxDto = {
4084
+ [key: string]: unknown;
4085
+ };
4086
+ export type BoxRepositoryDto = {
4087
+ [key: string]: unknown;
4088
+ };
3809
4089
  export type FilterNotificationsDto = {
3810
4090
  [key: string]: unknown;
3811
4091
  };
@@ -3859,8 +4139,19 @@ export type UpdateAuditLogEventFilterRequestDto = {
3859
4139
  filteredEventTypes?: Array<string>;
3860
4140
  skipChainedEvents?: boolean;
3861
4141
  };
3862
- export type PolicyFilterEndpointDto = {
3863
- [key: string]: unknown;
4142
+ export type PolicyMatchStatsFilterDto = {
4143
+ /**
4144
+ * Recursive endpoint filter expression
4145
+ */
4146
+ expression: Array<unknown>;
4147
+ /**
4148
+ * Organization IDs used to scope the matched endpoints
4149
+ */
4150
+ organizationIds: Array<number>;
4151
+ /**
4152
+ * Free-text endpoint search
4153
+ */
4154
+ searchTerm?: string;
3864
4155
  };
3865
4156
  export type FilterPoliciesDto = {
3866
4157
  [key: string]: unknown;
@@ -4903,6 +5194,44 @@ export type FilterUserCasesDto = {
4903
5194
  */
4904
5195
  closeReasons?: string;
4905
5196
  };
5197
+ export type CreateCaseEndpointsExpressionExportDto = {
5198
+ /**
5199
+ * Number of items per page
5200
+ */
5201
+ pageSize?: number;
5202
+ /**
5203
+ * Page number to retrieve
5204
+ */
5205
+ pageNumber?: number;
5206
+ /**
5207
+ * Sort direction
5208
+ */
5209
+ sortType?: 'ASC' | 'DESC';
5210
+ /**
5211
+ * Field name to sort by
5212
+ */
5213
+ sortBy?: string;
5214
+ /**
5215
+ * Recursive filter expression: [field, operator, value] leaves joined by and/or
5216
+ */
5217
+ filter: Array<unknown>;
5218
+ /**
5219
+ * Organization IDs (required for tenant isolation)
5220
+ */
5221
+ organizationIds: Array<number>;
5222
+ /**
5223
+ * Free-text multi-column search
5224
+ */
5225
+ searchTerm?: string;
5226
+ /**
5227
+ * Requested CSV column order
5228
+ */
5229
+ columnsOrder?: string;
5230
+ /**
5231
+ * Visible CSV columns
5232
+ */
5233
+ exportedColumns?: Array<string>;
5234
+ };
4906
5235
  export type CreateCaseDto = {
4907
5236
  /**
4908
5237
  * Name of the case (alphanumeric characters only)
@@ -5055,6 +5384,36 @@ export type FilterCaseTasksDto = {
5055
5384
  export type FilterCaseTaskAssignmentsDto = {
5056
5385
  [key: string]: unknown;
5057
5386
  };
5387
+ export type FilterCaseEndpointsByExpressionDto = {
5388
+ /**
5389
+ * Number of items per page
5390
+ */
5391
+ pageSize?: number;
5392
+ /**
5393
+ * Page number to retrieve
5394
+ */
5395
+ pageNumber?: number;
5396
+ /**
5397
+ * Sort direction
5398
+ */
5399
+ sortType?: 'ASC' | 'DESC';
5400
+ /**
5401
+ * Field name to sort by
5402
+ */
5403
+ sortBy?: string;
5404
+ /**
5405
+ * Recursive filter expression: [field, operator, value] leaves joined by and/or
5406
+ */
5407
+ filter: Array<unknown>;
5408
+ /**
5409
+ * Organization IDs (required for tenant isolation)
5410
+ */
5411
+ organizationIds: Array<number>;
5412
+ /**
5413
+ * Free-text multi-column search
5414
+ */
5415
+ searchTerm?: string;
5416
+ };
5058
5417
  export type FilterCaseActivitiesDto = {
5059
5418
  /**
5060
5419
  * Activity types to filter
@@ -5779,7 +6138,7 @@ export type AcquireBaselineEvidenceDto = {
5779
6138
  /**
5780
6139
  * Endpoint filter to select targets for baseline acquisition.
5781
6140
  */
5782
- filter: FilterEndpointDto;
6141
+ filter: EndpointFilterWithExpressionDto;
5783
6142
  };
5784
6143
  export type FilterApiTokenRequestDto = {
5785
6144
  /**
@@ -6025,7 +6384,7 @@ export type CreateInvestigationFlagV2RequestDto = {
6025
6384
  */
6026
6385
  description?: string;
6027
6386
  /**
6028
- * Owning organization as id or exact name. Optional: defaults to the caller organization when the caller has exactly one, otherwise to the default organization.
6387
+ * Owning organization as id or exact name. Optional: defaults to the caller organization when the caller has exactly one. Multi-organization and all-organization callers must pass it explicitly.
6029
6388
  */
6030
6389
  organization?: number | string;
6031
6390
  /**
@@ -6561,13 +6920,13 @@ export type FilterRecentActivityRequestDto = {
6561
6920
  };
6562
6921
  export type SingleAssetActionV2RequestDto = {
6563
6922
  /**
6564
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
6923
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6565
6924
  */
6566
6925
  organizations?: number | string | Array<number | string> | 'all';
6567
6926
  };
6568
6927
  export type SingleAssetVersionUpdateV2RequestDto = {
6569
6928
  /**
6570
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
6929
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6571
6930
  */
6572
6931
  organizations?: number | string | Array<number | string> | 'all';
6573
6932
  };
@@ -6581,7 +6940,7 @@ export type BulkAssetActionV2RequestDto = {
6581
6940
  */
6582
6941
  assets: Array<string>;
6583
6942
  /**
6584
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
6943
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6585
6944
  */
6586
6945
  organizations?: number | string | Array<number | string> | 'all';
6587
6946
  };
@@ -6601,7 +6960,7 @@ export type BulkAssetVersionUpdateV2RequestDto = {
6601
6960
  */
6602
6961
  assets: Array<string>;
6603
6962
  /**
6604
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
6963
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6605
6964
  */
6606
6965
  organizations?: number | string | Array<number | string> | 'all';
6607
6966
  };
@@ -6611,7 +6970,7 @@ export type BulkAssetMaintenanceV2RequestDto = {
6611
6970
  */
6612
6971
  assets: Array<string>;
6613
6972
  /**
6614
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
6973
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6615
6974
  */
6616
6975
  organizations?: number | string | Array<number | string> | 'all';
6617
6976
  };
@@ -6625,7 +6984,7 @@ export type BulkAssetTagsV2RequestDto = {
6625
6984
  */
6626
6985
  tags: Array<string>;
6627
6986
  /**
6628
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
6987
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6629
6988
  */
6630
6989
  organizations?: number | string | Array<number | string> | 'all';
6631
6990
  };
@@ -6639,7 +6998,7 @@ export type SetAssetUpdateExclusionV2RequestDto = {
6639
6998
  */
6640
6999
  excludedFromUpdates: boolean;
6641
7000
  /**
6642
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
7001
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6643
7002
  */
6644
7003
  organizations?: number | string | Array<number | string> | 'all';
6645
7004
  };
@@ -6653,7 +7012,7 @@ export type SetAssetConnectionRouteV2RequestDto = {
6653
7012
  */
6654
7013
  relayServerId: number | null;
6655
7014
  /**
6656
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
7015
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6657
7016
  */
6658
7017
  organizations?: number | string | Array<number | string> | 'all';
6659
7018
  };
@@ -6667,7 +7026,7 @@ export type SetAssetMitreDatabaseVersionV2RequestDto = {
6667
7026
  */
6668
7027
  version: string;
6669
7028
  /**
6670
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
7029
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6671
7030
  */
6672
7031
  organizations?: number | string | Array<number | string> | 'all';
6673
7032
  };
@@ -6685,7 +7044,7 @@ export type BulkAssetDeleteV2RequestDto = {
6685
7044
  */
6686
7045
  mode: 'purge' | 'uninstall' | 'purge-and-uninstall';
6687
7046
  /**
6688
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
7047
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6689
7048
  */
6690
7049
  organizations?: number | string | Array<number | string> | 'all';
6691
7050
  };
@@ -6732,6 +7091,10 @@ export type BulkAssetTriageV2RequestDto = {
6732
7091
  * Triage rules to run, referenced by id or exact name (at most 100).
6733
7092
  */
6734
7093
  ruleIds: Array<string>;
7094
+ /**
7095
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
7096
+ */
7097
+ organizations?: number | string | Array<number | string> | 'all';
6735
7098
  /**
6736
7099
  * CPU usage cap for the triage task (percent).
6737
7100
  */
@@ -6793,7 +7156,7 @@ export type ReplaceAssetTagsV2RequestDto = {
6793
7156
  */
6794
7157
  tags: Array<string>;
6795
7158
  /**
6796
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
7159
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6797
7160
  */
6798
7161
  organizations?: number | string | Array<number | string> | 'all';
6799
7162
  };
@@ -6803,7 +7166,7 @@ export type UpdateAssetLabelV2RequestDto = {
6803
7166
  */
6804
7167
  label: string | null;
6805
7168
  /**
6806
- * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omit to default to organization id 0. Empty arrays are rejected.
7169
+ * Organizations scope. Polymorphic: pass a single number id, a single string name, an array mixing ids and names, or the literal string "all". Omission follows the endpoint-specific organization policy. Empty arrays are rejected.
6807
7170
  */
6808
7171
  organizations?: number | string | Array<number | string> | 'all';
6809
7172
  };
@@ -6915,53 +7278,25 @@ export type InteractMessageV2FilterRequestDto = {
6915
7278
  /**
6916
7279
  * Filter by session UUIDs.
6917
7280
  */
6918
- sessionId?: Array<string>;
6919
- /**
6920
- * Filter by message status.
6921
- */
6922
- status?: Array<'queued' | 'running' | 'completed' | 'failed' | 'cancelled'>;
6923
- /**
6924
- * Filter by detected command type.
6925
- */
6926
- detectedType?: Array<'airNative' | 'osquery' | 'exec'>;
6927
- /**
6928
- * Snippet UUID or name; reserved value "none" matches messages with no snippet.
6929
- */
6930
- snippetId?: Array<string>;
7281
+ sessionId?: Array<string>;
6931
7282
  /**
6932
7283
  * Filter by message creation time range.
6933
7284
  */
6934
7285
  createdAt?: InteractDateRangeV2FilterDto;
6935
- /**
6936
- * Filter by message completion time range.
6937
- */
6938
- completedAt?: InteractDateRangeV2FilterDto;
6939
7286
  };
6940
7287
  export type InteractSessionV2FilterRequestDto = {
6941
7288
  /**
6942
7289
  * Filter by session UUIDs.
6943
7290
  */
6944
7291
  sessionId?: Array<string>;
6945
- /**
6946
- * Filter by derived activity state.
6947
- */
6948
- activityState?: Array<'active' | 'idle'>;
6949
7292
  /**
6950
7293
  * Filter by session creator username.
6951
7294
  */
6952
7295
  createdBy?: Array<string>;
6953
- /**
6954
- * Case UUID or name.
6955
- */
6956
- caseId?: Array<string>;
6957
7296
  /**
6958
7297
  * Filter by session creation time range.
6959
7298
  */
6960
7299
  createdAt?: InteractDateRangeV2FilterDto;
6961
- /**
6962
- * Filter by last-activity time range.
6963
- */
6964
- lastActivityAt?: InteractDateRangeV2FilterDto;
6965
7300
  };
6966
7301
  export type AcquisitionWebhookDto = {
6967
7302
  [key: string]: unknown;
@@ -7102,9 +7437,6 @@ export type GetPresetFiltersByFilterRequestDto = {
7102
7437
  */
7103
7438
  type: 'ENDPOINT' | 'DISK_IMAGE';
7104
7439
  };
7105
- export type IPresetFilter = {
7106
- [key: string]: unknown;
7107
- };
7108
7440
  export type CreatePresetFilterRequestDto = {
7109
7441
  /**
7110
7442
  * The name of the preset filter
@@ -7117,7 +7449,7 @@ export type CreatePresetFilterRequestDto = {
7117
7449
  /**
7118
7450
  * The filter of the preset filter
7119
7451
  */
7120
- filter: Array<IPresetFilter>;
7452
+ filter: Array<unknown>;
7121
7453
  /**
7122
7454
  * The organization ID of the preset filter
7123
7455
  */
@@ -7143,7 +7475,7 @@ export type PresetFilterResponseDto = {
7143
7475
  /**
7144
7476
  * The filter of the preset filter
7145
7477
  */
7146
- filter: Array<IPresetFilter>;
7478
+ filter: Array<unknown>;
7147
7479
  /**
7148
7480
  * The created by of the preset filter
7149
7481
  */
@@ -7157,7 +7489,7 @@ export type UpdatePresetFilterRequestDto = {
7157
7489
  /**
7158
7490
  * The filter of the preset filter
7159
7491
  */
7160
- filter: Array<IPresetFilter>;
7492
+ filter: Array<unknown>;
7161
7493
  };
7162
7494
  export type FilterAutomationExecutionsDto = {
7163
7495
  [key: string]: unknown;
@@ -7165,6 +7497,12 @@ export type FilterAutomationExecutionsDto = {
7165
7497
  export type AutomationDto = {
7166
7498
  [key: string]: unknown;
7167
7499
  };
7500
+ export type CreatedAutomationResponseDto = {
7501
+ /**
7502
+ * Identifier of the created automation, so the caller can address it without a follow-up search.
7503
+ */
7504
+ id: string;
7505
+ };
7168
7506
  export type FilterAutomationsDto = {
7169
7507
  [key: string]: unknown;
7170
7508
  };
@@ -7174,6 +7512,12 @@ export type GetAutomationExecutionsFilterDto = {
7174
7512
  export type GetAutomationChangeHistoryFilterDto = {
7175
7513
  [key: string]: unknown;
7176
7514
  };
7515
+ export type TriggerSecretResponseDto = {
7516
+ /**
7517
+ * Plain trigger secret. Only a one-way fingerprint of it is stored, so this is the only time it can be read.
7518
+ */
7519
+ secret: string;
7520
+ };
7177
7521
  export type CreateFullTextSearchProfileRequestDto = {
7178
7522
  /**
7179
7523
  * The name of the full text search profile
@@ -7713,7 +8057,7 @@ export type DeployCloudAssetsDtoWritable = {
7713
8057
  export type UpdateEndpointConnectionRouteDtoWritable = {
7714
8058
  [key: string]: unknown;
7715
8059
  };
7716
- export type FilterTagsDtoWritable = {
8060
+ export type FilterAssetTagsDtoWritable = {
7717
8061
  [key: string]: unknown;
7718
8062
  };
7719
8063
  export type PagingQueryResultDtoWritable = {
@@ -8005,10 +8349,13 @@ export type ValidateGoogleCloudStorageDtoWritable = {
8005
8349
  export type GoogleCloudStorageRepositoryDtoWritable = {
8006
8350
  [key: string]: unknown;
8007
8351
  };
8008
- export type FilterNotificationsDtoWritable = {
8352
+ export type ValidateBoxDtoWritable = {
8009
8353
  [key: string]: unknown;
8010
8354
  };
8011
- export type PolicyFilterEndpointDtoWritable = {
8355
+ export type BoxRepositoryDtoWritable = {
8356
+ [key: string]: unknown;
8357
+ };
8358
+ export type FilterNotificationsDtoWritable = {
8012
8359
  [key: string]: unknown;
8013
8360
  };
8014
8361
  export type FilterPoliciesDtoWritable = {
@@ -8269,9 +8616,6 @@ export type CreateDataUsageFilterDtoWritable = {
8269
8616
  export type UpdateDataUsageFilterDtoWritable = {
8270
8617
  [key: string]: unknown;
8271
8618
  };
8272
- export type IPresetFilterWritable = {
8273
- [key: string]: unknown;
8274
- };
8275
8619
  export type FilterAutomationExecutionsDtoWritable = {
8276
8620
  [key: string]: unknown;
8277
8621
  };
@@ -8621,6 +8965,32 @@ export type AssetsGetManyByFilter2Responses = {
8621
8965
  200: AssetsPageDto;
8622
8966
  };
8623
8967
  export type AssetsGetManyByFilter2Response = AssetsGetManyByFilter2Responses[keyof AssetsGetManyByFilter2Responses];
8968
+ export type AssetsGetManyByFilterExpressionData = {
8969
+ body: FilterEndpointByExpressionDto;
8970
+ path?: never;
8971
+ query?: never;
8972
+ url: '/api/public/endpoints/filter-query';
8973
+ };
8974
+ export type AssetsGetManyByFilterExpressionResponses = {
8975
+ /**
8976
+ * Assets retrieved successfully
8977
+ */
8978
+ 200: AssetsPageDto;
8979
+ };
8980
+ export type AssetsGetManyByFilterExpressionResponse = AssetsGetManyByFilterExpressionResponses[keyof AssetsGetManyByFilterExpressionResponses];
8981
+ export type AssetsGetManyByFilterExpression2Data = {
8982
+ body: FilterEndpointByExpressionDto;
8983
+ path?: never;
8984
+ query?: never;
8985
+ url: '/api/public/assets/filter-query';
8986
+ };
8987
+ export type AssetsGetManyByFilterExpression2Responses = {
8988
+ /**
8989
+ * Assets retrieved successfully
8990
+ */
8991
+ 200: AssetsPageDto;
8992
+ };
8993
+ export type AssetsGetManyByFilterExpression2Response = AssetsGetManyByFilterExpression2Responses[keyof AssetsGetManyByFilterExpression2Responses];
8624
8994
  export type EndpointGetEndpointsWithTaskCountData = {
8625
8995
  body?: never;
8626
8996
  path?: never;
@@ -8648,28 +9018,6 @@ export type EndpointGetEndpointsWithTaskCountData = {
8648
9018
  export type EndpointGetEndpointsWithTaskCountResponses = {
8649
9019
  200: unknown;
8650
9020
  };
8651
- export type EndpointGetEndpointsStats0Data = {
8652
- body?: never;
8653
- path?: never;
8654
- query: {
8655
- filter: FilterEndpointDto;
8656
- };
8657
- url: '/api/public/endpoints/stats';
8658
- };
8659
- export type EndpointGetEndpointsStats0Responses = {
8660
- 200: unknown;
8661
- };
8662
- export type EndpointGetEndpointsStats1Data = {
8663
- body?: never;
8664
- path?: never;
8665
- query: {
8666
- filter: FilterEndpointDto;
8667
- };
8668
- url: '/api/public/assets/stats';
8669
- };
8670
- export type EndpointGetEndpointsStats1Responses = {
8671
- 200: unknown;
8672
- };
8673
9021
  export type EndpointGetDeviceNameConflicts0Data = {
8674
9022
  body?: never;
8675
9023
  path?: never;
@@ -8916,58 +9264,22 @@ export type AssetsSetMitreAttackDatabaseVersion2Responses = {
8916
9264
  201: unknown;
8917
9265
  };
8918
9266
  export type EndpointFilterDisks0Data = {
8919
- body?: never;
9267
+ body: FilterEndpointByExpressionDto;
8920
9268
  path?: never;
8921
- query: {
8922
- /**
8923
- * Number of items per page
8924
- */
8925
- pageSize?: number;
8926
- /**
8927
- * Page number to retrieve
8928
- */
8929
- pageNumber?: number;
8930
- /**
8931
- * Sort direction
8932
- */
8933
- sortType?: 'ASC' | 'DESC';
8934
- /**
8935
- * Field name to sort by
8936
- */
8937
- sortBy?: string;
8938
- filter: FilterEndpointDto;
8939
- };
9269
+ query?: never;
8940
9270
  url: '/api/public/endpoints/disks';
8941
9271
  };
8942
9272
  export type EndpointFilterDisks0Responses = {
8943
- 200: unknown;
9273
+ 201: unknown;
8944
9274
  };
8945
9275
  export type EndpointFilterDisks1Data = {
8946
- body?: never;
9276
+ body: FilterEndpointByExpressionDto;
8947
9277
  path?: never;
8948
- query: {
8949
- /**
8950
- * Number of items per page
8951
- */
8952
- pageSize?: number;
8953
- /**
8954
- * Page number to retrieve
8955
- */
8956
- pageNumber?: number;
8957
- /**
8958
- * Sort direction
8959
- */
8960
- sortType?: 'ASC' | 'DESC';
8961
- /**
8962
- * Field name to sort by
8963
- */
8964
- sortBy?: string;
8965
- filter: FilterEndpointDto;
8966
- };
9278
+ query?: never;
8967
9279
  url: '/api/public/assets/disks';
8968
9280
  };
8969
9281
  export type EndpointFilterDisks1Responses = {
8970
- 200: unknown;
9282
+ 201: unknown;
8971
9283
  };
8972
9284
  export type EndpointFilterByPolicyFilter0Data = {
8973
9285
  body: FilterEndpointsByPolicyFilterDtoWritable;
@@ -9261,7 +9573,7 @@ export type EndpointSetMaintenanceMode1Data = {
9261
9573
  export type EndpointSetMaintenanceMode1Responses = {
9262
9574
  201: unknown;
9263
9575
  };
9264
- export type EndpointTagFilterTagsData = {
9576
+ export type EndpointTagFilterAssetTagsData = {
9265
9577
  body?: never;
9266
9578
  path?: never;
9267
9579
  query: {
@@ -9281,29 +9593,47 @@ export type EndpointTagFilterTagsData = {
9281
9593
  * Field name to sort by
9282
9594
  */
9283
9595
  sortBy?: string;
9284
- filter: FilterTagsDtoWritable;
9596
+ filter: FilterAssetTagsDtoWritable;
9285
9597
  };
9286
9598
  url: '/api/public/asset-tags';
9287
9599
  };
9288
- export type EndpointTagFilterTagsResponses = {
9600
+ export type EndpointTagFilterAssetTagsResponses = {
9289
9601
  200: unknown;
9290
9602
  };
9291
- export type EndpointTagDeleteAllTagsData = {
9603
+ export type EndpointTagCreateAssetTagData = {
9604
+ body: CreateAssetTagDto;
9605
+ path?: never;
9606
+ query?: never;
9607
+ url: '/api/public/asset-tags';
9608
+ };
9609
+ export type EndpointTagCreateAssetTagResponses = {
9610
+ 201: unknown;
9611
+ };
9612
+ export type EndpointTagDeleteAllAssetTagsData = {
9292
9613
  body?: never;
9293
9614
  path?: never;
9294
9615
  query?: never;
9295
9616
  url: '/api/public/asset-tags/{organizationId}/all';
9296
9617
  };
9297
- export type EndpointTagDeleteAllTagsResponses = {
9618
+ export type EndpointTagDeleteAllAssetTagsResponses = {
9298
9619
  200: unknown;
9299
9620
  };
9300
- export type EndpointTagDeleteTagData = {
9621
+ export type EndpointTagDeleteAssetTagData = {
9301
9622
  body?: never;
9302
9623
  path?: never;
9303
9624
  query?: never;
9304
9625
  url: '/api/public/asset-tags/{organizationId}/{id}';
9305
9626
  };
9306
- export type EndpointTagDeleteTagResponses = {
9627
+ export type EndpointTagDeleteAssetTagResponses = {
9628
+ 200: unknown;
9629
+ };
9630
+ export type EndpointTagRenameAssetTagData = {
9631
+ body: RenameAssetTagDto;
9632
+ path?: never;
9633
+ query?: never;
9634
+ url: '/api/public/asset-tags/{organizationId}/{id}';
9635
+ };
9636
+ export type EndpointTagRenameAssetTagResponses = {
9307
9637
  200: unknown;
9308
9638
  };
9309
9639
  export type EndpointGroupGetChildGroupsOfGroupData = {
@@ -9944,10 +10274,6 @@ export type TasksV2ApiControllerListTaskAssetsData = {
9944
10274
  * Deep-object asset filter, e.g. filter[searchTerm], filter[status][], filter[subtype][], filter[platform][], filter[os][], filter[tagIds][].
9945
10275
  */
9946
10276
  filter?: ListAssetsV2RequestDto;
9947
- /**
9948
- * Organization scope: "all" or comma-separated numeric organization ids. Defaults to all accessible organizations when omitted.
9949
- */
9950
- organizations?: unknown;
9951
10277
  };
9952
10278
  url: '/api/v2/tasks/{taskId}/assets';
9953
10279
  };
@@ -10063,6 +10389,10 @@ export type TasksTriageV2ApiControllerListHuntTasksData = {
10063
10389
  * Deep-object hunt filter, e.g. filter[searchTerm], filter[status][], filter[executionType][], filter[ruleIds][], filter[taskCreatedBy][], filter[hasDroneData], filter[hasMatch].
10064
10390
  */
10065
10391
  filter?: HuntTaskFilterV2RequestDto;
10392
+ /**
10393
+ * Organization scope: id, name, mixed comma-separated list, or "all". Defaults to all accessible organizations when omitted.
10394
+ */
10395
+ organizations?: string;
10066
10396
  };
10067
10397
  url: '/api/v2/hunt';
10068
10398
  };
@@ -10985,8 +11315,9 @@ export type UserResetUserPasswordData = {
10985
11315
  url: '/api/public/user-management/users/{id}/reset-password';
10986
11316
  };
10987
11317
  export type UserResetUserPasswordResponses = {
10988
- 201: unknown;
11318
+ 200: ResetUserPasswordResponseDto;
10989
11319
  };
11320
+ export type UserResetUserPasswordResponse = UserResetUserPasswordResponses[keyof UserResetUserPasswordResponses];
10990
11321
  export type UserCreateApiUserData = {
10991
11322
  body: CreateApiUserDtoWritable;
10992
11323
  path?: never;
@@ -11478,12 +11809,7 @@ export type AcquisitionLibraryDeviceV2ApiControllerListResponse = AcquisitionLib
11478
11809
  export type AcquisitionLibraryDeviceV2ApiControllerCreateData = {
11479
11810
  body: CreateDeviceAcquisitionProfileV2RequestDto;
11480
11811
  path?: never;
11481
- query?: {
11482
- /**
11483
- * Organization scope: "all" or comma-separated numeric organization ids. Defaults to all accessible organizations when omitted.
11484
- */
11485
- organizations?: string;
11486
- };
11812
+ query?: never;
11487
11813
  url: '/api/v2/libraries/acquisition/device';
11488
11814
  };
11489
11815
  export type AcquisitionLibraryDeviceV2ApiControllerCreateErrors = {
@@ -13088,6 +13414,38 @@ export type EvidenceRepositoryUpdateGoogleCloudStorageData = {
13088
13414
  export type EvidenceRepositoryUpdateGoogleCloudStorageResponses = {
13089
13415
  200: unknown;
13090
13416
  };
13417
+ export type EvidenceRepositoryValidateBoxData = {
13418
+ body: ValidateBoxDtoWritable;
13419
+ path?: never;
13420
+ query?: never;
13421
+ url: '/api/public/evidences/repositories/validate/box';
13422
+ };
13423
+ export type EvidenceRepositoryValidateBoxResponses = {
13424
+ 201: unknown;
13425
+ };
13426
+ export type EvidenceRepositoryCreateBoxData = {
13427
+ body: BoxRepositoryDtoWritable;
13428
+ path?: never;
13429
+ query?: never;
13430
+ url: '/api/public/evidences/repositories/box';
13431
+ };
13432
+ export type EvidenceRepositoryCreateBoxResponses = {
13433
+ 201: unknown;
13434
+ };
13435
+ export type EvidenceRepositoryUpdateBoxData = {
13436
+ body: BoxRepositoryDtoWritable;
13437
+ path: {
13438
+ /**
13439
+ * Evidence repository identifier
13440
+ */
13441
+ id: string;
13442
+ };
13443
+ query?: never;
13444
+ url: '/api/public/evidences/repositories/box/{id}';
13445
+ };
13446
+ export type EvidenceRepositoryUpdateBoxResponses = {
13447
+ 200: unknown;
13448
+ };
13091
13449
  export type NotificationDeleteAllData = {
13092
13450
  body?: never;
13093
13451
  path?: never;
@@ -13222,7 +13580,7 @@ export type AuditLogsUpdateEventFilterResponses = {
13222
13580
  200: unknown;
13223
13581
  };
13224
13582
  export type PolicyGetMatchStatsData = {
13225
- body: PolicyFilterEndpointDtoWritable;
13583
+ body: PolicyMatchStatsFilterDto;
13226
13584
  path?: never;
13227
13585
  query?: never;
13228
13586
  url: '/api/public/policies/match-stats';
@@ -15007,6 +15365,68 @@ export type CaseExportCaseEndpoints1Data = {
15007
15365
  export type CaseExportCaseEndpoints1Responses = {
15008
15366
  200: unknown;
15009
15367
  };
15368
+ export type CasesDownloadAssetsExpressionExportData = {
15369
+ body?: never;
15370
+ path: {
15371
+ id: string;
15372
+ };
15373
+ query: {
15374
+ exportId: string;
15375
+ };
15376
+ url: '/api/public/cases/{id}/endpoints/export-query';
15377
+ };
15378
+ export type CasesDownloadAssetsExpressionExportResponses = {
15379
+ 200: unknown;
15380
+ };
15381
+ export type CasesCreateAssetsExpressionExportData = {
15382
+ body: CreateCaseEndpointsExpressionExportDto;
15383
+ path: {
15384
+ id: string;
15385
+ };
15386
+ query?: never;
15387
+ url: '/api/public/cases/{id}/endpoints/export-query';
15388
+ };
15389
+ export type CasesCreateAssetsExpressionExportResponses = {
15390
+ /**
15391
+ * Export created successfully
15392
+ */
15393
+ 200: {
15394
+ exportId?: string;
15395
+ exportUrl?: string;
15396
+ };
15397
+ };
15398
+ export type CasesCreateAssetsExpressionExportResponse = CasesCreateAssetsExpressionExportResponses[keyof CasesCreateAssetsExpressionExportResponses];
15399
+ export type CasesDownloadAssetsExpressionExport2Data = {
15400
+ body?: never;
15401
+ path: {
15402
+ id: string;
15403
+ };
15404
+ query: {
15405
+ exportId: string;
15406
+ };
15407
+ url: '/api/public/cases/{id}/assets/export-query';
15408
+ };
15409
+ export type CasesDownloadAssetsExpressionExport2Responses = {
15410
+ 200: unknown;
15411
+ };
15412
+ export type CasesCreateAssetsExpressionExport2Data = {
15413
+ body: CreateCaseEndpointsExpressionExportDto;
15414
+ path: {
15415
+ id: string;
15416
+ };
15417
+ query?: never;
15418
+ url: '/api/public/cases/{id}/assets/export-query';
15419
+ };
15420
+ export type CasesCreateAssetsExpressionExport2Responses = {
15421
+ /**
15422
+ * Export created successfully
15423
+ */
15424
+ 200: {
15425
+ exportId?: string;
15426
+ exportUrl?: string;
15427
+ };
15428
+ };
15429
+ export type CasesCreateAssetsExpressionExport2Response = CasesCreateAssetsExpressionExport2Responses[keyof CasesCreateAssetsExpressionExport2Responses];
15010
15430
  export type CasesGetData = {
15011
15431
  body?: never;
15012
15432
  path: {
@@ -15286,6 +15706,36 @@ export type CasesGetEndpoints2Responses = {
15286
15706
  200: AssetsPageDto;
15287
15707
  };
15288
15708
  export type CasesGetEndpoints2Response = CasesGetEndpoints2Responses[keyof CasesGetEndpoints2Responses];
15709
+ export type CasesGetAssetsByFilterExpressionData = {
15710
+ body: FilterCaseEndpointsByExpressionDto;
15711
+ path: {
15712
+ id: string;
15713
+ };
15714
+ query?: never;
15715
+ url: '/api/public/cases/{id}/endpoints/filter-query';
15716
+ };
15717
+ export type CasesGetAssetsByFilterExpressionResponses = {
15718
+ /**
15719
+ * Case assets retrieved successfully
15720
+ */
15721
+ 200: AssetsPageDto;
15722
+ };
15723
+ export type CasesGetAssetsByFilterExpressionResponse = CasesGetAssetsByFilterExpressionResponses[keyof CasesGetAssetsByFilterExpressionResponses];
15724
+ export type CasesGetAssetsByFilterExpression2Data = {
15725
+ body: FilterCaseEndpointsByExpressionDto;
15726
+ path: {
15727
+ id: string;
15728
+ };
15729
+ query?: never;
15730
+ url: '/api/public/cases/{id}/assets/filter-query';
15731
+ };
15732
+ export type CasesGetAssetsByFilterExpression2Responses = {
15733
+ /**
15734
+ * Case assets retrieved successfully
15735
+ */
15736
+ 200: AssetsPageDto;
15737
+ };
15738
+ export type CasesGetAssetsByFilterExpression2Response = CasesGetAssetsByFilterExpression2Responses[keyof CasesGetAssetsByFilterExpression2Responses];
15289
15739
  export type CasesGetActivitiesData = {
15290
15740
  body?: never;
15291
15741
  path: {
@@ -17588,7 +18038,12 @@ export type InvestigationEvidenceFlagV2ApiControllerFlagEvidenceData = {
17588
18038
  */
17589
18039
  idOrName: string;
17590
18040
  };
17591
- query?: never;
18041
+ query?: {
18042
+ /**
18043
+ * Organization scope: id, name, mixed comma-separated list, or "all". Defaults to all accessible organizations when omitted.
18044
+ */
18045
+ organizations?: string;
18046
+ };
17592
18047
  url: '/api/v2/investigations/{idOrName}/flag';
17593
18048
  };
17594
18049
  export type InvestigationEvidenceFlagV2ApiControllerFlagEvidenceErrors = {
@@ -17630,7 +18085,12 @@ export type InvestigationEvidenceFlagV2ApiControllerUnflagEvidenceData = {
17630
18085
  */
17631
18086
  idOrName: string;
17632
18087
  };
17633
- query?: never;
18088
+ query?: {
18089
+ /**
18090
+ * Organization scope: id, name, mixed comma-separated list, or "all". Defaults to all accessible organizations when omitted.
18091
+ */
18092
+ organizations?: string;
18093
+ };
17634
18094
  url: '/api/v2/investigations/{idOrName}/unflag';
17635
18095
  };
17636
18096
  export type InvestigationEvidenceFlagV2ApiControllerUnflagEvidenceErrors = {
@@ -17672,7 +18132,12 @@ export type InvestigationSqlV2ApiControllerGetSchemaData = {
17672
18132
  */
17673
18133
  idOrName: string;
17674
18134
  };
17675
- query?: never;
18135
+ query?: {
18136
+ /**
18137
+ * Organization scope: id, name, mixed comma-separated list, or "all". Defaults to all accessible organizations when omitted.
18138
+ */
18139
+ organizations?: string;
18140
+ };
17676
18141
  url: '/api/v2/investigations/{idOrName}/schema';
17677
18142
  };
17678
18143
  export type InvestigationSqlV2ApiControllerGetSchemaErrors = {
@@ -17714,7 +18179,12 @@ export type InvestigationSqlV2ApiControllerExecuteSqlQueryData = {
17714
18179
  */
17715
18180
  idOrName: string;
17716
18181
  };
17717
- query?: never;
18182
+ query?: {
18183
+ /**
18184
+ * Organization scope: id, name, mixed comma-separated list, or "all". Defaults to all accessible organizations when omitted.
18185
+ */
18186
+ organizations?: string;
18187
+ };
17718
18188
  url: '/api/v2/investigations/{idOrName}/sql-query';
17719
18189
  };
17720
18190
  export type InvestigationSqlV2ApiControllerExecuteSqlQueryErrors = {
@@ -19929,7 +20399,7 @@ export type AssetInteractMessageV2ApiControllerListForAssetData = {
19929
20399
  sortType?: 'ASC' | 'DESC';
19930
20400
  sortBy?: 'createdAt';
19931
20401
  /**
19932
- * Deep-object filter, e.g. filter[sessionId]=<uuid>, filter[status][]=completed, filter[detectedType][]=terminal, filter[snippetId]=<uuid|none>, filter[createdAt][start]/[end], filter[completedAt][start]/[end].
20402
+ * Deep-object filter, e.g. filter[sessionId]=<uuid>, filter[createdAt][from]/[to].
19933
20403
  */
19934
20404
  filter?: InteractMessageV2FilterRequestDto;
19935
20405
  };
@@ -20869,7 +21339,7 @@ export type AssetInteractMessageV2ApiControllerListSessionsForAssetData = {
20869
21339
  sortType?: 'ASC' | 'DESC';
20870
21340
  sortBy?: 'createdAt';
20871
21341
  /**
20872
- * Deep-object filter, e.g. filter[sessionId]=<uuid>, filter[createdBy]=<username>, filter[createdAt][start]/[end].
21342
+ * Deep-object filter, e.g. filter[sessionId]=<uuid>, filter[createdBy]=<username>, filter[createdAt][from]/[to].
20873
21343
  */
20874
21344
  filter?: InteractSessionV2FilterRequestDto;
20875
21345
  };
@@ -21488,8 +21958,12 @@ export type AutomationHubCreateAutomationData = {
21488
21958
  url: '/api/public/automation-hub';
21489
21959
  };
21490
21960
  export type AutomationHubCreateAutomationResponses = {
21491
- 201: unknown;
21961
+ /**
21962
+ * Automation created successfully
21963
+ */
21964
+ 201: CreatedAutomationResponseDto;
21492
21965
  };
21966
+ export type AutomationHubCreateAutomationResponse = AutomationHubCreateAutomationResponses[keyof AutomationHubCreateAutomationResponses];
21493
21967
  export type AutomationHubGetActionTypesData = {
21494
21968
  body?: never;
21495
21969
  path?: never;
@@ -21631,6 +22105,21 @@ export type AutomationHubGetAutomationChangeHistoryData = {
21631
22105
  export type AutomationHubGetAutomationChangeHistoryResponses = {
21632
22106
  200: unknown;
21633
22107
  };
22108
+ export type AutomationHubGenerateTriggerSecretData = {
22109
+ body?: never;
22110
+ path: {
22111
+ id: string;
22112
+ };
22113
+ query?: never;
22114
+ url: '/api/public/automation-hub/{id}/trigger/secret';
22115
+ };
22116
+ export type AutomationHubGenerateTriggerSecretResponses = {
22117
+ /**
22118
+ * Trigger secret generated. The secret is only returned once in this response.
22119
+ */
22120
+ 201: TriggerSecretResponseDto;
22121
+ };
22122
+ export type AutomationHubGenerateTriggerSecretResponse = AutomationHubGenerateTriggerSecretResponses[keyof AutomationHubGenerateTriggerSecretResponses];
21634
22123
  export type AutomationHubEnableAutomationData = {
21635
22124
  body?: never;
21636
22125
  path: {
@@ -21939,12 +22428,7 @@ export type CloudAcquisitionLibraryApiControllerListResponse = CloudAcquisitionL
21939
22428
  export type CloudAcquisitionLibraryApiControllerCreateData = {
21940
22429
  body: CreateCloudAcquisitionProfileV2RequestDto;
21941
22430
  path?: never;
21942
- query?: {
21943
- /**
21944
- * Organization scope: "all" or comma-separated numeric organization ids. Defaults to all accessible organizations when omitted.
21945
- */
21946
- organizations?: string;
21947
- };
22431
+ query?: never;
21948
22432
  url: '/api/v2/libraries/acquisition/cloud';
21949
22433
  };
21950
22434
  export type CloudAcquisitionLibraryApiControllerCreateErrors = {
@@ -22332,12 +22816,7 @@ export type DiskImageAcquisitionLibraryApiControllerListResponse = DiskImageAcqu
22332
22816
  export type DiskImageAcquisitionLibraryApiControllerCreateData = {
22333
22817
  body: CreateDiskImageAcquisitionProfileV2RequestDto;
22334
22818
  path?: never;
22335
- query?: {
22336
- /**
22337
- * Organization scope: "all" or comma-separated numeric organization ids. Defaults to all accessible organizations when omitted.
22338
- */
22339
- organizations?: string;
22340
- };
22819
+ query?: never;
22341
22820
  url: '/api/v2/libraries/acquisition/disk-image';
22342
22821
  };
22343
22822
  export type DiskImageAcquisitionLibraryApiControllerCreateErrors = {