@aws-sdk/client-detective 3.451.0 → 3.458.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -24
- package/dist-cjs/Detective.js +10 -0
- package/dist-cjs/commands/GetInvestigationCommand.js +51 -0
- package/dist-cjs/commands/ListIndicatorsCommand.js +51 -0
- package/dist-cjs/commands/ListInvestigationsCommand.js +51 -0
- package/dist-cjs/commands/StartInvestigationCommand.js +51 -0
- package/dist-cjs/commands/UpdateInvestigationStateCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +43 -1
- package/dist-cjs/protocols/Aws_restJson1.js +394 -1
- package/dist-es/Detective.js +10 -0
- package/dist-es/commands/GetInvestigationCommand.js +47 -0
- package/dist-es/commands/ListIndicatorsCommand.js +47 -0
- package/dist-es/commands/ListInvestigationsCommand.js +47 -0
- package/dist-es/commands/StartInvestigationCommand.js +47 -0
- package/dist-es/commands/UpdateInvestigationStateCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/protocols/Aws_restJson1.js +382 -0
- package/dist-types/Detective.d.ts +35 -0
- package/dist-types/DetectiveClient.d.ts +7 -2
- package/dist-types/commands/CreateMembersCommand.d.ts +2 -2
- package/dist-types/commands/GetInvestigationCommand.d.ts +100 -0
- package/dist-types/commands/ListIndicatorsCommand.d.ts +144 -0
- package/dist-types/commands/ListInvestigationsCommand.d.ts +125 -0
- package/dist-types/commands/StartInvestigationCommand.d.ts +93 -0
- package/dist-types/commands/UpdateInvestigationStateCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +687 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Detective.d.ts +85 -0
- package/dist-types/ts3.4/DetectiveClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIndicatorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartInvestigationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateInvestigationStateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +186 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +3 -3
|
@@ -748,6 +748,128 @@ export interface EnableOrganizationAdminAccountRequest {
|
|
|
748
748
|
*/
|
|
749
749
|
AccountId: string | undefined;
|
|
750
750
|
}
|
|
751
|
+
/**
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
export interface GetInvestigationRequest {
|
|
755
|
+
/**
|
|
756
|
+
* @public
|
|
757
|
+
* <p>The ARN of the behavior graph.</p>
|
|
758
|
+
*/
|
|
759
|
+
GraphArn: string | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* @public
|
|
762
|
+
* <p>The investigation ID of the investigation report.</p>
|
|
763
|
+
*/
|
|
764
|
+
InvestigationId: string | undefined;
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* @public
|
|
768
|
+
* @enum
|
|
769
|
+
*/
|
|
770
|
+
export declare const EntityType: {
|
|
771
|
+
readonly IAM_ROLE: "IAM_ROLE";
|
|
772
|
+
readonly IAM_USER: "IAM_USER";
|
|
773
|
+
};
|
|
774
|
+
/**
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
778
|
+
/**
|
|
779
|
+
* @public
|
|
780
|
+
* @enum
|
|
781
|
+
*/
|
|
782
|
+
export declare const Severity: {
|
|
783
|
+
readonly CRITICAL: "CRITICAL";
|
|
784
|
+
readonly HIGH: "HIGH";
|
|
785
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
786
|
+
readonly LOW: "LOW";
|
|
787
|
+
readonly MEDIUM: "MEDIUM";
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
793
|
+
/**
|
|
794
|
+
* @public
|
|
795
|
+
* @enum
|
|
796
|
+
*/
|
|
797
|
+
export declare const State: {
|
|
798
|
+
readonly ACTIVE: "ACTIVE";
|
|
799
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* @public
|
|
803
|
+
*/
|
|
804
|
+
export type State = (typeof State)[keyof typeof State];
|
|
805
|
+
/**
|
|
806
|
+
* @public
|
|
807
|
+
* @enum
|
|
808
|
+
*/
|
|
809
|
+
export declare const Status: {
|
|
810
|
+
readonly FAILED: "FAILED";
|
|
811
|
+
readonly RUNNING: "RUNNING";
|
|
812
|
+
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
818
|
+
/**
|
|
819
|
+
* @public
|
|
820
|
+
*/
|
|
821
|
+
export interface GetInvestigationResponse {
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
* <p>The ARN of the behavior graph.</p>
|
|
825
|
+
*/
|
|
826
|
+
GraphArn?: string;
|
|
827
|
+
/**
|
|
828
|
+
* @public
|
|
829
|
+
* <p>The investigation ID of the investigation report.</p>
|
|
830
|
+
*/
|
|
831
|
+
InvestigationId?: string;
|
|
832
|
+
/**
|
|
833
|
+
* @public
|
|
834
|
+
* <p>The unique Amazon Resource Name (ARN) of the IAM user and IAM role.</p>
|
|
835
|
+
*/
|
|
836
|
+
EntityArn?: string;
|
|
837
|
+
/**
|
|
838
|
+
* @public
|
|
839
|
+
* <p>Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.</p>
|
|
840
|
+
*/
|
|
841
|
+
EntityType?: EntityType;
|
|
842
|
+
/**
|
|
843
|
+
* @public
|
|
844
|
+
* <p>The UTC time stamp of the creation time of the investigation report.</p>
|
|
845
|
+
*/
|
|
846
|
+
CreatedTime?: Date;
|
|
847
|
+
/**
|
|
848
|
+
* @public
|
|
849
|
+
* <p>The start date and time for the scope time set to generate the investigation report.</p>
|
|
850
|
+
*/
|
|
851
|
+
ScopeStartTime?: Date;
|
|
852
|
+
/**
|
|
853
|
+
* @public
|
|
854
|
+
* <p>The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.</p>
|
|
855
|
+
*/
|
|
856
|
+
ScopeEndTime?: Date;
|
|
857
|
+
/**
|
|
858
|
+
* @public
|
|
859
|
+
* <p>Status based on the completion status of the investigation.</p>
|
|
860
|
+
*/
|
|
861
|
+
Status?: Status;
|
|
862
|
+
/**
|
|
863
|
+
* @public
|
|
864
|
+
* <p>Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.</p>
|
|
865
|
+
*/
|
|
866
|
+
Severity?: Severity;
|
|
867
|
+
/**
|
|
868
|
+
* @public
|
|
869
|
+
* <p>The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.</p>
|
|
870
|
+
*/
|
|
871
|
+
State?: State;
|
|
872
|
+
}
|
|
751
873
|
/**
|
|
752
874
|
* @public
|
|
753
875
|
*/
|
|
@@ -891,6 +1013,515 @@ export interface ListGraphsResponse {
|
|
|
891
1013
|
*/
|
|
892
1014
|
NextToken?: string;
|
|
893
1015
|
}
|
|
1016
|
+
/**
|
|
1017
|
+
* @public
|
|
1018
|
+
* @enum
|
|
1019
|
+
*/
|
|
1020
|
+
export declare const IndicatorType: {
|
|
1021
|
+
readonly FLAGGED_IP_ADDRESS: "FLAGGED_IP_ADDRESS";
|
|
1022
|
+
readonly IMPOSSIBLE_TRAVEL: "IMPOSSIBLE_TRAVEL";
|
|
1023
|
+
readonly NEW_ASO: "NEW_ASO";
|
|
1024
|
+
readonly NEW_GEOLOCATION: "NEW_GEOLOCATION";
|
|
1025
|
+
readonly NEW_USER_AGENT: "NEW_USER_AGENT";
|
|
1026
|
+
readonly RELATED_FINDING: "RELATED_FINDING";
|
|
1027
|
+
readonly RELATED_FINDING_GROUP: "RELATED_FINDING_GROUP";
|
|
1028
|
+
readonly TTP_OBSERVED: "TTP_OBSERVED";
|
|
1029
|
+
};
|
|
1030
|
+
/**
|
|
1031
|
+
* @public
|
|
1032
|
+
*/
|
|
1033
|
+
export type IndicatorType = (typeof IndicatorType)[keyof typeof IndicatorType];
|
|
1034
|
+
/**
|
|
1035
|
+
* @public
|
|
1036
|
+
*/
|
|
1037
|
+
export interface ListIndicatorsRequest {
|
|
1038
|
+
/**
|
|
1039
|
+
* @public
|
|
1040
|
+
* <p>The ARN of the behavior graph.</p>
|
|
1041
|
+
*/
|
|
1042
|
+
GraphArn: string | undefined;
|
|
1043
|
+
/**
|
|
1044
|
+
* @public
|
|
1045
|
+
* <p>The investigation ID of the investigation report.</p>
|
|
1046
|
+
*/
|
|
1047
|
+
InvestigationId: string | undefined;
|
|
1048
|
+
/**
|
|
1049
|
+
* @public
|
|
1050
|
+
* <p>See <a href="https://docs.aws.amazon.com/detective/latest/userguide/detective-investigations.html">Detective investigations.</a>.</p>
|
|
1051
|
+
*/
|
|
1052
|
+
IndicatorType?: IndicatorType;
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
* <p>List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.</p>
|
|
1056
|
+
* <p>Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.</p>
|
|
1057
|
+
*/
|
|
1058
|
+
NextToken?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* @public
|
|
1061
|
+
* <p>List the maximum number of indicators in a page.</p>
|
|
1062
|
+
*/
|
|
1063
|
+
MaxResults?: number;
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* @public
|
|
1067
|
+
* @enum
|
|
1068
|
+
*/
|
|
1069
|
+
export declare const Reason: {
|
|
1070
|
+
readonly AWS_THREAT_INTELLIGENCE: "AWS_THREAT_INTELLIGENCE";
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* @public
|
|
1074
|
+
*/
|
|
1075
|
+
export type Reason = (typeof Reason)[keyof typeof Reason];
|
|
1076
|
+
/**
|
|
1077
|
+
* @public
|
|
1078
|
+
* <p>Contains information on suspicious IP addresses identified as indicators of compromise. This indicator is derived from Amazon Web Services threat intelligence.</p>
|
|
1079
|
+
*/
|
|
1080
|
+
export interface FlaggedIpAddressDetail {
|
|
1081
|
+
/**
|
|
1082
|
+
* @public
|
|
1083
|
+
* <p>IP address of the suspicious entity.</p>
|
|
1084
|
+
*/
|
|
1085
|
+
IpAddress?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* @public
|
|
1088
|
+
* <p>Details the reason the IP address was flagged as suspicious.</p>
|
|
1089
|
+
*/
|
|
1090
|
+
Reason?: Reason;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* @public
|
|
1094
|
+
* <p>Contains information on unusual and impossible travel in an account.</p>
|
|
1095
|
+
*/
|
|
1096
|
+
export interface ImpossibleTravelDetail {
|
|
1097
|
+
/**
|
|
1098
|
+
* @public
|
|
1099
|
+
* <p>IP address where the resource was first used in the impossible travel</p>
|
|
1100
|
+
*/
|
|
1101
|
+
StartingIpAddress?: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* @public
|
|
1104
|
+
* <p>IP address where the resource was last used in the impossible travel.</p>
|
|
1105
|
+
*/
|
|
1106
|
+
EndingIpAddress?: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* @public
|
|
1109
|
+
* <p>Location where the resource was first used in the impossible travel</p>
|
|
1110
|
+
*/
|
|
1111
|
+
StartingLocation?: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* @public
|
|
1114
|
+
* <p>Location where the resource was last used in the impossible travel.</p>
|
|
1115
|
+
*/
|
|
1116
|
+
EndingLocation?: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* @public
|
|
1119
|
+
* <p>Returns the time difference between the first and last timestamp the resource was used.</p>
|
|
1120
|
+
*/
|
|
1121
|
+
HourlyTimeDelta?: number;
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* @public
|
|
1125
|
+
* <p>Details new Autonomous System Organizations (ASOs) used either at the resource or account level. </p>
|
|
1126
|
+
*/
|
|
1127
|
+
export interface NewAsoDetail {
|
|
1128
|
+
/**
|
|
1129
|
+
* @public
|
|
1130
|
+
* <p>Details about the new Autonomous System Organization (ASO).</p>
|
|
1131
|
+
*/
|
|
1132
|
+
Aso?: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* @public
|
|
1135
|
+
* <p>Checks if the ASO is for new for the entire account.</p>
|
|
1136
|
+
*/
|
|
1137
|
+
IsNewForEntireAccount?: boolean;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* @public
|
|
1141
|
+
* <p>Details new geolocations used either at the resource or account level. For example, lists an observed geolocation that is an infrequent or unused location based on previous user activity.</p>
|
|
1142
|
+
*/
|
|
1143
|
+
export interface NewGeolocationDetail {
|
|
1144
|
+
/**
|
|
1145
|
+
* @public
|
|
1146
|
+
* <p>Location where the resource was accessed.</p>
|
|
1147
|
+
*/
|
|
1148
|
+
Location?: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* @public
|
|
1151
|
+
* <p>IP address using which the resource was accessed.</p>
|
|
1152
|
+
*/
|
|
1153
|
+
IpAddress?: string;
|
|
1154
|
+
/**
|
|
1155
|
+
* @public
|
|
1156
|
+
* <p>Checks if the gelocation is new for the entire account.</p>
|
|
1157
|
+
*/
|
|
1158
|
+
IsNewForEntireAccount?: boolean;
|
|
1159
|
+
}
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
* <p>Details new user agents used either at the resource or account level.</p>
|
|
1163
|
+
*/
|
|
1164
|
+
export interface NewUserAgentDetail {
|
|
1165
|
+
/**
|
|
1166
|
+
* @public
|
|
1167
|
+
* <p>New user agent which accessed the resource.</p>
|
|
1168
|
+
*/
|
|
1169
|
+
UserAgent?: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* @public
|
|
1172
|
+
* <p>Checks if the user agent is new for the entire account.</p>
|
|
1173
|
+
*/
|
|
1174
|
+
IsNewForEntireAccount?: boolean;
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* @public
|
|
1178
|
+
* <p>Details related activities associated with a potential security event. Lists all distinct categories of evidence that are connected to the resource or the finding group.</p>
|
|
1179
|
+
*/
|
|
1180
|
+
export interface RelatedFindingDetail {
|
|
1181
|
+
/**
|
|
1182
|
+
* @public
|
|
1183
|
+
* <p>The ARN of the related finding.</p>
|
|
1184
|
+
*/
|
|
1185
|
+
Arn?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* @public
|
|
1188
|
+
* <p>The type of finding.</p>
|
|
1189
|
+
*/
|
|
1190
|
+
Type?: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* @public
|
|
1193
|
+
* <p>The IP address of the finding.</p>
|
|
1194
|
+
*/
|
|
1195
|
+
IpAddress?: string;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* @public
|
|
1199
|
+
* <p>Details multiple activities as they related to a potential security event. Detective uses graph analysis technique that infers relationships between findings and entities, and groups them together as a finding group.</p>
|
|
1200
|
+
*/
|
|
1201
|
+
export interface RelatedFindingGroupDetail {
|
|
1202
|
+
/**
|
|
1203
|
+
* @public
|
|
1204
|
+
* <p>The unique identifier for the finding group.</p>
|
|
1205
|
+
*/
|
|
1206
|
+
Id?: string;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* @public
|
|
1210
|
+
* <p>Details tactics, techniques, and procedures (TTPs) used in a potential security event. Tactics are based on <a href="https://attack.mitre.org/matrices/enterprise/">MITRE ATT&CK Matrix for
|
|
1211
|
+
* Enterprise</a>. </p>
|
|
1212
|
+
*/
|
|
1213
|
+
export interface TTPsObservedDetail {
|
|
1214
|
+
/**
|
|
1215
|
+
* @public
|
|
1216
|
+
* <p>The tactic used, identified by the investigation.</p>
|
|
1217
|
+
*/
|
|
1218
|
+
Tactic?: string;
|
|
1219
|
+
/**
|
|
1220
|
+
* @public
|
|
1221
|
+
* <p>The technique used, identified by the investigation. </p>
|
|
1222
|
+
*/
|
|
1223
|
+
Technique?: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* @public
|
|
1226
|
+
* <p>The procedure used, identified by the investigation.</p>
|
|
1227
|
+
*/
|
|
1228
|
+
Procedure?: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* @public
|
|
1231
|
+
* <p>The IP address where the TTP was observed.</p>
|
|
1232
|
+
*/
|
|
1233
|
+
IpAddress?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* @public
|
|
1236
|
+
* <p>The name of the API where the TTP was observed.</p>
|
|
1237
|
+
*/
|
|
1238
|
+
APIName?: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* @public
|
|
1241
|
+
* <p>The total number of successful API requests.</p>
|
|
1242
|
+
*/
|
|
1243
|
+
APISuccessCount?: number;
|
|
1244
|
+
/**
|
|
1245
|
+
* @public
|
|
1246
|
+
* <p>The total number of failed API requests.</p>
|
|
1247
|
+
*/
|
|
1248
|
+
APIFailureCount?: number;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* @public
|
|
1252
|
+
* <p>Details about the indicators of compromise which are used to determine if a resource is involved in a security incident. </p>
|
|
1253
|
+
*/
|
|
1254
|
+
export interface IndicatorDetail {
|
|
1255
|
+
/**
|
|
1256
|
+
* @public
|
|
1257
|
+
* <p>Details about the indicator of compromise.</p>
|
|
1258
|
+
*/
|
|
1259
|
+
TTPsObservedDetail?: TTPsObservedDetail;
|
|
1260
|
+
/**
|
|
1261
|
+
* @public
|
|
1262
|
+
* <p>Identifies unusual and impossible user activity for an account. </p>
|
|
1263
|
+
*/
|
|
1264
|
+
ImpossibleTravelDetail?: ImpossibleTravelDetail;
|
|
1265
|
+
/**
|
|
1266
|
+
* @public
|
|
1267
|
+
* <p>Suspicious IP addresses that are flagged, which indicates critical or severe threats based on threat intelligence by Detective. This indicator is derived from AWS threat intelligence.</p>
|
|
1268
|
+
*/
|
|
1269
|
+
FlaggedIpAddressDetail?: FlaggedIpAddressDetail;
|
|
1270
|
+
/**
|
|
1271
|
+
* @public
|
|
1272
|
+
* <p>Contains details about the new geographic location.</p>
|
|
1273
|
+
*/
|
|
1274
|
+
NewGeolocationDetail?: NewGeolocationDetail;
|
|
1275
|
+
/**
|
|
1276
|
+
* @public
|
|
1277
|
+
* <p>Contains details about the new Autonomous System Organization (ASO).</p>
|
|
1278
|
+
*/
|
|
1279
|
+
NewAsoDetail?: NewAsoDetail;
|
|
1280
|
+
/**
|
|
1281
|
+
* @public
|
|
1282
|
+
* <p>Contains details about the new user agent.</p>
|
|
1283
|
+
*/
|
|
1284
|
+
NewUserAgentDetail?: NewUserAgentDetail;
|
|
1285
|
+
/**
|
|
1286
|
+
* @public
|
|
1287
|
+
* <p>Contains details about related findings.</p>
|
|
1288
|
+
*/
|
|
1289
|
+
RelatedFindingDetail?: RelatedFindingDetail;
|
|
1290
|
+
/**
|
|
1291
|
+
* @public
|
|
1292
|
+
* <p>Contains details about related finding groups.</p>
|
|
1293
|
+
*/
|
|
1294
|
+
RelatedFindingGroupDetail?: RelatedFindingGroupDetail;
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* @public
|
|
1298
|
+
* <p>Investigations triages indicators of compromises such as a finding and surfaces only the most critical and suspicious issues, so you can focus on high-level investigations. </p>
|
|
1299
|
+
*/
|
|
1300
|
+
export interface Indicator {
|
|
1301
|
+
/**
|
|
1302
|
+
* @public
|
|
1303
|
+
* <p>The type of indicator.</p>
|
|
1304
|
+
*/
|
|
1305
|
+
IndicatorType?: IndicatorType;
|
|
1306
|
+
/**
|
|
1307
|
+
* @public
|
|
1308
|
+
* <p>Details about the indicator of compromise.</p>
|
|
1309
|
+
*/
|
|
1310
|
+
IndicatorDetail?: IndicatorDetail;
|
|
1311
|
+
}
|
|
1312
|
+
/**
|
|
1313
|
+
* @public
|
|
1314
|
+
*/
|
|
1315
|
+
export interface ListIndicatorsResponse {
|
|
1316
|
+
/**
|
|
1317
|
+
* @public
|
|
1318
|
+
* <p>The ARN of the behavior graph.</p>
|
|
1319
|
+
*/
|
|
1320
|
+
GraphArn?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* @public
|
|
1323
|
+
* <p>The investigation ID of the investigation report.</p>
|
|
1324
|
+
*/
|
|
1325
|
+
InvestigationId?: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* @public
|
|
1328
|
+
* <p>List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.</p>
|
|
1329
|
+
* <p>Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.</p>
|
|
1330
|
+
*/
|
|
1331
|
+
NextToken?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* @public
|
|
1334
|
+
* <p>Indicators of compromise listed based on severity.</p>
|
|
1335
|
+
*/
|
|
1336
|
+
Indicators?: Indicator[];
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* @public
|
|
1340
|
+
* <p>Contains details on the time range used to filter data.</p>
|
|
1341
|
+
*/
|
|
1342
|
+
export interface DateFilter {
|
|
1343
|
+
/**
|
|
1344
|
+
* @public
|
|
1345
|
+
* <p>A timestamp representing the start of the time period from when data is filtered, including the start date.</p>
|
|
1346
|
+
*/
|
|
1347
|
+
StartInclusive: Date | undefined;
|
|
1348
|
+
/**
|
|
1349
|
+
* @public
|
|
1350
|
+
* <p>A timestamp representing the end date of the time period until when data is filtered , including the end date.</p>
|
|
1351
|
+
*/
|
|
1352
|
+
EndInclusive: Date | undefined;
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* @public
|
|
1356
|
+
* <p>A string for filtering Detective investigations.</p>
|
|
1357
|
+
*/
|
|
1358
|
+
export interface StringFilter {
|
|
1359
|
+
/**
|
|
1360
|
+
* @public
|
|
1361
|
+
* <p>The string filter value.</p>
|
|
1362
|
+
*/
|
|
1363
|
+
Value: string | undefined;
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* @public
|
|
1367
|
+
* <p>Details on the criteria used to define the filter for investigation results.</p>
|
|
1368
|
+
*/
|
|
1369
|
+
export interface FilterCriteria {
|
|
1370
|
+
/**
|
|
1371
|
+
* @public
|
|
1372
|
+
* <p>Filter the investigation results based on the severity.</p>
|
|
1373
|
+
*/
|
|
1374
|
+
Severity?: StringFilter;
|
|
1375
|
+
/**
|
|
1376
|
+
* @public
|
|
1377
|
+
* <p>Filter the investigation results based on the status.</p>
|
|
1378
|
+
*/
|
|
1379
|
+
Status?: StringFilter;
|
|
1380
|
+
/**
|
|
1381
|
+
* @public
|
|
1382
|
+
* <p>Filter the investigation results based on the state.</p>
|
|
1383
|
+
*/
|
|
1384
|
+
State?: StringFilter;
|
|
1385
|
+
/**
|
|
1386
|
+
* @public
|
|
1387
|
+
* <p>Filter the investigation results based on the Amazon Resource Name (ARN) of the entity.</p>
|
|
1388
|
+
*/
|
|
1389
|
+
EntityArn?: StringFilter;
|
|
1390
|
+
/**
|
|
1391
|
+
* @public
|
|
1392
|
+
* <p>Filter the investigation results based on when the investigation was created.</p>
|
|
1393
|
+
*/
|
|
1394
|
+
CreatedTime?: DateFilter;
|
|
1395
|
+
}
|
|
1396
|
+
/**
|
|
1397
|
+
* @public
|
|
1398
|
+
* @enum
|
|
1399
|
+
*/
|
|
1400
|
+
export declare const Field: {
|
|
1401
|
+
readonly CREATED_TIME: "CREATED_TIME";
|
|
1402
|
+
readonly SEVERITY: "SEVERITY";
|
|
1403
|
+
readonly STATUS: "STATUS";
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* @public
|
|
1407
|
+
*/
|
|
1408
|
+
export type Field = (typeof Field)[keyof typeof Field];
|
|
1409
|
+
/**
|
|
1410
|
+
* @public
|
|
1411
|
+
* @enum
|
|
1412
|
+
*/
|
|
1413
|
+
export declare const SortOrder: {
|
|
1414
|
+
readonly ASC: "ASC";
|
|
1415
|
+
readonly DESC: "DESC";
|
|
1416
|
+
};
|
|
1417
|
+
/**
|
|
1418
|
+
* @public
|
|
1419
|
+
*/
|
|
1420
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
1421
|
+
/**
|
|
1422
|
+
* @public
|
|
1423
|
+
* <p>Details about the criteria used for sorting investigations.</p>
|
|
1424
|
+
*/
|
|
1425
|
+
export interface SortCriteria {
|
|
1426
|
+
/**
|
|
1427
|
+
* @public
|
|
1428
|
+
* <p>Represents the <code>Field</code> attribute to sort investigations.</p>
|
|
1429
|
+
*/
|
|
1430
|
+
Field?: Field;
|
|
1431
|
+
/**
|
|
1432
|
+
* @public
|
|
1433
|
+
* <p>The order by which the sorted findings are displayed.</p>
|
|
1434
|
+
*/
|
|
1435
|
+
SortOrder?: SortOrder;
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* @public
|
|
1439
|
+
*/
|
|
1440
|
+
export interface ListInvestigationsRequest {
|
|
1441
|
+
/**
|
|
1442
|
+
* @public
|
|
1443
|
+
* <p>The ARN of the behavior graph.</p>
|
|
1444
|
+
*/
|
|
1445
|
+
GraphArn: string | undefined;
|
|
1446
|
+
/**
|
|
1447
|
+
* @public
|
|
1448
|
+
* <p>List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.</p>
|
|
1449
|
+
* <p>Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation Exception error.</p>
|
|
1450
|
+
*/
|
|
1451
|
+
NextToken?: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* @public
|
|
1454
|
+
* <p>List the maximum number of investigations in a page.</p>
|
|
1455
|
+
*/
|
|
1456
|
+
MaxResults?: number;
|
|
1457
|
+
/**
|
|
1458
|
+
* @public
|
|
1459
|
+
* <p>Filter the investigation results based on a criteria.</p>
|
|
1460
|
+
*/
|
|
1461
|
+
FilterCriteria?: FilterCriteria;
|
|
1462
|
+
/**
|
|
1463
|
+
* @public
|
|
1464
|
+
* <p>Sorts the investigation results based on a criteria.</p>
|
|
1465
|
+
*/
|
|
1466
|
+
SortCriteria?: SortCriteria;
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* @public
|
|
1470
|
+
* <p>Details about the investigation related to a potential security event identified by Detective</p>
|
|
1471
|
+
*/
|
|
1472
|
+
export interface InvestigationDetail {
|
|
1473
|
+
/**
|
|
1474
|
+
* @public
|
|
1475
|
+
* <p>The investigation ID of the investigation report.</p>
|
|
1476
|
+
*/
|
|
1477
|
+
InvestigationId?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* @public
|
|
1480
|
+
* <p>Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.</p>
|
|
1481
|
+
*/
|
|
1482
|
+
Severity?: Severity;
|
|
1483
|
+
/**
|
|
1484
|
+
* @public
|
|
1485
|
+
* <p>Status based on the completion status of the investigation.</p>
|
|
1486
|
+
*/
|
|
1487
|
+
Status?: Status;
|
|
1488
|
+
/**
|
|
1489
|
+
* @public
|
|
1490
|
+
* <p>The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.</p>
|
|
1491
|
+
*/
|
|
1492
|
+
State?: State;
|
|
1493
|
+
/**
|
|
1494
|
+
* @public
|
|
1495
|
+
* <p>The UTC time stamp of the creation time of the investigation report.</p>
|
|
1496
|
+
*/
|
|
1497
|
+
CreatedTime?: Date;
|
|
1498
|
+
/**
|
|
1499
|
+
* @public
|
|
1500
|
+
* <p>The unique Amazon Resource Name (ARN) of the IAM user and IAM role.</p>
|
|
1501
|
+
*/
|
|
1502
|
+
EntityArn?: string;
|
|
1503
|
+
/**
|
|
1504
|
+
* @public
|
|
1505
|
+
* <p>Type of entity. For example, Amazon Web Services accounts, such as IAM user and role.</p>
|
|
1506
|
+
*/
|
|
1507
|
+
EntityType?: EntityType;
|
|
1508
|
+
}
|
|
1509
|
+
/**
|
|
1510
|
+
* @public
|
|
1511
|
+
*/
|
|
1512
|
+
export interface ListInvestigationsResponse {
|
|
1513
|
+
/**
|
|
1514
|
+
* @public
|
|
1515
|
+
* <p>Investigations details lists the summary of uncommon behavior or malicious activity which indicates a compromise.</p>
|
|
1516
|
+
*/
|
|
1517
|
+
InvestigationDetails?: InvestigationDetail[];
|
|
1518
|
+
/**
|
|
1519
|
+
* @public
|
|
1520
|
+
* <p>List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.</p>
|
|
1521
|
+
* <p>Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.</p>
|
|
1522
|
+
*/
|
|
1523
|
+
NextToken?: string;
|
|
1524
|
+
}
|
|
894
1525
|
/**
|
|
895
1526
|
* @public
|
|
896
1527
|
*/
|
|
@@ -1038,6 +1669,42 @@ export interface RejectInvitationRequest {
|
|
|
1038
1669
|
*/
|
|
1039
1670
|
GraphArn: string | undefined;
|
|
1040
1671
|
}
|
|
1672
|
+
/**
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
export interface StartInvestigationRequest {
|
|
1676
|
+
/**
|
|
1677
|
+
* @public
|
|
1678
|
+
* <p>The ARN of the behavior graph.</p>
|
|
1679
|
+
*/
|
|
1680
|
+
GraphArn: string | undefined;
|
|
1681
|
+
/**
|
|
1682
|
+
* @public
|
|
1683
|
+
* <p>The unique Amazon Resource Name (ARN) of the IAM user and IAM role.</p>
|
|
1684
|
+
*/
|
|
1685
|
+
EntityArn: string | undefined;
|
|
1686
|
+
/**
|
|
1687
|
+
* @public
|
|
1688
|
+
* <p>The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example, <code>2021-08-18T16:35:56.284Z</code>.</p>
|
|
1689
|
+
*/
|
|
1690
|
+
ScopeStartTime: Date | undefined;
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
* <p>The data and time when the investigation began. The value is an UTC ISO8601 formatted
|
|
1694
|
+
* string. For example, <code>2021-08-18T16:35:56.284Z</code>.</p>
|
|
1695
|
+
*/
|
|
1696
|
+
ScopeEndTime: Date | undefined;
|
|
1697
|
+
}
|
|
1698
|
+
/**
|
|
1699
|
+
* @public
|
|
1700
|
+
*/
|
|
1701
|
+
export interface StartInvestigationResponse {
|
|
1702
|
+
/**
|
|
1703
|
+
* @public
|
|
1704
|
+
* <p>The investigation ID of the investigation report.</p>
|
|
1705
|
+
*/
|
|
1706
|
+
InvestigationId?: string;
|
|
1707
|
+
}
|
|
1041
1708
|
/**
|
|
1042
1709
|
* @public
|
|
1043
1710
|
*/
|
|
@@ -1113,6 +1780,26 @@ export interface UpdateDatasourcePackagesRequest {
|
|
|
1113
1780
|
*/
|
|
1114
1781
|
DatasourcePackages: DatasourcePackage[] | undefined;
|
|
1115
1782
|
}
|
|
1783
|
+
/**
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1786
|
+
export interface UpdateInvestigationStateRequest {
|
|
1787
|
+
/**
|
|
1788
|
+
* @public
|
|
1789
|
+
* <p>The ARN of the behavior graph.</p>
|
|
1790
|
+
*/
|
|
1791
|
+
GraphArn: string | undefined;
|
|
1792
|
+
/**
|
|
1793
|
+
* @public
|
|
1794
|
+
* <p>The investigation ID of the investigation report.</p>
|
|
1795
|
+
*/
|
|
1796
|
+
InvestigationId: string | undefined;
|
|
1797
|
+
/**
|
|
1798
|
+
* @public
|
|
1799
|
+
* <p>The current state of the investigation. An archived investigation indicates you have completed reviewing the investigation.</p>
|
|
1800
|
+
*/
|
|
1801
|
+
State: State | undefined;
|
|
1802
|
+
}
|
|
1116
1803
|
/**
|
|
1117
1804
|
* @public
|
|
1118
1805
|
*/
|