aws-sdk-inspector2 1.25.0 → 1.27.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +88 -49
- data/lib/aws-sdk-inspector2/client_api.rb +5 -0
- data/lib/aws-sdk-inspector2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-inspector2/types.rb +127 -90
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/client.rbs +2644 -0
- data/sig/errors.rbs +47 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +2050 -0
- data/sig/waiters.rbs +13 -0
- metadata +9 -4
data/sig/types.rbs
ADDED
@@ -0,0 +1,2050 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::Inspector2
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class Account
|
17
|
+
attr_accessor account_id: ::String
|
18
|
+
attr_accessor resource_status: Types::ResourceStatus
|
19
|
+
attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
20
|
+
SENSITIVE: []
|
21
|
+
end
|
22
|
+
|
23
|
+
class AccountAggregation
|
24
|
+
attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
25
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")
|
26
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
27
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
28
|
+
SENSITIVE: []
|
29
|
+
end
|
30
|
+
|
31
|
+
class AccountAggregationResponse
|
32
|
+
attr_accessor account_id: ::String
|
33
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
34
|
+
SENSITIVE: []
|
35
|
+
end
|
36
|
+
|
37
|
+
class AccountState
|
38
|
+
attr_accessor account_id: ::String
|
39
|
+
attr_accessor resource_state: Types::ResourceState
|
40
|
+
attr_accessor state: Types::State
|
41
|
+
SENSITIVE: []
|
42
|
+
end
|
43
|
+
|
44
|
+
class AggregationRequest
|
45
|
+
attr_accessor account_aggregation: Types::AccountAggregation
|
46
|
+
attr_accessor ami_aggregation: Types::AmiAggregation
|
47
|
+
attr_accessor aws_ecr_container_aggregation: Types::AwsEcrContainerAggregation
|
48
|
+
attr_accessor ec2_instance_aggregation: Types::Ec2InstanceAggregation
|
49
|
+
attr_accessor finding_type_aggregation: Types::FindingTypeAggregation
|
50
|
+
attr_accessor image_layer_aggregation: Types::ImageLayerAggregation
|
51
|
+
attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregation
|
52
|
+
attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregation
|
53
|
+
attr_accessor package_aggregation: Types::PackageAggregation
|
54
|
+
attr_accessor repository_aggregation: Types::RepositoryAggregation
|
55
|
+
attr_accessor title_aggregation: Types::TitleAggregation
|
56
|
+
attr_accessor unknown: untyped
|
57
|
+
SENSITIVE: []
|
58
|
+
|
59
|
+
class AccountAggregation < AggregationRequest
|
60
|
+
end
|
61
|
+
class AmiAggregation < AggregationRequest
|
62
|
+
end
|
63
|
+
class AwsEcrContainerAggregation < AggregationRequest
|
64
|
+
end
|
65
|
+
class Ec2InstanceAggregation < AggregationRequest
|
66
|
+
end
|
67
|
+
class FindingTypeAggregation < AggregationRequest
|
68
|
+
end
|
69
|
+
class ImageLayerAggregation < AggregationRequest
|
70
|
+
end
|
71
|
+
class LambdaFunctionAggregation < AggregationRequest
|
72
|
+
end
|
73
|
+
class LambdaLayerAggregation < AggregationRequest
|
74
|
+
end
|
75
|
+
class PackageAggregation < AggregationRequest
|
76
|
+
end
|
77
|
+
class RepositoryAggregation < AggregationRequest
|
78
|
+
end
|
79
|
+
class TitleAggregation < AggregationRequest
|
80
|
+
end
|
81
|
+
class Unknown < AggregationRequest
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class AggregationResponse
|
86
|
+
attr_accessor account_aggregation: Types::AccountAggregationResponse
|
87
|
+
attr_accessor ami_aggregation: Types::AmiAggregationResponse
|
88
|
+
attr_accessor aws_ecr_container_aggregation: Types::AwsEcrContainerAggregationResponse
|
89
|
+
attr_accessor ec2_instance_aggregation: Types::Ec2InstanceAggregationResponse
|
90
|
+
attr_accessor finding_type_aggregation: Types::FindingTypeAggregationResponse
|
91
|
+
attr_accessor image_layer_aggregation: Types::ImageLayerAggregationResponse
|
92
|
+
attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregationResponse
|
93
|
+
attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregationResponse
|
94
|
+
attr_accessor package_aggregation: Types::PackageAggregationResponse
|
95
|
+
attr_accessor repository_aggregation: Types::RepositoryAggregationResponse
|
96
|
+
attr_accessor title_aggregation: Types::TitleAggregationResponse
|
97
|
+
attr_accessor unknown: untyped
|
98
|
+
SENSITIVE: []
|
99
|
+
|
100
|
+
class AccountAggregation < AggregationResponse
|
101
|
+
end
|
102
|
+
class AmiAggregation < AggregationResponse
|
103
|
+
end
|
104
|
+
class AwsEcrContainerAggregation < AggregationResponse
|
105
|
+
end
|
106
|
+
class Ec2InstanceAggregation < AggregationResponse
|
107
|
+
end
|
108
|
+
class FindingTypeAggregation < AggregationResponse
|
109
|
+
end
|
110
|
+
class ImageLayerAggregation < AggregationResponse
|
111
|
+
end
|
112
|
+
class LambdaFunctionAggregation < AggregationResponse
|
113
|
+
end
|
114
|
+
class LambdaLayerAggregation < AggregationResponse
|
115
|
+
end
|
116
|
+
class PackageAggregation < AggregationResponse
|
117
|
+
end
|
118
|
+
class RepositoryAggregation < AggregationResponse
|
119
|
+
end
|
120
|
+
class TitleAggregation < AggregationResponse
|
121
|
+
end
|
122
|
+
class Unknown < AggregationResponse
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class AmiAggregation
|
127
|
+
attr_accessor amis: ::Array[Types::StringFilter]
|
128
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_INSTANCES")
|
129
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
130
|
+
SENSITIVE: []
|
131
|
+
end
|
132
|
+
|
133
|
+
class AmiAggregationResponse
|
134
|
+
attr_accessor account_id: ::String
|
135
|
+
attr_accessor affected_instances: ::Integer
|
136
|
+
attr_accessor ami: ::String
|
137
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
138
|
+
SENSITIVE: []
|
139
|
+
end
|
140
|
+
|
141
|
+
class AssociateMemberRequest
|
142
|
+
attr_accessor account_id: ::String
|
143
|
+
SENSITIVE: []
|
144
|
+
end
|
145
|
+
|
146
|
+
class AssociateMemberResponse
|
147
|
+
attr_accessor account_id: ::String
|
148
|
+
SENSITIVE: []
|
149
|
+
end
|
150
|
+
|
151
|
+
class AtigData
|
152
|
+
attr_accessor first_seen: ::Time
|
153
|
+
attr_accessor last_seen: ::Time
|
154
|
+
attr_accessor targets: ::Array[::String]
|
155
|
+
attr_accessor ttps: ::Array[::String]
|
156
|
+
SENSITIVE: []
|
157
|
+
end
|
158
|
+
|
159
|
+
class AutoEnable
|
160
|
+
attr_accessor ec2: bool
|
161
|
+
attr_accessor ecr: bool
|
162
|
+
attr_accessor lambda: bool
|
163
|
+
attr_accessor lambda_code: bool
|
164
|
+
SENSITIVE: []
|
165
|
+
end
|
166
|
+
|
167
|
+
class AwsEc2InstanceDetails
|
168
|
+
attr_accessor iam_instance_profile_arn: ::String
|
169
|
+
attr_accessor image_id: ::String
|
170
|
+
attr_accessor ip_v4_addresses: ::Array[::String]
|
171
|
+
attr_accessor ip_v6_addresses: ::Array[::String]
|
172
|
+
attr_accessor key_name: ::String
|
173
|
+
attr_accessor launched_at: ::Time
|
174
|
+
attr_accessor platform: ::String
|
175
|
+
attr_accessor subnet_id: ::String
|
176
|
+
attr_accessor type: ::String
|
177
|
+
attr_accessor vpc_id: ::String
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class AwsEcrContainerAggregation
|
182
|
+
attr_accessor architectures: ::Array[Types::StringFilter]
|
183
|
+
attr_accessor image_shas: ::Array[Types::StringFilter]
|
184
|
+
attr_accessor image_tags: ::Array[Types::StringFilter]
|
185
|
+
attr_accessor repositories: ::Array[Types::StringFilter]
|
186
|
+
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
187
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
188
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
189
|
+
SENSITIVE: []
|
190
|
+
end
|
191
|
+
|
192
|
+
class AwsEcrContainerAggregationResponse
|
193
|
+
attr_accessor account_id: ::String
|
194
|
+
attr_accessor architecture: ::String
|
195
|
+
attr_accessor image_sha: ::String
|
196
|
+
attr_accessor image_tags: ::Array[::String]
|
197
|
+
attr_accessor repository: ::String
|
198
|
+
attr_accessor resource_id: ::String
|
199
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
200
|
+
SENSITIVE: []
|
201
|
+
end
|
202
|
+
|
203
|
+
class AwsEcrContainerImageDetails
|
204
|
+
attr_accessor architecture: ::String
|
205
|
+
attr_accessor author: ::String
|
206
|
+
attr_accessor image_hash: ::String
|
207
|
+
attr_accessor image_tags: ::Array[::String]
|
208
|
+
attr_accessor platform: ::String
|
209
|
+
attr_accessor pushed_at: ::Time
|
210
|
+
attr_accessor registry: ::String
|
211
|
+
attr_accessor repository_name: ::String
|
212
|
+
SENSITIVE: []
|
213
|
+
end
|
214
|
+
|
215
|
+
class AwsLambdaFunctionDetails
|
216
|
+
attr_accessor architectures: ::Array[("X86_64" | "ARM64")]
|
217
|
+
attr_accessor code_sha_256: ::String
|
218
|
+
attr_accessor execution_role_arn: ::String
|
219
|
+
attr_accessor function_name: ::String
|
220
|
+
attr_accessor last_modified_at: ::Time
|
221
|
+
attr_accessor layers: ::Array[::String]
|
222
|
+
attr_accessor package_type: ("IMAGE" | "ZIP")
|
223
|
+
attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10")
|
224
|
+
attr_accessor version: ::String
|
225
|
+
attr_accessor vpc_config: Types::LambdaVpcConfig
|
226
|
+
SENSITIVE: []
|
227
|
+
end
|
228
|
+
|
229
|
+
class BadRequestException
|
230
|
+
attr_accessor message: ::String
|
231
|
+
SENSITIVE: []
|
232
|
+
end
|
233
|
+
|
234
|
+
class BatchGetAccountStatusRequest
|
235
|
+
attr_accessor account_ids: ::Array[::String]
|
236
|
+
SENSITIVE: []
|
237
|
+
end
|
238
|
+
|
239
|
+
class BatchGetAccountStatusResponse
|
240
|
+
attr_accessor accounts: ::Array[Types::AccountState]
|
241
|
+
attr_accessor failed_accounts: ::Array[Types::FailedAccount]
|
242
|
+
SENSITIVE: []
|
243
|
+
end
|
244
|
+
|
245
|
+
class BatchGetCodeSnippetRequest
|
246
|
+
attr_accessor finding_arns: ::Array[::String]
|
247
|
+
SENSITIVE: []
|
248
|
+
end
|
249
|
+
|
250
|
+
class BatchGetCodeSnippetResponse
|
251
|
+
attr_accessor code_snippet_results: ::Array[Types::CodeSnippetResult]
|
252
|
+
attr_accessor errors: ::Array[Types::CodeSnippetError]
|
253
|
+
SENSITIVE: []
|
254
|
+
end
|
255
|
+
|
256
|
+
class BatchGetFindingDetailsRequest
|
257
|
+
attr_accessor finding_arns: ::Array[::String]
|
258
|
+
SENSITIVE: []
|
259
|
+
end
|
260
|
+
|
261
|
+
class BatchGetFindingDetailsResponse
|
262
|
+
attr_accessor errors: ::Array[Types::FindingDetailsError]
|
263
|
+
attr_accessor finding_details: ::Array[Types::FindingDetail]
|
264
|
+
SENSITIVE: []
|
265
|
+
end
|
266
|
+
|
267
|
+
class BatchGetFreeTrialInfoRequest
|
268
|
+
attr_accessor account_ids: ::Array[::String]
|
269
|
+
SENSITIVE: []
|
270
|
+
end
|
271
|
+
|
272
|
+
class BatchGetFreeTrialInfoResponse
|
273
|
+
attr_accessor accounts: ::Array[Types::FreeTrialAccountInfo]
|
274
|
+
attr_accessor failed_accounts: ::Array[Types::FreeTrialInfoError]
|
275
|
+
SENSITIVE: []
|
276
|
+
end
|
277
|
+
|
278
|
+
class BatchGetMemberEc2DeepInspectionStatusRequest
|
279
|
+
attr_accessor account_ids: ::Array[::String]
|
280
|
+
SENSITIVE: []
|
281
|
+
end
|
282
|
+
|
283
|
+
class BatchGetMemberEc2DeepInspectionStatusResponse
|
284
|
+
attr_accessor account_ids: ::Array[Types::MemberAccountEc2DeepInspectionStatusState]
|
285
|
+
attr_accessor failed_account_ids: ::Array[Types::FailedMemberAccountEc2DeepInspectionStatusState]
|
286
|
+
SENSITIVE: []
|
287
|
+
end
|
288
|
+
|
289
|
+
class BatchUpdateMemberEc2DeepInspectionStatusRequest
|
290
|
+
attr_accessor account_ids: ::Array[Types::MemberAccountEc2DeepInspectionStatus]
|
291
|
+
SENSITIVE: []
|
292
|
+
end
|
293
|
+
|
294
|
+
class BatchUpdateMemberEc2DeepInspectionStatusResponse
|
295
|
+
attr_accessor account_ids: ::Array[Types::MemberAccountEc2DeepInspectionStatusState]
|
296
|
+
attr_accessor failed_account_ids: ::Array[Types::FailedMemberAccountEc2DeepInspectionStatusState]
|
297
|
+
SENSITIVE: []
|
298
|
+
end
|
299
|
+
|
300
|
+
class CancelFindingsReportRequest
|
301
|
+
attr_accessor report_id: ::String
|
302
|
+
SENSITIVE: []
|
303
|
+
end
|
304
|
+
|
305
|
+
class CancelFindingsReportResponse
|
306
|
+
attr_accessor report_id: ::String
|
307
|
+
SENSITIVE: []
|
308
|
+
end
|
309
|
+
|
310
|
+
class CancelSbomExportRequest
|
311
|
+
attr_accessor report_id: ::String
|
312
|
+
SENSITIVE: []
|
313
|
+
end
|
314
|
+
|
315
|
+
class CancelSbomExportResponse
|
316
|
+
attr_accessor report_id: ::String
|
317
|
+
SENSITIVE: []
|
318
|
+
end
|
319
|
+
|
320
|
+
class CisCheckAggregation
|
321
|
+
attr_accessor account_id: ::String
|
322
|
+
attr_accessor check_description: ::String
|
323
|
+
attr_accessor check_id: ::String
|
324
|
+
attr_accessor level: ("LEVEL_1" | "LEVEL_2")
|
325
|
+
attr_accessor platform: ::String
|
326
|
+
attr_accessor scan_arn: ::String
|
327
|
+
attr_accessor status_counts: Types::StatusCounts
|
328
|
+
attr_accessor title: ::String
|
329
|
+
SENSITIVE: []
|
330
|
+
end
|
331
|
+
|
332
|
+
class CisDateFilter
|
333
|
+
attr_accessor earliest_scan_start_time: ::Time
|
334
|
+
attr_accessor latest_scan_start_time: ::Time
|
335
|
+
SENSITIVE: []
|
336
|
+
end
|
337
|
+
|
338
|
+
class CisFindingStatusFilter
|
339
|
+
attr_accessor comparison: ("EQUALS")
|
340
|
+
attr_accessor value: ("PASSED" | "FAILED" | "SKIPPED")
|
341
|
+
SENSITIVE: []
|
342
|
+
end
|
343
|
+
|
344
|
+
class CisNumberFilter
|
345
|
+
attr_accessor lower_inclusive: ::Integer
|
346
|
+
attr_accessor upper_inclusive: ::Integer
|
347
|
+
SENSITIVE: []
|
348
|
+
end
|
349
|
+
|
350
|
+
class CisResultStatusFilter
|
351
|
+
attr_accessor comparison: ("EQUALS")
|
352
|
+
attr_accessor value: ("PASSED" | "FAILED" | "SKIPPED")
|
353
|
+
SENSITIVE: []
|
354
|
+
end
|
355
|
+
|
356
|
+
class CisScan
|
357
|
+
attr_accessor failed_checks: ::Integer
|
358
|
+
attr_accessor scan_arn: ::String
|
359
|
+
attr_accessor scan_configuration_arn: ::String
|
360
|
+
attr_accessor scan_date: ::Time
|
361
|
+
attr_accessor scan_name: ::String
|
362
|
+
attr_accessor scheduled_by: ::String
|
363
|
+
attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
|
364
|
+
attr_accessor status: ("FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS")
|
365
|
+
attr_accessor targets: Types::CisTargets
|
366
|
+
attr_accessor total_checks: ::Integer
|
367
|
+
SENSITIVE: []
|
368
|
+
end
|
369
|
+
|
370
|
+
class CisScanConfiguration
|
371
|
+
attr_accessor owner_id: ::String
|
372
|
+
attr_accessor scan_configuration_arn: ::String
|
373
|
+
attr_accessor scan_name: ::String
|
374
|
+
attr_accessor schedule: Types::Schedule
|
375
|
+
attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
|
376
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
377
|
+
attr_accessor targets: Types::CisTargets
|
378
|
+
SENSITIVE: []
|
379
|
+
end
|
380
|
+
|
381
|
+
class CisScanResultDetails
|
382
|
+
attr_accessor account_id: ::String
|
383
|
+
attr_accessor check_description: ::String
|
384
|
+
attr_accessor check_id: ::String
|
385
|
+
attr_accessor finding_arn: ::String
|
386
|
+
attr_accessor level: ("LEVEL_1" | "LEVEL_2")
|
387
|
+
attr_accessor platform: ::String
|
388
|
+
attr_accessor remediation: ::String
|
389
|
+
attr_accessor scan_arn: ::String
|
390
|
+
attr_accessor status: ("PASSED" | "FAILED" | "SKIPPED")
|
391
|
+
attr_accessor status_reason: ::String
|
392
|
+
attr_accessor target_resource_id: ::String
|
393
|
+
attr_accessor title: ::String
|
394
|
+
SENSITIVE: []
|
395
|
+
end
|
396
|
+
|
397
|
+
class CisScanResultDetailsFilterCriteria
|
398
|
+
attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
|
399
|
+
attr_accessor finding_arn_filters: ::Array[Types::CisStringFilter]
|
400
|
+
attr_accessor finding_status_filters: ::Array[Types::CisFindingStatusFilter]
|
401
|
+
attr_accessor security_level_filters: ::Array[Types::CisSecurityLevelFilter]
|
402
|
+
attr_accessor title_filters: ::Array[Types::CisStringFilter]
|
403
|
+
SENSITIVE: []
|
404
|
+
end
|
405
|
+
|
406
|
+
class CisScanResultsAggregatedByChecksFilterCriteria
|
407
|
+
attr_accessor account_id_filters: ::Array[Types::CisStringFilter]
|
408
|
+
attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
|
409
|
+
attr_accessor failed_resources_filters: ::Array[Types::CisNumberFilter]
|
410
|
+
attr_accessor platform_filters: ::Array[Types::CisStringFilter]
|
411
|
+
attr_accessor security_level_filters: ::Array[Types::CisSecurityLevelFilter]
|
412
|
+
attr_accessor title_filters: ::Array[Types::CisStringFilter]
|
413
|
+
SENSITIVE: []
|
414
|
+
end
|
415
|
+
|
416
|
+
class CisScanResultsAggregatedByTargetResourceFilterCriteria
|
417
|
+
attr_accessor account_id_filters: ::Array[Types::CisStringFilter]
|
418
|
+
attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
|
419
|
+
attr_accessor failed_checks_filters: ::Array[Types::CisNumberFilter]
|
420
|
+
attr_accessor platform_filters: ::Array[Types::CisStringFilter]
|
421
|
+
attr_accessor status_filters: ::Array[Types::CisResultStatusFilter]
|
422
|
+
attr_accessor target_resource_id_filters: ::Array[Types::CisStringFilter]
|
423
|
+
attr_accessor target_resource_tag_filters: ::Array[Types::TagFilter]
|
424
|
+
attr_accessor target_status_filters: ::Array[Types::CisTargetStatusFilter]
|
425
|
+
attr_accessor target_status_reason_filters: ::Array[Types::CisTargetStatusReasonFilter]
|
426
|
+
SENSITIVE: []
|
427
|
+
end
|
428
|
+
|
429
|
+
class CisScanStatusFilter
|
430
|
+
attr_accessor comparison: ("EQUALS")
|
431
|
+
attr_accessor value: ("FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS")
|
432
|
+
SENSITIVE: []
|
433
|
+
end
|
434
|
+
|
435
|
+
class CisSecurityLevelFilter
|
436
|
+
attr_accessor comparison: ("EQUALS")
|
437
|
+
attr_accessor value: ("LEVEL_1" | "LEVEL_2")
|
438
|
+
SENSITIVE: []
|
439
|
+
end
|
440
|
+
|
441
|
+
class CisSessionMessage
|
442
|
+
attr_accessor cis_rule_details: ::String
|
443
|
+
attr_accessor rule_id: ::String
|
444
|
+
attr_accessor status: ("FAILED" | "PASSED" | "NOT_EVALUATED" | "INFORMATIONAL" | "UNKNOWN" | "NOT_APPLICABLE" | "ERROR")
|
445
|
+
SENSITIVE: []
|
446
|
+
end
|
447
|
+
|
448
|
+
class CisStringFilter
|
449
|
+
attr_accessor comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS")
|
450
|
+
attr_accessor value: ::String
|
451
|
+
SENSITIVE: []
|
452
|
+
end
|
453
|
+
|
454
|
+
class CisTargetResourceAggregation
|
455
|
+
attr_accessor account_id: ::String
|
456
|
+
attr_accessor platform: ::String
|
457
|
+
attr_accessor scan_arn: ::String
|
458
|
+
attr_accessor status_counts: Types::StatusCounts
|
459
|
+
attr_accessor target_resource_id: ::String
|
460
|
+
attr_accessor target_resource_tags: ::Hash[::String, ::Array[::String]]
|
461
|
+
attr_accessor target_status: ("TIMED_OUT" | "CANCELLED" | "COMPLETED")
|
462
|
+
attr_accessor target_status_reason: ("SCAN_IN_PROGRESS" | "UNSUPPORTED_OS" | "SSM_UNMANAGED")
|
463
|
+
SENSITIVE: []
|
464
|
+
end
|
465
|
+
|
466
|
+
class CisTargetStatusFilter
|
467
|
+
attr_accessor comparison: ("EQUALS")
|
468
|
+
attr_accessor value: ("TIMED_OUT" | "CANCELLED" | "COMPLETED")
|
469
|
+
SENSITIVE: []
|
470
|
+
end
|
471
|
+
|
472
|
+
class CisTargetStatusReasonFilter
|
473
|
+
attr_accessor comparison: ("EQUALS")
|
474
|
+
attr_accessor value: ("SCAN_IN_PROGRESS" | "UNSUPPORTED_OS" | "SSM_UNMANAGED")
|
475
|
+
SENSITIVE: []
|
476
|
+
end
|
477
|
+
|
478
|
+
class CisTargets
|
479
|
+
attr_accessor account_ids: ::Array[::String]
|
480
|
+
attr_accessor target_resource_tags: ::Hash[::String, ::Array[::String]]
|
481
|
+
SENSITIVE: []
|
482
|
+
end
|
483
|
+
|
484
|
+
class CisaData
|
485
|
+
attr_accessor action: ::String
|
486
|
+
attr_accessor date_added: ::Time
|
487
|
+
attr_accessor date_due: ::Time
|
488
|
+
SENSITIVE: []
|
489
|
+
end
|
490
|
+
|
491
|
+
class CodeFilePath
|
492
|
+
attr_accessor end_line: ::Integer
|
493
|
+
attr_accessor file_name: ::String
|
494
|
+
attr_accessor file_path: ::String
|
495
|
+
attr_accessor start_line: ::Integer
|
496
|
+
SENSITIVE: []
|
497
|
+
end
|
498
|
+
|
499
|
+
class CodeLine
|
500
|
+
attr_accessor content: ::String
|
501
|
+
attr_accessor line_number: ::Integer
|
502
|
+
SENSITIVE: []
|
503
|
+
end
|
504
|
+
|
505
|
+
class CodeSnippetError
|
506
|
+
attr_accessor error_code: ("INTERNAL_ERROR" | "ACCESS_DENIED" | "CODE_SNIPPET_NOT_FOUND" | "INVALID_INPUT")
|
507
|
+
attr_accessor error_message: ::String
|
508
|
+
attr_accessor finding_arn: ::String
|
509
|
+
SENSITIVE: []
|
510
|
+
end
|
511
|
+
|
512
|
+
class CodeSnippetResult
|
513
|
+
attr_accessor code_snippet: ::Array[Types::CodeLine]
|
514
|
+
attr_accessor end_line: ::Integer
|
515
|
+
attr_accessor finding_arn: ::String
|
516
|
+
attr_accessor start_line: ::Integer
|
517
|
+
attr_accessor suggested_fixes: ::Array[Types::SuggestedFix]
|
518
|
+
SENSITIVE: []
|
519
|
+
end
|
520
|
+
|
521
|
+
class CodeVulnerabilityDetails
|
522
|
+
attr_accessor cwes: ::Array[::String]
|
523
|
+
attr_accessor detector_id: ::String
|
524
|
+
attr_accessor detector_name: ::String
|
525
|
+
attr_accessor detector_tags: ::Array[::String]
|
526
|
+
attr_accessor file_path: Types::CodeFilePath
|
527
|
+
attr_accessor reference_urls: ::Array[::String]
|
528
|
+
attr_accessor rule_id: ::String
|
529
|
+
attr_accessor source_lambda_layer_arn: ::String
|
530
|
+
SENSITIVE: []
|
531
|
+
end
|
532
|
+
|
533
|
+
class ComputePlatform
|
534
|
+
attr_accessor product: ::String
|
535
|
+
attr_accessor vendor: ::String
|
536
|
+
attr_accessor version: ::String
|
537
|
+
SENSITIVE: []
|
538
|
+
end
|
539
|
+
|
540
|
+
class ConflictException
|
541
|
+
attr_accessor message: ::String
|
542
|
+
attr_accessor resource_id: ::String
|
543
|
+
attr_accessor resource_type: ::String
|
544
|
+
SENSITIVE: []
|
545
|
+
end
|
546
|
+
|
547
|
+
class Counts
|
548
|
+
attr_accessor count: ::Integer
|
549
|
+
attr_accessor group_key: ("SCAN_STATUS_CODE" | "SCAN_STATUS_REASON" | "ACCOUNT_ID" | "RESOURCE_TYPE" | "ECR_REPOSITORY_NAME")
|
550
|
+
SENSITIVE: []
|
551
|
+
end
|
552
|
+
|
553
|
+
class CoverageDateFilter
|
554
|
+
attr_accessor end_inclusive: ::Time
|
555
|
+
attr_accessor start_inclusive: ::Time
|
556
|
+
SENSITIVE: []
|
557
|
+
end
|
558
|
+
|
559
|
+
class CoverageFilterCriteria
|
560
|
+
attr_accessor account_id: ::Array[Types::CoverageStringFilter]
|
561
|
+
attr_accessor ec2_instance_tags: ::Array[Types::CoverageMapFilter]
|
562
|
+
attr_accessor ecr_image_tags: ::Array[Types::CoverageStringFilter]
|
563
|
+
attr_accessor ecr_repository_name: ::Array[Types::CoverageStringFilter]
|
564
|
+
attr_accessor image_pulled_at: ::Array[Types::CoverageDateFilter]
|
565
|
+
attr_accessor lambda_function_name: ::Array[Types::CoverageStringFilter]
|
566
|
+
attr_accessor lambda_function_runtime: ::Array[Types::CoverageStringFilter]
|
567
|
+
attr_accessor lambda_function_tags: ::Array[Types::CoverageMapFilter]
|
568
|
+
attr_accessor last_scanned_at: ::Array[Types::CoverageDateFilter]
|
569
|
+
attr_accessor resource_id: ::Array[Types::CoverageStringFilter]
|
570
|
+
attr_accessor resource_type: ::Array[Types::CoverageStringFilter]
|
571
|
+
attr_accessor scan_status_code: ::Array[Types::CoverageStringFilter]
|
572
|
+
attr_accessor scan_status_reason: ::Array[Types::CoverageStringFilter]
|
573
|
+
attr_accessor scan_type: ::Array[Types::CoverageStringFilter]
|
574
|
+
SENSITIVE: []
|
575
|
+
end
|
576
|
+
|
577
|
+
class CoverageMapFilter
|
578
|
+
attr_accessor comparison: ("EQUALS")
|
579
|
+
attr_accessor key: ::String
|
580
|
+
attr_accessor value: ::String
|
581
|
+
SENSITIVE: []
|
582
|
+
end
|
583
|
+
|
584
|
+
class CoverageStringFilter
|
585
|
+
attr_accessor comparison: ("EQUALS" | "NOT_EQUALS")
|
586
|
+
attr_accessor value: ::String
|
587
|
+
SENSITIVE: []
|
588
|
+
end
|
589
|
+
|
590
|
+
class CoveredResource
|
591
|
+
attr_accessor account_id: ::String
|
592
|
+
attr_accessor last_scanned_at: ::Time
|
593
|
+
attr_accessor resource_id: ::String
|
594
|
+
attr_accessor resource_metadata: Types::ResourceScanMetadata
|
595
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION")
|
596
|
+
attr_accessor scan_status: Types::ScanStatus
|
597
|
+
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
598
|
+
SENSITIVE: []
|
599
|
+
end
|
600
|
+
|
601
|
+
class CreateCisScanConfigurationRequest
|
602
|
+
attr_accessor scan_name: ::String
|
603
|
+
attr_accessor schedule: Types::Schedule
|
604
|
+
attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
|
605
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
606
|
+
attr_accessor targets: Types::CreateCisTargets
|
607
|
+
SENSITIVE: []
|
608
|
+
end
|
609
|
+
|
610
|
+
class CreateCisScanConfigurationResponse
|
611
|
+
attr_accessor scan_configuration_arn: ::String
|
612
|
+
SENSITIVE: []
|
613
|
+
end
|
614
|
+
|
615
|
+
class CreateCisTargets
|
616
|
+
attr_accessor account_ids: ::Array[::String]
|
617
|
+
attr_accessor target_resource_tags: ::Hash[::String, ::Array[::String]]
|
618
|
+
SENSITIVE: []
|
619
|
+
end
|
620
|
+
|
621
|
+
class CreateFilterRequest
|
622
|
+
attr_accessor action: ("NONE" | "SUPPRESS")
|
623
|
+
attr_accessor description: ::String
|
624
|
+
attr_accessor filter_criteria: Types::FilterCriteria
|
625
|
+
attr_accessor name: ::String
|
626
|
+
attr_accessor reason: ::String
|
627
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
628
|
+
SENSITIVE: []
|
629
|
+
end
|
630
|
+
|
631
|
+
class CreateFilterResponse
|
632
|
+
attr_accessor arn: ::String
|
633
|
+
SENSITIVE: []
|
634
|
+
end
|
635
|
+
|
636
|
+
class CreateFindingsReportRequest
|
637
|
+
attr_accessor filter_criteria: Types::FilterCriteria
|
638
|
+
attr_accessor report_format: ("CSV" | "JSON")
|
639
|
+
attr_accessor s3_destination: Types::Destination
|
640
|
+
SENSITIVE: []
|
641
|
+
end
|
642
|
+
|
643
|
+
class CreateFindingsReportResponse
|
644
|
+
attr_accessor report_id: ::String
|
645
|
+
SENSITIVE: []
|
646
|
+
end
|
647
|
+
|
648
|
+
class CreateSbomExportRequest
|
649
|
+
attr_accessor report_format: ("CYCLONEDX_1_4" | "SPDX_2_3")
|
650
|
+
attr_accessor resource_filter_criteria: Types::ResourceFilterCriteria
|
651
|
+
attr_accessor s3_destination: Types::Destination
|
652
|
+
SENSITIVE: []
|
653
|
+
end
|
654
|
+
|
655
|
+
class CreateSbomExportResponse
|
656
|
+
attr_accessor report_id: ::String
|
657
|
+
SENSITIVE: []
|
658
|
+
end
|
659
|
+
|
660
|
+
class Cvss2
|
661
|
+
attr_accessor base_score: ::Float
|
662
|
+
attr_accessor scoring_vector: ::String
|
663
|
+
SENSITIVE: []
|
664
|
+
end
|
665
|
+
|
666
|
+
class Cvss3
|
667
|
+
attr_accessor base_score: ::Float
|
668
|
+
attr_accessor scoring_vector: ::String
|
669
|
+
SENSITIVE: []
|
670
|
+
end
|
671
|
+
|
672
|
+
class CvssScore
|
673
|
+
attr_accessor base_score: ::Float
|
674
|
+
attr_accessor scoring_vector: ::String
|
675
|
+
attr_accessor source: ::String
|
676
|
+
attr_accessor version: ::String
|
677
|
+
SENSITIVE: []
|
678
|
+
end
|
679
|
+
|
680
|
+
class CvssScoreAdjustment
|
681
|
+
attr_accessor metric: ::String
|
682
|
+
attr_accessor reason: ::String
|
683
|
+
SENSITIVE: []
|
684
|
+
end
|
685
|
+
|
686
|
+
class CvssScoreDetails
|
687
|
+
attr_accessor adjustments: ::Array[Types::CvssScoreAdjustment]
|
688
|
+
attr_accessor cvss_source: ::String
|
689
|
+
attr_accessor score: ::Float
|
690
|
+
attr_accessor score_source: ::String
|
691
|
+
attr_accessor scoring_vector: ::String
|
692
|
+
attr_accessor version: ::String
|
693
|
+
SENSITIVE: []
|
694
|
+
end
|
695
|
+
|
696
|
+
class DailySchedule
|
697
|
+
attr_accessor start_time: Types::Time
|
698
|
+
SENSITIVE: []
|
699
|
+
end
|
700
|
+
|
701
|
+
class DateFilter
|
702
|
+
attr_accessor end_inclusive: ::Time
|
703
|
+
attr_accessor start_inclusive: ::Time
|
704
|
+
SENSITIVE: []
|
705
|
+
end
|
706
|
+
|
707
|
+
class DelegatedAdmin
|
708
|
+
attr_accessor account_id: ::String
|
709
|
+
attr_accessor relationship_status: ("CREATED" | "INVITED" | "DISABLED" | "ENABLED" | "REMOVED" | "RESIGNED" | "DELETED" | "EMAIL_VERIFICATION_IN_PROGRESS" | "EMAIL_VERIFICATION_FAILED" | "REGION_DISABLED" | "ACCOUNT_SUSPENDED" | "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER")
|
710
|
+
SENSITIVE: []
|
711
|
+
end
|
712
|
+
|
713
|
+
class DelegatedAdminAccount
|
714
|
+
attr_accessor account_id: ::String
|
715
|
+
attr_accessor status: ("ENABLED" | "DISABLE_IN_PROGRESS")
|
716
|
+
SENSITIVE: []
|
717
|
+
end
|
718
|
+
|
719
|
+
class DeleteCisScanConfigurationRequest
|
720
|
+
attr_accessor scan_configuration_arn: ::String
|
721
|
+
SENSITIVE: []
|
722
|
+
end
|
723
|
+
|
724
|
+
class DeleteCisScanConfigurationResponse
|
725
|
+
attr_accessor scan_configuration_arn: ::String
|
726
|
+
SENSITIVE: []
|
727
|
+
end
|
728
|
+
|
729
|
+
class DeleteFilterRequest
|
730
|
+
attr_accessor arn: ::String
|
731
|
+
SENSITIVE: []
|
732
|
+
end
|
733
|
+
|
734
|
+
class DeleteFilterResponse
|
735
|
+
attr_accessor arn: ::String
|
736
|
+
SENSITIVE: []
|
737
|
+
end
|
738
|
+
|
739
|
+
class DescribeOrganizationConfigurationRequest < Aws::EmptyStructure
|
740
|
+
end
|
741
|
+
|
742
|
+
class DescribeOrganizationConfigurationResponse
|
743
|
+
attr_accessor auto_enable: Types::AutoEnable
|
744
|
+
attr_accessor max_account_limit_reached: bool
|
745
|
+
SENSITIVE: []
|
746
|
+
end
|
747
|
+
|
748
|
+
class Destination
|
749
|
+
attr_accessor bucket_name: ::String
|
750
|
+
attr_accessor key_prefix: ::String
|
751
|
+
attr_accessor kms_key_arn: ::String
|
752
|
+
SENSITIVE: []
|
753
|
+
end
|
754
|
+
|
755
|
+
class DisableDelegatedAdminAccountRequest
|
756
|
+
attr_accessor delegated_admin_account_id: ::String
|
757
|
+
SENSITIVE: []
|
758
|
+
end
|
759
|
+
|
760
|
+
class DisableDelegatedAdminAccountResponse
|
761
|
+
attr_accessor delegated_admin_account_id: ::String
|
762
|
+
SENSITIVE: []
|
763
|
+
end
|
764
|
+
|
765
|
+
class DisableRequest
|
766
|
+
attr_accessor account_ids: ::Array[::String]
|
767
|
+
attr_accessor resource_types: ::Array[("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE")]
|
768
|
+
SENSITIVE: []
|
769
|
+
end
|
770
|
+
|
771
|
+
class DisableResponse
|
772
|
+
attr_accessor accounts: ::Array[Types::Account]
|
773
|
+
attr_accessor failed_accounts: ::Array[Types::FailedAccount]
|
774
|
+
SENSITIVE: []
|
775
|
+
end
|
776
|
+
|
777
|
+
class DisassociateMemberRequest
|
778
|
+
attr_accessor account_id: ::String
|
779
|
+
SENSITIVE: []
|
780
|
+
end
|
781
|
+
|
782
|
+
class DisassociateMemberResponse
|
783
|
+
attr_accessor account_id: ::String
|
784
|
+
SENSITIVE: []
|
785
|
+
end
|
786
|
+
|
787
|
+
class Ec2InstanceAggregation
|
788
|
+
attr_accessor amis: ::Array[Types::StringFilter]
|
789
|
+
attr_accessor instance_ids: ::Array[Types::StringFilter]
|
790
|
+
attr_accessor instance_tags: ::Array[Types::MapFilter]
|
791
|
+
attr_accessor operating_systems: ::Array[Types::StringFilter]
|
792
|
+
attr_accessor sort_by: ("NETWORK_FINDINGS" | "CRITICAL" | "HIGH" | "ALL")
|
793
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
794
|
+
SENSITIVE: []
|
795
|
+
end
|
796
|
+
|
797
|
+
class Ec2InstanceAggregationResponse
|
798
|
+
attr_accessor account_id: ::String
|
799
|
+
attr_accessor ami: ::String
|
800
|
+
attr_accessor instance_id: ::String
|
801
|
+
attr_accessor instance_tags: ::Hash[::String, ::String]
|
802
|
+
attr_accessor network_findings: ::Integer
|
803
|
+
attr_accessor operating_system: ::String
|
804
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
805
|
+
SENSITIVE: []
|
806
|
+
end
|
807
|
+
|
808
|
+
class Ec2Metadata
|
809
|
+
attr_accessor ami_id: ::String
|
810
|
+
attr_accessor platform: ("WINDOWS" | "LINUX" | "UNKNOWN" | "MACOS")
|
811
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
812
|
+
SENSITIVE: []
|
813
|
+
end
|
814
|
+
|
815
|
+
class EcrConfiguration
|
816
|
+
attr_accessor pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")
|
817
|
+
attr_accessor rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
|
818
|
+
SENSITIVE: []
|
819
|
+
end
|
820
|
+
|
821
|
+
class EcrConfigurationState
|
822
|
+
attr_accessor rescan_duration_state: Types::EcrRescanDurationState
|
823
|
+
SENSITIVE: []
|
824
|
+
end
|
825
|
+
|
826
|
+
class EcrContainerImageMetadata
|
827
|
+
attr_accessor image_pulled_at: ::Time
|
828
|
+
attr_accessor tags: ::Array[::String]
|
829
|
+
SENSITIVE: []
|
830
|
+
end
|
831
|
+
|
832
|
+
class EcrRepositoryMetadata
|
833
|
+
attr_accessor name: ::String
|
834
|
+
attr_accessor scan_frequency: ("MANUAL" | "SCAN_ON_PUSH" | "CONTINUOUS_SCAN")
|
835
|
+
SENSITIVE: []
|
836
|
+
end
|
837
|
+
|
838
|
+
class EcrRescanDurationState
|
839
|
+
attr_accessor pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")
|
840
|
+
attr_accessor rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
|
841
|
+
attr_accessor status: ("SUCCESS" | "PENDING" | "FAILED")
|
842
|
+
attr_accessor updated_at: ::Time
|
843
|
+
SENSITIVE: []
|
844
|
+
end
|
845
|
+
|
846
|
+
class EnableDelegatedAdminAccountRequest
|
847
|
+
attr_accessor client_token: ::String
|
848
|
+
attr_accessor delegated_admin_account_id: ::String
|
849
|
+
SENSITIVE: []
|
850
|
+
end
|
851
|
+
|
852
|
+
class EnableDelegatedAdminAccountResponse
|
853
|
+
attr_accessor delegated_admin_account_id: ::String
|
854
|
+
SENSITIVE: []
|
855
|
+
end
|
856
|
+
|
857
|
+
class EnableRequest
|
858
|
+
attr_accessor account_ids: ::Array[::String]
|
859
|
+
attr_accessor client_token: ::String
|
860
|
+
attr_accessor resource_types: ::Array[("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE")]
|
861
|
+
SENSITIVE: []
|
862
|
+
end
|
863
|
+
|
864
|
+
class EnableResponse
|
865
|
+
attr_accessor accounts: ::Array[Types::Account]
|
866
|
+
attr_accessor failed_accounts: ::Array[Types::FailedAccount]
|
867
|
+
SENSITIVE: []
|
868
|
+
end
|
869
|
+
|
870
|
+
class Epss
|
871
|
+
attr_accessor score: ::Float
|
872
|
+
SENSITIVE: []
|
873
|
+
end
|
874
|
+
|
875
|
+
class EpssDetails
|
876
|
+
attr_accessor score: ::Float
|
877
|
+
SENSITIVE: []
|
878
|
+
end
|
879
|
+
|
880
|
+
class Evidence
|
881
|
+
attr_accessor evidence_detail: ::String
|
882
|
+
attr_accessor evidence_rule: ::String
|
883
|
+
attr_accessor severity: ::String
|
884
|
+
SENSITIVE: []
|
885
|
+
end
|
886
|
+
|
887
|
+
class ExploitObserved
|
888
|
+
attr_accessor first_seen: ::Time
|
889
|
+
attr_accessor last_seen: ::Time
|
890
|
+
SENSITIVE: []
|
891
|
+
end
|
892
|
+
|
893
|
+
class ExploitabilityDetails
|
894
|
+
attr_accessor last_known_exploit_at: ::Time
|
895
|
+
SENSITIVE: []
|
896
|
+
end
|
897
|
+
|
898
|
+
class FailedAccount
|
899
|
+
attr_accessor account_id: ::String
|
900
|
+
attr_accessor error_code: ("ALREADY_ENABLED" | "ENABLE_IN_PROGRESS" | "DISABLE_IN_PROGRESS" | "SUSPEND_IN_PROGRESS" | "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "SSM_UNAVAILABLE" | "SSM_THROTTLED" | "EVENTBRIDGE_UNAVAILABLE" | "EVENTBRIDGE_THROTTLED" | "RESOURCE_SCAN_NOT_DISABLED" | "DISASSOCIATE_ALL_MEMBERS" | "ACCOUNT_IS_ISOLATED")
|
901
|
+
attr_accessor error_message: ::String
|
902
|
+
attr_accessor resource_status: Types::ResourceStatus
|
903
|
+
attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
904
|
+
SENSITIVE: []
|
905
|
+
end
|
906
|
+
|
907
|
+
class FailedMemberAccountEc2DeepInspectionStatusState
|
908
|
+
attr_accessor account_id: ::String
|
909
|
+
attr_accessor ec2_scan_status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
910
|
+
attr_accessor error_message: ::String
|
911
|
+
SENSITIVE: []
|
912
|
+
end
|
913
|
+
|
914
|
+
class Filter
|
915
|
+
attr_accessor action: ("NONE" | "SUPPRESS")
|
916
|
+
attr_accessor arn: ::String
|
917
|
+
attr_accessor created_at: ::Time
|
918
|
+
attr_accessor criteria: Types::FilterCriteria
|
919
|
+
attr_accessor description: ::String
|
920
|
+
attr_accessor name: ::String
|
921
|
+
attr_accessor owner_id: ::String
|
922
|
+
attr_accessor reason: ::String
|
923
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
924
|
+
attr_accessor updated_at: ::Time
|
925
|
+
SENSITIVE: []
|
926
|
+
end
|
927
|
+
|
928
|
+
class FilterCriteria
|
929
|
+
attr_accessor aws_account_id: ::Array[Types::StringFilter]
|
930
|
+
attr_accessor code_vulnerability_detector_name: ::Array[Types::StringFilter]
|
931
|
+
attr_accessor code_vulnerability_detector_tags: ::Array[Types::StringFilter]
|
932
|
+
attr_accessor code_vulnerability_file_path: ::Array[Types::StringFilter]
|
933
|
+
attr_accessor component_id: ::Array[Types::StringFilter]
|
934
|
+
attr_accessor component_type: ::Array[Types::StringFilter]
|
935
|
+
attr_accessor ec2_instance_image_id: ::Array[Types::StringFilter]
|
936
|
+
attr_accessor ec2_instance_subnet_id: ::Array[Types::StringFilter]
|
937
|
+
attr_accessor ec2_instance_vpc_id: ::Array[Types::StringFilter]
|
938
|
+
attr_accessor ecr_image_architecture: ::Array[Types::StringFilter]
|
939
|
+
attr_accessor ecr_image_hash: ::Array[Types::StringFilter]
|
940
|
+
attr_accessor ecr_image_pushed_at: ::Array[Types::DateFilter]
|
941
|
+
attr_accessor ecr_image_registry: ::Array[Types::StringFilter]
|
942
|
+
attr_accessor ecr_image_repository_name: ::Array[Types::StringFilter]
|
943
|
+
attr_accessor ecr_image_tags: ::Array[Types::StringFilter]
|
944
|
+
attr_accessor epss_score: ::Array[Types::NumberFilter]
|
945
|
+
attr_accessor exploit_available: ::Array[Types::StringFilter]
|
946
|
+
attr_accessor finding_arn: ::Array[Types::StringFilter]
|
947
|
+
attr_accessor finding_status: ::Array[Types::StringFilter]
|
948
|
+
attr_accessor finding_type: ::Array[Types::StringFilter]
|
949
|
+
attr_accessor first_observed_at: ::Array[Types::DateFilter]
|
950
|
+
attr_accessor fix_available: ::Array[Types::StringFilter]
|
951
|
+
attr_accessor inspector_score: ::Array[Types::NumberFilter]
|
952
|
+
attr_accessor lambda_function_execution_role_arn: ::Array[Types::StringFilter]
|
953
|
+
attr_accessor lambda_function_last_modified_at: ::Array[Types::DateFilter]
|
954
|
+
attr_accessor lambda_function_layers: ::Array[Types::StringFilter]
|
955
|
+
attr_accessor lambda_function_name: ::Array[Types::StringFilter]
|
956
|
+
attr_accessor lambda_function_runtime: ::Array[Types::StringFilter]
|
957
|
+
attr_accessor last_observed_at: ::Array[Types::DateFilter]
|
958
|
+
attr_accessor network_protocol: ::Array[Types::StringFilter]
|
959
|
+
attr_accessor port_range: ::Array[Types::PortRangeFilter]
|
960
|
+
attr_accessor related_vulnerabilities: ::Array[Types::StringFilter]
|
961
|
+
attr_accessor resource_id: ::Array[Types::StringFilter]
|
962
|
+
attr_accessor resource_tags: ::Array[Types::MapFilter]
|
963
|
+
attr_accessor resource_type: ::Array[Types::StringFilter]
|
964
|
+
attr_accessor severity: ::Array[Types::StringFilter]
|
965
|
+
attr_accessor title: ::Array[Types::StringFilter]
|
966
|
+
attr_accessor updated_at: ::Array[Types::DateFilter]
|
967
|
+
attr_accessor vendor_severity: ::Array[Types::StringFilter]
|
968
|
+
attr_accessor vulnerability_id: ::Array[Types::StringFilter]
|
969
|
+
attr_accessor vulnerability_source: ::Array[Types::StringFilter]
|
970
|
+
attr_accessor vulnerable_packages: ::Array[Types::PackageFilter]
|
971
|
+
SENSITIVE: []
|
972
|
+
end
|
973
|
+
|
974
|
+
class Finding
|
975
|
+
attr_accessor aws_account_id: ::String
|
976
|
+
attr_accessor code_vulnerability_details: Types::CodeVulnerabilityDetails
|
977
|
+
attr_accessor description: ::String
|
978
|
+
attr_accessor epss: Types::EpssDetails
|
979
|
+
attr_accessor exploit_available: ("YES" | "NO")
|
980
|
+
attr_accessor exploitability_details: Types::ExploitabilityDetails
|
981
|
+
attr_accessor finding_arn: ::String
|
982
|
+
attr_accessor first_observed_at: ::Time
|
983
|
+
attr_accessor fix_available: ("YES" | "NO" | "PARTIAL")
|
984
|
+
attr_accessor inspector_score: ::Float
|
985
|
+
attr_accessor inspector_score_details: Types::InspectorScoreDetails
|
986
|
+
attr_accessor last_observed_at: ::Time
|
987
|
+
attr_accessor network_reachability_details: Types::NetworkReachabilityDetails
|
988
|
+
attr_accessor package_vulnerability_details: Types::PackageVulnerabilityDetails
|
989
|
+
attr_accessor remediation: Types::Remediation
|
990
|
+
attr_accessor resources: ::Array[Types::Resource]
|
991
|
+
attr_accessor severity: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNTRIAGED")
|
992
|
+
attr_accessor status: ("ACTIVE" | "SUPPRESSED" | "CLOSED")
|
993
|
+
attr_accessor title: ::String
|
994
|
+
attr_accessor type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
995
|
+
attr_accessor updated_at: ::Time
|
996
|
+
SENSITIVE: []
|
997
|
+
end
|
998
|
+
|
999
|
+
class FindingDetail
|
1000
|
+
attr_accessor cisa_data: Types::CisaData
|
1001
|
+
attr_accessor cwes: ::Array[::String]
|
1002
|
+
attr_accessor epss_score: ::Float
|
1003
|
+
attr_accessor evidences: ::Array[Types::Evidence]
|
1004
|
+
attr_accessor exploit_observed: Types::ExploitObserved
|
1005
|
+
attr_accessor finding_arn: ::String
|
1006
|
+
attr_accessor reference_urls: ::Array[::String]
|
1007
|
+
attr_accessor risk_score: ::Integer
|
1008
|
+
attr_accessor tools: ::Array[::String]
|
1009
|
+
attr_accessor ttps: ::Array[::String]
|
1010
|
+
SENSITIVE: []
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
class FindingDetailsError
|
1014
|
+
attr_accessor error_code: ("INTERNAL_ERROR" | "ACCESS_DENIED" | "FINDING_DETAILS_NOT_FOUND" | "INVALID_INPUT")
|
1015
|
+
attr_accessor error_message: ::String
|
1016
|
+
attr_accessor finding_arn: ::String
|
1017
|
+
SENSITIVE: []
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
class FindingTypeAggregation
|
1021
|
+
attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
1022
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")
|
1023
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
1024
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1025
|
+
SENSITIVE: []
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
class FindingTypeAggregationResponse
|
1029
|
+
attr_accessor account_id: ::String
|
1030
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
1031
|
+
SENSITIVE: []
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
class FreeTrialAccountInfo
|
1035
|
+
attr_accessor account_id: ::String
|
1036
|
+
attr_accessor free_trial_info: ::Array[Types::FreeTrialInfo]
|
1037
|
+
SENSITIVE: []
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
class FreeTrialInfo
|
1041
|
+
attr_accessor end: ::Time
|
1042
|
+
attr_accessor start: ::Time
|
1043
|
+
attr_accessor status: ("ACTIVE" | "INACTIVE")
|
1044
|
+
attr_accessor type: ("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE")
|
1045
|
+
SENSITIVE: []
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
class FreeTrialInfoError
|
1049
|
+
attr_accessor account_id: ::String
|
1050
|
+
attr_accessor code: ("ACCESS_DENIED" | "INTERNAL_ERROR")
|
1051
|
+
attr_accessor message: ::String
|
1052
|
+
SENSITIVE: []
|
1053
|
+
end
|
1054
|
+
|
1055
|
+
class GetCisScanReportRequest
|
1056
|
+
attr_accessor scan_arn: ::String
|
1057
|
+
attr_accessor target_accounts: ::Array[::String]
|
1058
|
+
SENSITIVE: []
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
class GetCisScanReportResponse
|
1062
|
+
attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
|
1063
|
+
attr_accessor url: ::String
|
1064
|
+
SENSITIVE: []
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
class GetCisScanResultDetailsRequest
|
1068
|
+
attr_accessor account_id: ::String
|
1069
|
+
attr_accessor filter_criteria: Types::CisScanResultDetailsFilterCriteria
|
1070
|
+
attr_accessor max_results: ::Integer
|
1071
|
+
attr_accessor next_token: ::String
|
1072
|
+
attr_accessor scan_arn: ::String
|
1073
|
+
attr_accessor sort_by: ("CHECK_ID" | "STATUS")
|
1074
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1075
|
+
attr_accessor target_resource_id: ::String
|
1076
|
+
SENSITIVE: []
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
class GetCisScanResultDetailsResponse
|
1080
|
+
attr_accessor next_token: ::String
|
1081
|
+
attr_accessor scan_result_details: ::Array[Types::CisScanResultDetails]
|
1082
|
+
SENSITIVE: []
|
1083
|
+
end
|
1084
|
+
|
1085
|
+
class GetConfigurationRequest < Aws::EmptyStructure
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
class GetConfigurationResponse
|
1089
|
+
attr_accessor ecr_configuration: Types::EcrConfigurationState
|
1090
|
+
SENSITIVE: []
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
class GetDelegatedAdminAccountRequest < Aws::EmptyStructure
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
class GetDelegatedAdminAccountResponse
|
1097
|
+
attr_accessor delegated_admin: Types::DelegatedAdmin
|
1098
|
+
SENSITIVE: []
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
class GetEc2DeepInspectionConfigurationRequest < Aws::EmptyStructure
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
class GetEc2DeepInspectionConfigurationResponse
|
1105
|
+
attr_accessor error_message: ::String
|
1106
|
+
attr_accessor org_package_paths: ::Array[::String]
|
1107
|
+
attr_accessor package_paths: ::Array[::String]
|
1108
|
+
attr_accessor status: ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
|
1109
|
+
SENSITIVE: []
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
class GetEncryptionKeyRequest
|
1113
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION")
|
1114
|
+
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
1115
|
+
SENSITIVE: []
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
class GetEncryptionKeyResponse
|
1119
|
+
attr_accessor kms_key_id: ::String
|
1120
|
+
SENSITIVE: []
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
class GetFindingsReportStatusRequest
|
1124
|
+
attr_accessor report_id: ::String
|
1125
|
+
SENSITIVE: []
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
class GetFindingsReportStatusResponse
|
1129
|
+
attr_accessor destination: Types::Destination
|
1130
|
+
attr_accessor error_code: ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
|
1131
|
+
attr_accessor error_message: ::String
|
1132
|
+
attr_accessor filter_criteria: Types::FilterCriteria
|
1133
|
+
attr_accessor report_id: ::String
|
1134
|
+
attr_accessor status: ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
|
1135
|
+
SENSITIVE: []
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
class GetMemberRequest
|
1139
|
+
attr_accessor account_id: ::String
|
1140
|
+
SENSITIVE: []
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
class GetMemberResponse
|
1144
|
+
attr_accessor member: Types::Member
|
1145
|
+
SENSITIVE: []
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
class GetSbomExportRequest
|
1149
|
+
attr_accessor report_id: ::String
|
1150
|
+
SENSITIVE: []
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
class GetSbomExportResponse
|
1154
|
+
attr_accessor error_code: ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
|
1155
|
+
attr_accessor error_message: ::String
|
1156
|
+
attr_accessor filter_criteria: Types::ResourceFilterCriteria
|
1157
|
+
attr_accessor format: ("CYCLONEDX_1_4" | "SPDX_2_3")
|
1158
|
+
attr_accessor report_id: ::String
|
1159
|
+
attr_accessor s3_destination: Types::Destination
|
1160
|
+
attr_accessor status: ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
|
1161
|
+
SENSITIVE: []
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
class ImageLayerAggregation
|
1165
|
+
attr_accessor layer_hashes: ::Array[Types::StringFilter]
|
1166
|
+
attr_accessor repositories: ::Array[Types::StringFilter]
|
1167
|
+
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
1168
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
1169
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1170
|
+
SENSITIVE: []
|
1171
|
+
end
|
1172
|
+
|
1173
|
+
class ImageLayerAggregationResponse
|
1174
|
+
attr_accessor account_id: ::String
|
1175
|
+
attr_accessor layer_hash: ::String
|
1176
|
+
attr_accessor repository: ::String
|
1177
|
+
attr_accessor resource_id: ::String
|
1178
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
1179
|
+
SENSITIVE: []
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
class InspectorScoreDetails
|
1183
|
+
attr_accessor adjusted_cvss: Types::CvssScoreDetails
|
1184
|
+
SENSITIVE: []
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
class InternalServerException
|
1188
|
+
attr_accessor message: ::String
|
1189
|
+
attr_accessor retry_after_seconds: ::Integer
|
1190
|
+
SENSITIVE: []
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
class LambdaFunctionAggregation
|
1194
|
+
attr_accessor function_names: ::Array[Types::StringFilter]
|
1195
|
+
attr_accessor function_tags: ::Array[Types::MapFilter]
|
1196
|
+
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
1197
|
+
attr_accessor runtimes: ::Array[Types::StringFilter]
|
1198
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
1199
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1200
|
+
SENSITIVE: []
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
class LambdaFunctionAggregationResponse
|
1204
|
+
attr_accessor account_id: ::String
|
1205
|
+
attr_accessor function_name: ::String
|
1206
|
+
attr_accessor lambda_tags: ::Hash[::String, ::String]
|
1207
|
+
attr_accessor last_modified_at: ::Time
|
1208
|
+
attr_accessor resource_id: ::String
|
1209
|
+
attr_accessor runtime: ::String
|
1210
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
1211
|
+
SENSITIVE: []
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
class LambdaFunctionMetadata
|
1215
|
+
attr_accessor function_name: ::String
|
1216
|
+
attr_accessor function_tags: ::Hash[::String, ::String]
|
1217
|
+
attr_accessor layers: ::Array[::String]
|
1218
|
+
attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10")
|
1219
|
+
SENSITIVE: []
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
class LambdaLayerAggregation
|
1223
|
+
attr_accessor function_names: ::Array[Types::StringFilter]
|
1224
|
+
attr_accessor layer_arns: ::Array[Types::StringFilter]
|
1225
|
+
attr_accessor resource_ids: ::Array[Types::StringFilter]
|
1226
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
1227
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1228
|
+
SENSITIVE: []
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
class LambdaLayerAggregationResponse
|
1232
|
+
attr_accessor account_id: ::String
|
1233
|
+
attr_accessor function_name: ::String
|
1234
|
+
attr_accessor layer_arn: ::String
|
1235
|
+
attr_accessor resource_id: ::String
|
1236
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
1237
|
+
SENSITIVE: []
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
class LambdaVpcConfig
|
1241
|
+
attr_accessor security_group_ids: ::Array[::String]
|
1242
|
+
attr_accessor subnet_ids: ::Array[::String]
|
1243
|
+
attr_accessor vpc_id: ::String
|
1244
|
+
SENSITIVE: []
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
class ListAccountPermissionsRequest
|
1248
|
+
attr_accessor max_results: ::Integer
|
1249
|
+
attr_accessor next_token: ::String
|
1250
|
+
attr_accessor service: ("EC2" | "ECR" | "LAMBDA")
|
1251
|
+
SENSITIVE: []
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
class ListAccountPermissionsResponse
|
1255
|
+
attr_accessor next_token: ::String
|
1256
|
+
attr_accessor permissions: ::Array[Types::Permission]
|
1257
|
+
SENSITIVE: []
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
class ListCisScanConfigurationsFilterCriteria
|
1261
|
+
attr_accessor scan_configuration_arn_filters: ::Array[Types::CisStringFilter]
|
1262
|
+
attr_accessor scan_name_filters: ::Array[Types::CisStringFilter]
|
1263
|
+
attr_accessor target_resource_tag_filters: ::Array[Types::TagFilter]
|
1264
|
+
SENSITIVE: []
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
class ListCisScanConfigurationsRequest
|
1268
|
+
attr_accessor filter_criteria: Types::ListCisScanConfigurationsFilterCriteria
|
1269
|
+
attr_accessor max_results: ::Integer
|
1270
|
+
attr_accessor next_token: ::String
|
1271
|
+
attr_accessor sort_by: ("SCAN_NAME" | "SCAN_CONFIGURATION_ARN")
|
1272
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1273
|
+
SENSITIVE: []
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
class ListCisScanConfigurationsResponse
|
1277
|
+
attr_accessor next_token: ::String
|
1278
|
+
attr_accessor scan_configurations: ::Array[Types::CisScanConfiguration]
|
1279
|
+
SENSITIVE: []
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
class ListCisScanResultsAggregatedByChecksRequest
|
1283
|
+
attr_accessor filter_criteria: Types::CisScanResultsAggregatedByChecksFilterCriteria
|
1284
|
+
attr_accessor max_results: ::Integer
|
1285
|
+
attr_accessor next_token: ::String
|
1286
|
+
attr_accessor scan_arn: ::String
|
1287
|
+
attr_accessor sort_by: ("CHECK_ID" | "TITLE" | "PLATFORM" | "FAILED_COUNTS" | "SECURITY_LEVEL")
|
1288
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1289
|
+
SENSITIVE: []
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
class ListCisScanResultsAggregatedByChecksResponse
|
1293
|
+
attr_accessor check_aggregations: ::Array[Types::CisCheckAggregation]
|
1294
|
+
attr_accessor next_token: ::String
|
1295
|
+
SENSITIVE: []
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
class ListCisScanResultsAggregatedByTargetResourceRequest
|
1299
|
+
attr_accessor filter_criteria: Types::CisScanResultsAggregatedByTargetResourceFilterCriteria
|
1300
|
+
attr_accessor max_results: ::Integer
|
1301
|
+
attr_accessor next_token: ::String
|
1302
|
+
attr_accessor scan_arn: ::String
|
1303
|
+
attr_accessor sort_by: ("RESOURCE_ID" | "FAILED_COUNTS" | "ACCOUNT_ID" | "PLATFORM" | "TARGET_STATUS" | "TARGET_STATUS_REASON")
|
1304
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1305
|
+
SENSITIVE: []
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
class ListCisScanResultsAggregatedByTargetResourceResponse
|
1309
|
+
attr_accessor next_token: ::String
|
1310
|
+
attr_accessor target_resource_aggregations: ::Array[Types::CisTargetResourceAggregation]
|
1311
|
+
SENSITIVE: []
|
1312
|
+
end
|
1313
|
+
|
1314
|
+
class ListCisScansFilterCriteria
|
1315
|
+
attr_accessor failed_checks_filters: ::Array[Types::CisNumberFilter]
|
1316
|
+
attr_accessor scan_arn_filters: ::Array[Types::CisStringFilter]
|
1317
|
+
attr_accessor scan_at_filters: ::Array[Types::CisDateFilter]
|
1318
|
+
attr_accessor scan_configuration_arn_filters: ::Array[Types::CisStringFilter]
|
1319
|
+
attr_accessor scan_name_filters: ::Array[Types::CisStringFilter]
|
1320
|
+
attr_accessor scan_status_filters: ::Array[Types::CisScanStatusFilter]
|
1321
|
+
attr_accessor scheduled_by_filters: ::Array[Types::CisStringFilter]
|
1322
|
+
attr_accessor target_account_id_filters: ::Array[Types::CisStringFilter]
|
1323
|
+
attr_accessor target_resource_id_filters: ::Array[Types::CisStringFilter]
|
1324
|
+
attr_accessor target_resource_tag_filters: ::Array[Types::TagFilter]
|
1325
|
+
SENSITIVE: []
|
1326
|
+
end
|
1327
|
+
|
1328
|
+
class ListCisScansRequest
|
1329
|
+
attr_accessor detail_level: ("ORGANIZATION" | "MEMBER")
|
1330
|
+
attr_accessor filter_criteria: Types::ListCisScansFilterCriteria
|
1331
|
+
attr_accessor max_results: ::Integer
|
1332
|
+
attr_accessor next_token: ::String
|
1333
|
+
attr_accessor sort_by: ("STATUS" | "SCHEDULED_BY" | "SCAN_START_DATE" | "FAILED_CHECKS")
|
1334
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1335
|
+
SENSITIVE: []
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
class ListCisScansResponse
|
1339
|
+
attr_accessor next_token: ::String
|
1340
|
+
attr_accessor scans: ::Array[Types::CisScan]
|
1341
|
+
SENSITIVE: []
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
class ListCoverageRequest
|
1345
|
+
attr_accessor filter_criteria: Types::CoverageFilterCriteria
|
1346
|
+
attr_accessor max_results: ::Integer
|
1347
|
+
attr_accessor next_token: ::String
|
1348
|
+
SENSITIVE: []
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
class ListCoverageResponse
|
1352
|
+
attr_accessor covered_resources: ::Array[Types::CoveredResource]
|
1353
|
+
attr_accessor next_token: ::String
|
1354
|
+
SENSITIVE: []
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
class ListCoverageStatisticsRequest
|
1358
|
+
attr_accessor filter_criteria: Types::CoverageFilterCriteria
|
1359
|
+
attr_accessor group_by: ("SCAN_STATUS_CODE" | "SCAN_STATUS_REASON" | "ACCOUNT_ID" | "RESOURCE_TYPE" | "ECR_REPOSITORY_NAME")
|
1360
|
+
attr_accessor next_token: ::String
|
1361
|
+
SENSITIVE: []
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
class ListCoverageStatisticsResponse
|
1365
|
+
attr_accessor counts_by_group: ::Array[Types::Counts]
|
1366
|
+
attr_accessor next_token: ::String
|
1367
|
+
attr_accessor total_counts: ::Integer
|
1368
|
+
SENSITIVE: []
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
class ListDelegatedAdminAccountsRequest
|
1372
|
+
attr_accessor max_results: ::Integer
|
1373
|
+
attr_accessor next_token: ::String
|
1374
|
+
SENSITIVE: []
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
class ListDelegatedAdminAccountsResponse
|
1378
|
+
attr_accessor delegated_admin_accounts: ::Array[Types::DelegatedAdminAccount]
|
1379
|
+
attr_accessor next_token: ::String
|
1380
|
+
SENSITIVE: []
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
class ListFiltersRequest
|
1384
|
+
attr_accessor action: ("NONE" | "SUPPRESS")
|
1385
|
+
attr_accessor arns: ::Array[::String]
|
1386
|
+
attr_accessor max_results: ::Integer
|
1387
|
+
attr_accessor next_token: ::String
|
1388
|
+
SENSITIVE: []
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
class ListFiltersResponse
|
1392
|
+
attr_accessor filters: ::Array[Types::Filter]
|
1393
|
+
attr_accessor next_token: ::String
|
1394
|
+
SENSITIVE: []
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
class ListFindingAggregationsRequest
|
1398
|
+
attr_accessor account_ids: ::Array[Types::StringFilter]
|
1399
|
+
attr_accessor aggregation_request: Types::AggregationRequest
|
1400
|
+
attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER")
|
1401
|
+
attr_accessor max_results: ::Integer
|
1402
|
+
attr_accessor next_token: ::String
|
1403
|
+
SENSITIVE: []
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
class ListFindingAggregationsResponse
|
1407
|
+
attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER")
|
1408
|
+
attr_accessor next_token: ::String
|
1409
|
+
attr_accessor responses: ::Array[Types::AggregationResponse]
|
1410
|
+
SENSITIVE: []
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
class ListFindingsRequest
|
1414
|
+
attr_accessor filter_criteria: Types::FilterCriteria
|
1415
|
+
attr_accessor max_results: ::Integer
|
1416
|
+
attr_accessor next_token: ::String
|
1417
|
+
attr_accessor sort_criteria: Types::SortCriteria
|
1418
|
+
SENSITIVE: []
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
class ListFindingsResponse
|
1422
|
+
attr_accessor findings: ::Array[Types::Finding]
|
1423
|
+
attr_accessor next_token: ::String
|
1424
|
+
SENSITIVE: []
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
class ListMembersRequest
|
1428
|
+
attr_accessor max_results: ::Integer
|
1429
|
+
attr_accessor next_token: ::String
|
1430
|
+
attr_accessor only_associated: bool
|
1431
|
+
SENSITIVE: []
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
class ListMembersResponse
|
1435
|
+
attr_accessor members: ::Array[Types::Member]
|
1436
|
+
attr_accessor next_token: ::String
|
1437
|
+
SENSITIVE: []
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
class ListTagsForResourceRequest
|
1441
|
+
attr_accessor resource_arn: ::String
|
1442
|
+
SENSITIVE: []
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
class ListTagsForResourceResponse
|
1446
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1447
|
+
SENSITIVE: []
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
class ListUsageTotalsRequest
|
1451
|
+
attr_accessor account_ids: ::Array[::String]
|
1452
|
+
attr_accessor max_results: ::Integer
|
1453
|
+
attr_accessor next_token: ::String
|
1454
|
+
SENSITIVE: []
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
class ListUsageTotalsResponse
|
1458
|
+
attr_accessor next_token: ::String
|
1459
|
+
attr_accessor totals: ::Array[Types::UsageTotal]
|
1460
|
+
SENSITIVE: []
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
class MapFilter
|
1464
|
+
attr_accessor comparison: ("EQUALS")
|
1465
|
+
attr_accessor key: ::String
|
1466
|
+
attr_accessor value: ::String
|
1467
|
+
SENSITIVE: []
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
class Member
|
1471
|
+
attr_accessor account_id: ::String
|
1472
|
+
attr_accessor delegated_admin_account_id: ::String
|
1473
|
+
attr_accessor relationship_status: ("CREATED" | "INVITED" | "DISABLED" | "ENABLED" | "REMOVED" | "RESIGNED" | "DELETED" | "EMAIL_VERIFICATION_IN_PROGRESS" | "EMAIL_VERIFICATION_FAILED" | "REGION_DISABLED" | "ACCOUNT_SUSPENDED" | "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER")
|
1474
|
+
attr_accessor updated_at: ::Time
|
1475
|
+
SENSITIVE: []
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
class MemberAccountEc2DeepInspectionStatus
|
1479
|
+
attr_accessor account_id: ::String
|
1480
|
+
attr_accessor activate_deep_inspection: bool
|
1481
|
+
SENSITIVE: []
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
class MemberAccountEc2DeepInspectionStatusState
|
1485
|
+
attr_accessor account_id: ::String
|
1486
|
+
attr_accessor error_message: ::String
|
1487
|
+
attr_accessor status: ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
|
1488
|
+
SENSITIVE: []
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
class MonthlySchedule
|
1492
|
+
attr_accessor day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")
|
1493
|
+
attr_accessor start_time: Types::Time
|
1494
|
+
SENSITIVE: []
|
1495
|
+
end
|
1496
|
+
|
1497
|
+
class NetworkPath
|
1498
|
+
attr_accessor steps: ::Array[Types::Step]
|
1499
|
+
SENSITIVE: []
|
1500
|
+
end
|
1501
|
+
|
1502
|
+
class NetworkReachabilityDetails
|
1503
|
+
attr_accessor network_path: Types::NetworkPath
|
1504
|
+
attr_accessor open_port_range: Types::PortRange
|
1505
|
+
attr_accessor protocol: ("TCP" | "UDP")
|
1506
|
+
SENSITIVE: []
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
class NumberFilter
|
1510
|
+
attr_accessor lower_inclusive: ::Float
|
1511
|
+
attr_accessor upper_inclusive: ::Float
|
1512
|
+
SENSITIVE: []
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
class OneTimeSchedule < Aws::EmptyStructure
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
class PackageAggregation
|
1519
|
+
attr_accessor package_names: ::Array[Types::StringFilter]
|
1520
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
1521
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1522
|
+
SENSITIVE: []
|
1523
|
+
end
|
1524
|
+
|
1525
|
+
class PackageAggregationResponse
|
1526
|
+
attr_accessor account_id: ::String
|
1527
|
+
attr_accessor package_name: ::String
|
1528
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
1529
|
+
SENSITIVE: []
|
1530
|
+
end
|
1531
|
+
|
1532
|
+
class PackageFilter
|
1533
|
+
attr_accessor architecture: Types::StringFilter
|
1534
|
+
attr_accessor epoch: Types::NumberFilter
|
1535
|
+
attr_accessor name: Types::StringFilter
|
1536
|
+
attr_accessor release: Types::StringFilter
|
1537
|
+
attr_accessor source_lambda_layer_arn: Types::StringFilter
|
1538
|
+
attr_accessor source_layer_hash: Types::StringFilter
|
1539
|
+
attr_accessor version: Types::StringFilter
|
1540
|
+
SENSITIVE: []
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
class PackageVulnerabilityDetails
|
1544
|
+
attr_accessor cvss: ::Array[Types::CvssScore]
|
1545
|
+
attr_accessor reference_urls: ::Array[::String]
|
1546
|
+
attr_accessor related_vulnerabilities: ::Array[::String]
|
1547
|
+
attr_accessor source: ::String
|
1548
|
+
attr_accessor source_url: ::String
|
1549
|
+
attr_accessor vendor_created_at: ::Time
|
1550
|
+
attr_accessor vendor_severity: ::String
|
1551
|
+
attr_accessor vendor_updated_at: ::Time
|
1552
|
+
attr_accessor vulnerability_id: ::String
|
1553
|
+
attr_accessor vulnerable_packages: ::Array[Types::VulnerablePackage]
|
1554
|
+
SENSITIVE: []
|
1555
|
+
end
|
1556
|
+
|
1557
|
+
class Permission
|
1558
|
+
attr_accessor operation: ("ENABLE_SCANNING" | "DISABLE_SCANNING" | "ENABLE_REPOSITORY" | "DISABLE_REPOSITORY")
|
1559
|
+
attr_accessor service: ("EC2" | "ECR" | "LAMBDA")
|
1560
|
+
SENSITIVE: []
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
class PortRange
|
1564
|
+
attr_accessor begin: ::Integer
|
1565
|
+
attr_accessor end: ::Integer
|
1566
|
+
SENSITIVE: []
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
class PortRangeFilter
|
1570
|
+
attr_accessor begin_inclusive: ::Integer
|
1571
|
+
attr_accessor end_inclusive: ::Integer
|
1572
|
+
SENSITIVE: []
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
class Recommendation
|
1576
|
+
attr_accessor url: ::String
|
1577
|
+
attr_accessor text: ::String
|
1578
|
+
SENSITIVE: []
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
class Remediation
|
1582
|
+
attr_accessor recommendation: Types::Recommendation
|
1583
|
+
SENSITIVE: []
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
class RepositoryAggregation
|
1587
|
+
attr_accessor repositories: ::Array[Types::StringFilter]
|
1588
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_IMAGES")
|
1589
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1590
|
+
SENSITIVE: []
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
class RepositoryAggregationResponse
|
1594
|
+
attr_accessor account_id: ::String
|
1595
|
+
attr_accessor affected_images: ::Integer
|
1596
|
+
attr_accessor repository: ::String
|
1597
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
1598
|
+
SENSITIVE: []
|
1599
|
+
end
|
1600
|
+
|
1601
|
+
class ResetEncryptionKeyRequest
|
1602
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION")
|
1603
|
+
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
1604
|
+
SENSITIVE: []
|
1605
|
+
end
|
1606
|
+
|
1607
|
+
class ResetEncryptionKeyResponse < Aws::EmptyStructure
|
1608
|
+
end
|
1609
|
+
|
1610
|
+
class Resource
|
1611
|
+
attr_accessor details: Types::ResourceDetails
|
1612
|
+
attr_accessor id: ::String
|
1613
|
+
attr_accessor partition: ::String
|
1614
|
+
attr_accessor region: ::String
|
1615
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1616
|
+
attr_accessor type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION")
|
1617
|
+
SENSITIVE: []
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
class ResourceDetails
|
1621
|
+
attr_accessor aws_ec2_instance: Types::AwsEc2InstanceDetails
|
1622
|
+
attr_accessor aws_ecr_container_image: Types::AwsEcrContainerImageDetails
|
1623
|
+
attr_accessor aws_lambda_function: Types::AwsLambdaFunctionDetails
|
1624
|
+
SENSITIVE: []
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
class ResourceFilterCriteria
|
1628
|
+
attr_accessor account_id: ::Array[Types::ResourceStringFilter]
|
1629
|
+
attr_accessor ec2_instance_tags: ::Array[Types::ResourceMapFilter]
|
1630
|
+
attr_accessor ecr_image_tags: ::Array[Types::ResourceStringFilter]
|
1631
|
+
attr_accessor ecr_repository_name: ::Array[Types::ResourceStringFilter]
|
1632
|
+
attr_accessor lambda_function_name: ::Array[Types::ResourceStringFilter]
|
1633
|
+
attr_accessor lambda_function_tags: ::Array[Types::ResourceMapFilter]
|
1634
|
+
attr_accessor resource_id: ::Array[Types::ResourceStringFilter]
|
1635
|
+
attr_accessor resource_type: ::Array[Types::ResourceStringFilter]
|
1636
|
+
SENSITIVE: []
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
class ResourceMapFilter
|
1640
|
+
attr_accessor comparison: ("EQUALS")
|
1641
|
+
attr_accessor key: ::String
|
1642
|
+
attr_accessor value: ::String
|
1643
|
+
SENSITIVE: []
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
class ResourceNotFoundException
|
1647
|
+
attr_accessor message: ::String
|
1648
|
+
SENSITIVE: []
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
class ResourceScanMetadata
|
1652
|
+
attr_accessor ec2: Types::Ec2Metadata
|
1653
|
+
attr_accessor ecr_image: Types::EcrContainerImageMetadata
|
1654
|
+
attr_accessor ecr_repository: Types::EcrRepositoryMetadata
|
1655
|
+
attr_accessor lambda_function: Types::LambdaFunctionMetadata
|
1656
|
+
SENSITIVE: []
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
class ResourceState
|
1660
|
+
attr_accessor ec2: Types::State
|
1661
|
+
attr_accessor ecr: Types::State
|
1662
|
+
attr_accessor lambda: Types::State
|
1663
|
+
attr_accessor lambda_code: Types::State
|
1664
|
+
SENSITIVE: []
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
class ResourceStatus
|
1668
|
+
attr_accessor ec2: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
1669
|
+
attr_accessor ecr: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
1670
|
+
attr_accessor lambda: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
1671
|
+
attr_accessor lambda_code: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
1672
|
+
SENSITIVE: []
|
1673
|
+
end
|
1674
|
+
|
1675
|
+
class ResourceStringFilter
|
1676
|
+
attr_accessor comparison: ("EQUALS" | "NOT_EQUALS")
|
1677
|
+
attr_accessor value: ::String
|
1678
|
+
SENSITIVE: []
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
class ScanStatus
|
1682
|
+
attr_accessor reason: ("PENDING_INITIAL_SCAN" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "UNMANAGED_EC2_INSTANCE" | "UNSUPPORTED_OS" | "SCAN_ELIGIBILITY_EXPIRED" | "RESOURCE_TERMINATED" | "SUCCESSFUL" | "NO_RESOURCES_FOUND" | "IMAGE_SIZE_EXCEEDED" | "SCAN_FREQUENCY_MANUAL" | "SCAN_FREQUENCY_SCAN_ON_PUSH" | "EC2_INSTANCE_STOPPED" | "PENDING_DISABLE" | "NO_INVENTORY" | "STALE_INVENTORY" | "EXCLUDED_BY_TAG" | "UNSUPPORTED_RUNTIME" | "UNSUPPORTED_MEDIA_TYPE" | "UNSUPPORTED_CONFIG_FILE" | "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" | "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "DEEP_INSPECTION_NO_INVENTORY")
|
1683
|
+
attr_accessor status_code: ("ACTIVE" | "INACTIVE")
|
1684
|
+
SENSITIVE: []
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
class Schedule
|
1688
|
+
attr_accessor daily: Types::DailySchedule
|
1689
|
+
attr_accessor monthly: Types::MonthlySchedule
|
1690
|
+
attr_accessor one_time: Types::OneTimeSchedule
|
1691
|
+
attr_accessor weekly: Types::WeeklySchedule
|
1692
|
+
attr_accessor unknown: untyped
|
1693
|
+
SENSITIVE: []
|
1694
|
+
|
1695
|
+
class Daily < Schedule
|
1696
|
+
end
|
1697
|
+
class Monthly < Schedule
|
1698
|
+
end
|
1699
|
+
class OneTime < Schedule
|
1700
|
+
end
|
1701
|
+
class Weekly < Schedule
|
1702
|
+
end
|
1703
|
+
class Unknown < Schedule
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
class SearchVulnerabilitiesFilterCriteria
|
1708
|
+
attr_accessor vulnerability_ids: ::Array[::String]
|
1709
|
+
SENSITIVE: []
|
1710
|
+
end
|
1711
|
+
|
1712
|
+
class SearchVulnerabilitiesRequest
|
1713
|
+
attr_accessor filter_criteria: Types::SearchVulnerabilitiesFilterCriteria
|
1714
|
+
attr_accessor next_token: ::String
|
1715
|
+
SENSITIVE: []
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
class SearchVulnerabilitiesResponse
|
1719
|
+
attr_accessor next_token: ::String
|
1720
|
+
attr_accessor vulnerabilities: ::Array[Types::Vulnerability]
|
1721
|
+
SENSITIVE: []
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
class SendCisSessionHealthRequest
|
1725
|
+
attr_accessor scan_job_id: ::String
|
1726
|
+
attr_accessor session_token: ::String
|
1727
|
+
SENSITIVE: []
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
class SendCisSessionHealthResponse < Aws::EmptyStructure
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
class SendCisSessionTelemetryRequest
|
1734
|
+
attr_accessor messages: ::Array[Types::CisSessionMessage]
|
1735
|
+
attr_accessor scan_job_id: ::String
|
1736
|
+
attr_accessor session_token: ::String
|
1737
|
+
SENSITIVE: []
|
1738
|
+
end
|
1739
|
+
|
1740
|
+
class SendCisSessionTelemetryResponse < Aws::EmptyStructure
|
1741
|
+
end
|
1742
|
+
|
1743
|
+
class ServiceQuotaExceededException
|
1744
|
+
attr_accessor message: ::String
|
1745
|
+
attr_accessor resource_id: ::String
|
1746
|
+
SENSITIVE: []
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
class SeverityCounts
|
1750
|
+
attr_accessor all: ::Integer
|
1751
|
+
attr_accessor critical: ::Integer
|
1752
|
+
attr_accessor high: ::Integer
|
1753
|
+
attr_accessor medium: ::Integer
|
1754
|
+
SENSITIVE: []
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
class SortCriteria
|
1758
|
+
attr_accessor field: ("AWS_ACCOUNT_ID" | "FINDING_TYPE" | "SEVERITY" | "FIRST_OBSERVED_AT" | "LAST_OBSERVED_AT" | "FINDING_STATUS" | "RESOURCE_TYPE" | "ECR_IMAGE_PUSHED_AT" | "ECR_IMAGE_REPOSITORY_NAME" | "ECR_IMAGE_REGISTRY" | "NETWORK_PROTOCOL" | "COMPONENT_TYPE" | "VULNERABILITY_ID" | "VULNERABILITY_SOURCE" | "INSPECTOR_SCORE" | "VENDOR_SEVERITY" | "EPSS_SCORE")
|
1759
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1760
|
+
SENSITIVE: []
|
1761
|
+
end
|
1762
|
+
|
1763
|
+
class StartCisSessionMessage
|
1764
|
+
attr_accessor session_token: ::String
|
1765
|
+
SENSITIVE: []
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
class StartCisSessionRequest
|
1769
|
+
attr_accessor message: Types::StartCisSessionMessage
|
1770
|
+
attr_accessor scan_job_id: ::String
|
1771
|
+
SENSITIVE: []
|
1772
|
+
end
|
1773
|
+
|
1774
|
+
class StartCisSessionResponse < Aws::EmptyStructure
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
class State
|
1778
|
+
attr_accessor error_code: ("ALREADY_ENABLED" | "ENABLE_IN_PROGRESS" | "DISABLE_IN_PROGRESS" | "SUSPEND_IN_PROGRESS" | "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "SSM_UNAVAILABLE" | "SSM_THROTTLED" | "EVENTBRIDGE_UNAVAILABLE" | "EVENTBRIDGE_THROTTLED" | "RESOURCE_SCAN_NOT_DISABLED" | "DISASSOCIATE_ALL_MEMBERS" | "ACCOUNT_IS_ISOLATED")
|
1779
|
+
attr_accessor error_message: ::String
|
1780
|
+
attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
|
1781
|
+
SENSITIVE: []
|
1782
|
+
end
|
1783
|
+
|
1784
|
+
class StatusCounts
|
1785
|
+
attr_accessor failed: ::Integer
|
1786
|
+
attr_accessor passed: ::Integer
|
1787
|
+
attr_accessor skipped: ::Integer
|
1788
|
+
SENSITIVE: []
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
class Step
|
1792
|
+
attr_accessor component_id: ::String
|
1793
|
+
attr_accessor component_type: ::String
|
1794
|
+
SENSITIVE: []
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
class StopCisMessageProgress
|
1798
|
+
attr_accessor error_checks: ::Integer
|
1799
|
+
attr_accessor failed_checks: ::Integer
|
1800
|
+
attr_accessor informational_checks: ::Integer
|
1801
|
+
attr_accessor not_applicable_checks: ::Integer
|
1802
|
+
attr_accessor not_evaluated_checks: ::Integer
|
1803
|
+
attr_accessor successful_checks: ::Integer
|
1804
|
+
attr_accessor total_checks: ::Integer
|
1805
|
+
attr_accessor unknown_checks: ::Integer
|
1806
|
+
SENSITIVE: []
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
class StopCisSessionMessage
|
1810
|
+
attr_accessor benchmark_profile: ::String
|
1811
|
+
attr_accessor benchmark_version: ::String
|
1812
|
+
attr_accessor compute_platform: Types::ComputePlatform
|
1813
|
+
attr_accessor progress: Types::StopCisMessageProgress
|
1814
|
+
attr_accessor reason: ::String
|
1815
|
+
attr_accessor status: ("SUCCESS" | "FAILED" | "INTERRUPTED" | "UNSUPPORTED_OS")
|
1816
|
+
SENSITIVE: []
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
class StopCisSessionRequest
|
1820
|
+
attr_accessor message: Types::StopCisSessionMessage
|
1821
|
+
attr_accessor scan_job_id: ::String
|
1822
|
+
attr_accessor session_token: ::String
|
1823
|
+
SENSITIVE: []
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
class StopCisSessionResponse < Aws::EmptyStructure
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
class StringFilter
|
1830
|
+
attr_accessor comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS")
|
1831
|
+
attr_accessor value: ::String
|
1832
|
+
SENSITIVE: []
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
class SuggestedFix
|
1836
|
+
attr_accessor code: ::String
|
1837
|
+
attr_accessor description: ::String
|
1838
|
+
SENSITIVE: []
|
1839
|
+
end
|
1840
|
+
|
1841
|
+
class TagFilter
|
1842
|
+
attr_accessor comparison: ("EQUALS")
|
1843
|
+
attr_accessor key: ::String
|
1844
|
+
attr_accessor value: ::String
|
1845
|
+
SENSITIVE: []
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
class TagResourceRequest
|
1849
|
+
attr_accessor resource_arn: ::String
|
1850
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
1851
|
+
SENSITIVE: []
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
class TagResourceResponse < Aws::EmptyStructure
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
class ThrottlingException
|
1858
|
+
attr_accessor message: ::String
|
1859
|
+
attr_accessor retry_after_seconds: ::Integer
|
1860
|
+
SENSITIVE: []
|
1861
|
+
end
|
1862
|
+
|
1863
|
+
class Time
|
1864
|
+
attr_accessor time_of_day: ::String
|
1865
|
+
attr_accessor timezone: ::String
|
1866
|
+
SENSITIVE: []
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
class TitleAggregation
|
1870
|
+
attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
|
1871
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")
|
1872
|
+
attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
|
1873
|
+
attr_accessor sort_order: ("ASC" | "DESC")
|
1874
|
+
attr_accessor titles: ::Array[Types::StringFilter]
|
1875
|
+
attr_accessor vulnerability_ids: ::Array[Types::StringFilter]
|
1876
|
+
SENSITIVE: []
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
class TitleAggregationResponse
|
1880
|
+
attr_accessor account_id: ::String
|
1881
|
+
attr_accessor severity_counts: Types::SeverityCounts
|
1882
|
+
attr_accessor title: ::String
|
1883
|
+
attr_accessor vulnerability_id: ::String
|
1884
|
+
SENSITIVE: []
|
1885
|
+
end
|
1886
|
+
|
1887
|
+
class UntagResourceRequest
|
1888
|
+
attr_accessor resource_arn: ::String
|
1889
|
+
attr_accessor tag_keys: ::Array[::String]
|
1890
|
+
SENSITIVE: []
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
class UpdateCisScanConfigurationRequest
|
1897
|
+
attr_accessor scan_configuration_arn: ::String
|
1898
|
+
attr_accessor scan_name: ::String
|
1899
|
+
attr_accessor schedule: Types::Schedule
|
1900
|
+
attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
|
1901
|
+
attr_accessor targets: Types::UpdateCisTargets
|
1902
|
+
SENSITIVE: []
|
1903
|
+
end
|
1904
|
+
|
1905
|
+
class UpdateCisScanConfigurationResponse
|
1906
|
+
attr_accessor scan_configuration_arn: ::String
|
1907
|
+
SENSITIVE: []
|
1908
|
+
end
|
1909
|
+
|
1910
|
+
class UpdateCisTargets
|
1911
|
+
attr_accessor account_ids: ::Array[::String]
|
1912
|
+
attr_accessor target_resource_tags: ::Hash[::String, ::Array[::String]]
|
1913
|
+
SENSITIVE: []
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
class UpdateConfigurationRequest
|
1917
|
+
attr_accessor ecr_configuration: Types::EcrConfiguration
|
1918
|
+
SENSITIVE: []
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
class UpdateConfigurationResponse < Aws::EmptyStructure
|
1922
|
+
end
|
1923
|
+
|
1924
|
+
class UpdateEc2DeepInspectionConfigurationRequest
|
1925
|
+
attr_accessor activate_deep_inspection: bool
|
1926
|
+
attr_accessor package_paths: ::Array[::String]
|
1927
|
+
SENSITIVE: []
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
class UpdateEc2DeepInspectionConfigurationResponse
|
1931
|
+
attr_accessor error_message: ::String
|
1932
|
+
attr_accessor org_package_paths: ::Array[::String]
|
1933
|
+
attr_accessor package_paths: ::Array[::String]
|
1934
|
+
attr_accessor status: ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
|
1935
|
+
SENSITIVE: []
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
class UpdateEncryptionKeyRequest
|
1939
|
+
attr_accessor kms_key_id: ::String
|
1940
|
+
attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION")
|
1941
|
+
attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
|
1942
|
+
SENSITIVE: []
|
1943
|
+
end
|
1944
|
+
|
1945
|
+
class UpdateEncryptionKeyResponse < Aws::EmptyStructure
|
1946
|
+
end
|
1947
|
+
|
1948
|
+
class UpdateFilterRequest
|
1949
|
+
attr_accessor action: ("NONE" | "SUPPRESS")
|
1950
|
+
attr_accessor description: ::String
|
1951
|
+
attr_accessor filter_arn: ::String
|
1952
|
+
attr_accessor filter_criteria: Types::FilterCriteria
|
1953
|
+
attr_accessor name: ::String
|
1954
|
+
attr_accessor reason: ::String
|
1955
|
+
SENSITIVE: []
|
1956
|
+
end
|
1957
|
+
|
1958
|
+
class UpdateFilterResponse
|
1959
|
+
attr_accessor arn: ::String
|
1960
|
+
SENSITIVE: []
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
class UpdateOrgEc2DeepInspectionConfigurationRequest
|
1964
|
+
attr_accessor org_package_paths: ::Array[::String]
|
1965
|
+
SENSITIVE: []
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
class UpdateOrgEc2DeepInspectionConfigurationResponse < Aws::EmptyStructure
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
class UpdateOrganizationConfigurationRequest
|
1972
|
+
attr_accessor auto_enable: Types::AutoEnable
|
1973
|
+
SENSITIVE: []
|
1974
|
+
end
|
1975
|
+
|
1976
|
+
class UpdateOrganizationConfigurationResponse
|
1977
|
+
attr_accessor auto_enable: Types::AutoEnable
|
1978
|
+
SENSITIVE: []
|
1979
|
+
end
|
1980
|
+
|
1981
|
+
class Usage
|
1982
|
+
attr_accessor currency: ("USD")
|
1983
|
+
attr_accessor estimated_monthly_cost: ::Float
|
1984
|
+
attr_accessor total: ::Float
|
1985
|
+
attr_accessor type: ("EC2_INSTANCE_HOURS" | "ECR_INITIAL_SCAN" | "ECR_RESCAN" | "LAMBDA_FUNCTION_HOURS" | "LAMBDA_FUNCTION_CODE_HOURS")
|
1986
|
+
SENSITIVE: []
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
class UsageTotal
|
1990
|
+
attr_accessor account_id: ::String
|
1991
|
+
attr_accessor usage: ::Array[Types::Usage]
|
1992
|
+
SENSITIVE: []
|
1993
|
+
end
|
1994
|
+
|
1995
|
+
class ValidationException
|
1996
|
+
attr_accessor fields: ::Array[Types::ValidationExceptionField]
|
1997
|
+
attr_accessor message: ::String
|
1998
|
+
attr_accessor reason: ("CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER")
|
1999
|
+
SENSITIVE: []
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
class ValidationExceptionField
|
2003
|
+
attr_accessor message: ::String
|
2004
|
+
attr_accessor name: ::String
|
2005
|
+
SENSITIVE: []
|
2006
|
+
end
|
2007
|
+
|
2008
|
+
class Vulnerability
|
2009
|
+
attr_accessor atig_data: Types::AtigData
|
2010
|
+
attr_accessor cisa_data: Types::CisaData
|
2011
|
+
attr_accessor cvss2: Types::Cvss2
|
2012
|
+
attr_accessor cvss3: Types::Cvss3
|
2013
|
+
attr_accessor cwes: ::Array[::String]
|
2014
|
+
attr_accessor description: ::String
|
2015
|
+
attr_accessor detection_platforms: ::Array[::String]
|
2016
|
+
attr_accessor epss: Types::Epss
|
2017
|
+
attr_accessor exploit_observed: Types::ExploitObserved
|
2018
|
+
attr_accessor id: ::String
|
2019
|
+
attr_accessor reference_urls: ::Array[::String]
|
2020
|
+
attr_accessor related_vulnerabilities: ::Array[::String]
|
2021
|
+
attr_accessor source: ("NVD")
|
2022
|
+
attr_accessor source_url: ::String
|
2023
|
+
attr_accessor vendor_created_at: ::Time
|
2024
|
+
attr_accessor vendor_severity: ::String
|
2025
|
+
attr_accessor vendor_updated_at: ::Time
|
2026
|
+
SENSITIVE: []
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
class VulnerablePackage
|
2030
|
+
attr_accessor arch: ::String
|
2031
|
+
attr_accessor epoch: ::Integer
|
2032
|
+
attr_accessor file_path: ::String
|
2033
|
+
attr_accessor fixed_in_version: ::String
|
2034
|
+
attr_accessor name: ::String
|
2035
|
+
attr_accessor package_manager: ("BUNDLER" | "CARGO" | "COMPOSER" | "NPM" | "NUGET" | "PIPENV" | "POETRY" | "YARN" | "GOBINARY" | "GOMOD" | "JAR" | "OS" | "PIP" | "PYTHONPKG" | "NODEPKG" | "POM" | "GEMSPEC")
|
2036
|
+
attr_accessor release: ::String
|
2037
|
+
attr_accessor remediation: ::String
|
2038
|
+
attr_accessor source_lambda_layer_arn: ::String
|
2039
|
+
attr_accessor source_layer_hash: ::String
|
2040
|
+
attr_accessor version: ::String
|
2041
|
+
SENSITIVE: []
|
2042
|
+
end
|
2043
|
+
|
2044
|
+
class WeeklySchedule
|
2045
|
+
attr_accessor days: ::Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")]
|
2046
|
+
attr_accessor start_time: Types::Time
|
2047
|
+
SENSITIVE: []
|
2048
|
+
end
|
2049
|
+
end
|
2050
|
+
end
|