@aws-sdk/client-guardduty 3.1166.0 → 3.1168.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 +7 -0
- package/dist-cjs/index.js +1773 -398
- package/dist-es/GuardDuty.js +4 -0
- package/dist-es/commands/ListInvestigationRecordsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +179 -6
- package/dist-es/pagination/ListInvestigationRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +1481 -391
- package/dist-types/GuardDuty.d.ts +14 -0
- package/dist-types/GuardDutyClient.d.ts +3 -2
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetCustomDetectionRuleCommand.d.ts +1 -2
- package/dist-types/commands/GetInvestigationCommand.d.ts +176 -1
- package/dist-types/commands/ListInvestigationRecordsCommand.d.ts +636 -0
- package/dist-types/commands/ListInvestigationsCommand.d.ts +16 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +348 -7
- package/dist-types/models/models_0.d.ts +2636 -2988
- package/dist-types/models/models_1.d.ts +4123 -927
- package/dist-types/pagination/ListInvestigationRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +94 -1
- package/dist-types/ts3.4/GuardDuty.d.ts +24 -0
- package/dist-types/ts3.4/GuardDutyClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCustomDetectionRuleCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListInvestigationRecordsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +208 -7
- package/dist-types/ts3.4/models/models_0.d.ts +276 -336
- package/dist-types/ts3.4/models/models_1.d.ts +808 -6
- package/dist-types/ts3.4/pagination/ListInvestigationRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -1
- package/package.json +2 -2
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ActionPriority,
|
|
2
3
|
AssociationMode,
|
|
3
4
|
AutoEnableMembers,
|
|
4
5
|
Confidence,
|
|
6
|
+
CoverageStatisticsType,
|
|
5
7
|
DataSource,
|
|
6
8
|
DetectionRuleConfigurationStatus,
|
|
7
9
|
DetectionRuleDataSource,
|
|
@@ -11,12 +13,18 @@ import {
|
|
|
11
13
|
EbsSnapshotPreservation,
|
|
12
14
|
FeatureStatus,
|
|
13
15
|
Feedback,
|
|
16
|
+
FetchType,
|
|
17
|
+
FetchVerdict,
|
|
14
18
|
FilterAction,
|
|
15
19
|
FindingPublishingFrequency,
|
|
16
20
|
FindingStatisticType,
|
|
17
21
|
GroupByType,
|
|
22
|
+
InvestigationFilterCriterionKey,
|
|
23
|
+
InvestigationIndicatorType,
|
|
24
|
+
InvestigationResourceType,
|
|
18
25
|
InvestigationSortField,
|
|
19
26
|
InvestigationStatus,
|
|
27
|
+
InvestigationType,
|
|
20
28
|
IpSetFormat,
|
|
21
29
|
IpSetStatus,
|
|
22
30
|
ListMalwareScansCriterionKey,
|
|
@@ -25,10 +33,13 @@ import {
|
|
|
25
33
|
MalwareProtectionScanStatus,
|
|
26
34
|
MalwareProtectionScanType,
|
|
27
35
|
ManagedBy,
|
|
36
|
+
ObservationType,
|
|
28
37
|
OrderBy,
|
|
29
38
|
OrgFeature,
|
|
30
39
|
OrgFeatureAdditionalConfiguration,
|
|
31
40
|
OrgFeatureStatus,
|
|
41
|
+
RecommendationCategory,
|
|
42
|
+
RecordType,
|
|
32
43
|
RiskLevel,
|
|
33
44
|
RuleLanguage,
|
|
34
45
|
RuleSchema,
|
|
@@ -36,51 +47,469 @@ import {
|
|
|
36
47
|
ScanCriterionKey,
|
|
37
48
|
ScanResultStatus,
|
|
38
49
|
ScanStatusReason,
|
|
50
|
+
SummaryFormat,
|
|
39
51
|
ThreatEntitySetFormat,
|
|
40
52
|
ThreatEntitySetStatus,
|
|
41
53
|
ThreatIntelSetFormat,
|
|
42
54
|
ThreatIntelSetStatus,
|
|
55
|
+
TriggerType,
|
|
43
56
|
TrustedEntitySetFormat,
|
|
44
57
|
TrustedEntitySetStatus,
|
|
45
58
|
UsageFeature,
|
|
46
59
|
UsageStatisticType,
|
|
47
60
|
} from "./enums";
|
|
48
61
|
import {
|
|
62
|
+
AccessKeyDetails,
|
|
63
|
+
AccountAnalysis,
|
|
49
64
|
AccountFreeTrialInfo,
|
|
65
|
+
AccountLevelPermissions,
|
|
66
|
+
AccountOverview,
|
|
67
|
+
AccountStatistics,
|
|
68
|
+
AccountSummary,
|
|
69
|
+
Action,
|
|
70
|
+
ActivityWindow,
|
|
71
|
+
AdditionalInfo,
|
|
50
72
|
AdminAccount,
|
|
73
|
+
Administrator,
|
|
74
|
+
AnalysisRecord,
|
|
51
75
|
AssociationDetail,
|
|
52
76
|
AssociationSummary,
|
|
77
|
+
AttackPhase,
|
|
78
|
+
BedrockGuardrailDetails,
|
|
79
|
+
BucketLevelPermissions,
|
|
53
80
|
CloudDetails,
|
|
81
|
+
Container,
|
|
54
82
|
ContinuousScanDetails,
|
|
83
|
+
CorrelatedFinding,
|
|
84
|
+
Countermeasure,
|
|
55
85
|
CoverageFilterCriteria,
|
|
56
86
|
CoverageResource,
|
|
57
87
|
CoverageSortCriteria,
|
|
88
|
+
CoverageStatistics,
|
|
58
89
|
CreateProtectedResource,
|
|
59
90
|
DataSourceConfigurations,
|
|
60
91
|
DataSourceConfigurationsResult,
|
|
92
|
+
DateStatistics,
|
|
93
|
+
DefaultServerSideEncryption,
|
|
61
94
|
Destination,
|
|
62
95
|
DestinationProperties,
|
|
96
|
+
Detection,
|
|
97
|
+
DetectionCoverage,
|
|
63
98
|
DetectionRuleFilter,
|
|
64
99
|
DetectionRuleOrgConfiguration,
|
|
65
100
|
DetectionRuleOrgConfigurationSummary,
|
|
66
101
|
DetectionRuleRuntimeMonitoringDetails,
|
|
67
102
|
DetectorFeatureConfiguration,
|
|
68
103
|
DetectorFeatureConfigurationResult,
|
|
104
|
+
Distribution,
|
|
105
|
+
DnsContext,
|
|
69
106
|
EbsSnapshot,
|
|
107
|
+
EbsSnapshotDetails,
|
|
108
|
+
EbsVolumeDetails,
|
|
109
|
+
EbsVolumeScanDetails,
|
|
110
|
+
Ec2ImageDetails,
|
|
111
|
+
EcsClusterDetails,
|
|
112
|
+
EksClusterDetails,
|
|
113
|
+
Enrichment,
|
|
114
|
+
Evidence,
|
|
115
|
+
FetchCriterion,
|
|
70
116
|
FilterCondition,
|
|
71
|
-
Finding,
|
|
72
117
|
FindingCriteria,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
118
|
+
FindingTypeCount,
|
|
119
|
+
IamInstanceProfile,
|
|
120
|
+
InvestigationDetectorFeatureConfiguration,
|
|
121
|
+
InvestigationIndicator,
|
|
76
122
|
MalwareProtectionPlanActions,
|
|
77
|
-
|
|
78
|
-
|
|
123
|
+
PrivateIpAddressDetails,
|
|
124
|
+
ProductCode,
|
|
125
|
+
SecurityGroup,
|
|
126
|
+
SeverityBreakdown,
|
|
127
|
+
SharedResource,
|
|
79
128
|
SortCriteria,
|
|
129
|
+
Tag,
|
|
130
|
+
TimeWindowGroup,
|
|
80
131
|
TriggerDetails,
|
|
81
132
|
UnprocessedAccount,
|
|
133
|
+
Volume,
|
|
82
134
|
VolumeDetail,
|
|
83
135
|
} from "./models_0";
|
|
136
|
+
export interface FetchTimeWindow {
|
|
137
|
+
StartedAt?: Date | undefined;
|
|
138
|
+
DurationInMinutes?: number | undefined;
|
|
139
|
+
}
|
|
140
|
+
export interface FetchQuery {
|
|
141
|
+
Criteria?: FetchCriterion[] | undefined;
|
|
142
|
+
TimeWindow?: FetchTimeWindow | undefined;
|
|
143
|
+
RowLimit?: number | undefined;
|
|
144
|
+
AccountId?: string | undefined;
|
|
145
|
+
Indicator?: string | undefined;
|
|
146
|
+
IndicatorType?: InvestigationIndicatorType | undefined;
|
|
147
|
+
FindingType?: string | undefined;
|
|
148
|
+
FindingId?: string | undefined;
|
|
149
|
+
}
|
|
150
|
+
export interface FindingTypeDocumentation {
|
|
151
|
+
Description?: string | undefined;
|
|
152
|
+
Severity?: string | undefined;
|
|
153
|
+
Feature?: string | undefined;
|
|
154
|
+
FullDescription?: string | undefined;
|
|
155
|
+
Remediation?: string | undefined;
|
|
156
|
+
LearnMoreLinks?: string[] | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface FetchResult {
|
|
159
|
+
ItemIds?: string[] | undefined;
|
|
160
|
+
TotalCount?: number | undefined;
|
|
161
|
+
Features?: InvestigationDetectorFeatureConfiguration[] | undefined;
|
|
162
|
+
Verdict?: FetchVerdict | undefined;
|
|
163
|
+
Documentation?: FindingTypeDocumentation | undefined;
|
|
164
|
+
}
|
|
165
|
+
export interface FetchRecord {
|
|
166
|
+
FetchType: FetchType | undefined;
|
|
167
|
+
Query?: FetchQuery | undefined;
|
|
168
|
+
Result?: FetchResult | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface NetworkInterface {
|
|
171
|
+
Ipv6Addresses?: string[] | undefined;
|
|
172
|
+
NetworkInterfaceId?: string | undefined;
|
|
173
|
+
PrivateDnsName?: string | undefined;
|
|
174
|
+
PrivateIpAddress?: string | undefined;
|
|
175
|
+
PrivateIpAddresses?: PrivateIpAddressDetails[] | undefined;
|
|
176
|
+
PublicDnsName?: string | undefined;
|
|
177
|
+
PublicIp?: string | undefined;
|
|
178
|
+
SecurityGroups?: SecurityGroup[] | undefined;
|
|
179
|
+
SubnetId?: string | undefined;
|
|
180
|
+
VpcId?: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface InstanceDetails {
|
|
183
|
+
AvailabilityZone?: string | undefined;
|
|
184
|
+
IamInstanceProfile?: IamInstanceProfile | undefined;
|
|
185
|
+
ImageDescription?: string | undefined;
|
|
186
|
+
ImageId?: string | undefined;
|
|
187
|
+
InstanceId?: string | undefined;
|
|
188
|
+
InstanceState?: string | undefined;
|
|
189
|
+
InstanceType?: string | undefined;
|
|
190
|
+
OutpostArn?: string | undefined;
|
|
191
|
+
LaunchTime?: string | undefined;
|
|
192
|
+
NetworkInterfaces?: NetworkInterface[] | undefined;
|
|
193
|
+
Platform?: string | undefined;
|
|
194
|
+
ProductCodes?: ProductCode[] | undefined;
|
|
195
|
+
Tags?: Tag[] | undefined;
|
|
196
|
+
}
|
|
197
|
+
export interface ImpersonatedUser {
|
|
198
|
+
Username?: string | undefined;
|
|
199
|
+
Groups?: string[] | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface KubernetesUserDetails {
|
|
202
|
+
Username?: string | undefined;
|
|
203
|
+
Uid?: string | undefined;
|
|
204
|
+
Groups?: string[] | undefined;
|
|
205
|
+
SessionName?: string[] | undefined;
|
|
206
|
+
ImpersonatedUser?: ImpersonatedUser | undefined;
|
|
207
|
+
}
|
|
208
|
+
export interface KubernetesWorkloadDetails {
|
|
209
|
+
Name?: string | undefined;
|
|
210
|
+
Type?: string | undefined;
|
|
211
|
+
Uid?: string | undefined;
|
|
212
|
+
Namespace?: string | undefined;
|
|
213
|
+
HostNetwork?: boolean | undefined;
|
|
214
|
+
ServiceAccountName?: string | undefined;
|
|
215
|
+
Containers?: Container[] | undefined;
|
|
216
|
+
Volumes?: Volume[] | undefined;
|
|
217
|
+
HostIPC?: boolean | undefined;
|
|
218
|
+
HostPID?: boolean | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface KubernetesDetails {
|
|
221
|
+
KubernetesUserDetails?: KubernetesUserDetails | undefined;
|
|
222
|
+
KubernetesWorkloadDetails?: KubernetesWorkloadDetails | undefined;
|
|
223
|
+
}
|
|
224
|
+
export interface VpcConfig {
|
|
225
|
+
SubnetIds?: string[] | undefined;
|
|
226
|
+
VpcId?: string | undefined;
|
|
227
|
+
SecurityGroups?: SecurityGroup[] | undefined;
|
|
228
|
+
}
|
|
229
|
+
export interface LambdaDetails {
|
|
230
|
+
FunctionArn?: string | undefined;
|
|
231
|
+
FunctionName?: string | undefined;
|
|
232
|
+
Description?: string | undefined;
|
|
233
|
+
LastModifiedAt?: Date | undefined;
|
|
234
|
+
RevisionId?: string | undefined;
|
|
235
|
+
FunctionVersion?: string | undefined;
|
|
236
|
+
Role?: string | undefined;
|
|
237
|
+
VpcConfig?: VpcConfig | undefined;
|
|
238
|
+
Tags?: Tag[] | undefined;
|
|
239
|
+
}
|
|
240
|
+
export interface ModelDetail {
|
|
241
|
+
ModelId?: string | undefined;
|
|
242
|
+
}
|
|
243
|
+
export interface RdsDbInstanceDetails {
|
|
244
|
+
DbInstanceIdentifier?: string | undefined;
|
|
245
|
+
Engine?: string | undefined;
|
|
246
|
+
EngineVersion?: string | undefined;
|
|
247
|
+
DbClusterIdentifier?: string | undefined;
|
|
248
|
+
DbInstanceArn?: string | undefined;
|
|
249
|
+
DbiResourceId?: string | undefined;
|
|
250
|
+
Tags?: Tag[] | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface RdsDbUserDetails {
|
|
253
|
+
User?: string | undefined;
|
|
254
|
+
Application?: string | undefined;
|
|
255
|
+
Database?: string | undefined;
|
|
256
|
+
Ssl?: string | undefined;
|
|
257
|
+
AuthMethod?: string | undefined;
|
|
258
|
+
}
|
|
259
|
+
export interface RdsLimitlessDbDetails {
|
|
260
|
+
DbShardGroupIdentifier?: string | undefined;
|
|
261
|
+
DbShardGroupResourceId?: string | undefined;
|
|
262
|
+
DbShardGroupArn?: string | undefined;
|
|
263
|
+
Engine?: string | undefined;
|
|
264
|
+
EngineVersion?: string | undefined;
|
|
265
|
+
DbClusterIdentifier?: string | undefined;
|
|
266
|
+
Tags?: Tag[] | undefined;
|
|
267
|
+
}
|
|
268
|
+
export interface ScanConfigurationContinuousScanDetails {
|
|
269
|
+
StartTime?: Date | undefined;
|
|
270
|
+
EndTime: Date | undefined;
|
|
271
|
+
}
|
|
272
|
+
export interface RecoveryPointDetails {
|
|
273
|
+
RecoveryPointArn?: string | undefined;
|
|
274
|
+
BackupVaultName?: string | undefined;
|
|
275
|
+
ContinuousScanDetails?: ScanConfigurationContinuousScanDetails | undefined;
|
|
276
|
+
}
|
|
277
|
+
export interface Owner {
|
|
278
|
+
Id?: string | undefined;
|
|
279
|
+
}
|
|
280
|
+
export interface PermissionConfiguration {
|
|
281
|
+
BucketLevelPermissions?: BucketLevelPermissions | undefined;
|
|
282
|
+
AccountLevelPermissions?: AccountLevelPermissions | undefined;
|
|
283
|
+
}
|
|
284
|
+
export interface PublicAccess {
|
|
285
|
+
PermissionConfiguration?: PermissionConfiguration | undefined;
|
|
286
|
+
EffectivePermission?: string | undefined;
|
|
287
|
+
}
|
|
288
|
+
export interface S3ObjectDetail {
|
|
289
|
+
ObjectArn?: string | undefined;
|
|
290
|
+
Key?: string | undefined;
|
|
291
|
+
ETag?: string | undefined;
|
|
292
|
+
Hash?: string | undefined;
|
|
293
|
+
VersionId?: string | undefined;
|
|
294
|
+
}
|
|
295
|
+
export interface S3BucketDetail {
|
|
296
|
+
Arn?: string | undefined;
|
|
297
|
+
Name?: string | undefined;
|
|
298
|
+
Type?: string | undefined;
|
|
299
|
+
CreatedAt?: Date | undefined;
|
|
300
|
+
Owner?: Owner | undefined;
|
|
301
|
+
Tags?: Tag[] | undefined;
|
|
302
|
+
DefaultServerSideEncryption?: DefaultServerSideEncryption | undefined;
|
|
303
|
+
PublicAccess?: PublicAccess | undefined;
|
|
304
|
+
S3ObjectDetails?: S3ObjectDetail[] | undefined;
|
|
305
|
+
}
|
|
306
|
+
export interface Resource {
|
|
307
|
+
AccessKeyDetails?: AccessKeyDetails | undefined;
|
|
308
|
+
S3BucketDetails?: S3BucketDetail[] | undefined;
|
|
309
|
+
InstanceDetails?: InstanceDetails | undefined;
|
|
310
|
+
EksClusterDetails?: EksClusterDetails | undefined;
|
|
311
|
+
KubernetesDetails?: KubernetesDetails | undefined;
|
|
312
|
+
ResourceType?: string | undefined;
|
|
313
|
+
EbsVolumeDetails?: EbsVolumeDetails | undefined;
|
|
314
|
+
EcsClusterDetails?: EcsClusterDetails | undefined;
|
|
315
|
+
ContainerDetails?: Container | undefined;
|
|
316
|
+
LambdaDetails?: LambdaDetails | undefined;
|
|
317
|
+
RdsDbInstanceDetails?: RdsDbInstanceDetails | undefined;
|
|
318
|
+
RdsLimitlessDbDetails?: RdsLimitlessDbDetails | undefined;
|
|
319
|
+
RdsDbUserDetails?: RdsDbUserDetails | undefined;
|
|
320
|
+
EbsSnapshotDetails?: EbsSnapshotDetails | undefined;
|
|
321
|
+
Ec2ImageDetails?: Ec2ImageDetails | undefined;
|
|
322
|
+
RecoveryPointDetails?: RecoveryPointDetails | undefined;
|
|
323
|
+
BedrockGuardrailDetails?: BedrockGuardrailDetails | undefined;
|
|
324
|
+
ModelDetails?: ModelDetail[] | undefined;
|
|
325
|
+
}
|
|
326
|
+
export interface ServiceAdditionalInfo {
|
|
327
|
+
Value?: string | undefined;
|
|
328
|
+
Type?: string | undefined;
|
|
329
|
+
}
|
|
330
|
+
export interface IncrementalScanDetails {
|
|
331
|
+
BaselineResourceArn: string | undefined;
|
|
332
|
+
}
|
|
333
|
+
export interface MalwareProtectionFindingsScanConfiguration {
|
|
334
|
+
TriggerType?: TriggerType | undefined;
|
|
335
|
+
IncrementalScanDetails?: IncrementalScanDetails | undefined;
|
|
336
|
+
}
|
|
337
|
+
export interface ItemDetails {
|
|
338
|
+
ResourceArn?: string | undefined;
|
|
339
|
+
ItemPath?: string | undefined;
|
|
340
|
+
Hash?: string | undefined;
|
|
341
|
+
AdditionalInfo?: AdditionalInfo | undefined;
|
|
342
|
+
}
|
|
343
|
+
export interface ItemPath {
|
|
344
|
+
NestedItemPath?: string | undefined;
|
|
345
|
+
Hash?: string | undefined;
|
|
346
|
+
}
|
|
347
|
+
export interface Threat {
|
|
348
|
+
Name?: string | undefined;
|
|
349
|
+
Source?: string | undefined;
|
|
350
|
+
ItemPaths?: ItemPath[] | undefined;
|
|
351
|
+
Count?: number | undefined;
|
|
352
|
+
Hash?: string | undefined;
|
|
353
|
+
ItemDetails?: ItemDetails[] | undefined;
|
|
354
|
+
}
|
|
355
|
+
export interface MalwareScanDetails {
|
|
356
|
+
Threats?: Threat[] | undefined;
|
|
357
|
+
ScanId?: string | undefined;
|
|
358
|
+
ScanType?: MalwareProtectionScanType | undefined;
|
|
359
|
+
ScanCategory?: ScanCategory | undefined;
|
|
360
|
+
ScanConfiguration?: MalwareProtectionFindingsScanConfiguration | undefined;
|
|
361
|
+
UniqueThreatCount?: number | undefined;
|
|
362
|
+
}
|
|
363
|
+
export interface LineageObject {
|
|
364
|
+
StartTime?: Date | undefined;
|
|
365
|
+
NamespacePid?: number | undefined;
|
|
366
|
+
UserId?: number | undefined;
|
|
367
|
+
Name?: string | undefined;
|
|
368
|
+
Pid?: number | undefined;
|
|
369
|
+
Uuid?: string | undefined;
|
|
370
|
+
ExecutablePath?: string | undefined;
|
|
371
|
+
Euid?: number | undefined;
|
|
372
|
+
ParentUuid?: string | undefined;
|
|
373
|
+
}
|
|
374
|
+
export interface ProcessDetails {
|
|
375
|
+
Name?: string | undefined;
|
|
376
|
+
ExecutablePath?: string | undefined;
|
|
377
|
+
ExecutableSha256?: string | undefined;
|
|
378
|
+
NamespacePid?: number | undefined;
|
|
379
|
+
Pwd?: string | undefined;
|
|
380
|
+
Pid?: number | undefined;
|
|
381
|
+
StartTime?: Date | undefined;
|
|
382
|
+
Uuid?: string | undefined;
|
|
383
|
+
ParentUuid?: string | undefined;
|
|
384
|
+
User?: string | undefined;
|
|
385
|
+
UserId?: number | undefined;
|
|
386
|
+
Euid?: number | undefined;
|
|
387
|
+
Lineage?: LineageObject[] | undefined;
|
|
388
|
+
}
|
|
389
|
+
export interface RuntimeContext {
|
|
390
|
+
ModifyingProcess?: ProcessDetails | undefined;
|
|
391
|
+
ModifiedAt?: Date | undefined;
|
|
392
|
+
ScriptPath?: string | undefined;
|
|
393
|
+
LibraryPath?: string | undefined;
|
|
394
|
+
LdPreloadValue?: string | undefined;
|
|
395
|
+
SocketPath?: string | undefined;
|
|
396
|
+
RuncBinaryPath?: string | undefined;
|
|
397
|
+
ReleaseAgentPath?: string | undefined;
|
|
398
|
+
MountSource?: string | undefined;
|
|
399
|
+
MountTarget?: string | undefined;
|
|
400
|
+
FileSystemType?: string | undefined;
|
|
401
|
+
Flags?: string[] | undefined;
|
|
402
|
+
ModuleName?: string | undefined;
|
|
403
|
+
ModuleFilePath?: string | undefined;
|
|
404
|
+
ModuleSha256?: string | undefined;
|
|
405
|
+
ShellHistoryFilePath?: string | undefined;
|
|
406
|
+
TargetProcess?: ProcessDetails | undefined;
|
|
407
|
+
AddressFamily?: string | undefined;
|
|
408
|
+
IanaProtocolNumber?: number | undefined;
|
|
409
|
+
MemoryRegions?: string[] | undefined;
|
|
410
|
+
ToolName?: string | undefined;
|
|
411
|
+
ToolCategory?: string | undefined;
|
|
412
|
+
ServiceName?: string | undefined;
|
|
413
|
+
CommandLineExample?: string | undefined;
|
|
414
|
+
ThreatFilePath?: string | undefined;
|
|
415
|
+
FileOperation?: string | undefined;
|
|
416
|
+
FilePath?: string | undefined;
|
|
417
|
+
RelatedFilePaths?: string[] | undefined;
|
|
418
|
+
}
|
|
419
|
+
export interface RuntimeDetails {
|
|
420
|
+
Process?: ProcessDetails | undefined;
|
|
421
|
+
Context?: RuntimeContext | undefined;
|
|
422
|
+
}
|
|
423
|
+
export interface Service {
|
|
424
|
+
Action?: Action | undefined;
|
|
425
|
+
Evidence?: Evidence | undefined;
|
|
426
|
+
Archived?: boolean | undefined;
|
|
427
|
+
Count?: number | undefined;
|
|
428
|
+
DetectorId?: string | undefined;
|
|
429
|
+
EventFirstSeen?: string | undefined;
|
|
430
|
+
EventLastSeen?: string | undefined;
|
|
431
|
+
ResourceRole?: string | undefined;
|
|
432
|
+
ServiceName?: string | undefined;
|
|
433
|
+
UserFeedback?: string | undefined;
|
|
434
|
+
AdditionalInfo?: ServiceAdditionalInfo | undefined;
|
|
435
|
+
FeatureName?: string | undefined;
|
|
436
|
+
EbsVolumeScanDetails?: EbsVolumeScanDetails | undefined;
|
|
437
|
+
RuntimeDetails?: RuntimeDetails | undefined;
|
|
438
|
+
Detection?: Detection | undefined;
|
|
439
|
+
MalwareScanDetails?: MalwareScanDetails | undefined;
|
|
440
|
+
}
|
|
441
|
+
export interface Finding {
|
|
442
|
+
AccountId: string | undefined;
|
|
443
|
+
Arn: string | undefined;
|
|
444
|
+
Confidence?: number | undefined;
|
|
445
|
+
CreatedAt: string | undefined;
|
|
446
|
+
Description?: string | undefined;
|
|
447
|
+
Id: string | undefined;
|
|
448
|
+
Partition?: string | undefined;
|
|
449
|
+
Region: string | undefined;
|
|
450
|
+
Resource: Resource | undefined;
|
|
451
|
+
SchemaVersion: string | undefined;
|
|
452
|
+
Service?: Service | undefined;
|
|
453
|
+
Severity: number | undefined;
|
|
454
|
+
Title?: string | undefined;
|
|
455
|
+
Type: string | undefined;
|
|
456
|
+
UpdatedAt: string | undefined;
|
|
457
|
+
AssociatedAttackSequenceArn?: string | undefined;
|
|
458
|
+
CustomDetectionRuleName?: string | undefined;
|
|
459
|
+
}
|
|
460
|
+
export interface FindingDetail {
|
|
461
|
+
FindingId?: string | undefined;
|
|
462
|
+
FindingType?: string | undefined;
|
|
463
|
+
Severity?: string | undefined;
|
|
464
|
+
AccountId?: string | undefined;
|
|
465
|
+
Region?: string | undefined;
|
|
466
|
+
ActivityWindow?: ActivityWindow | undefined;
|
|
467
|
+
}
|
|
468
|
+
export interface FindingTypeStatistics {
|
|
469
|
+
FindingType?: string | undefined;
|
|
470
|
+
LastGeneratedAt?: Date | undefined;
|
|
471
|
+
TotalFindings?: number | undefined;
|
|
472
|
+
}
|
|
473
|
+
export interface ResourceStatistics {
|
|
474
|
+
AccountId?: string | undefined;
|
|
475
|
+
LastGeneratedAt?: Date | undefined;
|
|
476
|
+
ResourceId?: string | undefined;
|
|
477
|
+
ResourceType?: string | undefined;
|
|
478
|
+
TotalFindings?: number | undefined;
|
|
479
|
+
}
|
|
480
|
+
export interface SeverityStatistics {
|
|
481
|
+
LastGeneratedAt?: Date | undefined;
|
|
482
|
+
Severity?: number | undefined;
|
|
483
|
+
TotalFindings?: number | undefined;
|
|
484
|
+
}
|
|
485
|
+
export interface FindingStatistics {
|
|
486
|
+
CountBySeverity?: Record<string, number> | undefined;
|
|
487
|
+
GroupedByAccount?: AccountStatistics[] | undefined;
|
|
488
|
+
GroupedByDate?: DateStatistics[] | undefined;
|
|
489
|
+
GroupedByFindingType?: FindingTypeStatistics[] | undefined;
|
|
490
|
+
GroupedByResource?: ResourceStatistics[] | undefined;
|
|
491
|
+
GroupedBySeverity?: SeverityStatistics[] | undefined;
|
|
492
|
+
}
|
|
493
|
+
export interface GetAdministratorAccountRequest {
|
|
494
|
+
DetectorId: string | undefined;
|
|
495
|
+
}
|
|
496
|
+
export interface GetAdministratorAccountResponse {
|
|
497
|
+
Administrator: Administrator | undefined;
|
|
498
|
+
}
|
|
499
|
+
export interface GetCoverageStatisticsRequest {
|
|
500
|
+
DetectorId: string | undefined;
|
|
501
|
+
FilterCriteria?: CoverageFilterCriteria | undefined;
|
|
502
|
+
StatisticsType: CoverageStatisticsType[] | undefined;
|
|
503
|
+
}
|
|
504
|
+
export interface GetCoverageStatisticsResponse {
|
|
505
|
+
CoverageStatistics?: CoverageStatistics | undefined;
|
|
506
|
+
}
|
|
507
|
+
export interface GetCustomDetectionRuleRequest {
|
|
508
|
+
RuleId: string | undefined;
|
|
509
|
+
}
|
|
510
|
+
export interface RuleDefinition {
|
|
511
|
+
Expression: string | undefined;
|
|
512
|
+
}
|
|
84
513
|
export interface RuleDetail {
|
|
85
514
|
RuleId: string | undefined;
|
|
86
515
|
Arn: string | undefined;
|
|
@@ -167,6 +596,7 @@ export interface GetFindingsStatisticsResponse {
|
|
|
167
596
|
export interface GetInvestigationRequest {
|
|
168
597
|
DetectorId: string | undefined;
|
|
169
598
|
InvestigationId: string | undefined;
|
|
599
|
+
SummaryFormat?: SummaryFormat | undefined;
|
|
170
600
|
}
|
|
171
601
|
export interface Product {
|
|
172
602
|
Name: string | undefined;
|
|
@@ -176,6 +606,54 @@ export interface InvestigationMetadata {
|
|
|
176
606
|
Version: string | undefined;
|
|
177
607
|
Product: Product | undefined;
|
|
178
608
|
}
|
|
609
|
+
export interface QueryTimeWindow {
|
|
610
|
+
StartTime?: Date | undefined;
|
|
611
|
+
EndTime?: Date | undefined;
|
|
612
|
+
}
|
|
613
|
+
export interface InvestigationScope {
|
|
614
|
+
InvestigationType?: InvestigationType | undefined;
|
|
615
|
+
FindingId?: string | undefined;
|
|
616
|
+
AccountId?: string | undefined;
|
|
617
|
+
AdminAccountId?: string | undefined;
|
|
618
|
+
QueryTimeWindow?: QueryTimeWindow | undefined;
|
|
619
|
+
}
|
|
620
|
+
export interface KeyObservations {
|
|
621
|
+
Title?: string | undefined;
|
|
622
|
+
Narrative?: string | undefined;
|
|
623
|
+
Observations?: string[] | undefined;
|
|
624
|
+
}
|
|
625
|
+
export interface OrganizationFindingsSummary {
|
|
626
|
+
TotalFindings?: number | undefined;
|
|
627
|
+
SeverityBreakdown?: SeverityBreakdown | undefined;
|
|
628
|
+
TopFindingTypes?: FindingTypeCount[] | undefined;
|
|
629
|
+
ByTimeWindow?: TimeWindowGroup[] | undefined;
|
|
630
|
+
TotalAccountCount?: number | undefined;
|
|
631
|
+
AffectedAccountCount?: number | undefined;
|
|
632
|
+
}
|
|
633
|
+
export interface OrganizationAnalysis {
|
|
634
|
+
FindingsSummary?: OrganizationFindingsSummary | undefined;
|
|
635
|
+
AccountBreakdown?: AccountSummary[] | undefined;
|
|
636
|
+
}
|
|
637
|
+
export interface Recommendation {
|
|
638
|
+
Title?: string | undefined;
|
|
639
|
+
Rationale?: string | undefined;
|
|
640
|
+
Category?: RecommendationCategory | undefined;
|
|
641
|
+
Priority?: ActionPriority | undefined;
|
|
642
|
+
CliCommands?: string[] | undefined;
|
|
643
|
+
}
|
|
644
|
+
export interface ThreatAssessment {
|
|
645
|
+
AttackProgression?: AttackPhase[] | undefined;
|
|
646
|
+
ThreatActorProfile?: string | undefined;
|
|
647
|
+
}
|
|
648
|
+
export interface InvestigationSummaryData {
|
|
649
|
+
FindingType?: string | undefined;
|
|
650
|
+
ThreatAssessment?: ThreatAssessment | undefined;
|
|
651
|
+
Countermeasures?: Countermeasure[] | undefined;
|
|
652
|
+
AccountAnalysis?: AccountAnalysis | undefined;
|
|
653
|
+
OrganizationAnalysis?: OrganizationAnalysis | undefined;
|
|
654
|
+
KeyObservations?: KeyObservations | undefined;
|
|
655
|
+
Recommendations?: Recommendation[] | undefined;
|
|
656
|
+
}
|
|
179
657
|
export interface Investigation {
|
|
180
658
|
InvestigationId: string | undefined;
|
|
181
659
|
Status: InvestigationStatus | undefined;
|
|
@@ -187,6 +665,8 @@ export interface Investigation {
|
|
|
187
665
|
Risk?: string | undefined;
|
|
188
666
|
Confidence?: Confidence | undefined;
|
|
189
667
|
Summary?: string | undefined;
|
|
668
|
+
SummaryData?: InvestigationSummaryData | undefined;
|
|
669
|
+
Scope?: InvestigationScope | undefined;
|
|
190
670
|
StartTime?: Date | undefined;
|
|
191
671
|
EndTime?: Date | undefined;
|
|
192
672
|
Error?: string | undefined;
|
|
@@ -579,12 +1059,331 @@ export interface ListFindingsResponse {
|
|
|
579
1059
|
FindingIds: string[] | undefined;
|
|
580
1060
|
NextToken?: string | undefined;
|
|
581
1061
|
}
|
|
1062
|
+
export interface ListInvestigationRecordsRequest {
|
|
1063
|
+
DetectorId: string | undefined;
|
|
1064
|
+
InvestigationId: string | undefined;
|
|
1065
|
+
RecordTypes?: RecordType[] | undefined;
|
|
1066
|
+
MaxResults?: number | undefined;
|
|
1067
|
+
NextToken?: string | undefined;
|
|
1068
|
+
}
|
|
1069
|
+
export interface MetadataRecord {
|
|
1070
|
+
TotalTimeMilliseconds?: number | undefined;
|
|
1071
|
+
}
|
|
1072
|
+
export interface KubernetesAnomaly {
|
|
1073
|
+
UnusualBehavior?: string | undefined;
|
|
1074
|
+
BaselineContext?: string | undefined;
|
|
1075
|
+
AnomalyScore?: string | undefined;
|
|
1076
|
+
TrainingPeriod?: string | undefined;
|
|
1077
|
+
}
|
|
1078
|
+
export interface KubernetesApiCall {
|
|
1079
|
+
ClusterName?: string | undefined;
|
|
1080
|
+
Username?: string | undefined;
|
|
1081
|
+
UserGroups?: string | undefined;
|
|
1082
|
+
UserId?: string | undefined;
|
|
1083
|
+
Verb?: string | undefined;
|
|
1084
|
+
ResourceType?: string | undefined;
|
|
1085
|
+
ResourceName?: string | undefined;
|
|
1086
|
+
Namespace?: string | undefined;
|
|
1087
|
+
RequestUri?: string | undefined;
|
|
1088
|
+
StatusCode?: number | undefined;
|
|
1089
|
+
SourceIps?: string | undefined;
|
|
1090
|
+
UserAgent?: string | undefined;
|
|
1091
|
+
EventCount?: number | undefined;
|
|
1092
|
+
}
|
|
1093
|
+
export interface InvestigationKubernetesWorkload {
|
|
1094
|
+
WorkloadType?: string | undefined;
|
|
1095
|
+
WorkloadName?: string | undefined;
|
|
1096
|
+
Containers?: string | undefined;
|
|
1097
|
+
Volumes?: string | undefined;
|
|
1098
|
+
SecurityContext?: string | undefined;
|
|
1099
|
+
}
|
|
1100
|
+
export interface KubernetesActivity {
|
|
1101
|
+
ApiCall?: KubernetesApiCall | undefined;
|
|
1102
|
+
Anomaly?: KubernetesAnomaly | undefined;
|
|
1103
|
+
Workload?: InvestigationKubernetesWorkload | undefined;
|
|
1104
|
+
Enrichment?: Enrichment | undefined;
|
|
1105
|
+
}
|
|
1106
|
+
export interface MalwareThreat {
|
|
1107
|
+
Name?: string | undefined;
|
|
1108
|
+
Severity?: string | undefined;
|
|
1109
|
+
InfectedFileCount?: number | undefined;
|
|
1110
|
+
SampleFiles?: string | undefined;
|
|
1111
|
+
}
|
|
1112
|
+
export interface InvestigationMalwareScan {
|
|
1113
|
+
ScanId?: string | undefined;
|
|
1114
|
+
ScanType?: MalwareProtectionScanType | undefined;
|
|
1115
|
+
ScanCategory?: ScanCategory | undefined;
|
|
1116
|
+
TriggerFindingId?: string | undefined;
|
|
1117
|
+
EngineSources?: string | undefined;
|
|
1118
|
+
ScanStartedAt?: Date | undefined;
|
|
1119
|
+
ScanCompletedAt?: Date | undefined;
|
|
1120
|
+
FilesScanned?: number | undefined;
|
|
1121
|
+
GigabytesScanned?: number | undefined;
|
|
1122
|
+
VolumesScanned?: number | undefined;
|
|
1123
|
+
InfectedFileCount?: number | undefined;
|
|
1124
|
+
ResourceType?: string | undefined;
|
|
1125
|
+
ResourceIdentifier?: string | undefined;
|
|
1126
|
+
HighestSeverity?: string | undefined;
|
|
1127
|
+
HighestSeverityThreatName?: string | undefined;
|
|
1128
|
+
UniqueThreatCount?: number | undefined;
|
|
1129
|
+
TotalInfectedItems?: number | undefined;
|
|
1130
|
+
Threats?: MalwareThreat[] | undefined;
|
|
1131
|
+
}
|
|
1132
|
+
export interface NetworkAnomaly {
|
|
1133
|
+
BaselineBytes?: string | undefined;
|
|
1134
|
+
Deviation?: string | undefined;
|
|
1135
|
+
ProfileAgeDays?: number | undefined;
|
|
1136
|
+
RemoteService?: string | undefined;
|
|
1137
|
+
RemoteRegion?: string | undefined;
|
|
1138
|
+
Duration?: string | undefined;
|
|
1139
|
+
ResetRatio?: string | undefined;
|
|
1140
|
+
TargetHostCount?: number | undefined;
|
|
1141
|
+
}
|
|
1142
|
+
export interface NetworkCounts {
|
|
1143
|
+
RequestCount?: number | undefined;
|
|
1144
|
+
TotalAttempts?: number | undefined;
|
|
1145
|
+
SuspiciousAttempts?: number | undefined;
|
|
1146
|
+
ResetAttempts?: number | undefined;
|
|
1147
|
+
}
|
|
1148
|
+
export interface NetworkPorts {
|
|
1149
|
+
TargetPort?: string | undefined;
|
|
1150
|
+
RemotePort?: string | undefined;
|
|
1151
|
+
ResolverPort?: string | undefined;
|
|
1152
|
+
Ports?: string | undefined;
|
|
1153
|
+
PortsUsed?: string | undefined;
|
|
1154
|
+
PortCount?: number | undefined;
|
|
1155
|
+
}
|
|
1156
|
+
export interface NetworkTraffic {
|
|
1157
|
+
BytesSent?: number | undefined;
|
|
1158
|
+
BytesReceived?: number | undefined;
|
|
1159
|
+
}
|
|
1160
|
+
export interface NetworkActivity {
|
|
1161
|
+
Protocol?: string | undefined;
|
|
1162
|
+
Direction?: string | undefined;
|
|
1163
|
+
Method?: string | undefined;
|
|
1164
|
+
Blocked?: string | undefined;
|
|
1165
|
+
Platform?: string | undefined;
|
|
1166
|
+
Ports?: NetworkPorts | undefined;
|
|
1167
|
+
Traffic?: NetworkTraffic | undefined;
|
|
1168
|
+
Anomaly?: NetworkAnomaly | undefined;
|
|
1169
|
+
Dns?: DnsContext | undefined;
|
|
1170
|
+
Counts?: NetworkCounts | undefined;
|
|
1171
|
+
Enrichment?: Enrichment | undefined;
|
|
1172
|
+
}
|
|
1173
|
+
export interface RdsLoginActivity {
|
|
1174
|
+
Outcome?: string | undefined;
|
|
1175
|
+
Rate?: string | undefined;
|
|
1176
|
+
AnomalyContext?: string | undefined;
|
|
1177
|
+
LoginCount?: number | undefined;
|
|
1178
|
+
ActivityWindow?: ActivityWindow | undefined;
|
|
1179
|
+
Enrichment?: Enrichment | undefined;
|
|
1180
|
+
}
|
|
1181
|
+
export interface ObservedFindingType {
|
|
1182
|
+
FindingType?: string | undefined;
|
|
1183
|
+
Count?: number | undefined;
|
|
1184
|
+
SeverityMax?: number | undefined;
|
|
1185
|
+
SharedResources?: SharedResource[] | undefined;
|
|
1186
|
+
}
|
|
1187
|
+
export interface RelatedFindings {
|
|
1188
|
+
Correlated?: CorrelatedFinding[] | undefined;
|
|
1189
|
+
Observed?: ObservedFindingType[] | undefined;
|
|
1190
|
+
}
|
|
1191
|
+
export interface RepresentativeFinding {
|
|
1192
|
+
ResourceType?: string | undefined;
|
|
1193
|
+
Identifier?: string | undefined;
|
|
1194
|
+
FindingId?: string | undefined;
|
|
1195
|
+
FindingCount?: number | undefined;
|
|
1196
|
+
RiskLevel?: RiskLevel | undefined;
|
|
1197
|
+
RiskRationale?: string | undefined;
|
|
1198
|
+
}
|
|
1199
|
+
export interface InvestigationEc2Instance {
|
|
1200
|
+
InstanceId?: string | undefined;
|
|
1201
|
+
InstanceType?: string | undefined;
|
|
1202
|
+
InstanceState?: string | undefined;
|
|
1203
|
+
AvailabilityZone?: string | undefined;
|
|
1204
|
+
PrivateIpAddress?: string | undefined;
|
|
1205
|
+
PublicIp?: string | undefined;
|
|
1206
|
+
VpcId?: string | undefined;
|
|
1207
|
+
SubnetId?: string | undefined;
|
|
1208
|
+
ImageId?: string | undefined;
|
|
1209
|
+
LaunchedAt?: Date | undefined;
|
|
1210
|
+
}
|
|
1211
|
+
export interface InvestigationEcsCluster {
|
|
1212
|
+
Name?: string | undefined;
|
|
1213
|
+
Arn?: string | undefined;
|
|
1214
|
+
Status?: string | undefined;
|
|
1215
|
+
}
|
|
1216
|
+
export interface InvestigationEksCluster {
|
|
1217
|
+
Name?: string | undefined;
|
|
1218
|
+
Arn?: string | undefined;
|
|
1219
|
+
Status?: string | undefined;
|
|
1220
|
+
VpcId?: string | undefined;
|
|
1221
|
+
}
|
|
1222
|
+
export interface LambdaFunction {
|
|
1223
|
+
FunctionName?: string | undefined;
|
|
1224
|
+
FunctionArn?: string | undefined;
|
|
1225
|
+
FunctionVersion?: string | undefined;
|
|
1226
|
+
Role?: string | undefined;
|
|
1227
|
+
Description?: string | undefined;
|
|
1228
|
+
RevisionId?: string | undefined;
|
|
1229
|
+
UpdatedAt?: Date | undefined;
|
|
1230
|
+
VpcConfigurationSummary?: string | undefined;
|
|
1231
|
+
}
|
|
1232
|
+
export interface RdsDbInstance {
|
|
1233
|
+
DbInstanceIdentifier?: string | undefined;
|
|
1234
|
+
DbClusterIdentifier?: string | undefined;
|
|
1235
|
+
DbInstanceArn?: string | undefined;
|
|
1236
|
+
DbiResourceId?: string | undefined;
|
|
1237
|
+
Engine?: string | undefined;
|
|
1238
|
+
EngineVersion?: string | undefined;
|
|
1239
|
+
}
|
|
1240
|
+
export interface RdsDbUser {
|
|
1241
|
+
User?: string | undefined;
|
|
1242
|
+
Application?: string | undefined;
|
|
1243
|
+
Database?: string | undefined;
|
|
1244
|
+
AuthMethod?: string | undefined;
|
|
1245
|
+
Ssl?: string | undefined;
|
|
1246
|
+
}
|
|
1247
|
+
export interface InvestigationResourceData {
|
|
1248
|
+
Ec2Instance?: InvestigationEc2Instance | undefined;
|
|
1249
|
+
LambdaFunction?: LambdaFunction | undefined;
|
|
1250
|
+
RdsDbInstance?: RdsDbInstance | undefined;
|
|
1251
|
+
RdsDbUser?: RdsDbUser | undefined;
|
|
1252
|
+
EksCluster?: InvestigationEksCluster | undefined;
|
|
1253
|
+
EcsCluster?: InvestigationEcsCluster | undefined;
|
|
1254
|
+
}
|
|
1255
|
+
export interface InvestigationResource {
|
|
1256
|
+
Uid: string | undefined;
|
|
1257
|
+
Name?: string | undefined;
|
|
1258
|
+
ResourceType: InvestigationResourceType | undefined;
|
|
1259
|
+
Data?: InvestigationResourceData | undefined;
|
|
1260
|
+
}
|
|
1261
|
+
export interface SignalGroup {
|
|
1262
|
+
FindingType?: string | undefined;
|
|
1263
|
+
Severity?: number | undefined;
|
|
1264
|
+
Count?: number | undefined;
|
|
1265
|
+
}
|
|
1266
|
+
export interface RuntimeSignals {
|
|
1267
|
+
SignalGroups?: SignalGroup[] | undefined;
|
|
1268
|
+
KeyObservation?: string | undefined;
|
|
1269
|
+
}
|
|
1270
|
+
export interface InvestigationActor {
|
|
1271
|
+
AccessKeyId?: string | undefined;
|
|
1272
|
+
PrincipalId?: string | undefined;
|
|
1273
|
+
UserName?: string | undefined;
|
|
1274
|
+
UserType?: string | undefined;
|
|
1275
|
+
UserAgent?: string | undefined;
|
|
1276
|
+
}
|
|
1277
|
+
export interface S3Activity {
|
|
1278
|
+
Api?: string | undefined;
|
|
1279
|
+
AffectedBucket?: string | undefined;
|
|
1280
|
+
OtherS3Activity?: string | undefined;
|
|
1281
|
+
NonS3Activity?: string | undefined;
|
|
1282
|
+
SessionAssessment?: string | undefined;
|
|
1283
|
+
EventCount?: number | undefined;
|
|
1284
|
+
Actor?: InvestigationActor | undefined;
|
|
1285
|
+
SourceIp?: string | undefined;
|
|
1286
|
+
Enrichment?: Enrichment | undefined;
|
|
1287
|
+
ActivityWindow?: ActivityWindow | undefined;
|
|
1288
|
+
}
|
|
1289
|
+
export interface ObservationRecord {
|
|
1290
|
+
ObservationType: ObservationType | undefined;
|
|
1291
|
+
FindingDetail?: FindingDetail | undefined;
|
|
1292
|
+
Resource?: InvestigationResource | undefined;
|
|
1293
|
+
NetworkActivity?: NetworkActivity | undefined;
|
|
1294
|
+
RdsLoginActivity?: RdsLoginActivity | undefined;
|
|
1295
|
+
S3Activity?: S3Activity | undefined;
|
|
1296
|
+
KubernetesActivity?: KubernetesActivity | undefined;
|
|
1297
|
+
MalwareScan?: InvestigationMalwareScan | undefined;
|
|
1298
|
+
RelatedFindings?: RelatedFindings | undefined;
|
|
1299
|
+
DetectionCoverage?: DetectionCoverage | undefined;
|
|
1300
|
+
AccountOverview?: AccountOverview | undefined;
|
|
1301
|
+
Recommendations?: Recommendation[] | undefined;
|
|
1302
|
+
RuntimeSignals?: RuntimeSignals | undefined;
|
|
1303
|
+
Distribution?: Distribution | undefined;
|
|
1304
|
+
RepresentativeResources?: RepresentativeFinding[] | undefined;
|
|
1305
|
+
Indicators?: InvestigationIndicator[] | undefined;
|
|
1306
|
+
}
|
|
1307
|
+
export type SupportingData =
|
|
1308
|
+
| SupportingData.AnalysisMember
|
|
1309
|
+
| SupportingData.FetchMember
|
|
1310
|
+
| SupportingData.MetadataMember
|
|
1311
|
+
| SupportingData.ObservationMember
|
|
1312
|
+
| SupportingData.$UnknownMember;
|
|
1313
|
+
export declare namespace SupportingData {
|
|
1314
|
+
interface FetchMember {
|
|
1315
|
+
Fetch: FetchRecord;
|
|
1316
|
+
Analysis?: never;
|
|
1317
|
+
Observation?: never;
|
|
1318
|
+
Metadata?: never;
|
|
1319
|
+
$unknown?: never;
|
|
1320
|
+
}
|
|
1321
|
+
interface AnalysisMember {
|
|
1322
|
+
Fetch?: never;
|
|
1323
|
+
Analysis: AnalysisRecord;
|
|
1324
|
+
Observation?: never;
|
|
1325
|
+
Metadata?: never;
|
|
1326
|
+
$unknown?: never;
|
|
1327
|
+
}
|
|
1328
|
+
interface ObservationMember {
|
|
1329
|
+
Fetch?: never;
|
|
1330
|
+
Analysis?: never;
|
|
1331
|
+
Observation: ObservationRecord;
|
|
1332
|
+
Metadata?: never;
|
|
1333
|
+
$unknown?: never;
|
|
1334
|
+
}
|
|
1335
|
+
interface MetadataMember {
|
|
1336
|
+
Fetch?: never;
|
|
1337
|
+
Analysis?: never;
|
|
1338
|
+
Observation?: never;
|
|
1339
|
+
Metadata: MetadataRecord;
|
|
1340
|
+
$unknown?: never;
|
|
1341
|
+
}
|
|
1342
|
+
interface $UnknownMember {
|
|
1343
|
+
Fetch?: never;
|
|
1344
|
+
Analysis?: never;
|
|
1345
|
+
Observation?: never;
|
|
1346
|
+
Metadata?: never;
|
|
1347
|
+
$unknown: [string, any];
|
|
1348
|
+
}
|
|
1349
|
+
interface Visitor<T> {
|
|
1350
|
+
Fetch: (value: FetchRecord) => T;
|
|
1351
|
+
Analysis: (value: AnalysisRecord) => T;
|
|
1352
|
+
Observation: (value: ObservationRecord) => T;
|
|
1353
|
+
Metadata: (value: MetadataRecord) => T;
|
|
1354
|
+
_: (name: string, value: any) => T;
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
export interface InvestigationRecord {
|
|
1358
|
+
RecordId: string | undefined;
|
|
1359
|
+
Type: RecordType | undefined;
|
|
1360
|
+
Title: string | undefined;
|
|
1361
|
+
Narrative?: string | undefined;
|
|
1362
|
+
CreatedAt: Date | undefined;
|
|
1363
|
+
SupportingData?: SupportingData | undefined;
|
|
1364
|
+
}
|
|
1365
|
+
export interface ListInvestigationRecordsResponse {
|
|
1366
|
+
InvestigationId: string | undefined;
|
|
1367
|
+
Status: InvestigationStatus | undefined;
|
|
1368
|
+
Records: InvestigationRecord[] | undefined;
|
|
1369
|
+
NextToken?: string | undefined;
|
|
1370
|
+
}
|
|
1371
|
+
export interface InvestigationFilterCondition {
|
|
1372
|
+
Equals?: string[] | undefined;
|
|
1373
|
+
NotEquals?: string[] | undefined;
|
|
1374
|
+
}
|
|
1375
|
+
export interface InvestigationFilterCriteria {
|
|
1376
|
+
Criterion?:
|
|
1377
|
+
| Partial<Record<InvestigationFilterCriterionKey, InvestigationFilterCondition>>
|
|
1378
|
+
| undefined;
|
|
1379
|
+
}
|
|
582
1380
|
export interface InvestigationSortCriteria {
|
|
583
1381
|
AttributeName?: InvestigationSortField | undefined;
|
|
584
1382
|
OrderBy?: OrderBy | undefined;
|
|
585
1383
|
}
|
|
586
1384
|
export interface ListInvestigationsRequest {
|
|
587
1385
|
DetectorId: string | undefined;
|
|
1386
|
+
FilterCriteria?: InvestigationFilterCriteria | undefined;
|
|
588
1387
|
SortCriteria?: InvestigationSortCriteria | undefined;
|
|
589
1388
|
MaxResults?: number | undefined;
|
|
590
1389
|
NextToken?: string | undefined;
|
|
@@ -596,7 +1395,10 @@ export interface InvestigationSummary {
|
|
|
596
1395
|
RiskLevel?: RiskLevel | undefined;
|
|
597
1396
|
Confidence?: Confidence | undefined;
|
|
598
1397
|
Title?: string | undefined;
|
|
1398
|
+
InvestigationType?: InvestigationType | undefined;
|
|
1399
|
+
FindingId?: string | undefined;
|
|
599
1400
|
AccountId?: string | undefined;
|
|
1401
|
+
AdminAccountId?: string | undefined;
|
|
600
1402
|
StartTime?: Date | undefined;
|
|
601
1403
|
EndTime?: Date | undefined;
|
|
602
1404
|
}
|