@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
|
@@ -0,0 +1,636 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListInvestigationRecordsRequest, ListInvestigationRecordsResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListInvestigationRecordsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListInvestigationRecordsCommandInput extends ListInvestigationRecordsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListInvestigationRecordsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListInvestigationRecordsCommandOutput extends ListInvestigationRecordsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListInvestigationRecordsCommand_base: {
|
|
22
|
+
new (input: ListInvestigationRecordsCommandInput): import("@smithy/core/client").CommandImpl<ListInvestigationRecordsCommandInput, ListInvestigationRecordsCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListInvestigationRecordsCommandInput): import("@smithy/core/client").CommandImpl<ListInvestigationRecordsCommandInput, ListInvestigationRecordsCommandOutput, import("..").GuardDutyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>This API is currently available as a preview. This feature is available in the following Amazon Web Services Regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Canada (Central), Europe (Frankfurt), Europe (Ireland), Europe (London), Europe (Paris), Europe (Stockholm), and Asia Pacific (Tokyo).</p> <p>Returns the records for a specific GuardDuty investigation. Each record is one step in the reasoning that GuardDuty followed to reach the results of the investigation.</p> <p>An administrator account can list the records of any investigation within the organization. Member accounts can only list the records of investigations that belong to them.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { GuardDutyClient, ListInvestigationRecordsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
|
|
32
|
+
* // const { GuardDutyClient, ListInvestigationRecordsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
|
|
33
|
+
* // import type { GuardDutyClientConfig } from "@aws-sdk/client-guardduty";
|
|
34
|
+
* const config = {}; // type is GuardDutyClientConfig
|
|
35
|
+
* const client = new GuardDutyClient(config);
|
|
36
|
+
* const input = { // ListInvestigationRecordsRequest
|
|
37
|
+
* DetectorId: "STRING_VALUE", // required
|
|
38
|
+
* InvestigationId: "STRING_VALUE", // required
|
|
39
|
+
* RecordTypes: [ // RecordTypes
|
|
40
|
+
* "OBSERVATION" || "ANALYSIS" || "UPDATE" || "FETCH" || "METADATA",
|
|
41
|
+
* ],
|
|
42
|
+
* MaxResults: Number("int"),
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListInvestigationRecordsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListInvestigationRecordsResponse
|
|
48
|
+
* // InvestigationId: "STRING_VALUE", // required
|
|
49
|
+
* // Status: "RUNNING" || "COMPLETED" || "FAILED", // required
|
|
50
|
+
* // Records: [ // Records // required
|
|
51
|
+
* // { // InvestigationRecord
|
|
52
|
+
* // RecordId: "STRING_VALUE", // required
|
|
53
|
+
* // Type: "OBSERVATION" || "ANALYSIS" || "UPDATE" || "FETCH" || "METADATA", // required
|
|
54
|
+
* // Title: "STRING_VALUE", // required
|
|
55
|
+
* // Narrative: "STRING_VALUE",
|
|
56
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // SupportingData: { // SupportingData Union: only one key present
|
|
58
|
+
* // Fetch: { // FetchRecord
|
|
59
|
+
* // FetchType: "FINDINGS" || "DETECTOR" || "REPUTATION" || "FINDING_TYPE_DOCUMENTATION" || "CLOUD_TRAIL_RAW_EVENTS" || "RUNTIME_SIGNALS" || "MEMBER_ACCOUNTS", // required
|
|
60
|
+
* // Query: { // FetchQuery
|
|
61
|
+
* // Criteria: [ // FetchCriteria
|
|
62
|
+
* // { // FetchCriterion
|
|
63
|
+
* // Field: "STRING_VALUE", // required
|
|
64
|
+
* // Condition: "EQUALS" || "NOT_EQUALS" || "GREATER_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN" || "LESS_THAN_OR_EQUAL", // required
|
|
65
|
+
* // Values: [ // FetchFieldValues
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // TimeWindow: { // FetchTimeWindow
|
|
71
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // DurationInMinutes: Number("int"),
|
|
73
|
+
* // },
|
|
74
|
+
* // RowLimit: Number("int"),
|
|
75
|
+
* // AccountId: "STRING_VALUE",
|
|
76
|
+
* // Indicator: "STRING_VALUE",
|
|
77
|
+
* // IndicatorType: "IP" || "DOMAIN" || "FILE",
|
|
78
|
+
* // FindingType: "STRING_VALUE",
|
|
79
|
+
* // FindingId: "STRING_VALUE",
|
|
80
|
+
* // },
|
|
81
|
+
* // Result: { // FetchResult
|
|
82
|
+
* // ItemIds: [ // FetchItemIds
|
|
83
|
+
* // "STRING_VALUE",
|
|
84
|
+
* // ],
|
|
85
|
+
* // TotalCount: Number("long"),
|
|
86
|
+
* // Features: [ // FetchDetectorFeatures
|
|
87
|
+
* // { // InvestigationDetectorFeatureConfiguration
|
|
88
|
+
* // Name: "CLOUD_TRAIL" || "DNS_LOGS" || "FLOW_LOGS" || "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "EKS_ADDON_MANAGEMENT" || "LAMBDA_NETWORK_LOGS" || "RUNTIME_MONITORING" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
|
|
89
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
90
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // Verdict: "THREAT" || "BENIGN" || "NEUTRAL",
|
|
94
|
+
* // Documentation: { // FindingTypeDocumentation
|
|
95
|
+
* // Description: "STRING_VALUE",
|
|
96
|
+
* // Severity: "STRING_VALUE",
|
|
97
|
+
* // Feature: "STRING_VALUE",
|
|
98
|
+
* // FullDescription: "STRING_VALUE",
|
|
99
|
+
* // Remediation: "STRING_VALUE",
|
|
100
|
+
* // LearnMoreLinks: [ // FetchLearnMoreLinks
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // Analysis: { // AnalysisRecord
|
|
107
|
+
* // AnalysisType: "REPUTATION" || "THREAT_ASSESSMENT" || "RDS_THREAT_ASSESSMENT" || "KUBERNETES_POLICY_VIOLATION" || "S3_EXPOSURE" || "S3_ACTOR_CONTEXT" || "S3_PEN_TEST" || "PROCESS_LINEAGE" || "TREND" || "BASELINE", // required
|
|
108
|
+
* // ThreatAssessment: { // InvestigationThreatAssessment
|
|
109
|
+
* // Reputation: { // Reputation
|
|
110
|
+
* // FindingTimeDisposition: "STRING_VALUE",
|
|
111
|
+
* // CurrentDisposition: "STRING_VALUE",
|
|
112
|
+
* // ReputationComparison: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // ThreatConfidence: "VERY_HIGH" || "HIGH" || "MEDIUM" || "LOW",
|
|
115
|
+
* // Classification: "STRING_VALUE",
|
|
116
|
+
* // Assessment: "STRING_VALUE",
|
|
117
|
+
* // AuthenticationContext: "STRING_VALUE",
|
|
118
|
+
* // RdsControlPlaneActivity: "STRING_VALUE",
|
|
119
|
+
* // IpAccountActivity: "STRING_VALUE",
|
|
120
|
+
* // CredentialCompromise: "STRING_VALUE",
|
|
121
|
+
* // },
|
|
122
|
+
* // KubernetesPolicyViolation: { // KubernetesPolicyViolation
|
|
123
|
+
* // ViolationType: "STRING_VALUE",
|
|
124
|
+
* // AffectedResource: "STRING_VALUE",
|
|
125
|
+
* // Subject: "STRING_VALUE",
|
|
126
|
+
* // GrantedAccess: "STRING_VALUE",
|
|
127
|
+
* // ExposureVector: "STRING_VALUE",
|
|
128
|
+
* // MisconfigurationImpact: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // S3Analysis: { // S3Analysis
|
|
131
|
+
* // FindingSubtype: "STRING_VALUE",
|
|
132
|
+
* // EffectivePermission: "STRING_VALUE",
|
|
133
|
+
* // BlockPublicAccessSettings: "STRING_VALUE",
|
|
134
|
+
* // Exposure: "STRING_VALUE",
|
|
135
|
+
* // UserAgent: "STRING_VALUE",
|
|
136
|
+
* // UserAgentClassification: "STRING_VALUE",
|
|
137
|
+
* // SourceIp: "STRING_VALUE",
|
|
138
|
+
* // IpReputation: "STRING_VALUE",
|
|
139
|
+
* // ActorAssessment: "STRING_VALUE",
|
|
140
|
+
* // S3ApiActivity: "STRING_VALUE",
|
|
141
|
+
* // SourceContext: "STRING_VALUE",
|
|
142
|
+
* // AuthorizationAssessment: "STRING_VALUE",
|
|
143
|
+
* // },
|
|
144
|
+
* // Processes: [ // Processes
|
|
145
|
+
* // { // Process
|
|
146
|
+
* // Uuid: "STRING_VALUE", // required
|
|
147
|
+
* // Name: "STRING_VALUE",
|
|
148
|
+
* // Path: "STRING_VALUE",
|
|
149
|
+
* // ParentUuid: "STRING_VALUE",
|
|
150
|
+
* // Findings: [ // FindingReferences
|
|
151
|
+
* // { // FindingReference
|
|
152
|
+
* // FindingType: "STRING_VALUE",
|
|
153
|
+
* // Uid: "STRING_VALUE",
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // AccountAnalysis: { // InvestigationAccountAnalysis
|
|
159
|
+
* // Trend: { // Trend
|
|
160
|
+
* // Granularity: "DAY" || "WEEK" || "MONTH",
|
|
161
|
+
* // StartedAt: new Date("TIMESTAMP"),
|
|
162
|
+
* // EndedAt: new Date("TIMESTAMP"),
|
|
163
|
+
* // TotalFindings: Number("long"),
|
|
164
|
+
* // ByTimeWindow: [ // TimeWindowGroups
|
|
165
|
+
* // { // TimeWindowGroup
|
|
166
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
167
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
168
|
+
* // FindingCount: Number("int"),
|
|
169
|
+
* // },
|
|
170
|
+
* // ],
|
|
171
|
+
* // },
|
|
172
|
+
* // Baseline: { // Baseline
|
|
173
|
+
* // TotalFindings: Number("long"),
|
|
174
|
+
* // BaselineFindings: [ // FindingTypeClassifications
|
|
175
|
+
* // { // FindingTypeClassification
|
|
176
|
+
* // FindingType: "STRING_VALUE",
|
|
177
|
+
* // Classification: "STRING_VALUE",
|
|
178
|
+
* // Count: Number("long"),
|
|
179
|
+
* // Percentage: Number("double"),
|
|
180
|
+
* // Description: "STRING_VALUE",
|
|
181
|
+
* // },
|
|
182
|
+
* // ],
|
|
183
|
+
* // AnomalousFindings: [
|
|
184
|
+
* // {
|
|
185
|
+
* // FindingType: "STRING_VALUE",
|
|
186
|
+
* // Classification: "STRING_VALUE",
|
|
187
|
+
* // Count: Number("long"),
|
|
188
|
+
* // Percentage: Number("double"),
|
|
189
|
+
* // Description: "STRING_VALUE",
|
|
190
|
+
* // },
|
|
191
|
+
* // ],
|
|
192
|
+
* // },
|
|
193
|
+
* // },
|
|
194
|
+
* // Indicators: [ // InvestigationIndicators
|
|
195
|
+
* // { // InvestigationIndicator
|
|
196
|
+
* // Value: "STRING_VALUE", // required
|
|
197
|
+
* // Type: "IP" || "DOMAIN" || "FILE",
|
|
198
|
+
* // },
|
|
199
|
+
* // ],
|
|
200
|
+
* // },
|
|
201
|
+
* // Observation: { // ObservationRecord
|
|
202
|
+
* // ObservationType: "FINDING_DETAIL" || "RESOURCE" || "NETWORK_ACTIVITY" || "RDS_LOGIN_ACTIVITY" || "S3_ACTIVITY" || "KUBERNETES_ACTIVITY" || "MALWARE_SCAN" || "RELATED_FINDINGS" || "DETECTION_COVERAGE" || "ACCOUNT_OVERVIEW" || "RECOMMENDATION" || "RUNTIME_SIGNALS" || "DISTRIBUTION" || "REPRESENTATIVE_RESOURCE", // required
|
|
203
|
+
* // FindingDetail: { // FindingDetail
|
|
204
|
+
* // FindingId: "STRING_VALUE",
|
|
205
|
+
* // FindingType: "STRING_VALUE",
|
|
206
|
+
* // Severity: "STRING_VALUE",
|
|
207
|
+
* // AccountId: "STRING_VALUE",
|
|
208
|
+
* // Region: "STRING_VALUE",
|
|
209
|
+
* // ActivityWindow: { // ActivityWindow
|
|
210
|
+
* // FirstSeenAt: new Date("TIMESTAMP"),
|
|
211
|
+
* // LastSeenAt: new Date("TIMESTAMP"),
|
|
212
|
+
* // },
|
|
213
|
+
* // },
|
|
214
|
+
* // Resource: { // InvestigationResource
|
|
215
|
+
* // Uid: "STRING_VALUE", // required
|
|
216
|
+
* // Name: "STRING_VALUE",
|
|
217
|
+
* // ResourceType: "EC2_INSTANCE" || "EBS_VOLUME" || "S3_BUCKET" || "IAM_ROLE" || "IAM_USER" || "IAM_ACCESS_KEY" || "LAMBDA_FUNCTION" || "EKS_CLUSTER" || "ECS_CLUSTER" || "KUBERNETES_WORKLOAD" || "RDS_INSTANCE" || "RDS_DB_USER" || "EC2_SECURITY_GROUP", // required
|
|
218
|
+
* // Data: { // InvestigationResourceData
|
|
219
|
+
* // Ec2Instance: { // InvestigationEc2Instance
|
|
220
|
+
* // InstanceId: "STRING_VALUE",
|
|
221
|
+
* // InstanceType: "STRING_VALUE",
|
|
222
|
+
* // InstanceState: "STRING_VALUE",
|
|
223
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
224
|
+
* // PrivateIpAddress: "STRING_VALUE",
|
|
225
|
+
* // PublicIp: "STRING_VALUE",
|
|
226
|
+
* // VpcId: "STRING_VALUE",
|
|
227
|
+
* // SubnetId: "STRING_VALUE",
|
|
228
|
+
* // ImageId: "STRING_VALUE",
|
|
229
|
+
* // LaunchedAt: new Date("TIMESTAMP"),
|
|
230
|
+
* // },
|
|
231
|
+
* // LambdaFunction: { // LambdaFunction
|
|
232
|
+
* // FunctionName: "STRING_VALUE",
|
|
233
|
+
* // FunctionArn: "STRING_VALUE",
|
|
234
|
+
* // FunctionVersion: "STRING_VALUE",
|
|
235
|
+
* // Role: "STRING_VALUE",
|
|
236
|
+
* // Description: "STRING_VALUE",
|
|
237
|
+
* // RevisionId: "STRING_VALUE",
|
|
238
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
239
|
+
* // VpcConfigurationSummary: "STRING_VALUE",
|
|
240
|
+
* // },
|
|
241
|
+
* // RdsDbInstance: { // RdsDbInstance
|
|
242
|
+
* // DbInstanceIdentifier: "STRING_VALUE",
|
|
243
|
+
* // DbClusterIdentifier: "STRING_VALUE",
|
|
244
|
+
* // DbInstanceArn: "STRING_VALUE",
|
|
245
|
+
* // DbiResourceId: "STRING_VALUE",
|
|
246
|
+
* // Engine: "STRING_VALUE",
|
|
247
|
+
* // EngineVersion: "STRING_VALUE",
|
|
248
|
+
* // },
|
|
249
|
+
* // RdsDbUser: { // RdsDbUser
|
|
250
|
+
* // User: "STRING_VALUE",
|
|
251
|
+
* // Application: "STRING_VALUE",
|
|
252
|
+
* // Database: "STRING_VALUE",
|
|
253
|
+
* // AuthMethod: "STRING_VALUE",
|
|
254
|
+
* // Ssl: "STRING_VALUE",
|
|
255
|
+
* // },
|
|
256
|
+
* // EksCluster: { // InvestigationEksCluster
|
|
257
|
+
* // Name: "STRING_VALUE",
|
|
258
|
+
* // Arn: "STRING_VALUE",
|
|
259
|
+
* // Status: "STRING_VALUE",
|
|
260
|
+
* // VpcId: "STRING_VALUE",
|
|
261
|
+
* // },
|
|
262
|
+
* // EcsCluster: { // InvestigationEcsCluster
|
|
263
|
+
* // Name: "STRING_VALUE",
|
|
264
|
+
* // Arn: "STRING_VALUE",
|
|
265
|
+
* // Status: "STRING_VALUE",
|
|
266
|
+
* // },
|
|
267
|
+
* // },
|
|
268
|
+
* // },
|
|
269
|
+
* // NetworkActivity: { // NetworkActivity
|
|
270
|
+
* // Protocol: "STRING_VALUE",
|
|
271
|
+
* // Direction: "STRING_VALUE",
|
|
272
|
+
* // Method: "STRING_VALUE",
|
|
273
|
+
* // Blocked: "STRING_VALUE",
|
|
274
|
+
* // Platform: "STRING_VALUE",
|
|
275
|
+
* // Ports: { // NetworkPorts
|
|
276
|
+
* // TargetPort: "STRING_VALUE",
|
|
277
|
+
* // RemotePort: "STRING_VALUE",
|
|
278
|
+
* // ResolverPort: "STRING_VALUE",
|
|
279
|
+
* // Ports: "STRING_VALUE",
|
|
280
|
+
* // PortsUsed: "STRING_VALUE",
|
|
281
|
+
* // PortCount: Number("long"),
|
|
282
|
+
* // },
|
|
283
|
+
* // Traffic: { // NetworkTraffic
|
|
284
|
+
* // BytesSent: Number("long"),
|
|
285
|
+
* // BytesReceived: Number("long"),
|
|
286
|
+
* // },
|
|
287
|
+
* // Anomaly: { // NetworkAnomaly
|
|
288
|
+
* // BaselineBytes: "STRING_VALUE",
|
|
289
|
+
* // Deviation: "STRING_VALUE",
|
|
290
|
+
* // ProfileAgeDays: Number("int"),
|
|
291
|
+
* // RemoteService: "STRING_VALUE",
|
|
292
|
+
* // RemoteRegion: "STRING_VALUE",
|
|
293
|
+
* // Duration: "STRING_VALUE",
|
|
294
|
+
* // ResetRatio: "STRING_VALUE",
|
|
295
|
+
* // TargetHostCount: Number("long"),
|
|
296
|
+
* // },
|
|
297
|
+
* // Dns: { // DnsContext
|
|
298
|
+
* // DomainSuffix: "STRING_VALUE",
|
|
299
|
+
* // OtherDomains: "STRING_VALUE",
|
|
300
|
+
* // ResolverHistory: "STRING_VALUE",
|
|
301
|
+
* // },
|
|
302
|
+
* // Counts: { // NetworkCounts
|
|
303
|
+
* // RequestCount: Number("long"),
|
|
304
|
+
* // TotalAttempts: Number("long"),
|
|
305
|
+
* // SuspiciousAttempts: Number("long"),
|
|
306
|
+
* // ResetAttempts: Number("long"),
|
|
307
|
+
* // },
|
|
308
|
+
* // Enrichment: { // Enrichment
|
|
309
|
+
* // CountryName: "STRING_VALUE",
|
|
310
|
+
* // AsnOrg: "STRING_VALUE",
|
|
311
|
+
* // ThreatListName: "STRING_VALUE",
|
|
312
|
+
* // ThreatName: "STRING_VALUE",
|
|
313
|
+
* // },
|
|
314
|
+
* // },
|
|
315
|
+
* // RdsLoginActivity: { // RdsLoginActivity
|
|
316
|
+
* // Outcome: "STRING_VALUE",
|
|
317
|
+
* // Rate: "STRING_VALUE",
|
|
318
|
+
* // AnomalyContext: "STRING_VALUE",
|
|
319
|
+
* // LoginCount: Number("long"),
|
|
320
|
+
* // ActivityWindow: {
|
|
321
|
+
* // FirstSeenAt: new Date("TIMESTAMP"),
|
|
322
|
+
* // LastSeenAt: new Date("TIMESTAMP"),
|
|
323
|
+
* // },
|
|
324
|
+
* // Enrichment: {
|
|
325
|
+
* // CountryName: "STRING_VALUE",
|
|
326
|
+
* // AsnOrg: "STRING_VALUE",
|
|
327
|
+
* // ThreatListName: "STRING_VALUE",
|
|
328
|
+
* // ThreatName: "STRING_VALUE",
|
|
329
|
+
* // },
|
|
330
|
+
* // },
|
|
331
|
+
* // S3Activity: { // S3Activity
|
|
332
|
+
* // Api: "STRING_VALUE",
|
|
333
|
+
* // AffectedBucket: "STRING_VALUE",
|
|
334
|
+
* // OtherS3Activity: "STRING_VALUE",
|
|
335
|
+
* // NonS3Activity: "STRING_VALUE",
|
|
336
|
+
* // SessionAssessment: "STRING_VALUE",
|
|
337
|
+
* // EventCount: Number("long"),
|
|
338
|
+
* // Actor: { // InvestigationActor
|
|
339
|
+
* // AccessKeyId: "STRING_VALUE",
|
|
340
|
+
* // PrincipalId: "STRING_VALUE",
|
|
341
|
+
* // UserName: "STRING_VALUE",
|
|
342
|
+
* // UserType: "STRING_VALUE",
|
|
343
|
+
* // UserAgent: "STRING_VALUE",
|
|
344
|
+
* // },
|
|
345
|
+
* // SourceIp: "STRING_VALUE",
|
|
346
|
+
* // Enrichment: {
|
|
347
|
+
* // CountryName: "STRING_VALUE",
|
|
348
|
+
* // AsnOrg: "STRING_VALUE",
|
|
349
|
+
* // ThreatListName: "STRING_VALUE",
|
|
350
|
+
* // ThreatName: "STRING_VALUE",
|
|
351
|
+
* // },
|
|
352
|
+
* // ActivityWindow: {
|
|
353
|
+
* // FirstSeenAt: new Date("TIMESTAMP"),
|
|
354
|
+
* // LastSeenAt: new Date("TIMESTAMP"),
|
|
355
|
+
* // },
|
|
356
|
+
* // },
|
|
357
|
+
* // KubernetesActivity: { // KubernetesActivity
|
|
358
|
+
* // ApiCall: { // KubernetesApiCall
|
|
359
|
+
* // ClusterName: "STRING_VALUE",
|
|
360
|
+
* // Username: "STRING_VALUE",
|
|
361
|
+
* // UserGroups: "STRING_VALUE",
|
|
362
|
+
* // UserId: "STRING_VALUE",
|
|
363
|
+
* // Verb: "STRING_VALUE",
|
|
364
|
+
* // ResourceType: "STRING_VALUE",
|
|
365
|
+
* // ResourceName: "STRING_VALUE",
|
|
366
|
+
* // Namespace: "STRING_VALUE",
|
|
367
|
+
* // RequestUri: "STRING_VALUE",
|
|
368
|
+
* // StatusCode: Number("int"),
|
|
369
|
+
* // SourceIps: "STRING_VALUE",
|
|
370
|
+
* // UserAgent: "STRING_VALUE",
|
|
371
|
+
* // EventCount: Number("long"),
|
|
372
|
+
* // },
|
|
373
|
+
* // Anomaly: { // KubernetesAnomaly
|
|
374
|
+
* // UnusualBehavior: "STRING_VALUE",
|
|
375
|
+
* // BaselineContext: "STRING_VALUE",
|
|
376
|
+
* // AnomalyScore: "STRING_VALUE",
|
|
377
|
+
* // TrainingPeriod: "STRING_VALUE",
|
|
378
|
+
* // },
|
|
379
|
+
* // Workload: { // InvestigationKubernetesWorkload
|
|
380
|
+
* // WorkloadType: "STRING_VALUE",
|
|
381
|
+
* // WorkloadName: "STRING_VALUE",
|
|
382
|
+
* // Containers: "STRING_VALUE",
|
|
383
|
+
* // Volumes: "STRING_VALUE",
|
|
384
|
+
* // SecurityContext: "STRING_VALUE",
|
|
385
|
+
* // },
|
|
386
|
+
* // Enrichment: {
|
|
387
|
+
* // CountryName: "STRING_VALUE",
|
|
388
|
+
* // AsnOrg: "STRING_VALUE",
|
|
389
|
+
* // ThreatListName: "STRING_VALUE",
|
|
390
|
+
* // ThreatName: "STRING_VALUE",
|
|
391
|
+
* // },
|
|
392
|
+
* // },
|
|
393
|
+
* // MalwareScan: { // InvestigationMalwareScan
|
|
394
|
+
* // ScanId: "STRING_VALUE",
|
|
395
|
+
* // ScanType: "BACKUP_INITIATED" || "ON_DEMAND" || "GUARDDUTY_INITIATED",
|
|
396
|
+
* // ScanCategory: "FULL_SCAN" || "INCREMENTAL_SCAN",
|
|
397
|
+
* // TriggerFindingId: "STRING_VALUE",
|
|
398
|
+
* // EngineSources: "STRING_VALUE",
|
|
399
|
+
* // ScanStartedAt: new Date("TIMESTAMP"),
|
|
400
|
+
* // ScanCompletedAt: new Date("TIMESTAMP"),
|
|
401
|
+
* // FilesScanned: Number("long"),
|
|
402
|
+
* // GigabytesScanned: Number("double"),
|
|
403
|
+
* // VolumesScanned: Number("long"),
|
|
404
|
+
* // InfectedFileCount: Number("long"),
|
|
405
|
+
* // ResourceType: "STRING_VALUE",
|
|
406
|
+
* // ResourceIdentifier: "STRING_VALUE",
|
|
407
|
+
* // HighestSeverity: "STRING_VALUE",
|
|
408
|
+
* // HighestSeverityThreatName: "STRING_VALUE",
|
|
409
|
+
* // UniqueThreatCount: Number("long"),
|
|
410
|
+
* // TotalInfectedItems: Number("long"),
|
|
411
|
+
* // Threats: [ // MalwareThreats
|
|
412
|
+
* // { // MalwareThreat
|
|
413
|
+
* // Name: "STRING_VALUE",
|
|
414
|
+
* // Severity: "STRING_VALUE",
|
|
415
|
+
* // InfectedFileCount: Number("long"),
|
|
416
|
+
* // SampleFiles: "STRING_VALUE",
|
|
417
|
+
* // },
|
|
418
|
+
* // ],
|
|
419
|
+
* // },
|
|
420
|
+
* // RelatedFindings: { // RelatedFindings
|
|
421
|
+
* // Correlated: [ // CorrelatedFindings
|
|
422
|
+
* // { // CorrelatedFinding
|
|
423
|
+
* // FindingType: "STRING_VALUE",
|
|
424
|
+
* // Count: Number("long"),
|
|
425
|
+
* // SeverityMax: Number("double"),
|
|
426
|
+
* // CorrelationReasons: [ // CorrelationReasons
|
|
427
|
+
* // "HIGH_SEVERITY" || "SAME_RESOURCE" || "SAME_BEHAVIOR",
|
|
428
|
+
* // ],
|
|
429
|
+
* // FindingIds: [ // RelatedFindingIds
|
|
430
|
+
* // "STRING_VALUE",
|
|
431
|
+
* // ],
|
|
432
|
+
* // SharedResources: [ // SharedResources
|
|
433
|
+
* // { // SharedResource
|
|
434
|
+
* // ResourceType: "STRING_VALUE",
|
|
435
|
+
* // Identifier: "STRING_VALUE",
|
|
436
|
+
* // },
|
|
437
|
+
* // ],
|
|
438
|
+
* // SharedBehaviors: [ // SharedBehaviors
|
|
439
|
+
* // { // SharedBehavior
|
|
440
|
+
* // Path: "STRING_VALUE",
|
|
441
|
+
* // Value: "STRING_VALUE",
|
|
442
|
+
* // },
|
|
443
|
+
* // ],
|
|
444
|
+
* // },
|
|
445
|
+
* // ],
|
|
446
|
+
* // Observed: [ // ObservedFindingTypes
|
|
447
|
+
* // { // ObservedFindingType
|
|
448
|
+
* // FindingType: "STRING_VALUE",
|
|
449
|
+
* // Count: Number("long"),
|
|
450
|
+
* // SeverityMax: Number("double"),
|
|
451
|
+
* // SharedResources: [
|
|
452
|
+
* // {
|
|
453
|
+
* // ResourceType: "STRING_VALUE",
|
|
454
|
+
* // Identifier: "STRING_VALUE",
|
|
455
|
+
* // },
|
|
456
|
+
* // ],
|
|
457
|
+
* // },
|
|
458
|
+
* // ],
|
|
459
|
+
* // },
|
|
460
|
+
* // DetectionCoverage: { // DetectionCoverage
|
|
461
|
+
* // ProtectionPlans: [ // ProtectionPlans
|
|
462
|
+
* // { // ProtectionPlan
|
|
463
|
+
* // Name: "CLOUD_TRAIL" || "DNS_LOGS" || "FLOW_LOGS" || "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "EKS_ADDON_MANAGEMENT" || "LAMBDA_NETWORK_LOGS" || "RUNTIME_MONITORING" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
|
|
464
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
465
|
+
* // },
|
|
466
|
+
* // ],
|
|
467
|
+
* // FoundationalDataSources: [ // FoundationalDataSources
|
|
468
|
+
* // "CLOUD_TRAIL" || "DNS_LOGS" || "FLOW_LOGS" || "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "EKS_ADDON_MANAGEMENT" || "LAMBDA_NETWORK_LOGS" || "RUNTIME_MONITORING" || "ECS_FARGATE_AGENT_MANAGEMENT" || "EC2_AGENT_MANAGEMENT",
|
|
469
|
+
* // ],
|
|
470
|
+
* // CoverageGaps: "STRING_VALUE",
|
|
471
|
+
* // KeyObservation: "STRING_VALUE",
|
|
472
|
+
* // },
|
|
473
|
+
* // AccountOverview: { // AccountOverview
|
|
474
|
+
* // AccountId: "STRING_VALUE",
|
|
475
|
+
* // AccountStatus: "STRING_VALUE",
|
|
476
|
+
* // DetectorId: "STRING_VALUE",
|
|
477
|
+
* // Region: "STRING_VALUE",
|
|
478
|
+
* // DelegatedAdminAccountId: "STRING_VALUE",
|
|
479
|
+
* // TotalMemberAccounts: Number("long"),
|
|
480
|
+
* // TotalFindings: Number("long"),
|
|
481
|
+
* // AffectedAccountCount: Number("long"),
|
|
482
|
+
* // AccountRankings: [ // MemberAccountRankings
|
|
483
|
+
* // { // MemberAccountRanking
|
|
484
|
+
* // Rank: Number("int"),
|
|
485
|
+
* // AccountId: "STRING_VALUE",
|
|
486
|
+
* // FindingCount: Number("long"),
|
|
487
|
+
* // RiskLevel: "Info" || "Low" || "Medium" || "High" || "Critical",
|
|
488
|
+
* // RiskRationale: "STRING_VALUE",
|
|
489
|
+
* // },
|
|
490
|
+
* // ],
|
|
491
|
+
* // },
|
|
492
|
+
* // Recommendations: [ // Recommendations
|
|
493
|
+
* // { // Recommendation
|
|
494
|
+
* // Title: "STRING_VALUE",
|
|
495
|
+
* // Rationale: "STRING_VALUE",
|
|
496
|
+
* // Category: "ENABLE_PROTECTION" || "FURTHER_INVESTIGATION" || "SUPPRESSION_RULE" || "HARDENING" || "MONITORING",
|
|
497
|
+
* // Priority: "IMMEDIATE" || "SHORT_TERM" || "STRATEGIC",
|
|
498
|
+
* // CliCommands: [ // CliCommands
|
|
499
|
+
* // "STRING_VALUE",
|
|
500
|
+
* // ],
|
|
501
|
+
* // },
|
|
502
|
+
* // ],
|
|
503
|
+
* // RuntimeSignals: { // RuntimeSignals
|
|
504
|
+
* // SignalGroups: [ // SignalGroups
|
|
505
|
+
* // { // SignalGroup
|
|
506
|
+
* // FindingType: "STRING_VALUE",
|
|
507
|
+
* // Severity: Number("double"),
|
|
508
|
+
* // Count: Number("long"),
|
|
509
|
+
* // },
|
|
510
|
+
* // ],
|
|
511
|
+
* // KeyObservation: "STRING_VALUE",
|
|
512
|
+
* // },
|
|
513
|
+
* // Distribution: { // Distribution
|
|
514
|
+
* // Dimension: "SEVERITY" || "TYPE" || "RESOURCE" || "ATTACK_VECTOR" || "ARCHIVE", // required
|
|
515
|
+
* // TotalFindings: Number("long"),
|
|
516
|
+
* // SeverityBreakdown: { // SeverityBreakdown
|
|
517
|
+
* // Critical: Number("int"),
|
|
518
|
+
* // High: Number("int"),
|
|
519
|
+
* // Medium: Number("int"),
|
|
520
|
+
* // Low: Number("int"),
|
|
521
|
+
* // Info: Number("int"),
|
|
522
|
+
* // },
|
|
523
|
+
* // FindingTypes: [ // TypeDistributions
|
|
524
|
+
* // { // TypeDistribution
|
|
525
|
+
* // FindingType: "STRING_VALUE",
|
|
526
|
+
* // Count: Number("long"),
|
|
527
|
+
* // Percentage: Number("double"),
|
|
528
|
+
* // DominantSeverity: "STRING_VALUE",
|
|
529
|
+
* // },
|
|
530
|
+
* // ],
|
|
531
|
+
* // TopFindingTypes: [ // FindingTypeCounts
|
|
532
|
+
* // { // FindingTypeCount
|
|
533
|
+
* // FindingType: "STRING_VALUE",
|
|
534
|
+
* // Count: Number("int"),
|
|
535
|
+
* // },
|
|
536
|
+
* // ],
|
|
537
|
+
* // Resources: [ // ResourceDistributions
|
|
538
|
+
* // { // ResourceDistribution
|
|
539
|
+
* // ResourceType: "STRING_VALUE",
|
|
540
|
+
* // Identifier: "STRING_VALUE",
|
|
541
|
+
* // Count: Number("long"),
|
|
542
|
+
* // },
|
|
543
|
+
* // ],
|
|
544
|
+
* // AttackVectors: [ // TacticCoverages
|
|
545
|
+
* // { // TacticCoverage
|
|
546
|
+
* // Phase: "Reconnaissance" || "Resource Development" || "Initial Access" || "Execution" || "Persistence" || "Privilege Escalation" || "Defense Evasion" || "Credential Access" || "Discovery" || "Lateral Movement" || "Collection" || "Command and Control" || "Exfiltration" || "Impact",
|
|
547
|
+
* // FindingCount: Number("int"),
|
|
548
|
+
* // FindingTypes: [ // FindingTypeNames
|
|
549
|
+
* // "STRING_VALUE",
|
|
550
|
+
* // ],
|
|
551
|
+
* // Techniques: [ // TechniqueCoverages
|
|
552
|
+
* // { // TechniqueCoverage
|
|
553
|
+
* // Technique: { // ThreatReference
|
|
554
|
+
* // Name: "STRING_VALUE",
|
|
555
|
+
* // Uid: "STRING_VALUE",
|
|
556
|
+
* // },
|
|
557
|
+
* // FindingCount: Number("int"),
|
|
558
|
+
* // FindingTypes: [
|
|
559
|
+
* // "STRING_VALUE",
|
|
560
|
+
* // ],
|
|
561
|
+
* // },
|
|
562
|
+
* // ],
|
|
563
|
+
* // },
|
|
564
|
+
* // ],
|
|
565
|
+
* // Archive: { // ArchiveDistribution
|
|
566
|
+
* // ArchivedCount: Number("long"),
|
|
567
|
+
* // UnarchivedCount: Number("long"),
|
|
568
|
+
* // ArchivedPercentage: Number("double"),
|
|
569
|
+
* // UnarchivedPercentage: Number("double"),
|
|
570
|
+
* // },
|
|
571
|
+
* // },
|
|
572
|
+
* // RepresentativeResources: [ // RepresentativeFindings
|
|
573
|
+
* // { // RepresentativeFinding
|
|
574
|
+
* // ResourceType: "STRING_VALUE",
|
|
575
|
+
* // Identifier: "STRING_VALUE",
|
|
576
|
+
* // FindingId: "STRING_VALUE",
|
|
577
|
+
* // FindingCount: Number("long"),
|
|
578
|
+
* // RiskLevel: "Info" || "Low" || "Medium" || "High" || "Critical",
|
|
579
|
+
* // RiskRationale: "STRING_VALUE",
|
|
580
|
+
* // },
|
|
581
|
+
* // ],
|
|
582
|
+
* // Indicators: [
|
|
583
|
+
* // {
|
|
584
|
+
* // Value: "STRING_VALUE", // required
|
|
585
|
+
* // Type: "IP" || "DOMAIN" || "FILE",
|
|
586
|
+
* // },
|
|
587
|
+
* // ],
|
|
588
|
+
* // },
|
|
589
|
+
* // Metadata: { // MetadataRecord
|
|
590
|
+
* // TotalTimeMilliseconds: Number("long"),
|
|
591
|
+
* // },
|
|
592
|
+
* // },
|
|
593
|
+
* // },
|
|
594
|
+
* // ],
|
|
595
|
+
* // NextToken: "STRING_VALUE",
|
|
596
|
+
* // };
|
|
597
|
+
*
|
|
598
|
+
* ```
|
|
599
|
+
*
|
|
600
|
+
* @param ListInvestigationRecordsCommandInput - {@link ListInvestigationRecordsCommandInput}
|
|
601
|
+
* @returns {@link ListInvestigationRecordsCommandOutput}
|
|
602
|
+
* @see {@link ListInvestigationRecordsCommandInput} for command's `input` shape.
|
|
603
|
+
* @see {@link ListInvestigationRecordsCommandOutput} for command's `response` shape.
|
|
604
|
+
* @see {@link GuardDutyClientResolvedConfig | config} for GuardDutyClient's `config` shape.
|
|
605
|
+
*
|
|
606
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
607
|
+
* <p>An access denied exception object.</p>
|
|
608
|
+
*
|
|
609
|
+
* @throws {@link BadRequestException} (client fault)
|
|
610
|
+
* <p>A bad request exception object.</p>
|
|
611
|
+
*
|
|
612
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
613
|
+
* <p>An internal server error exception object.</p>
|
|
614
|
+
*
|
|
615
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
616
|
+
* <p>The requested resource can't be found.</p>
|
|
617
|
+
*
|
|
618
|
+
* @throws {@link GuardDutyServiceException}
|
|
619
|
+
* <p>Base exception class for all service exceptions from GuardDuty service.</p>
|
|
620
|
+
*
|
|
621
|
+
*
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
export declare class ListInvestigationRecordsCommand extends ListInvestigationRecordsCommand_base {
|
|
625
|
+
/** @internal type navigation helper, not in runtime. */
|
|
626
|
+
protected static __types: {
|
|
627
|
+
api: {
|
|
628
|
+
input: ListInvestigationRecordsRequest;
|
|
629
|
+
output: ListInvestigationRecordsResponse;
|
|
630
|
+
};
|
|
631
|
+
sdk: {
|
|
632
|
+
input: ListInvestigationRecordsCommandInput;
|
|
633
|
+
output: ListInvestigationRecordsCommandOutput;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
}
|