@binalyze/air-sdk 5.16.2 → 5.17.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.
|
@@ -390,6 +390,16 @@ export type AddTagsToEndpointsByFilterDto = {
|
|
|
390
390
|
*/
|
|
391
391
|
tags: Array<string>;
|
|
392
392
|
};
|
|
393
|
+
export type SetMitreAttackDatabaseVersionDto = {
|
|
394
|
+
/**
|
|
395
|
+
* Filter to select assets to update
|
|
396
|
+
*/
|
|
397
|
+
filter: FilterEndpointDto;
|
|
398
|
+
/**
|
|
399
|
+
* MITRE ATT&CK database version to set as demanded for selected agents
|
|
400
|
+
*/
|
|
401
|
+
version: string;
|
|
402
|
+
};
|
|
393
403
|
export type RemoveTagsFromEndpointsByFilterDto = {
|
|
394
404
|
/**
|
|
395
405
|
* Filter to select assets/endpoints to remove tags from
|
|
@@ -642,6 +652,14 @@ export type FilterTasksDto = {
|
|
|
642
652
|
* Organization IDs to scope results
|
|
643
653
|
*/
|
|
644
654
|
organizationIds: Array<Array<unknown>>;
|
|
655
|
+
/**
|
|
656
|
+
* Filter by task created by
|
|
657
|
+
*/
|
|
658
|
+
createdBy?: string;
|
|
659
|
+
/**
|
|
660
|
+
* Created at date range
|
|
661
|
+
*/
|
|
662
|
+
createdAt?: DateRangeDto;
|
|
645
663
|
};
|
|
646
664
|
export type TaskNameDto = {
|
|
647
665
|
[key: string]: unknown;
|
|
@@ -675,6 +693,14 @@ export type DeleteTasksByFilterDto = {
|
|
|
675
693
|
* Organization IDs to scope results
|
|
676
694
|
*/
|
|
677
695
|
organizationIds: Array<Array<unknown>>;
|
|
696
|
+
/**
|
|
697
|
+
* Filter by task created by
|
|
698
|
+
*/
|
|
699
|
+
createdBy?: string;
|
|
700
|
+
/**
|
|
701
|
+
* Created at date range
|
|
702
|
+
*/
|
|
703
|
+
createdAt?: DateRangeDto;
|
|
678
704
|
};
|
|
679
705
|
export type CancelTasksByFilterDto = {
|
|
680
706
|
[key: string]: unknown;
|
|
@@ -752,7 +778,7 @@ export type FilterEndpointTasksDto = {
|
|
|
752
778
|
/**
|
|
753
779
|
* Task type list
|
|
754
780
|
*/
|
|
755
|
-
type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-update' | 'offline-acquisition' | 'offline-triage' | 'migration' | 'interact-shell' | 'baseline-comparison' | 'baseline-acquisition' | 'agent-deployment' | 'acquire-image' | 'purge-local-data' | 'retry-upload' | 'calculate-hash' | 'drone-analysis' | 'full-text-search' | 'cloud-acquisition' | 'image-evidence-acquisition' | 'portable-disk-image'>;
|
|
781
|
+
type?: Array<'triage' | 'acquisition' | 'shutdown' | 'reboot' | 'uninstall' | 'isolation' | 'cancel' | 'investigation' | 'log-retrieval' | 'auto-tagging' | 'version-update' | 'mitre-attack-database-update' | 'offline-acquisition' | 'offline-triage' | 'migration' | 'interact-shell' | 'baseline-comparison' | 'baseline-acquisition' | 'agent-deployment' | 'acquire-image' | 'purge-local-data' | 'retry-upload' | 'calculate-hash' | 'drone-analysis' | 'full-text-search' | 'cloud-acquisition' | 'image-evidence-acquisition' | 'portable-disk-image'>;
|
|
756
782
|
/**
|
|
757
783
|
* Task status list
|
|
758
784
|
*/
|
|
@@ -1042,6 +1068,26 @@ export type MitreAttackVersionItemDto = {
|
|
|
1042
1068
|
*/
|
|
1043
1069
|
metadataPath: string;
|
|
1044
1070
|
};
|
|
1071
|
+
export type MitreAttackReleaseNotesSectionDto = {
|
|
1072
|
+
/**
|
|
1073
|
+
* Section name (e.g., Dynamo Analyzer, Sigma)
|
|
1074
|
+
*/
|
|
1075
|
+
section: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* List of changes in this section
|
|
1078
|
+
*/
|
|
1079
|
+
items: Array<string>;
|
|
1080
|
+
};
|
|
1081
|
+
export type MitreAttackReleaseNotesResponseDto = {
|
|
1082
|
+
/**
|
|
1083
|
+
* ISO 8601 timestamp indicating when this version was released
|
|
1084
|
+
*/
|
|
1085
|
+
releasedAt: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Release notes sections
|
|
1088
|
+
*/
|
|
1089
|
+
sections: Array<MitreAttackReleaseNotesSectionDto>;
|
|
1090
|
+
};
|
|
1045
1091
|
export type MandatoryCaseSelectionDto = {
|
|
1046
1092
|
[key: string]: unknown;
|
|
1047
1093
|
};
|
|
@@ -1137,6 +1183,10 @@ export type UserDto = {
|
|
|
1137
1183
|
* Last login time
|
|
1138
1184
|
*/
|
|
1139
1185
|
lastLogin: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Last seen time (updated by browser heartbeat)
|
|
1188
|
+
*/
|
|
1189
|
+
lastSeen: string | null;
|
|
1140
1190
|
/**
|
|
1141
1191
|
* Online status
|
|
1142
1192
|
*/
|
|
@@ -3871,6 +3921,10 @@ export type FilterApiTokenRequestDto = {
|
|
|
3871
3921
|
* The search term to filter the API tokens
|
|
3872
3922
|
*/
|
|
3873
3923
|
searchTerm?: string;
|
|
3924
|
+
/**
|
|
3925
|
+
* The type of the API tokens to filter
|
|
3926
|
+
*/
|
|
3927
|
+
type?: 'USER' | 'SYSTEM';
|
|
3874
3928
|
};
|
|
3875
3929
|
export type ApiTokenResponseDto = {
|
|
3876
3930
|
/**
|
|
@@ -3878,9 +3932,21 @@ export type ApiTokenResponseDto = {
|
|
|
3878
3932
|
*/
|
|
3879
3933
|
_id: string;
|
|
3880
3934
|
/**
|
|
3881
|
-
* The username of the
|
|
3935
|
+
* The username of the associated user (null for SYSTEM tokens)
|
|
3882
3936
|
*/
|
|
3883
|
-
username
|
|
3937
|
+
username?: string | null;
|
|
3938
|
+
/**
|
|
3939
|
+
* Who created the API token (audit field)
|
|
3940
|
+
*/
|
|
3941
|
+
createdBy: string;
|
|
3942
|
+
/**
|
|
3943
|
+
* The type of the API token
|
|
3944
|
+
*/
|
|
3945
|
+
type: 'USER' | 'SYSTEM';
|
|
3946
|
+
/**
|
|
3947
|
+
* Organization IDs the API token is scoped to (empty array means ALL)
|
|
3948
|
+
*/
|
|
3949
|
+
organizationIds: Array<number>;
|
|
3884
3950
|
/**
|
|
3885
3951
|
* The name of the API token
|
|
3886
3952
|
*/
|
|
@@ -3935,6 +4001,10 @@ export type CreateApiTokenRequestDto = {
|
|
|
3935
4001
|
* The role tag of the API token
|
|
3936
4002
|
*/
|
|
3937
4003
|
roleTag?: string;
|
|
4004
|
+
/**
|
|
4005
|
+
* Organization IDs the API token is scoped to (empty array or omit for ALL)
|
|
4006
|
+
*/
|
|
4007
|
+
organizationIds?: Array<number>;
|
|
3938
4008
|
};
|
|
3939
4009
|
export type UpdateApiTokenRequestDto = {
|
|
3940
4010
|
/**
|
|
@@ -3953,6 +4023,10 @@ export type UpdateApiTokenRequestDto = {
|
|
|
3953
4023
|
* The role tag of the API token
|
|
3954
4024
|
*/
|
|
3955
4025
|
roleTag?: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* Organization IDs the API token is scoped to (empty array or omit for ALL)
|
|
4028
|
+
*/
|
|
4029
|
+
organizationIds?: Array<number>;
|
|
3956
4030
|
};
|
|
3957
4031
|
export type BulkDeleteApiTokensRequestDto = {
|
|
3958
4032
|
/**
|
|
@@ -3960,6 +4034,12 @@ export type BulkDeleteApiTokensRequestDto = {
|
|
|
3960
4034
|
*/
|
|
3961
4035
|
ids: Array<string>;
|
|
3962
4036
|
};
|
|
4037
|
+
export type FilterSystemApiTokensRequestDto = {
|
|
4038
|
+
/**
|
|
4039
|
+
* The search term to filter the system API tokens
|
|
4040
|
+
*/
|
|
4041
|
+
searchTerm?: string;
|
|
4042
|
+
};
|
|
3963
4043
|
export type FilterCloudAccountsRequestDto = {
|
|
3964
4044
|
[key: string]: unknown;
|
|
3965
4045
|
};
|
|
@@ -5215,6 +5295,10 @@ export type UserDtoWritable = {
|
|
|
5215
5295
|
* Last login time
|
|
5216
5296
|
*/
|
|
5217
5297
|
lastLogin: string;
|
|
5298
|
+
/**
|
|
5299
|
+
* Last seen time (updated by browser heartbeat)
|
|
5300
|
+
*/
|
|
5301
|
+
lastSeen: string | null;
|
|
5218
5302
|
/**
|
|
5219
5303
|
* Online status
|
|
5220
5304
|
*/
|
|
@@ -6123,6 +6207,30 @@ export type AssetsAddTags2Responses = {
|
|
|
6123
6207
|
*/
|
|
6124
6208
|
201: unknown;
|
|
6125
6209
|
};
|
|
6210
|
+
export type AssetsSetMitreAttackDatabaseVersionData = {
|
|
6211
|
+
body: SetMitreAttackDatabaseVersionDto;
|
|
6212
|
+
path?: never;
|
|
6213
|
+
query?: never;
|
|
6214
|
+
url: '/api/public/endpoints/mitre-attack-database/version';
|
|
6215
|
+
};
|
|
6216
|
+
export type AssetsSetMitreAttackDatabaseVersionResponses = {
|
|
6217
|
+
/**
|
|
6218
|
+
* MITRE ATT&CK database version update applied
|
|
6219
|
+
*/
|
|
6220
|
+
201: unknown;
|
|
6221
|
+
};
|
|
6222
|
+
export type AssetsSetMitreAttackDatabaseVersion2Data = {
|
|
6223
|
+
body: SetMitreAttackDatabaseVersionDto;
|
|
6224
|
+
path?: never;
|
|
6225
|
+
query?: never;
|
|
6226
|
+
url: '/api/public/assets/mitre-attack-database/version';
|
|
6227
|
+
};
|
|
6228
|
+
export type AssetsSetMitreAttackDatabaseVersion2Responses = {
|
|
6229
|
+
/**
|
|
6230
|
+
* MITRE ATT&CK database version update applied
|
|
6231
|
+
*/
|
|
6232
|
+
201: unknown;
|
|
6233
|
+
};
|
|
6126
6234
|
export type EndpointFilterDisksData = {
|
|
6127
6235
|
body?: never;
|
|
6128
6236
|
path?: never;
|
|
@@ -7469,6 +7577,18 @@ export type SettingsGetMitreAttackDatabaseVersionsResponses = {
|
|
|
7469
7577
|
200: Array<MitreAttackVersionItemDto>;
|
|
7470
7578
|
};
|
|
7471
7579
|
export type SettingsGetMitreAttackDatabaseVersionsResponse = SettingsGetMitreAttackDatabaseVersionsResponses[keyof SettingsGetMitreAttackDatabaseVersionsResponses];
|
|
7580
|
+
export type SettingsGetMitreAttackDatabaseReleaseNotesData = {
|
|
7581
|
+
body?: never;
|
|
7582
|
+
path: {
|
|
7583
|
+
version: string;
|
|
7584
|
+
};
|
|
7585
|
+
query?: never;
|
|
7586
|
+
url: '/api/public/settings/mitre-attack-database/release-notes/{version}';
|
|
7587
|
+
};
|
|
7588
|
+
export type SettingsGetMitreAttackDatabaseReleaseNotesResponses = {
|
|
7589
|
+
200: MitreAttackReleaseNotesResponseDto;
|
|
7590
|
+
};
|
|
7591
|
+
export type SettingsGetMitreAttackDatabaseReleaseNotesResponse = SettingsGetMitreAttackDatabaseReleaseNotesResponses[keyof SettingsGetMitreAttackDatabaseReleaseNotesResponses];
|
|
7472
7592
|
export type SettingsSaveMandatoryCaseSelectionData = {
|
|
7473
7593
|
body: MandatoryCaseSelectionDtoWritable;
|
|
7474
7594
|
path?: never;
|
|
@@ -10635,6 +10755,94 @@ export type ApiTokensBulkDeleteResponses = {
|
|
|
10635
10755
|
*/
|
|
10636
10756
|
200: unknown;
|
|
10637
10757
|
};
|
|
10758
|
+
export type SystemApiTokensGetManyData = {
|
|
10759
|
+
body?: never;
|
|
10760
|
+
path?: never;
|
|
10761
|
+
query: {
|
|
10762
|
+
/**
|
|
10763
|
+
* Number of items per page
|
|
10764
|
+
*/
|
|
10765
|
+
pageSize?: number;
|
|
10766
|
+
/**
|
|
10767
|
+
* Page number to retrieve
|
|
10768
|
+
*/
|
|
10769
|
+
pageNumber?: number;
|
|
10770
|
+
/**
|
|
10771
|
+
* Sort direction
|
|
10772
|
+
*/
|
|
10773
|
+
sortType?: 'ASC' | 'DESC';
|
|
10774
|
+
/**
|
|
10775
|
+
* Field name to sort by
|
|
10776
|
+
*/
|
|
10777
|
+
sortBy?: string;
|
|
10778
|
+
filter: FilterSystemApiTokensRequestDto;
|
|
10779
|
+
};
|
|
10780
|
+
url: '/api/public/system-tokens';
|
|
10781
|
+
};
|
|
10782
|
+
export type SystemApiTokensGetManyResponses = {
|
|
10783
|
+
/**
|
|
10784
|
+
* The records have been successfully retrieved.
|
|
10785
|
+
*/
|
|
10786
|
+
200: PagingQueryResultDto;
|
|
10787
|
+
};
|
|
10788
|
+
export type SystemApiTokensGetManyResponse = SystemApiTokensGetManyResponses[keyof SystemApiTokensGetManyResponses];
|
|
10789
|
+
export type SystemApiTokensCreateData = {
|
|
10790
|
+
body: CreateApiTokenRequestDto;
|
|
10791
|
+
path?: never;
|
|
10792
|
+
query?: never;
|
|
10793
|
+
url: '/api/public/system-tokens';
|
|
10794
|
+
};
|
|
10795
|
+
export type SystemApiTokensCreateResponses = {
|
|
10796
|
+
/**
|
|
10797
|
+
* The record has been successfully created.
|
|
10798
|
+
*/
|
|
10799
|
+
200: ApiTokenResponseDto;
|
|
10800
|
+
};
|
|
10801
|
+
export type SystemApiTokensCreateResponse = SystemApiTokensCreateResponses[keyof SystemApiTokensCreateResponses];
|
|
10802
|
+
export type SystemApiTokensDeleteData = {
|
|
10803
|
+
body?: never;
|
|
10804
|
+
path: {
|
|
10805
|
+
id: string;
|
|
10806
|
+
};
|
|
10807
|
+
query?: never;
|
|
10808
|
+
url: '/api/public/system-tokens/{id}';
|
|
10809
|
+
};
|
|
10810
|
+
export type SystemApiTokensDeleteResponses = {
|
|
10811
|
+
/**
|
|
10812
|
+
* The record has been successfully deleted.
|
|
10813
|
+
*/
|
|
10814
|
+
200: unknown;
|
|
10815
|
+
};
|
|
10816
|
+
export type SystemApiTokensGetOneData = {
|
|
10817
|
+
body?: never;
|
|
10818
|
+
path: {
|
|
10819
|
+
id: string;
|
|
10820
|
+
};
|
|
10821
|
+
query?: never;
|
|
10822
|
+
url: '/api/public/system-tokens/{id}';
|
|
10823
|
+
};
|
|
10824
|
+
export type SystemApiTokensGetOneResponses = {
|
|
10825
|
+
/**
|
|
10826
|
+
* The record has been successfully retrieved.
|
|
10827
|
+
*/
|
|
10828
|
+
200: ApiTokenResponseDto;
|
|
10829
|
+
};
|
|
10830
|
+
export type SystemApiTokensGetOneResponse = SystemApiTokensGetOneResponses[keyof SystemApiTokensGetOneResponses];
|
|
10831
|
+
export type SystemApiTokensUpdateData = {
|
|
10832
|
+
body: UpdateApiTokenRequestDto;
|
|
10833
|
+
path: {
|
|
10834
|
+
id: string;
|
|
10835
|
+
};
|
|
10836
|
+
query?: never;
|
|
10837
|
+
url: '/api/public/system-tokens/{id}';
|
|
10838
|
+
};
|
|
10839
|
+
export type SystemApiTokensUpdateResponses = {
|
|
10840
|
+
/**
|
|
10841
|
+
* The record has been successfully updated.
|
|
10842
|
+
*/
|
|
10843
|
+
200: ApiTokenResponseDto;
|
|
10844
|
+
};
|
|
10845
|
+
export type SystemApiTokensUpdateResponse = SystemApiTokensUpdateResponses[keyof SystemApiTokensUpdateResponses];
|
|
10638
10846
|
export type CloudAccountsFilterData = {
|
|
10639
10847
|
body?: never;
|
|
10640
10848
|
path?: never;
|