@binalyze/air-sdk 5.4.0 → 5.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/air/AIR.d.ts +13 -12
- package/dist/air/AIR.js +1 -0
- package/dist/air/AIR.js.map +1 -1
- package/dist/domains/acquisitions.d.ts +2 -2
- package/dist/domains/acquisitions.js.map +1 -1
- package/dist/domains/api-tokens.d.ts +2 -2
- package/dist/domains/api-tokens.js.map +1 -1
- package/dist/domains/assets.d.ts +2 -2
- package/dist/domains/assets.js +20 -32
- package/dist/domains/assets.js.map +1 -1
- package/dist/domains/baseline.d.ts +2 -2
- package/dist/domains/baseline.js.map +1 -1
- package/dist/domains/cases.d.ts +2 -2
- package/dist/domains/cases.js +12 -43
- package/dist/domains/cases.js.map +1 -1
- package/dist/domains/index.d.ts +1 -0
- package/dist/domains/index.js +1 -0
- package/dist/domains/index.js.map +1 -1
- package/dist/domains/interact.d.ts +2 -2
- package/dist/domains/interact.js +30 -18
- package/dist/domains/interact.js.map +1 -1
- package/dist/domains/investigation.d.ts +2 -0
- package/dist/domains/investigation.js +118 -0
- package/dist/domains/investigation.js.map +1 -0
- package/dist/domains/organization.d.ts +2 -2
- package/dist/domains/organization.js +24 -15
- package/dist/domains/organization.js.map +1 -1
- package/dist/domains/repositories.d.ts +2 -2
- package/dist/domains/repositories.js.map +1 -1
- package/dist/domains/tasks.d.ts +2 -2
- package/dist/domains/tasks.js.map +1 -1
- package/dist/domains/triage.d.ts +2 -2
- package/dist/domains/triage.js +57 -45
- package/dist/domains/triage.js.map +1 -1
- package/dist/domains/users.d.ts +2 -2
- package/dist/domains/users.js.map +1 -1
- package/dist/sdk/typescript-axios/sdk.gen.d.ts +2 -2
- package/dist/sdk/typescript-axios/sdk.gen.js +13 -7
- package/dist/sdk/typescript-axios/sdk.gen.js.map +1 -1
- package/dist/sdk/typescript-axios/types.gen.d.ts +730 -365
- package/dist/types/acquisitions.d.ts +3 -3
- package/dist/types/api-tokens.d.ts +8 -8
- package/dist/types/assets.d.ts +27 -39
- package/dist/types/baseline.d.ts +12 -12
- package/dist/types/cases.d.ts +27 -42
- package/dist/types/common.d.ts +27 -0
- package/dist/types/common.js +3 -0
- package/dist/types/common.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/interact.d.ts +12 -12
- package/dist/types/investigation.d.ts +75 -0
- package/dist/types/investigation.js +3 -0
- package/dist/types/investigation.js.map +1 -0
- package/dist/types/organization.d.ts +13 -22
- package/dist/types/organization.js +3 -0
- package/dist/types/organization.js.map +1 -1
- package/dist/types/repositories.d.ts +9 -13
- package/dist/types/repositories.js +1 -0
- package/dist/types/repositories.js.map +1 -1
- package/dist/types/tasks.d.ts +25 -34
- package/dist/types/triage.d.ts +8 -8
- package/dist/types/users.d.ts +9 -13
- package/dist/types/users.js +1 -0
- package/dist/types/users.js.map +1 -1
- package/dist/utils/builders.d.ts +26 -0
- package/dist/utils/builders.js +85 -0
- package/dist/utils/builders.js.map +1 -0
- package/dist/utils/error-helpers.d.ts +6 -0
- package/dist/utils/error-helpers.js +109 -0
- package/dist/utils/error-helpers.js.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/result.d.ts +2 -0
- package/dist/utils/result.js +19 -0
- package/dist/utils/result.js.map +1 -0
- package/dist/utils/utils.d.ts +1 -0
- package/dist/utils/utils.js +3 -1
- package/dist/utils/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -332,77 +332,85 @@ export type UpdateEndpointConnectionRouteDto = {
|
|
|
332
332
|
export type FilterTagsDto = {
|
|
333
333
|
[key: string]: unknown;
|
|
334
334
|
};
|
|
335
|
-
export type
|
|
335
|
+
export type TaskResponseDto = {
|
|
336
336
|
/**
|
|
337
|
-
* Unique
|
|
337
|
+
* Unique task identifier
|
|
338
338
|
*/
|
|
339
339
|
_id: string;
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
342
|
-
*/
|
|
343
|
-
taskId: string;
|
|
344
|
-
/**
|
|
345
|
-
* Assignment display name
|
|
341
|
+
* Task name
|
|
346
342
|
*/
|
|
347
343
|
name: string;
|
|
348
344
|
/**
|
|
349
|
-
* Task type
|
|
345
|
+
* Task type identifier
|
|
350
346
|
*/
|
|
351
347
|
type: string;
|
|
352
348
|
/**
|
|
353
|
-
*
|
|
349
|
+
* Task creation source
|
|
354
350
|
*/
|
|
355
|
-
|
|
351
|
+
source: string;
|
|
356
352
|
/**
|
|
357
|
-
*
|
|
353
|
+
* Current task status
|
|
358
354
|
*/
|
|
359
|
-
|
|
355
|
+
status: string;
|
|
360
356
|
/**
|
|
361
357
|
* Owning organization identifier
|
|
362
358
|
*/
|
|
363
359
|
organizationId: number;
|
|
364
360
|
/**
|
|
365
|
-
*
|
|
361
|
+
* User who created the task
|
|
366
362
|
*/
|
|
367
|
-
|
|
363
|
+
createdBy: string;
|
|
368
364
|
/**
|
|
369
|
-
*
|
|
365
|
+
* Base task identifier when task is cloned
|
|
370
366
|
*/
|
|
371
|
-
|
|
367
|
+
baseTaskId?: {
|
|
372
368
|
[key: string]: unknown;
|
|
373
369
|
} | null;
|
|
374
370
|
/**
|
|
375
|
-
*
|
|
371
|
+
* Endpoint filter applied when the task was created
|
|
376
372
|
*/
|
|
377
|
-
|
|
373
|
+
endpointFilter?: {
|
|
378
374
|
[key: string]: unknown;
|
|
379
375
|
} | null;
|
|
380
376
|
/**
|
|
381
|
-
*
|
|
377
|
+
* Total number of endpoints assigned to the task
|
|
382
378
|
*/
|
|
383
|
-
|
|
384
|
-
[key: string]: unknown;
|
|
385
|
-
} | null;
|
|
379
|
+
totalAssignedEndpoints: number;
|
|
386
380
|
/**
|
|
387
|
-
*
|
|
381
|
+
* Total number of endpoints that completed the task
|
|
388
382
|
*/
|
|
389
|
-
|
|
383
|
+
totalCompletedEndpoints: number;
|
|
384
|
+
/**
|
|
385
|
+
* Total number of endpoints that failed the task
|
|
386
|
+
*/
|
|
387
|
+
totalFailedEndpoints: number;
|
|
388
|
+
/**
|
|
389
|
+
* Total number of endpoints where the task was cancelled
|
|
390
|
+
*/
|
|
391
|
+
totalCancelledEndpoints: number;
|
|
392
|
+
/**
|
|
393
|
+
* Scheduling configuration for the task
|
|
394
|
+
*/
|
|
395
|
+
schedulerConfig: {
|
|
390
396
|
[key: string]: unknown;
|
|
391
|
-
}
|
|
397
|
+
};
|
|
392
398
|
/**
|
|
393
|
-
*
|
|
399
|
+
* Additional task metadata
|
|
394
400
|
*/
|
|
395
|
-
|
|
401
|
+
metadata?: {
|
|
396
402
|
[key: string]: unknown;
|
|
397
403
|
} | null;
|
|
398
404
|
/**
|
|
399
|
-
*
|
|
405
|
+
* Total matched artifacts for triage tasks
|
|
400
406
|
*/
|
|
401
|
-
|
|
407
|
+
totalMatched?: {
|
|
408
|
+
[key: string]: unknown;
|
|
409
|
+
} | null;
|
|
402
410
|
/**
|
|
403
|
-
*
|
|
411
|
+
* Total endpoints with matched artifacts for triage tasks
|
|
404
412
|
*/
|
|
405
|
-
|
|
413
|
+
totalMatchedEndpoints?: {
|
|
406
414
|
[key: string]: unknown;
|
|
407
415
|
} | null;
|
|
408
416
|
/**
|
|
@@ -410,31 +418,45 @@ export type TaskAssignmentListItemDto = {
|
|
|
410
418
|
*/
|
|
411
419
|
createdAt: string;
|
|
412
420
|
/**
|
|
413
|
-
*
|
|
421
|
+
* Last update timestamp
|
|
414
422
|
*/
|
|
415
|
-
|
|
423
|
+
updatedAt: string;
|
|
416
424
|
/**
|
|
417
|
-
*
|
|
425
|
+
* Task payload data when available
|
|
418
426
|
*/
|
|
419
|
-
|
|
427
|
+
data?: {
|
|
420
428
|
[key: string]: unknown;
|
|
421
429
|
} | null;
|
|
430
|
+
};
|
|
431
|
+
export type FilterTasksDto = {
|
|
422
432
|
/**
|
|
423
|
-
*
|
|
433
|
+
* Free text to search over tasks
|
|
424
434
|
*/
|
|
425
|
-
|
|
435
|
+
searchTerm?: string;
|
|
426
436
|
/**
|
|
427
|
-
*
|
|
437
|
+
* Filter tasks by exact or partial name
|
|
428
438
|
*/
|
|
429
|
-
|
|
430
|
-
[key: string]: unknown;
|
|
431
|
-
} | null;
|
|
439
|
+
name?: string;
|
|
432
440
|
/**
|
|
433
|
-
*
|
|
441
|
+
* Filter by task types
|
|
434
442
|
*/
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
443
|
+
type?: Array<Array<unknown>>;
|
|
444
|
+
/**
|
|
445
|
+
* Filter by task source
|
|
446
|
+
*/
|
|
447
|
+
source?: Array<Array<unknown>>;
|
|
448
|
+
/**
|
|
449
|
+
* Filter by task status
|
|
450
|
+
*/
|
|
451
|
+
status?: Array<Array<unknown>>;
|
|
452
|
+
/**
|
|
453
|
+
* Filter by task execution type
|
|
454
|
+
*/
|
|
455
|
+
executionType?: Array<Array<unknown>>;
|
|
456
|
+
/**
|
|
457
|
+
* Organization IDs to scope results
|
|
458
|
+
*/
|
|
459
|
+
organizationIds: Array<Array<unknown>>;
|
|
438
460
|
};
|
|
439
461
|
export type TaskListItemDto = {
|
|
440
462
|
/**
|
|
@@ -526,65 +548,6 @@ export type TaskListItemDto = {
|
|
|
526
548
|
*/
|
|
527
549
|
updatedAt: string;
|
|
528
550
|
};
|
|
529
|
-
export type TaskDetailExtraDto = {
|
|
530
|
-
/**
|
|
531
|
-
* Task payload data when available
|
|
532
|
-
*/
|
|
533
|
-
data?: {
|
|
534
|
-
[key: string]: unknown;
|
|
535
|
-
} | null;
|
|
536
|
-
};
|
|
537
|
-
export type TaskModuleModels = {
|
|
538
|
-
[key: string]: unknown;
|
|
539
|
-
};
|
|
540
|
-
export type AssignedTaskDto = {
|
|
541
|
-
/**
|
|
542
|
-
* Task identifier
|
|
543
|
-
*/
|
|
544
|
-
_id: string;
|
|
545
|
-
/**
|
|
546
|
-
* Task display name
|
|
547
|
-
*/
|
|
548
|
-
name: string;
|
|
549
|
-
/**
|
|
550
|
-
* Owning organization identifier
|
|
551
|
-
*/
|
|
552
|
-
organizationId: number;
|
|
553
|
-
/**
|
|
554
|
-
* Console URL for opening the task details page
|
|
555
|
-
*/
|
|
556
|
-
taskDetailsViewUrl: string;
|
|
557
|
-
};
|
|
558
|
-
export type FilterTasksDto = {
|
|
559
|
-
/**
|
|
560
|
-
* Free text to search over tasks
|
|
561
|
-
*/
|
|
562
|
-
searchTerm?: string;
|
|
563
|
-
/**
|
|
564
|
-
* Filter tasks by exact or partial name
|
|
565
|
-
*/
|
|
566
|
-
name?: string;
|
|
567
|
-
/**
|
|
568
|
-
* Filter by task types
|
|
569
|
-
*/
|
|
570
|
-
type?: Array<Array<unknown>>;
|
|
571
|
-
/**
|
|
572
|
-
* Filter by task source
|
|
573
|
-
*/
|
|
574
|
-
source?: Array<Array<unknown>>;
|
|
575
|
-
/**
|
|
576
|
-
* Filter by task status
|
|
577
|
-
*/
|
|
578
|
-
status?: Array<Array<unknown>>;
|
|
579
|
-
/**
|
|
580
|
-
* Filter by task execution type
|
|
581
|
-
*/
|
|
582
|
-
executionType?: Array<Array<unknown>>;
|
|
583
|
-
/**
|
|
584
|
-
* Organization IDs to scope results
|
|
585
|
-
*/
|
|
586
|
-
organizationIds: Array<Array<unknown>>;
|
|
587
|
-
};
|
|
588
551
|
export type TasksPageDto = {
|
|
589
552
|
entities: Array<TaskListItemDto>;
|
|
590
553
|
totalEntityCount: number;
|
|
@@ -648,6 +611,24 @@ export type ImportOffNetworkCollectionToTaskDto = {
|
|
|
648
611
|
export type GenerateOffNetworkZipPasswordDto = {
|
|
649
612
|
[key: string]: unknown;
|
|
650
613
|
};
|
|
614
|
+
export type AssignedTaskDto = {
|
|
615
|
+
/**
|
|
616
|
+
* Task identifier
|
|
617
|
+
*/
|
|
618
|
+
_id: string;
|
|
619
|
+
/**
|
|
620
|
+
* Task display name
|
|
621
|
+
*/
|
|
622
|
+
name: string;
|
|
623
|
+
/**
|
|
624
|
+
* Owning organization identifier
|
|
625
|
+
*/
|
|
626
|
+
organizationId: number;
|
|
627
|
+
/**
|
|
628
|
+
* Console URL for opening the task details page
|
|
629
|
+
*/
|
|
630
|
+
taskDetailsViewUrl: string;
|
|
631
|
+
};
|
|
651
632
|
export type RebootEndpointDto = {
|
|
652
633
|
/**
|
|
653
634
|
* Filter to select the target assets/endpoints for reboot
|
|
@@ -738,6 +719,110 @@ export type FilterTaskAssignmentsDto = {
|
|
|
738
719
|
*/
|
|
739
720
|
endpointIds?: Array<string>;
|
|
740
721
|
};
|
|
722
|
+
export type TaskAssignmentListItemDto = {
|
|
723
|
+
/**
|
|
724
|
+
* Unique assignment identifier
|
|
725
|
+
*/
|
|
726
|
+
_id: string;
|
|
727
|
+
/**
|
|
728
|
+
* Parent task identifier
|
|
729
|
+
*/
|
|
730
|
+
taskId: string;
|
|
731
|
+
/**
|
|
732
|
+
* Assignment display name
|
|
733
|
+
*/
|
|
734
|
+
name: string;
|
|
735
|
+
/**
|
|
736
|
+
* Task type of the assignment
|
|
737
|
+
*/
|
|
738
|
+
type: string;
|
|
739
|
+
/**
|
|
740
|
+
* Assigned endpoint identifier
|
|
741
|
+
*/
|
|
742
|
+
endpointId: string;
|
|
743
|
+
/**
|
|
744
|
+
* Assigned endpoint name
|
|
745
|
+
*/
|
|
746
|
+
endpointName: string;
|
|
747
|
+
/**
|
|
748
|
+
* Owning organization identifier
|
|
749
|
+
*/
|
|
750
|
+
organizationId: number;
|
|
751
|
+
/**
|
|
752
|
+
* Assignment status value
|
|
753
|
+
*/
|
|
754
|
+
status: string;
|
|
755
|
+
/**
|
|
756
|
+
* Additional information about the assignment sub-status
|
|
757
|
+
*/
|
|
758
|
+
subStatus?: {
|
|
759
|
+
[key: string]: unknown;
|
|
760
|
+
} | null;
|
|
761
|
+
/**
|
|
762
|
+
* Recurrence value when the task is scheduled
|
|
763
|
+
*/
|
|
764
|
+
recurrence?: {
|
|
765
|
+
[key: string]: unknown;
|
|
766
|
+
} | null;
|
|
767
|
+
/**
|
|
768
|
+
* Progress percentage of the assignment
|
|
769
|
+
*/
|
|
770
|
+
progress?: {
|
|
771
|
+
[key: string]: unknown;
|
|
772
|
+
} | null;
|
|
773
|
+
/**
|
|
774
|
+
* Duration metrics for assignment stages
|
|
775
|
+
*/
|
|
776
|
+
durations?: {
|
|
777
|
+
[key: string]: unknown;
|
|
778
|
+
} | null;
|
|
779
|
+
/**
|
|
780
|
+
* Total duration in seconds when available
|
|
781
|
+
*/
|
|
782
|
+
duration?: {
|
|
783
|
+
[key: string]: unknown;
|
|
784
|
+
} | null;
|
|
785
|
+
/**
|
|
786
|
+
* Related case identifiers
|
|
787
|
+
*/
|
|
788
|
+
caseIds: Array<string>;
|
|
789
|
+
/**
|
|
790
|
+
* Metadata associated with the assignment
|
|
791
|
+
*/
|
|
792
|
+
metadata?: {
|
|
793
|
+
[key: string]: unknown;
|
|
794
|
+
} | null;
|
|
795
|
+
/**
|
|
796
|
+
* Creation timestamp
|
|
797
|
+
*/
|
|
798
|
+
createdAt: string;
|
|
799
|
+
/**
|
|
800
|
+
* Username who scheduled the assignment
|
|
801
|
+
*/
|
|
802
|
+
createdBy: string;
|
|
803
|
+
/**
|
|
804
|
+
* Last update timestamp
|
|
805
|
+
*/
|
|
806
|
+
updatedAt?: {
|
|
807
|
+
[key: string]: unknown;
|
|
808
|
+
} | null;
|
|
809
|
+
/**
|
|
810
|
+
* Display friendly representation of the task type
|
|
811
|
+
*/
|
|
812
|
+
displayType: string;
|
|
813
|
+
/**
|
|
814
|
+
* Response details returned by the endpoint
|
|
815
|
+
*/
|
|
816
|
+
response?: {
|
|
817
|
+
[key: string]: unknown;
|
|
818
|
+
} | null;
|
|
819
|
+
/**
|
|
820
|
+
* URL pointing to the task assignment report
|
|
821
|
+
*/
|
|
822
|
+
reportUrl?: {
|
|
823
|
+
[key: string]: unknown;
|
|
824
|
+
} | null;
|
|
825
|
+
};
|
|
741
826
|
export type TaskAssignmentsPageDto = {
|
|
742
827
|
entities: Array<TaskAssignmentListItemDto>;
|
|
743
828
|
totalEntityCount: number;
|
|
@@ -1183,11 +1268,34 @@ export type AcquisitionProfileFilterDto = {
|
|
|
1183
1268
|
/**
|
|
1184
1269
|
* Filter by organization IDs (comma separated)
|
|
1185
1270
|
*/
|
|
1186
|
-
organizationIds: string;
|
|
1271
|
+
organizationIds: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* Include acquisition profiles from all organizations
|
|
1274
|
+
*/
|
|
1275
|
+
allOrganizations?: boolean;
|
|
1276
|
+
};
|
|
1277
|
+
export type AcquisitionProfileResponseDto = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Acquisition profile identifier
|
|
1280
|
+
*/
|
|
1281
|
+
_id: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* Acquisition profile name
|
|
1284
|
+
*/
|
|
1285
|
+
name: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* Organization identifiers the profile belongs to
|
|
1288
|
+
*/
|
|
1289
|
+
organizationIds: Array<number>;
|
|
1290
|
+
windows: WindowsAcquisitions;
|
|
1291
|
+
linux: LinuxAcquisitions;
|
|
1292
|
+
macos: MacosAcquisitions;
|
|
1293
|
+
aix: AixAcquisitions;
|
|
1294
|
+
eDiscovery: EDiscoveryAcquisitions;
|
|
1187
1295
|
/**
|
|
1188
|
-
*
|
|
1296
|
+
* Indicates whether the profile can be deleted
|
|
1189
1297
|
*/
|
|
1190
|
-
|
|
1298
|
+
deletable: boolean;
|
|
1191
1299
|
};
|
|
1192
1300
|
export type TaskConfig = {
|
|
1193
1301
|
[key: string]: unknown;
|
|
@@ -1301,6 +1409,24 @@ export type AcquireEvidenceDto = {
|
|
|
1301
1409
|
*/
|
|
1302
1410
|
schedulerConfig?: TaskSchedulerConfig;
|
|
1303
1411
|
};
|
|
1412
|
+
export type AssignedTaskResponseDto = {
|
|
1413
|
+
/**
|
|
1414
|
+
* Task identifier
|
|
1415
|
+
*/
|
|
1416
|
+
_id: string;
|
|
1417
|
+
/**
|
|
1418
|
+
* Task display name
|
|
1419
|
+
*/
|
|
1420
|
+
name: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* Owning organization identifier
|
|
1423
|
+
*/
|
|
1424
|
+
organizationId: number;
|
|
1425
|
+
/**
|
|
1426
|
+
* Console URL for opening the task details page
|
|
1427
|
+
*/
|
|
1428
|
+
taskDetailsViewUrl: string;
|
|
1429
|
+
};
|
|
1304
1430
|
export type OffNetworkAcquisitionTaskDto = {
|
|
1305
1431
|
[key: string]: unknown;
|
|
1306
1432
|
};
|
|
@@ -1317,7 +1443,7 @@ export type CreateTriageRuleRequestDto = {
|
|
|
1317
1443
|
/**
|
|
1318
1444
|
* Human-readable name of the triage rule
|
|
1319
1445
|
*/
|
|
1320
|
-
name
|
|
1446
|
+
name?: string;
|
|
1321
1447
|
/**
|
|
1322
1448
|
* Optional detailed description of the triage rule
|
|
1323
1449
|
*/
|
|
@@ -1555,7 +1681,7 @@ export type ValidateTriageRuleRequestDto = {
|
|
|
1555
1681
|
*/
|
|
1556
1682
|
engine: 'yara' | 'sigma' | 'osquery';
|
|
1557
1683
|
};
|
|
1558
|
-
export type
|
|
1684
|
+
export type TriageValidateResponseDto = {
|
|
1559
1685
|
/**
|
|
1560
1686
|
* Operation completed successfully
|
|
1561
1687
|
*/
|
|
@@ -1906,36 +2032,7 @@ export type FilterPoliciesDto = {
|
|
|
1906
2032
|
export type UpdatePrioritiesDto = {
|
|
1907
2033
|
[key: string]: unknown;
|
|
1908
2034
|
};
|
|
1909
|
-
export type
|
|
1910
|
-
[key: string]: unknown;
|
|
1911
|
-
};
|
|
1912
|
-
export type CreateOrganizationDto = {
|
|
1913
|
-
/**
|
|
1914
|
-
* Organization name
|
|
1915
|
-
*/
|
|
1916
|
-
name: string;
|
|
1917
|
-
/**
|
|
1918
|
-
* Enable shareable deployment for this organization
|
|
1919
|
-
*/
|
|
1920
|
-
shareableDeploymentEnabled: boolean;
|
|
1921
|
-
/**
|
|
1922
|
-
* Optional note for the organization
|
|
1923
|
-
*/
|
|
1924
|
-
note?: string;
|
|
1925
|
-
/**
|
|
1926
|
-
* Organization contact information
|
|
1927
|
-
*/
|
|
1928
|
-
contact?: OrganizationContact;
|
|
1929
|
-
/**
|
|
1930
|
-
* Group IDs to associate with the organization
|
|
1931
|
-
*/
|
|
1932
|
-
groupIds?: Array<string>;
|
|
1933
|
-
/**
|
|
1934
|
-
* User IDs to associate with the organization
|
|
1935
|
-
*/
|
|
1936
|
-
userIds?: Array<string>;
|
|
1937
|
-
};
|
|
1938
|
-
export type OrganizationListItemDto = {
|
|
2035
|
+
export type OrganizationListItemResponseDto = {
|
|
1939
2036
|
/**
|
|
1940
2037
|
* Organization identifier
|
|
1941
2038
|
*/
|
|
@@ -1991,36 +2088,8 @@ export type OrganizationListItemDto = {
|
|
|
1991
2088
|
*/
|
|
1992
2089
|
updatedAt: string;
|
|
1993
2090
|
};
|
|
1994
|
-
export type
|
|
1995
|
-
|
|
1996
|
-
* Organization name
|
|
1997
|
-
*/
|
|
1998
|
-
name?: string;
|
|
1999
|
-
/**
|
|
2000
|
-
* Owner user ID
|
|
2001
|
-
*/
|
|
2002
|
-
owner?: string;
|
|
2003
|
-
/**
|
|
2004
|
-
* Optional note for the organization
|
|
2005
|
-
*/
|
|
2006
|
-
note?: string;
|
|
2007
|
-
/**
|
|
2008
|
-
* Organization contact information
|
|
2009
|
-
*/
|
|
2010
|
-
contact?: OrganizationContact;
|
|
2011
|
-
};
|
|
2012
|
-
export type FilterOrganizationsDto = {
|
|
2013
|
-
/**
|
|
2014
|
-
* Filter by exact organization name
|
|
2015
|
-
*/
|
|
2016
|
-
name?: string;
|
|
2017
|
-
/**
|
|
2018
|
-
* Search across organization fields
|
|
2019
|
-
*/
|
|
2020
|
-
searchTerm?: string;
|
|
2021
|
-
};
|
|
2022
|
-
export type OrganizationsPageDto = {
|
|
2023
|
-
entities: Array<OrganizationListItemDto>;
|
|
2091
|
+
export type OrganizationsPageResponseDto = {
|
|
2092
|
+
entities: Array<OrganizationListItemResponseDto>;
|
|
2024
2093
|
totalEntityCount: number;
|
|
2025
2094
|
currentPage: number;
|
|
2026
2095
|
pageSize: number;
|
|
@@ -2034,31 +2103,59 @@ export type OrganizationsPageDto = {
|
|
|
2034
2103
|
} | null;
|
|
2035
2104
|
totalPageCount: number;
|
|
2036
2105
|
};
|
|
2037
|
-
export type
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2106
|
+
export type OrganizationUserListItemResponseDto = {
|
|
2107
|
+
_id: string;
|
|
2108
|
+
email: string;
|
|
2109
|
+
username: string;
|
|
2110
|
+
roles: Array<string>;
|
|
2111
|
+
organizationIds: Array<number>;
|
|
2112
|
+
strategy: string;
|
|
2113
|
+
profile: {
|
|
2114
|
+
[key: string]: unknown;
|
|
2115
|
+
};
|
|
2116
|
+
tfaEnabled: boolean;
|
|
2117
|
+
createdAt: string;
|
|
2118
|
+
updatedAt: string;
|
|
2119
|
+
ssoType?: {
|
|
2120
|
+
[key: string]: unknown;
|
|
2121
|
+
} | null;
|
|
2122
|
+
hasPassword: boolean;
|
|
2123
|
+
isAuthorizedForAllOrganizations: boolean;
|
|
2124
|
+
isGlobalAdmin: boolean;
|
|
2125
|
+
isOrganizationAdmin: boolean;
|
|
2126
|
+
isNotInOrganizations: boolean;
|
|
2127
|
+
lastLogin: string;
|
|
2128
|
+
onlineStatus: string;
|
|
2048
2129
|
};
|
|
2049
|
-
export type
|
|
2050
|
-
|
|
2130
|
+
export type OrganizationUsersPageResponseDto = {
|
|
2131
|
+
entities: Array<OrganizationUserListItemResponseDto>;
|
|
2132
|
+
totalEntityCount: number;
|
|
2133
|
+
currentPage: number;
|
|
2134
|
+
pageSize: number;
|
|
2135
|
+
filters?: Array<{
|
|
2136
|
+
[key: string]: unknown;
|
|
2137
|
+
}> | null;
|
|
2138
|
+
sortables: Array<string>;
|
|
2139
|
+
nextPage: number;
|
|
2140
|
+
previousPage?: {
|
|
2141
|
+
[key: string]: unknown;
|
|
2142
|
+
} | null;
|
|
2143
|
+
totalPageCount: number;
|
|
2051
2144
|
};
|
|
2052
|
-
export type
|
|
2053
|
-
|
|
2145
|
+
export type OrganizationContactResponseDto = {
|
|
2146
|
+
name?: string;
|
|
2147
|
+
title?: string;
|
|
2148
|
+
phone?: string;
|
|
2149
|
+
mobile?: string;
|
|
2150
|
+
email?: string;
|
|
2054
2151
|
};
|
|
2055
|
-
export type
|
|
2152
|
+
export type OrganizationEndpointStatisticResponseDto = {
|
|
2056
2153
|
/**
|
|
2057
2154
|
* Total endpoints in the organization
|
|
2058
2155
|
*/
|
|
2059
2156
|
total: number;
|
|
2060
2157
|
};
|
|
2061
|
-
export type
|
|
2158
|
+
export type OrganizationCaseStatisticsResponseDto = {
|
|
2062
2159
|
/**
|
|
2063
2160
|
* Total cases
|
|
2064
2161
|
*/
|
|
@@ -2076,11 +2173,11 @@ export type OrganizationCaseStatisticsDto = {
|
|
|
2076
2173
|
*/
|
|
2077
2174
|
archived: number;
|
|
2078
2175
|
};
|
|
2079
|
-
export type
|
|
2080
|
-
endpoint:
|
|
2081
|
-
case:
|
|
2176
|
+
export type OrganizationStatisticResponseDto = {
|
|
2177
|
+
endpoint: OrganizationEndpointStatisticResponseDto;
|
|
2178
|
+
case: OrganizationCaseStatisticsResponseDto;
|
|
2082
2179
|
};
|
|
2083
|
-
export type
|
|
2180
|
+
export type OrganizationWithStatisticsResponseDto = {
|
|
2084
2181
|
/**
|
|
2085
2182
|
* Organization identifier
|
|
2086
2183
|
*/
|
|
@@ -2120,10 +2217,8 @@ export type OrganizationWithStatisticsDto = {
|
|
|
2120
2217
|
/**
|
|
2121
2218
|
* Contact details
|
|
2122
2219
|
*/
|
|
2123
|
-
contact?:
|
|
2124
|
-
|
|
2125
|
-
} | null;
|
|
2126
|
-
statistics: OrganizationStatisticDto;
|
|
2220
|
+
contact?: OrganizationContactResponseDto | null;
|
|
2221
|
+
statistics: OrganizationStatisticResponseDto;
|
|
2127
2222
|
/**
|
|
2128
2223
|
* Creation timestamp
|
|
2129
2224
|
*/
|
|
@@ -2133,6 +2228,93 @@ export type OrganizationWithStatisticsDto = {
|
|
|
2133
2228
|
*/
|
|
2134
2229
|
updatedAt: string;
|
|
2135
2230
|
};
|
|
2231
|
+
export type OrganizationNameExistsResponseDto = {
|
|
2232
|
+
/**
|
|
2233
|
+
* Whether the organization name exists
|
|
2234
|
+
*/
|
|
2235
|
+
exists: boolean;
|
|
2236
|
+
};
|
|
2237
|
+
export type ShareableDeploymentInfoResponseDto = {
|
|
2238
|
+
organizationId: number;
|
|
2239
|
+
consoleAddress: string;
|
|
2240
|
+
agentVersion: string;
|
|
2241
|
+
relayProVersion: string;
|
|
2242
|
+
};
|
|
2243
|
+
export type OrganizationContact = {
|
|
2244
|
+
[key: string]: unknown;
|
|
2245
|
+
};
|
|
2246
|
+
export type CreateOrganizationDto = {
|
|
2247
|
+
/**
|
|
2248
|
+
* Organization name
|
|
2249
|
+
*/
|
|
2250
|
+
name: string;
|
|
2251
|
+
/**
|
|
2252
|
+
* Enable shareable deployment for this organization
|
|
2253
|
+
*/
|
|
2254
|
+
shareableDeploymentEnabled: boolean;
|
|
2255
|
+
/**
|
|
2256
|
+
* Optional note for the organization
|
|
2257
|
+
*/
|
|
2258
|
+
note?: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* Organization contact information
|
|
2261
|
+
*/
|
|
2262
|
+
contact?: OrganizationContact;
|
|
2263
|
+
/**
|
|
2264
|
+
* Group IDs to associate with the organization
|
|
2265
|
+
*/
|
|
2266
|
+
groupIds?: Array<string>;
|
|
2267
|
+
/**
|
|
2268
|
+
* User IDs to associate with the organization
|
|
2269
|
+
*/
|
|
2270
|
+
userIds?: Array<string>;
|
|
2271
|
+
};
|
|
2272
|
+
export type UpdateOrganizationDto = {
|
|
2273
|
+
/**
|
|
2274
|
+
* Organization name
|
|
2275
|
+
*/
|
|
2276
|
+
name?: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* Owner user ID
|
|
2279
|
+
*/
|
|
2280
|
+
owner?: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* Optional note for the organization
|
|
2283
|
+
*/
|
|
2284
|
+
note?: string;
|
|
2285
|
+
/**
|
|
2286
|
+
* Organization contact information
|
|
2287
|
+
*/
|
|
2288
|
+
contact?: OrganizationContact;
|
|
2289
|
+
};
|
|
2290
|
+
export type FilterOrganizationsDto = {
|
|
2291
|
+
/**
|
|
2292
|
+
* Filter by exact organization name
|
|
2293
|
+
*/
|
|
2294
|
+
name?: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Search across organization fields
|
|
2297
|
+
*/
|
|
2298
|
+
searchTerm?: string;
|
|
2299
|
+
};
|
|
2300
|
+
export type RemoveUsersFromOrganizationDto = {
|
|
2301
|
+
/**
|
|
2302
|
+
* User IDs to remove
|
|
2303
|
+
*/
|
|
2304
|
+
userIds: Array<string>;
|
|
2305
|
+
};
|
|
2306
|
+
export type AssingUsersToOrganizationsDto = {
|
|
2307
|
+
/**
|
|
2308
|
+
* User IDs to assign
|
|
2309
|
+
*/
|
|
2310
|
+
userIds: Array<string>;
|
|
2311
|
+
};
|
|
2312
|
+
export type RemoveGroupsFromOrganizationDto = {
|
|
2313
|
+
[key: string]: unknown;
|
|
2314
|
+
};
|
|
2315
|
+
export type AssignGroupsToOrganizationDto = {
|
|
2316
|
+
[key: string]: unknown;
|
|
2317
|
+
};
|
|
2136
2318
|
export type UpdateShareableDeploymentStatusDto = {
|
|
2137
2319
|
/**
|
|
2138
2320
|
* Enable or disable shareable deployment status
|
|
@@ -2177,40 +2359,65 @@ export type FilterOrganizationUsersDto = {
|
|
|
2177
2359
|
*/
|
|
2178
2360
|
roles?: Array<string>;
|
|
2179
2361
|
/**
|
|
2180
|
-
* Include these usernames
|
|
2362
|
+
* Include these usernames
|
|
2363
|
+
*/
|
|
2364
|
+
includeUsernames?: Array<string>;
|
|
2365
|
+
/**
|
|
2366
|
+
* Exclude these usernames
|
|
2367
|
+
*/
|
|
2368
|
+
excludeUsernames?: Array<string>;
|
|
2369
|
+
};
|
|
2370
|
+
export type AutoAssetTagDto = {
|
|
2371
|
+
[key: string]: unknown;
|
|
2372
|
+
};
|
|
2373
|
+
export type FilterAutoAssetTagsDto = {
|
|
2374
|
+
[key: string]: unknown;
|
|
2375
|
+
};
|
|
2376
|
+
export type BulkDeleteAutoAssetTagRequestDto = {
|
|
2377
|
+
/**
|
|
2378
|
+
* The IDs of the auto asset tags to delete
|
|
2379
|
+
*/
|
|
2380
|
+
ids: Array<string>;
|
|
2381
|
+
};
|
|
2382
|
+
export type UpdateScheduledAutoAssetTaggingTaskDto = {
|
|
2383
|
+
[key: string]: unknown;
|
|
2384
|
+
};
|
|
2385
|
+
export type CaseActivityDto = {
|
|
2386
|
+
/**
|
|
2387
|
+
* Activity identifier
|
|
2388
|
+
*/
|
|
2389
|
+
id: number;
|
|
2390
|
+
/**
|
|
2391
|
+
* Associated case identifier
|
|
2392
|
+
*/
|
|
2393
|
+
caseId: string;
|
|
2394
|
+
/**
|
|
2395
|
+
* Activity type
|
|
2396
|
+
*/
|
|
2397
|
+
type: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Username that performed the activity
|
|
2181
2400
|
*/
|
|
2182
|
-
|
|
2401
|
+
performedBy: string;
|
|
2183
2402
|
/**
|
|
2184
|
-
*
|
|
2403
|
+
* Event payload
|
|
2185
2404
|
*/
|
|
2186
|
-
|
|
2187
|
-
};
|
|
2188
|
-
export type OrganizationUserListItemDto = {
|
|
2189
|
-
_id: string;
|
|
2190
|
-
email: string;
|
|
2191
|
-
username: string;
|
|
2192
|
-
roles: Array<string>;
|
|
2193
|
-
organizationIds: Array<number>;
|
|
2194
|
-
strategy: string;
|
|
2195
|
-
profile: {
|
|
2405
|
+
data: {
|
|
2196
2406
|
[key: string]: unknown;
|
|
2197
2407
|
};
|
|
2198
|
-
|
|
2408
|
+
/**
|
|
2409
|
+
* Activity creation timestamp
|
|
2410
|
+
*/
|
|
2199
2411
|
createdAt: string;
|
|
2200
|
-
|
|
2201
|
-
|
|
2412
|
+
/**
|
|
2413
|
+
* Human-friendly description
|
|
2414
|
+
*/
|
|
2415
|
+
description?: {
|
|
2202
2416
|
[key: string]: unknown;
|
|
2203
2417
|
} | null;
|
|
2204
|
-
hasPassword: boolean;
|
|
2205
|
-
isAuthorizedForAllOrganizations: boolean;
|
|
2206
|
-
isGlobalAdmin: boolean;
|
|
2207
|
-
isOrganizationAdmin: boolean;
|
|
2208
|
-
isNotInOrganizations: boolean;
|
|
2209
|
-
lastLogin: string;
|
|
2210
|
-
onlineStatus: string;
|
|
2211
2418
|
};
|
|
2212
|
-
export type
|
|
2213
|
-
entities: Array<
|
|
2419
|
+
export type CaseActivitiesPageDto = {
|
|
2420
|
+
entities: Array<CaseActivityDto>;
|
|
2214
2421
|
totalEntityCount: number;
|
|
2215
2422
|
currentPage: number;
|
|
2216
2423
|
pageSize: number;
|
|
@@ -2224,28 +2431,19 @@ export type OrganizationUsersPageDto = {
|
|
|
2224
2431
|
} | null;
|
|
2225
2432
|
totalPageCount: number;
|
|
2226
2433
|
};
|
|
2227
|
-
export type
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
};
|
|
2233
|
-
export type BulkDeleteAutoAssetTagRequestDto = {
|
|
2234
|
-
/**
|
|
2235
|
-
* The IDs of the auto asset tags to delete
|
|
2236
|
-
*/
|
|
2237
|
-
ids: Array<string>;
|
|
2238
|
-
};
|
|
2239
|
-
export type UpdateScheduledAutoAssetTaggingTaskDto = {
|
|
2240
|
-
[key: string]: unknown;
|
|
2241
|
-
};
|
|
2242
|
-
export type CaseCategoryEntity = {
|
|
2243
|
-
[key: string]: unknown;
|
|
2434
|
+
export type CaseCategoryResponseDto = {
|
|
2435
|
+
id: string;
|
|
2436
|
+
name: string;
|
|
2437
|
+
color: string;
|
|
2438
|
+
organizationId: number;
|
|
2244
2439
|
};
|
|
2245
|
-
export type
|
|
2246
|
-
|
|
2440
|
+
export type CaseTagResponseDto = {
|
|
2441
|
+
id: string;
|
|
2442
|
+
name: string;
|
|
2443
|
+
color: string;
|
|
2444
|
+
organizationId: number;
|
|
2247
2445
|
};
|
|
2248
|
-
export type
|
|
2446
|
+
export type CaseResponseDto = {
|
|
2249
2447
|
/**
|
|
2250
2448
|
* Unique identifier of the case
|
|
2251
2449
|
*/
|
|
@@ -2258,6 +2456,10 @@ export type CaseDto = {
|
|
|
2258
2456
|
* Owner user identifier
|
|
2259
2457
|
*/
|
|
2260
2458
|
ownerUserId: string;
|
|
2459
|
+
/**
|
|
2460
|
+
* Owner user name
|
|
2461
|
+
*/
|
|
2462
|
+
testUsername: string;
|
|
2261
2463
|
/**
|
|
2262
2464
|
* Owning organization identifier
|
|
2263
2465
|
*/
|
|
@@ -2309,11 +2511,11 @@ export type CaseDto = {
|
|
|
2309
2511
|
/**
|
|
2310
2512
|
* Category information when available
|
|
2311
2513
|
*/
|
|
2312
|
-
category?:
|
|
2514
|
+
category?: CaseCategoryResponseDto | null;
|
|
2313
2515
|
/**
|
|
2314
2516
|
* Case tags
|
|
2315
2517
|
*/
|
|
2316
|
-
tags?: Array<
|
|
2518
|
+
tags?: Array<CaseTagResponseDto> | null;
|
|
2317
2519
|
/**
|
|
2318
2520
|
* Total number of days between startedOn and closedOn (or now)
|
|
2319
2521
|
*/
|
|
@@ -2323,60 +2525,8 @@ export type CaseDto = {
|
|
|
2323
2525
|
*/
|
|
2324
2526
|
totalEndpoints: number;
|
|
2325
2527
|
};
|
|
2326
|
-
export type
|
|
2327
|
-
entities: Array<
|
|
2328
|
-
totalEntityCount: number;
|
|
2329
|
-
currentPage: number;
|
|
2330
|
-
pageSize: number;
|
|
2331
|
-
filters?: Array<{
|
|
2332
|
-
[key: string]: unknown;
|
|
2333
|
-
}> | null;
|
|
2334
|
-
sortables: Array<string>;
|
|
2335
|
-
organizations?: Array<{
|
|
2336
|
-
[key: string]: unknown;
|
|
2337
|
-
}> | null;
|
|
2338
|
-
nextPage: number;
|
|
2339
|
-
previousPage?: {
|
|
2340
|
-
[key: string]: unknown;
|
|
2341
|
-
} | null;
|
|
2342
|
-
totalPageCount: number;
|
|
2343
|
-
};
|
|
2344
|
-
export type CaseActivityDto = {
|
|
2345
|
-
/**
|
|
2346
|
-
* Activity identifier
|
|
2347
|
-
*/
|
|
2348
|
-
id: number;
|
|
2349
|
-
/**
|
|
2350
|
-
* Associated case identifier
|
|
2351
|
-
*/
|
|
2352
|
-
caseId: string;
|
|
2353
|
-
/**
|
|
2354
|
-
* Activity type
|
|
2355
|
-
*/
|
|
2356
|
-
type: string;
|
|
2357
|
-
/**
|
|
2358
|
-
* Username that performed the activity
|
|
2359
|
-
*/
|
|
2360
|
-
performedBy: string;
|
|
2361
|
-
/**
|
|
2362
|
-
* Event payload
|
|
2363
|
-
*/
|
|
2364
|
-
data: {
|
|
2365
|
-
[key: string]: unknown;
|
|
2366
|
-
};
|
|
2367
|
-
/**
|
|
2368
|
-
* Activity creation timestamp
|
|
2369
|
-
*/
|
|
2370
|
-
createdAt: string;
|
|
2371
|
-
/**
|
|
2372
|
-
* Human-friendly description
|
|
2373
|
-
*/
|
|
2374
|
-
description?: {
|
|
2375
|
-
[key: string]: unknown;
|
|
2376
|
-
} | null;
|
|
2377
|
-
};
|
|
2378
|
-
export type CaseActivitiesPageDto = {
|
|
2379
|
-
entities: Array<CaseActivityDto>;
|
|
2528
|
+
export type CaseTasksPageDto = {
|
|
2529
|
+
entities: Array<TaskAssignmentListItemDto>;
|
|
2380
2530
|
totalEntityCount: number;
|
|
2381
2531
|
currentPage: number;
|
|
2382
2532
|
pageSize: number;
|
|
@@ -2444,8 +2594,8 @@ export type CaseUsersPageDto = {
|
|
|
2444
2594
|
} | null;
|
|
2445
2595
|
totalPageCount: number;
|
|
2446
2596
|
};
|
|
2447
|
-
export type
|
|
2448
|
-
entities: Array<
|
|
2597
|
+
export type CasesPageDto = {
|
|
2598
|
+
entities: Array<CaseResponseDto>;
|
|
2449
2599
|
totalEntityCount: number;
|
|
2450
2600
|
currentPage: number;
|
|
2451
2601
|
pageSize: number;
|
|
@@ -2453,15 +2603,15 @@ export type CaseTasksPageDto = {
|
|
|
2453
2603
|
[key: string]: unknown;
|
|
2454
2604
|
}> | null;
|
|
2455
2605
|
sortables: Array<string>;
|
|
2606
|
+
organizations?: Array<{
|
|
2607
|
+
[key: string]: unknown;
|
|
2608
|
+
}> | null;
|
|
2456
2609
|
nextPage: number;
|
|
2457
2610
|
previousPage?: {
|
|
2458
2611
|
[key: string]: unknown;
|
|
2459
2612
|
} | null;
|
|
2460
2613
|
totalPageCount: number;
|
|
2461
2614
|
};
|
|
2462
|
-
export type CaseModuleModels = {
|
|
2463
|
-
[key: string]: unknown;
|
|
2464
|
-
};
|
|
2465
2615
|
export type FilterUserCasesDto = {
|
|
2466
2616
|
/**
|
|
2467
2617
|
* Filter by case ID
|
|
@@ -2683,7 +2833,7 @@ export type InteractShellDto = {
|
|
|
2683
2833
|
*/
|
|
2684
2834
|
taskConfig: TaskConfig;
|
|
2685
2835
|
};
|
|
2686
|
-
export type
|
|
2836
|
+
export type InteractShellSessionDataResponseDto = {
|
|
2687
2837
|
sessionId: string;
|
|
2688
2838
|
idleTimeout: number;
|
|
2689
2839
|
config: {
|
|
@@ -2694,7 +2844,7 @@ export type InteractShellSessionDataDto = {
|
|
|
2694
2844
|
export type InteractShellSessionResponseDto = {
|
|
2695
2845
|
id: string;
|
|
2696
2846
|
type: string;
|
|
2697
|
-
data:
|
|
2847
|
+
data: InteractShellSessionDataResponseDto;
|
|
2698
2848
|
assetId: string;
|
|
2699
2849
|
loginUrl: string;
|
|
2700
2850
|
shellUrl: string;
|
|
@@ -2710,7 +2860,7 @@ export type InteractExecuteCommandDto = {
|
|
|
2710
2860
|
*/
|
|
2711
2861
|
accept?: 'text' | 'json';
|
|
2712
2862
|
};
|
|
2713
|
-
export type
|
|
2863
|
+
export type InteractCommandFileResponseDto = {
|
|
2714
2864
|
id: string;
|
|
2715
2865
|
name: string;
|
|
2716
2866
|
size: number;
|
|
@@ -2724,11 +2874,11 @@ export type InteractCommandFileDto = {
|
|
|
2724
2874
|
sha1Hash: string;
|
|
2725
2875
|
sha256Hash: string;
|
|
2726
2876
|
};
|
|
2727
|
-
export type
|
|
2877
|
+
export type InteractCommandErrorResponseDto = {
|
|
2728
2878
|
message: string;
|
|
2729
2879
|
code: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
2730
2880
|
};
|
|
2731
|
-
export type
|
|
2881
|
+
export type InteractCommandSessionResponseDto = {
|
|
2732
2882
|
id: string;
|
|
2733
2883
|
ttl?: number | null;
|
|
2734
2884
|
};
|
|
@@ -2744,9 +2894,9 @@ export type InteractExecuteCommandResponseDto = {
|
|
|
2744
2894
|
cwd?: {
|
|
2745
2895
|
[key: string]: unknown;
|
|
2746
2896
|
} | null;
|
|
2747
|
-
session:
|
|
2748
|
-
file?:
|
|
2749
|
-
error?:
|
|
2897
|
+
session: InteractCommandSessionResponseDto;
|
|
2898
|
+
file?: InteractCommandFileResponseDto | null;
|
|
2899
|
+
error?: InteractCommandErrorResponseDto | null;
|
|
2750
2900
|
};
|
|
2751
2901
|
export type InteractAsyncCommandResponseDto = {
|
|
2752
2902
|
sessionId: string;
|
|
@@ -2758,12 +2908,15 @@ export type CloseInteractSessionResponseDto = {
|
|
|
2758
2908
|
*/
|
|
2759
2909
|
sessionId: string;
|
|
2760
2910
|
};
|
|
2761
|
-
export type
|
|
2911
|
+
export type InteractCommandMessageResponseDto = {
|
|
2762
2912
|
_id: string;
|
|
2763
2913
|
sessionId: string;
|
|
2764
2914
|
messageId: string;
|
|
2765
2915
|
date: string;
|
|
2766
|
-
|
|
2916
|
+
/**
|
|
2917
|
+
* Command output body
|
|
2918
|
+
*/
|
|
2919
|
+
body?: string | {
|
|
2767
2920
|
[key: string]: unknown;
|
|
2768
2921
|
} | null;
|
|
2769
2922
|
exitCode: number;
|
|
@@ -2773,8 +2926,8 @@ export type InteractCommandMessageDto = {
|
|
|
2773
2926
|
inProgress?: {
|
|
2774
2927
|
[key: string]: unknown;
|
|
2775
2928
|
} | null;
|
|
2776
|
-
file?:
|
|
2777
|
-
error?:
|
|
2929
|
+
file?: InteractCommandFileResponseDto | null;
|
|
2930
|
+
error?: InteractCommandErrorResponseDto | null;
|
|
2778
2931
|
createdAt: string;
|
|
2779
2932
|
updatedAt: string;
|
|
2780
2933
|
};
|
|
@@ -3082,12 +3235,170 @@ export type GetSectionsByTaskAssignmentsDto = {
|
|
|
3082
3235
|
export type GetInvestigationFlagSummaryByFilterDto = {
|
|
3083
3236
|
[key: string]: unknown;
|
|
3084
3237
|
};
|
|
3238
|
+
export type InvestigationEvidenceCategoryDto = {
|
|
3239
|
+
section: string;
|
|
3240
|
+
sectionLabel: string;
|
|
3241
|
+
};
|
|
3242
|
+
export type InvestigationExtraColumnDto = {
|
|
3243
|
+
name: string;
|
|
3244
|
+
alias: string;
|
|
3245
|
+
label: string;
|
|
3246
|
+
};
|
|
3247
|
+
export type InvestigationColumnStructureDto = {
|
|
3248
|
+
name: string;
|
|
3249
|
+
type: string;
|
|
3250
|
+
optional: boolean;
|
|
3251
|
+
};
|
|
3252
|
+
export type InvestigationFindingsStructureResponseDto = {
|
|
3253
|
+
flaggedByList: Array<string>;
|
|
3254
|
+
tactics: Array<string>;
|
|
3255
|
+
tacticIds: Array<string>;
|
|
3256
|
+
techniques: Array<string>;
|
|
3257
|
+
techniqueIds: Array<string>;
|
|
3258
|
+
evidenceCategories: Array<InvestigationEvidenceCategoryDto>;
|
|
3259
|
+
extraColumns: Array<InvestigationExtraColumnDto>;
|
|
3260
|
+
columnsStructure: Array<InvestigationColumnStructureDto>;
|
|
3261
|
+
};
|
|
3085
3262
|
export type FilterInvestigationFindingsDto = {
|
|
3086
3263
|
[key: string]: unknown;
|
|
3087
3264
|
};
|
|
3265
|
+
export type InvestigationMitreFindingTypeCountDto = {
|
|
3266
|
+
high: number;
|
|
3267
|
+
matched: number;
|
|
3268
|
+
medium: number;
|
|
3269
|
+
low: number;
|
|
3270
|
+
};
|
|
3271
|
+
export type InvestigationMitreMatchDto = {
|
|
3272
|
+
id: string;
|
|
3273
|
+
name: string;
|
|
3274
|
+
url: string;
|
|
3275
|
+
findingType?: {
|
|
3276
|
+
[key: string]: unknown;
|
|
3277
|
+
} | null;
|
|
3278
|
+
count: number;
|
|
3279
|
+
findingTypeCounts: InvestigationMitreFindingTypeCountDto;
|
|
3280
|
+
};
|
|
3281
|
+
export type InvestigationMitreTechniqueDto = {
|
|
3282
|
+
id: string;
|
|
3283
|
+
name: string;
|
|
3284
|
+
url: string;
|
|
3285
|
+
findingType?: {
|
|
3286
|
+
[key: string]: unknown;
|
|
3287
|
+
} | null;
|
|
3288
|
+
count: number;
|
|
3289
|
+
findingTypeCounts: InvestigationMitreFindingTypeCountDto;
|
|
3290
|
+
subTechniques: Array<InvestigationMitreMatchDto>;
|
|
3291
|
+
};
|
|
3292
|
+
export type InvestigationMitreTacticDto = {
|
|
3293
|
+
tacticId: string;
|
|
3294
|
+
name: string;
|
|
3295
|
+
techniques: Array<InvestigationMitreTechniqueDto>;
|
|
3296
|
+
count: number;
|
|
3297
|
+
url: string;
|
|
3298
|
+
findingType?: {
|
|
3299
|
+
[key: string]: unknown;
|
|
3300
|
+
} | null;
|
|
3301
|
+
findingTypeCounts: InvestigationMitreFindingTypeCountDto;
|
|
3302
|
+
};
|
|
3303
|
+
export type InvestigationFindingExclusionItemDto = {
|
|
3304
|
+
id: string;
|
|
3305
|
+
created_by: string;
|
|
3306
|
+
exclusion_type: string;
|
|
3307
|
+
reason?: {
|
|
3308
|
+
[key: string]: unknown;
|
|
3309
|
+
} | null;
|
|
3310
|
+
};
|
|
3311
|
+
export type InvestigationFindingDto = {
|
|
3312
|
+
air_id: number;
|
|
3313
|
+
air_task_assignment_id: string;
|
|
3314
|
+
air_endpoint_id: string;
|
|
3315
|
+
air_task_id: string;
|
|
3316
|
+
air_object_id: number;
|
|
3317
|
+
air_evidence_object_id: number;
|
|
3318
|
+
section: string;
|
|
3319
|
+
section_label: string;
|
|
3320
|
+
platform: string;
|
|
3321
|
+
path: string;
|
|
3322
|
+
dates: {
|
|
3323
|
+
[key: string]: unknown;
|
|
3324
|
+
} | null;
|
|
3325
|
+
date_source?: {
|
|
3326
|
+
[key: string]: unknown;
|
|
3327
|
+
} | null;
|
|
3328
|
+
verdict_score: 'high' | 'medium' | 'low' | 'matched';
|
|
3329
|
+
tactic_ids: Array<string>;
|
|
3330
|
+
technique_ids: Array<string>;
|
|
3331
|
+
tactics: Array<InvestigationMitreTacticDto>;
|
|
3332
|
+
techniques: Array<InvestigationMitreTechniqueDto>;
|
|
3333
|
+
logs_as_array: Array<string>;
|
|
3334
|
+
logs: string;
|
|
3335
|
+
object: {
|
|
3336
|
+
[key: string]: unknown;
|
|
3337
|
+
};
|
|
3338
|
+
exclusions: Array<InvestigationFindingExclusionItemDto>;
|
|
3339
|
+
air_note?: {
|
|
3340
|
+
[key: string]: unknown;
|
|
3341
|
+
} | null;
|
|
3342
|
+
air_flags?: Array<string> | null;
|
|
3343
|
+
air_flag_ids?: Array<number> | null;
|
|
3344
|
+
air_flagged_by?: Array<string> | null;
|
|
3345
|
+
comment_count: number;
|
|
3346
|
+
};
|
|
3347
|
+
export type InvestigationFindingsPageDto = {
|
|
3348
|
+
entities: Array<InvestigationFindingDto>;
|
|
3349
|
+
totalEntityCount: number;
|
|
3350
|
+
currentPage: number;
|
|
3351
|
+
pageSize: number;
|
|
3352
|
+
filters?: Array<{
|
|
3353
|
+
[key: string]: unknown;
|
|
3354
|
+
}> | null;
|
|
3355
|
+
sortables: Array<string>;
|
|
3356
|
+
organizations?: Array<{
|
|
3357
|
+
[key: string]: unknown;
|
|
3358
|
+
}> | null;
|
|
3359
|
+
nextPage: number;
|
|
3360
|
+
previousPage?: {
|
|
3361
|
+
[key: string]: unknown;
|
|
3362
|
+
} | null;
|
|
3363
|
+
totalPageCount: number;
|
|
3364
|
+
};
|
|
3088
3365
|
export type GetInvestigationFindingsSummaryByFilterDto = {
|
|
3089
3366
|
[key: string]: unknown;
|
|
3090
3367
|
};
|
|
3368
|
+
export type InvestigationAssetFindingStatDto = {
|
|
3369
|
+
high: number;
|
|
3370
|
+
medium: number;
|
|
3371
|
+
low: number;
|
|
3372
|
+
matched: number;
|
|
3373
|
+
assetId: string;
|
|
3374
|
+
assetName: string;
|
|
3375
|
+
};
|
|
3376
|
+
export type InvestigationFindingStatsDto = {
|
|
3377
|
+
high: number;
|
|
3378
|
+
medium: number;
|
|
3379
|
+
low: number;
|
|
3380
|
+
matched: number;
|
|
3381
|
+
};
|
|
3382
|
+
export type InvestigationFindingsSummaryBreakdownDto = {
|
|
3383
|
+
drone: InvestigationFindingStatsDto;
|
|
3384
|
+
users: InvestigationFindingStatsDto;
|
|
3385
|
+
};
|
|
3386
|
+
export type InvestigationFlaggedFindingCountItemDto = {
|
|
3387
|
+
id: number;
|
|
3388
|
+
name: string;
|
|
3389
|
+
count: number;
|
|
3390
|
+
};
|
|
3391
|
+
export type InvestigationFlaggedFindingsStatsDto = {
|
|
3392
|
+
high: Array<InvestigationFlaggedFindingCountItemDto>;
|
|
3393
|
+
medium: Array<InvestigationFlaggedFindingCountItemDto>;
|
|
3394
|
+
low: Array<InvestigationFlaggedFindingCountItemDto>;
|
|
3395
|
+
matched: Array<InvestigationFlaggedFindingCountItemDto>;
|
|
3396
|
+
};
|
|
3397
|
+
export type InvestigationFindingsSummaryResponseDto = {
|
|
3398
|
+
assets: Array<InvestigationAssetFindingStatDto>;
|
|
3399
|
+
findings: InvestigationFindingsSummaryBreakdownDto;
|
|
3400
|
+
flaggedFindings: InvestigationFlaggedFindingsStatsDto;
|
|
3401
|
+
};
|
|
3091
3402
|
export type GetInvestigationMitreMatchesByFilterDto = {
|
|
3092
3403
|
[key: string]: unknown;
|
|
3093
3404
|
};
|
|
@@ -3172,6 +3483,35 @@ export type UpdateInvestigationFlagDto = {
|
|
|
3172
3483
|
export type FilterInvestigationActivitiesDto = {
|
|
3173
3484
|
[key: string]: unknown;
|
|
3174
3485
|
};
|
|
3486
|
+
export type InvestigationActivityDto = {
|
|
3487
|
+
id: number;
|
|
3488
|
+
type: string;
|
|
3489
|
+
data: {
|
|
3490
|
+
[key: string]: unknown;
|
|
3491
|
+
};
|
|
3492
|
+
performed_by: string;
|
|
3493
|
+
created_at: string;
|
|
3494
|
+
updated_at: string;
|
|
3495
|
+
unread: boolean;
|
|
3496
|
+
};
|
|
3497
|
+
export type InvestigationActivitiesPageDto = {
|
|
3498
|
+
entities: Array<InvestigationActivityDto>;
|
|
3499
|
+
totalEntityCount: number;
|
|
3500
|
+
currentPage: number;
|
|
3501
|
+
pageSize: number;
|
|
3502
|
+
filters?: Array<{
|
|
3503
|
+
[key: string]: unknown;
|
|
3504
|
+
}> | null;
|
|
3505
|
+
sortables: Array<string>;
|
|
3506
|
+
organizations?: Array<{
|
|
3507
|
+
[key: string]: unknown;
|
|
3508
|
+
}> | null;
|
|
3509
|
+
nextPage: number;
|
|
3510
|
+
previousPage?: {
|
|
3511
|
+
[key: string]: unknown;
|
|
3512
|
+
} | null;
|
|
3513
|
+
totalPageCount: number;
|
|
3514
|
+
};
|
|
3175
3515
|
export type MarkActivitiesAsReadDto = {
|
|
3176
3516
|
[key: string]: unknown;
|
|
3177
3517
|
};
|
|
@@ -3654,9 +3994,6 @@ export type UpdateEndpointConnectionRouteDtoWritable = {
|
|
|
3654
3994
|
export type FilterTagsDtoWritable = {
|
|
3655
3995
|
[key: string]: unknown;
|
|
3656
3996
|
};
|
|
3657
|
-
export type TaskModuleModelsWritable = {
|
|
3658
|
-
[key: string]: unknown;
|
|
3659
|
-
};
|
|
3660
3997
|
export type TaskNameDtoWritable = {
|
|
3661
3998
|
[key: string]: unknown;
|
|
3662
3999
|
};
|
|
@@ -3959,15 +4296,6 @@ export type FilterAutoAssetTagsDtoWritable = {
|
|
|
3959
4296
|
export type UpdateScheduledAutoAssetTaggingTaskDtoWritable = {
|
|
3960
4297
|
[key: string]: unknown;
|
|
3961
4298
|
};
|
|
3962
|
-
export type CaseCategoryEntityWritable = {
|
|
3963
|
-
[key: string]: unknown;
|
|
3964
|
-
};
|
|
3965
|
-
export type CaseTagEntityWritable = {
|
|
3966
|
-
[key: string]: unknown;
|
|
3967
|
-
};
|
|
3968
|
-
export type CaseModuleModelsWritable = {
|
|
3969
|
-
[key: string]: unknown;
|
|
3970
|
-
};
|
|
3971
4299
|
export type UpdateCaseDtoWritable = {
|
|
3972
4300
|
[key: string]: unknown;
|
|
3973
4301
|
};
|
|
@@ -5088,7 +5416,7 @@ export type TasksGetByIdResponses = {
|
|
|
5088
5416
|
/**
|
|
5089
5417
|
* Task retrieved successfully
|
|
5090
5418
|
*/
|
|
5091
|
-
200:
|
|
5419
|
+
200: TaskResponseDto;
|
|
5092
5420
|
};
|
|
5093
5421
|
export type TasksGetByIdResponse = TasksGetByIdResponses[keyof TasksGetByIdResponses];
|
|
5094
5422
|
export type TasksGetManyData = {
|
|
@@ -6297,7 +6625,7 @@ export type AcquisitionGetResponses = {
|
|
|
6297
6625
|
/**
|
|
6298
6626
|
* Acquisition profile retrieved successfully
|
|
6299
6627
|
*/
|
|
6300
|
-
200:
|
|
6628
|
+
200: AcquisitionProfileResponseDto;
|
|
6301
6629
|
};
|
|
6302
6630
|
export type AcquisitionGetResponse = AcquisitionGetResponses[keyof AcquisitionGetResponses];
|
|
6303
6631
|
export type AcquisitionUpdateData = {
|
|
@@ -6333,7 +6661,7 @@ export type AcquisitionAssignEvidenceTaskResponses = {
|
|
|
6333
6661
|
/**
|
|
6334
6662
|
* Evidence acquisition task(s) assigned successfully
|
|
6335
6663
|
*/
|
|
6336
|
-
201: Array<
|
|
6664
|
+
201: Array<AssignedTaskResponseDto>;
|
|
6337
6665
|
};
|
|
6338
6666
|
export type AcquisitionAssignEvidenceTaskResponse = AcquisitionAssignEvidenceTaskResponses[keyof AcquisitionAssignEvidenceTaskResponses];
|
|
6339
6667
|
export type AcquisitionAssignEvidenceTask2Data = {
|
|
@@ -6346,7 +6674,7 @@ export type AcquisitionAssignEvidenceTask2Responses = {
|
|
|
6346
6674
|
/**
|
|
6347
6675
|
* Evidence acquisition task(s) assigned successfully
|
|
6348
6676
|
*/
|
|
6349
|
-
201: Array<
|
|
6677
|
+
201: Array<AssignedTaskResponseDto>;
|
|
6350
6678
|
};
|
|
6351
6679
|
export type AcquisitionAssignEvidenceTask2Response = AcquisitionAssignEvidenceTask2Responses[keyof AcquisitionAssignEvidenceTask2Responses];
|
|
6352
6680
|
export type AcquisitionCreateOffNetworkAcquisitionTaskFileData = {
|
|
@@ -6507,7 +6835,7 @@ export type ValidateTriageRuleResponses = {
|
|
|
6507
6835
|
/**
|
|
6508
6836
|
* The triage rule has been successfully validated.
|
|
6509
6837
|
*/
|
|
6510
|
-
200:
|
|
6838
|
+
200: TriageValidateResponseDto;
|
|
6511
6839
|
};
|
|
6512
6840
|
export type ValidateTriageRuleResponse = ValidateTriageRuleResponses[keyof ValidateTriageRuleResponses];
|
|
6513
6841
|
export type AssignTriageTaskData = {
|
|
@@ -7071,7 +7399,7 @@ export type OrganizationsGetManyResponses = {
|
|
|
7071
7399
|
/**
|
|
7072
7400
|
* Organizations list
|
|
7073
7401
|
*/
|
|
7074
|
-
200:
|
|
7402
|
+
200: OrganizationsPageResponseDto;
|
|
7075
7403
|
};
|
|
7076
7404
|
export type OrganizationsGetManyResponse = OrganizationsGetManyResponses[keyof OrganizationsGetManyResponses];
|
|
7077
7405
|
export type OrganizationCreateData = {
|
|
@@ -7084,7 +7412,7 @@ export type OrganizationCreateResponses = {
|
|
|
7084
7412
|
/**
|
|
7085
7413
|
* Organization created
|
|
7086
7414
|
*/
|
|
7087
|
-
201:
|
|
7415
|
+
201: OrganizationListItemResponseDto;
|
|
7088
7416
|
};
|
|
7089
7417
|
export type OrganizationCreateResponse = OrganizationCreateResponses[keyof OrganizationCreateResponses];
|
|
7090
7418
|
export type OrganizationCheckNameExistsData = {
|
|
@@ -7099,9 +7427,7 @@ export type OrganizationCheckNameExistsResponses = {
|
|
|
7099
7427
|
/**
|
|
7100
7428
|
* Name existence result
|
|
7101
7429
|
*/
|
|
7102
|
-
200:
|
|
7103
|
-
[key: string]: unknown;
|
|
7104
|
-
};
|
|
7430
|
+
200: OrganizationNameExistsResponseDto;
|
|
7105
7431
|
};
|
|
7106
7432
|
export type OrganizationCheckNameExistsResponse = OrganizationCheckNameExistsResponses[keyof OrganizationCheckNameExistsResponses];
|
|
7107
7433
|
export type OrganizationDeleteData = {
|
|
@@ -7136,7 +7462,7 @@ export type OrganizationGetResponses = {
|
|
|
7136
7462
|
/**
|
|
7137
7463
|
* Organization retrieved
|
|
7138
7464
|
*/
|
|
7139
|
-
200:
|
|
7465
|
+
200: OrganizationWithStatisticsResponseDto;
|
|
7140
7466
|
};
|
|
7141
7467
|
export type OrganizationGetResponse = OrganizationGetResponses[keyof OrganizationGetResponses];
|
|
7142
7468
|
export type OrganizationUpdateData = {
|
|
@@ -7154,8 +7480,9 @@ export type OrganizationUpdateResponses = {
|
|
|
7154
7480
|
/**
|
|
7155
7481
|
* Organization updated
|
|
7156
7482
|
*/
|
|
7157
|
-
200:
|
|
7483
|
+
200: OrganizationListItemResponseDto;
|
|
7158
7484
|
};
|
|
7485
|
+
export type OrganizationUpdateResponse = OrganizationUpdateResponses[keyof OrganizationUpdateResponses];
|
|
7159
7486
|
export type OrganizationRemoveUsersData = {
|
|
7160
7487
|
body: RemoveUsersFromOrganizationDto;
|
|
7161
7488
|
path: {
|
|
@@ -7236,9 +7563,7 @@ export type OrganizationGetOrganizationIdByTokenResponses = {
|
|
|
7236
7563
|
/**
|
|
7237
7564
|
* Shareable deployment information
|
|
7238
7565
|
*/
|
|
7239
|
-
200:
|
|
7240
|
-
[key: string]: unknown;
|
|
7241
|
-
};
|
|
7566
|
+
200: ShareableDeploymentInfoResponseDto;
|
|
7242
7567
|
};
|
|
7243
7568
|
export type OrganizationGetOrganizationIdByTokenResponse = OrganizationGetOrganizationIdByTokenResponses[keyof OrganizationGetOrganizationIdByTokenResponses];
|
|
7244
7569
|
export type OrganizationUpdateShareableDeploymentStatusData = {
|
|
@@ -7342,7 +7667,7 @@ export type OrganizationGetUsersResponses = {
|
|
|
7342
7667
|
/**
|
|
7343
7668
|
* Organization users list
|
|
7344
7669
|
*/
|
|
7345
|
-
200:
|
|
7670
|
+
200: OrganizationUsersPageResponseDto;
|
|
7346
7671
|
};
|
|
7347
7672
|
export type OrganizationGetUsersResponse = OrganizationGetUsersResponses[keyof OrganizationGetUsersResponses];
|
|
7348
7673
|
export type AutoAssetTagFilterData = {
|
|
@@ -7463,7 +7788,12 @@ export type CaseExportCasesResponses = {
|
|
|
7463
7788
|
};
|
|
7464
7789
|
export type CaseExportCaseNotesData = {
|
|
7465
7790
|
body?: never;
|
|
7466
|
-
path
|
|
7791
|
+
path: {
|
|
7792
|
+
/**
|
|
7793
|
+
* Case identifier
|
|
7794
|
+
*/
|
|
7795
|
+
id: string;
|
|
7796
|
+
};
|
|
7467
7797
|
query?: never;
|
|
7468
7798
|
url: '/api/public/cases/{id}/notes/export';
|
|
7469
7799
|
};
|
|
@@ -7498,7 +7828,12 @@ export type CaseExportCaseEndpoints1Responses = {
|
|
|
7498
7828
|
};
|
|
7499
7829
|
export type CasesGetData = {
|
|
7500
7830
|
body?: never;
|
|
7501
|
-
path
|
|
7831
|
+
path: {
|
|
7832
|
+
/**
|
|
7833
|
+
* Case identifier
|
|
7834
|
+
*/
|
|
7835
|
+
id: string;
|
|
7836
|
+
};
|
|
7502
7837
|
query?: never;
|
|
7503
7838
|
url: '/api/public/cases/{id}';
|
|
7504
7839
|
};
|
|
@@ -7506,7 +7841,7 @@ export type CasesGetResponses = {
|
|
|
7506
7841
|
/**
|
|
7507
7842
|
* Case retrieved successfully
|
|
7508
7843
|
*/
|
|
7509
|
-
200:
|
|
7844
|
+
200: CaseResponseDto;
|
|
7510
7845
|
};
|
|
7511
7846
|
export type CasesGetResponse = CasesGetResponses[keyof CasesGetResponses];
|
|
7512
7847
|
export type CaseUpdateCaseData = {
|
|
@@ -7561,7 +7896,7 @@ export type CasesCreateResponses = {
|
|
|
7561
7896
|
/**
|
|
7562
7897
|
* Case created successfully
|
|
7563
7898
|
*/
|
|
7564
|
-
201:
|
|
7899
|
+
201: CaseResponseDto;
|
|
7565
7900
|
};
|
|
7566
7901
|
export type CasesCreateResponse = CasesCreateResponses[keyof CasesCreateResponses];
|
|
7567
7902
|
export type CasesCloseData = {
|
|
@@ -7576,7 +7911,7 @@ export type CasesCloseResponses = {
|
|
|
7576
7911
|
/**
|
|
7577
7912
|
* Case closed successfully
|
|
7578
7913
|
*/
|
|
7579
|
-
200:
|
|
7914
|
+
200: CaseResponseDto;
|
|
7580
7915
|
};
|
|
7581
7916
|
export type CasesCloseResponse = CasesCloseResponses[keyof CasesCloseResponses];
|
|
7582
7917
|
export type CaseReopenCaseData = {
|
|
@@ -7591,7 +7926,7 @@ export type CaseReopenCaseResponses = {
|
|
|
7591
7926
|
/**
|
|
7592
7927
|
* Case re-opened successfully
|
|
7593
7928
|
*/
|
|
7594
|
-
200:
|
|
7929
|
+
200: CaseResponseDto;
|
|
7595
7930
|
};
|
|
7596
7931
|
export type CaseReopenCaseResponse = CaseReopenCaseResponses[keyof CaseReopenCaseResponses];
|
|
7597
7932
|
export type CaseArchiveCaseData = {
|
|
@@ -7606,7 +7941,7 @@ export type CaseArchiveCaseResponses = {
|
|
|
7606
7941
|
/**
|
|
7607
7942
|
* Case archived successfully
|
|
7608
7943
|
*/
|
|
7609
|
-
200:
|
|
7944
|
+
200: CaseResponseDto;
|
|
7610
7945
|
};
|
|
7611
7946
|
export type CaseArchiveCaseResponse = CaseArchiveCaseResponses[keyof CaseArchiveCaseResponses];
|
|
7612
7947
|
export type CasesChangeOwnerData = {
|
|
@@ -7621,7 +7956,7 @@ export type CasesChangeOwnerResponses = {
|
|
|
7621
7956
|
/**
|
|
7622
7957
|
* Owner changed successfully
|
|
7623
7958
|
*/
|
|
7624
|
-
200:
|
|
7959
|
+
200: CaseResponseDto;
|
|
7625
7960
|
};
|
|
7626
7961
|
export type CasesChangeOwnerResponse = CasesChangeOwnerResponses[keyof CasesChangeOwnerResponses];
|
|
7627
7962
|
export type CasesGetTasksData = {
|
|
@@ -7851,7 +8186,12 @@ export type CaseEditCaseNoteResponses = {
|
|
|
7851
8186
|
};
|
|
7852
8187
|
export type CaseImportTaskAssignmentData = {
|
|
7853
8188
|
body: ImportTaskAssignmentsToCaseDtoWritable;
|
|
7854
|
-
path
|
|
8189
|
+
path: {
|
|
8190
|
+
/**
|
|
8191
|
+
* Case identifier
|
|
8192
|
+
*/
|
|
8193
|
+
id: string;
|
|
8194
|
+
};
|
|
7855
8195
|
query?: never;
|
|
7856
8196
|
url: '/api/public/cases/{id}/import-task-assignments';
|
|
7857
8197
|
};
|
|
@@ -8138,7 +8478,7 @@ export type InteractSessionGetCommandMessageResponses = {
|
|
|
8138
8478
|
/**
|
|
8139
8479
|
* Command message retrieved successfully
|
|
8140
8480
|
*/
|
|
8141
|
-
200:
|
|
8481
|
+
200: InteractCommandMessageResponseDto;
|
|
8142
8482
|
};
|
|
8143
8483
|
export type InteractSessionGetCommandMessageResponse = InteractSessionGetCommandMessageResponses[keyof InteractSessionGetCommandMessageResponses];
|
|
8144
8484
|
export type InteractLibraryFilterData = {
|
|
@@ -8695,10 +9035,11 @@ export type InvestigationGetSectionDataStructureData = {
|
|
|
8695
9035
|
body?: never;
|
|
8696
9036
|
path: {
|
|
8697
9037
|
investigationId: string;
|
|
8698
|
-
|
|
9038
|
+
platform: string;
|
|
9039
|
+
evidenceCategory: string;
|
|
8699
9040
|
};
|
|
8700
9041
|
query?: never;
|
|
8701
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
9042
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/structure';
|
|
8702
9043
|
};
|
|
8703
9044
|
export type InvestigationGetSectionDataStructureResponses = {
|
|
8704
9045
|
200: unknown;
|
|
@@ -8707,10 +9048,11 @@ export type InvestigationGetSectionDataData = {
|
|
|
8707
9048
|
body: FilterInvestigationSectionDataDtoWritable;
|
|
8708
9049
|
path: {
|
|
8709
9050
|
investigationId: string;
|
|
8710
|
-
|
|
9051
|
+
platform: string;
|
|
9052
|
+
evidenceCategory: string;
|
|
8711
9053
|
};
|
|
8712
9054
|
query?: never;
|
|
8713
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
9055
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}';
|
|
8714
9056
|
};
|
|
8715
9057
|
export type InvestigationGetSectionDataResponses = {
|
|
8716
9058
|
201: unknown;
|
|
@@ -8743,12 +9085,13 @@ export type InvestigationExportSectionDataData = {
|
|
|
8743
9085
|
body?: never;
|
|
8744
9086
|
path: {
|
|
8745
9087
|
investigationId: string;
|
|
8746
|
-
|
|
9088
|
+
platform: string;
|
|
9089
|
+
evidenceCategory: string;
|
|
8747
9090
|
};
|
|
8748
9091
|
query: {
|
|
8749
9092
|
exportId: string;
|
|
8750
9093
|
};
|
|
8751
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
9094
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/export';
|
|
8752
9095
|
};
|
|
8753
9096
|
export type InvestigationExportSectionDataResponses = {
|
|
8754
9097
|
200: unknown;
|
|
@@ -8757,10 +9100,11 @@ export type InvestigationCreateExportRequestForSectionDataData = {
|
|
|
8757
9100
|
body: ExportInvestigationSectionDataDtoWritable;
|
|
8758
9101
|
path: {
|
|
8759
9102
|
investigationId: string;
|
|
8760
|
-
|
|
9103
|
+
platform: string;
|
|
9104
|
+
evidenceCategory: string;
|
|
8761
9105
|
};
|
|
8762
9106
|
query?: never;
|
|
8763
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/
|
|
9107
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/export';
|
|
8764
9108
|
};
|
|
8765
9109
|
export type InvestigationCreateExportRequestForSectionDataResponses = {
|
|
8766
9110
|
201: unknown;
|
|
@@ -8807,8 +9151,12 @@ export type InvestigationGetFindingDataStructureData = {
|
|
|
8807
9151
|
url: '/api/public/investigation-hub/investigations/{investigationId}/findings/structure';
|
|
8808
9152
|
};
|
|
8809
9153
|
export type InvestigationGetFindingDataStructureResponses = {
|
|
8810
|
-
|
|
9154
|
+
/**
|
|
9155
|
+
* Findings structure retrieved successfully
|
|
9156
|
+
*/
|
|
9157
|
+
200: InvestigationFindingsStructureResponseDto;
|
|
8811
9158
|
};
|
|
9159
|
+
export type InvestigationGetFindingDataStructureResponse = InvestigationGetFindingDataStructureResponses[keyof InvestigationGetFindingDataStructureResponses];
|
|
8812
9160
|
export type InvestigationFilterEndpointFindingsData = {
|
|
8813
9161
|
body: FilterInvestigationFindingsDtoWritable;
|
|
8814
9162
|
path: {
|
|
@@ -8818,8 +9166,12 @@ export type InvestigationFilterEndpointFindingsData = {
|
|
|
8818
9166
|
url: '/api/public/investigation-hub/investigations/{investigationId}/findings';
|
|
8819
9167
|
};
|
|
8820
9168
|
export type InvestigationFilterEndpointFindingsResponses = {
|
|
8821
|
-
|
|
9169
|
+
/**
|
|
9170
|
+
* Findings filtered successfully
|
|
9171
|
+
*/
|
|
9172
|
+
200: InvestigationFindingsPageDto;
|
|
8822
9173
|
};
|
|
9174
|
+
export type InvestigationFilterEndpointFindingsResponse = InvestigationFilterEndpointFindingsResponses[keyof InvestigationFilterEndpointFindingsResponses];
|
|
8823
9175
|
export type InvestigationGetFindingsSummaryData = {
|
|
8824
9176
|
body: GetInvestigationFindingsSummaryByFilterDtoWritable;
|
|
8825
9177
|
path: {
|
|
@@ -8829,8 +9181,12 @@ export type InvestigationGetFindingsSummaryData = {
|
|
|
8829
9181
|
url: '/api/public/investigation-hub/investigations/{investigationId}/findings/summary';
|
|
8830
9182
|
};
|
|
8831
9183
|
export type InvestigationGetFindingsSummaryResponses = {
|
|
8832
|
-
|
|
9184
|
+
/**
|
|
9185
|
+
* Findings summary retrieved successfully
|
|
9186
|
+
*/
|
|
9187
|
+
200: InvestigationFindingsSummaryResponseDto;
|
|
8833
9188
|
};
|
|
9189
|
+
export type InvestigationGetFindingsSummaryResponse = InvestigationGetFindingsSummaryResponses[keyof InvestigationGetFindingsSummaryResponses];
|
|
8834
9190
|
export type InvestigationGetMitreMatchesData = {
|
|
8835
9191
|
body: GetInvestigationMitreMatchesByFilterDtoWritable;
|
|
8836
9192
|
path: {
|
|
@@ -8840,8 +9196,12 @@ export type InvestigationGetMitreMatchesData = {
|
|
|
8840
9196
|
url: '/api/public/investigation-hub/investigations/{investigationId}/findings/mitre-matches';
|
|
8841
9197
|
};
|
|
8842
9198
|
export type InvestigationGetMitreMatchesResponses = {
|
|
8843
|
-
|
|
9199
|
+
/**
|
|
9200
|
+
* Findings MITRE matches retrieved successfully
|
|
9201
|
+
*/
|
|
9202
|
+
200: Array<InvestigationMitreTacticDto>;
|
|
8844
9203
|
};
|
|
9204
|
+
export type InvestigationGetMitreMatchesResponse = InvestigationGetMitreMatchesResponses[keyof InvestigationGetMitreMatchesResponses];
|
|
8845
9205
|
export type InvestigationGlobalSearchData = {
|
|
8846
9206
|
body: InvestigationGlobalSearchDtoWritable;
|
|
8847
9207
|
path: {
|
|
@@ -9013,11 +9373,12 @@ export type InvestigationGetInvestigationTaskAssignmentForImportedEvidenceData =
|
|
|
9013
9373
|
body?: never;
|
|
9014
9374
|
path: {
|
|
9015
9375
|
investigationId: string;
|
|
9016
|
-
|
|
9376
|
+
platform: string;
|
|
9377
|
+
evidenceCategory: string;
|
|
9017
9378
|
importId: string;
|
|
9018
9379
|
};
|
|
9019
9380
|
query?: never;
|
|
9020
|
-
url: '/api/public/investigation-hub/investigations/{investigationId}/{
|
|
9381
|
+
url: '/api/public/investigation-hub/investigations/{investigationId}/platform/{platform}/evidence-category/{evidenceCategory}/imports/{importId}/task-assignment';
|
|
9021
9382
|
};
|
|
9022
9383
|
export type InvestigationGetInvestigationTaskAssignmentForImportedEvidenceResponses = {
|
|
9023
9384
|
200: unknown;
|
|
@@ -9348,8 +9709,12 @@ export type InvestigationActivityFilterData = {
|
|
|
9348
9709
|
url: '/api/public/investigation-hub/investigations/{investigationId}/activities';
|
|
9349
9710
|
};
|
|
9350
9711
|
export type InvestigationActivityFilterResponses = {
|
|
9351
|
-
|
|
9712
|
+
/**
|
|
9713
|
+
* Activities retrieved successfully
|
|
9714
|
+
*/
|
|
9715
|
+
200: InvestigationActivitiesPageDto;
|
|
9352
9716
|
};
|
|
9717
|
+
export type InvestigationActivityFilterResponse = InvestigationActivityFilterResponses[keyof InvestigationActivityFilterResponses];
|
|
9353
9718
|
export type InvestigationActivityMarkAsReadData = {
|
|
9354
9719
|
body: MarkActivitiesAsReadDtoWritable;
|
|
9355
9720
|
path: {
|