aws-sdk-inspector2 1.25.0 → 1.26.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,2644 @@
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
9
+ module Inspector2
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _AssociateMemberResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateMemberResponse]
77
+ def account_id: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#associate_member-instance_method
80
+ def associate_member: (
81
+ account_id: ::String
82
+ ) -> _AssociateMemberResponseSuccess
83
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateMemberResponseSuccess
84
+
85
+ interface _BatchGetAccountStatusResponseSuccess
86
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetAccountStatusResponse]
87
+ def accounts: () -> ::Array[Types::AccountState]
88
+ def failed_accounts: () -> ::Array[Types::FailedAccount]
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#batch_get_account_status-instance_method
91
+ def batch_get_account_status: (
92
+ ?account_ids: Array[::String]
93
+ ) -> _BatchGetAccountStatusResponseSuccess
94
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetAccountStatusResponseSuccess
95
+
96
+ interface _BatchGetCodeSnippetResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCodeSnippetResponse]
98
+ def code_snippet_results: () -> ::Array[Types::CodeSnippetResult]
99
+ def errors: () -> ::Array[Types::CodeSnippetError]
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#batch_get_code_snippet-instance_method
102
+ def batch_get_code_snippet: (
103
+ finding_arns: Array[::String]
104
+ ) -> _BatchGetCodeSnippetResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCodeSnippetResponseSuccess
106
+
107
+ interface _BatchGetFindingDetailsResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFindingDetailsResponse]
109
+ def errors: () -> ::Array[Types::FindingDetailsError]
110
+ def finding_details: () -> ::Array[Types::FindingDetail]
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#batch_get_finding_details-instance_method
113
+ def batch_get_finding_details: (
114
+ finding_arns: Array[::String]
115
+ ) -> _BatchGetFindingDetailsResponseSuccess
116
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetFindingDetailsResponseSuccess
117
+
118
+ interface _BatchGetFreeTrialInfoResponseSuccess
119
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFreeTrialInfoResponse]
120
+ def accounts: () -> ::Array[Types::FreeTrialAccountInfo]
121
+ def failed_accounts: () -> ::Array[Types::FreeTrialInfoError]
122
+ end
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#batch_get_free_trial_info-instance_method
124
+ def batch_get_free_trial_info: (
125
+ account_ids: Array[::String]
126
+ ) -> _BatchGetFreeTrialInfoResponseSuccess
127
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetFreeTrialInfoResponseSuccess
128
+
129
+ interface _BatchGetMemberEc2DeepInspectionStatusResponseSuccess
130
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetMemberEc2DeepInspectionStatusResponse]
131
+ def account_ids: () -> ::Array[Types::MemberAccountEc2DeepInspectionStatusState]
132
+ def failed_account_ids: () -> ::Array[Types::FailedMemberAccountEc2DeepInspectionStatusState]
133
+ end
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#batch_get_member_ec2_deep_inspection_status-instance_method
135
+ def batch_get_member_ec2_deep_inspection_status: (
136
+ ?account_ids: Array[::String]
137
+ ) -> _BatchGetMemberEc2DeepInspectionStatusResponseSuccess
138
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetMemberEc2DeepInspectionStatusResponseSuccess
139
+
140
+ interface _BatchUpdateMemberEc2DeepInspectionStatusResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateMemberEc2DeepInspectionStatusResponse]
142
+ def account_ids: () -> ::Array[Types::MemberAccountEc2DeepInspectionStatusState]
143
+ def failed_account_ids: () -> ::Array[Types::FailedMemberAccountEc2DeepInspectionStatusState]
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#batch_update_member_ec2_deep_inspection_status-instance_method
146
+ def batch_update_member_ec2_deep_inspection_status: (
147
+ account_ids: Array[
148
+ {
149
+ account_id: ::String,
150
+ activate_deep_inspection: bool
151
+ },
152
+ ]
153
+ ) -> _BatchUpdateMemberEc2DeepInspectionStatusResponseSuccess
154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateMemberEc2DeepInspectionStatusResponseSuccess
155
+
156
+ interface _CancelFindingsReportResponseSuccess
157
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelFindingsReportResponse]
158
+ def report_id: () -> ::String
159
+ end
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#cancel_findings_report-instance_method
161
+ def cancel_findings_report: (
162
+ report_id: ::String
163
+ ) -> _CancelFindingsReportResponseSuccess
164
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelFindingsReportResponseSuccess
165
+
166
+ interface _CancelSbomExportResponseSuccess
167
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelSbomExportResponse]
168
+ def report_id: () -> ::String
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#cancel_sbom_export-instance_method
171
+ def cancel_sbom_export: (
172
+ report_id: ::String
173
+ ) -> _CancelSbomExportResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelSbomExportResponseSuccess
175
+
176
+ interface _CreateCisScanConfigurationResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCisScanConfigurationResponse]
178
+ def scan_configuration_arn: () -> ::String
179
+ end
180
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_cis_scan_configuration-instance_method
181
+ def create_cis_scan_configuration: (
182
+ scan_name: ::String,
183
+ schedule: {
184
+ daily: {
185
+ start_time: {
186
+ time_of_day: ::String,
187
+ timezone: ::String
188
+ }
189
+ }?,
190
+ monthly: {
191
+ day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT"),
192
+ start_time: {
193
+ time_of_day: ::String,
194
+ timezone: ::String
195
+ }
196
+ }?,
197
+ one_time: {
198
+ }?,
199
+ weekly: {
200
+ days: Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")],
201
+ start_time: {
202
+ time_of_day: ::String,
203
+ timezone: ::String
204
+ }
205
+ }?
206
+ },
207
+ security_level: ("LEVEL_1" | "LEVEL_2"),
208
+ ?tags: Hash[::String, ::String],
209
+ targets: {
210
+ account_ids: Array[::String],
211
+ target_resource_tags: Hash[::String, Array[::String]]
212
+ }
213
+ ) -> _CreateCisScanConfigurationResponseSuccess
214
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCisScanConfigurationResponseSuccess
215
+
216
+ interface _CreateFilterResponseSuccess
217
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFilterResponse]
218
+ def arn: () -> ::String
219
+ end
220
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_filter-instance_method
221
+ def create_filter: (
222
+ action: ("NONE" | "SUPPRESS"),
223
+ ?description: ::String,
224
+ filter_criteria: {
225
+ aws_account_id: Array[
226
+ {
227
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
228
+ value: ::String
229
+ },
230
+ ]?,
231
+ code_vulnerability_detector_name: Array[
232
+ {
233
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
234
+ value: ::String
235
+ },
236
+ ]?,
237
+ code_vulnerability_detector_tags: Array[
238
+ {
239
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
240
+ value: ::String
241
+ },
242
+ ]?,
243
+ code_vulnerability_file_path: Array[
244
+ {
245
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
246
+ value: ::String
247
+ },
248
+ ]?,
249
+ component_id: Array[
250
+ {
251
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
252
+ value: ::String
253
+ },
254
+ ]?,
255
+ component_type: Array[
256
+ {
257
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
258
+ value: ::String
259
+ },
260
+ ]?,
261
+ ec2_instance_image_id: Array[
262
+ {
263
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
264
+ value: ::String
265
+ },
266
+ ]?,
267
+ ec2_instance_subnet_id: Array[
268
+ {
269
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
270
+ value: ::String
271
+ },
272
+ ]?,
273
+ ec2_instance_vpc_id: Array[
274
+ {
275
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
276
+ value: ::String
277
+ },
278
+ ]?,
279
+ ecr_image_architecture: Array[
280
+ {
281
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
282
+ value: ::String
283
+ },
284
+ ]?,
285
+ ecr_image_hash: Array[
286
+ {
287
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
288
+ value: ::String
289
+ },
290
+ ]?,
291
+ ecr_image_pushed_at: Array[
292
+ {
293
+ end_inclusive: ::Time?,
294
+ start_inclusive: ::Time?
295
+ },
296
+ ]?,
297
+ ecr_image_registry: Array[
298
+ {
299
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
300
+ value: ::String
301
+ },
302
+ ]?,
303
+ ecr_image_repository_name: Array[
304
+ {
305
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
306
+ value: ::String
307
+ },
308
+ ]?,
309
+ ecr_image_tags: Array[
310
+ {
311
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
312
+ value: ::String
313
+ },
314
+ ]?,
315
+ epss_score: Array[
316
+ {
317
+ lower_inclusive: ::Float?,
318
+ upper_inclusive: ::Float?
319
+ },
320
+ ]?,
321
+ exploit_available: Array[
322
+ {
323
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
324
+ value: ::String
325
+ },
326
+ ]?,
327
+ finding_arn: Array[
328
+ {
329
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
330
+ value: ::String
331
+ },
332
+ ]?,
333
+ finding_status: Array[
334
+ {
335
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
336
+ value: ::String
337
+ },
338
+ ]?,
339
+ finding_type: Array[
340
+ {
341
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
342
+ value: ::String
343
+ },
344
+ ]?,
345
+ first_observed_at: Array[
346
+ {
347
+ end_inclusive: ::Time?,
348
+ start_inclusive: ::Time?
349
+ },
350
+ ]?,
351
+ fix_available: Array[
352
+ {
353
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
354
+ value: ::String
355
+ },
356
+ ]?,
357
+ inspector_score: Array[
358
+ {
359
+ lower_inclusive: ::Float?,
360
+ upper_inclusive: ::Float?
361
+ },
362
+ ]?,
363
+ lambda_function_execution_role_arn: Array[
364
+ {
365
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
366
+ value: ::String
367
+ },
368
+ ]?,
369
+ lambda_function_last_modified_at: Array[
370
+ {
371
+ end_inclusive: ::Time?,
372
+ start_inclusive: ::Time?
373
+ },
374
+ ]?,
375
+ lambda_function_layers: Array[
376
+ {
377
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
378
+ value: ::String
379
+ },
380
+ ]?,
381
+ lambda_function_name: Array[
382
+ {
383
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
384
+ value: ::String
385
+ },
386
+ ]?,
387
+ lambda_function_runtime: Array[
388
+ {
389
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
390
+ value: ::String
391
+ },
392
+ ]?,
393
+ last_observed_at: Array[
394
+ {
395
+ end_inclusive: ::Time?,
396
+ start_inclusive: ::Time?
397
+ },
398
+ ]?,
399
+ network_protocol: Array[
400
+ {
401
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
402
+ value: ::String
403
+ },
404
+ ]?,
405
+ port_range: Array[
406
+ {
407
+ begin_inclusive: ::Integer?,
408
+ end_inclusive: ::Integer?
409
+ },
410
+ ]?,
411
+ related_vulnerabilities: Array[
412
+ {
413
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
414
+ value: ::String
415
+ },
416
+ ]?,
417
+ resource_id: Array[
418
+ {
419
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
420
+ value: ::String
421
+ },
422
+ ]?,
423
+ resource_tags: Array[
424
+ {
425
+ comparison: ("EQUALS"),
426
+ key: ::String,
427
+ value: ::String?
428
+ },
429
+ ]?,
430
+ resource_type: Array[
431
+ {
432
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
433
+ value: ::String
434
+ },
435
+ ]?,
436
+ severity: Array[
437
+ {
438
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
439
+ value: ::String
440
+ },
441
+ ]?,
442
+ title: Array[
443
+ {
444
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
445
+ value: ::String
446
+ },
447
+ ]?,
448
+ updated_at: Array[
449
+ {
450
+ end_inclusive: ::Time?,
451
+ start_inclusive: ::Time?
452
+ },
453
+ ]?,
454
+ vendor_severity: Array[
455
+ {
456
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
457
+ value: ::String
458
+ },
459
+ ]?,
460
+ vulnerability_id: Array[
461
+ {
462
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
463
+ value: ::String
464
+ },
465
+ ]?,
466
+ vulnerability_source: Array[
467
+ {
468
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
469
+ value: ::String
470
+ },
471
+ ]?,
472
+ vulnerable_packages: Array[
473
+ {
474
+ architecture: {
475
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
476
+ value: ::String
477
+ }?,
478
+ epoch: {
479
+ lower_inclusive: ::Float?,
480
+ upper_inclusive: ::Float?
481
+ }?,
482
+ name: {
483
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
484
+ value: ::String
485
+ }?,
486
+ release: {
487
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
488
+ value: ::String
489
+ }?,
490
+ source_lambda_layer_arn: {
491
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
492
+ value: ::String
493
+ }?,
494
+ source_layer_hash: {
495
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
496
+ value: ::String
497
+ }?,
498
+ version: {
499
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
500
+ value: ::String
501
+ }?
502
+ },
503
+ ]?
504
+ },
505
+ name: ::String,
506
+ ?reason: ::String,
507
+ ?tags: Hash[::String, ::String]
508
+ ) -> _CreateFilterResponseSuccess
509
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFilterResponseSuccess
510
+
511
+ interface _CreateFindingsReportResponseSuccess
512
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFindingsReportResponse]
513
+ def report_id: () -> ::String
514
+ end
515
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_findings_report-instance_method
516
+ def create_findings_report: (
517
+ ?filter_criteria: {
518
+ aws_account_id: Array[
519
+ {
520
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
521
+ value: ::String
522
+ },
523
+ ]?,
524
+ code_vulnerability_detector_name: Array[
525
+ {
526
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
527
+ value: ::String
528
+ },
529
+ ]?,
530
+ code_vulnerability_detector_tags: Array[
531
+ {
532
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
533
+ value: ::String
534
+ },
535
+ ]?,
536
+ code_vulnerability_file_path: Array[
537
+ {
538
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
539
+ value: ::String
540
+ },
541
+ ]?,
542
+ component_id: Array[
543
+ {
544
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
545
+ value: ::String
546
+ },
547
+ ]?,
548
+ component_type: Array[
549
+ {
550
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
551
+ value: ::String
552
+ },
553
+ ]?,
554
+ ec2_instance_image_id: Array[
555
+ {
556
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
557
+ value: ::String
558
+ },
559
+ ]?,
560
+ ec2_instance_subnet_id: Array[
561
+ {
562
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
563
+ value: ::String
564
+ },
565
+ ]?,
566
+ ec2_instance_vpc_id: Array[
567
+ {
568
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
569
+ value: ::String
570
+ },
571
+ ]?,
572
+ ecr_image_architecture: Array[
573
+ {
574
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
575
+ value: ::String
576
+ },
577
+ ]?,
578
+ ecr_image_hash: Array[
579
+ {
580
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
581
+ value: ::String
582
+ },
583
+ ]?,
584
+ ecr_image_pushed_at: Array[
585
+ {
586
+ end_inclusive: ::Time?,
587
+ start_inclusive: ::Time?
588
+ },
589
+ ]?,
590
+ ecr_image_registry: Array[
591
+ {
592
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
593
+ value: ::String
594
+ },
595
+ ]?,
596
+ ecr_image_repository_name: Array[
597
+ {
598
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
599
+ value: ::String
600
+ },
601
+ ]?,
602
+ ecr_image_tags: Array[
603
+ {
604
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
605
+ value: ::String
606
+ },
607
+ ]?,
608
+ epss_score: Array[
609
+ {
610
+ lower_inclusive: ::Float?,
611
+ upper_inclusive: ::Float?
612
+ },
613
+ ]?,
614
+ exploit_available: Array[
615
+ {
616
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
617
+ value: ::String
618
+ },
619
+ ]?,
620
+ finding_arn: Array[
621
+ {
622
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
623
+ value: ::String
624
+ },
625
+ ]?,
626
+ finding_status: Array[
627
+ {
628
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
629
+ value: ::String
630
+ },
631
+ ]?,
632
+ finding_type: Array[
633
+ {
634
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
635
+ value: ::String
636
+ },
637
+ ]?,
638
+ first_observed_at: Array[
639
+ {
640
+ end_inclusive: ::Time?,
641
+ start_inclusive: ::Time?
642
+ },
643
+ ]?,
644
+ fix_available: Array[
645
+ {
646
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
647
+ value: ::String
648
+ },
649
+ ]?,
650
+ inspector_score: Array[
651
+ {
652
+ lower_inclusive: ::Float?,
653
+ upper_inclusive: ::Float?
654
+ },
655
+ ]?,
656
+ lambda_function_execution_role_arn: Array[
657
+ {
658
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
659
+ value: ::String
660
+ },
661
+ ]?,
662
+ lambda_function_last_modified_at: Array[
663
+ {
664
+ end_inclusive: ::Time?,
665
+ start_inclusive: ::Time?
666
+ },
667
+ ]?,
668
+ lambda_function_layers: Array[
669
+ {
670
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
671
+ value: ::String
672
+ },
673
+ ]?,
674
+ lambda_function_name: Array[
675
+ {
676
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
677
+ value: ::String
678
+ },
679
+ ]?,
680
+ lambda_function_runtime: Array[
681
+ {
682
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
683
+ value: ::String
684
+ },
685
+ ]?,
686
+ last_observed_at: Array[
687
+ {
688
+ end_inclusive: ::Time?,
689
+ start_inclusive: ::Time?
690
+ },
691
+ ]?,
692
+ network_protocol: Array[
693
+ {
694
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
695
+ value: ::String
696
+ },
697
+ ]?,
698
+ port_range: Array[
699
+ {
700
+ begin_inclusive: ::Integer?,
701
+ end_inclusive: ::Integer?
702
+ },
703
+ ]?,
704
+ related_vulnerabilities: Array[
705
+ {
706
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
707
+ value: ::String
708
+ },
709
+ ]?,
710
+ resource_id: Array[
711
+ {
712
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
713
+ value: ::String
714
+ },
715
+ ]?,
716
+ resource_tags: Array[
717
+ {
718
+ comparison: ("EQUALS"),
719
+ key: ::String,
720
+ value: ::String?
721
+ },
722
+ ]?,
723
+ resource_type: Array[
724
+ {
725
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
726
+ value: ::String
727
+ },
728
+ ]?,
729
+ severity: Array[
730
+ {
731
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
732
+ value: ::String
733
+ },
734
+ ]?,
735
+ title: Array[
736
+ {
737
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
738
+ value: ::String
739
+ },
740
+ ]?,
741
+ updated_at: Array[
742
+ {
743
+ end_inclusive: ::Time?,
744
+ start_inclusive: ::Time?
745
+ },
746
+ ]?,
747
+ vendor_severity: Array[
748
+ {
749
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
750
+ value: ::String
751
+ },
752
+ ]?,
753
+ vulnerability_id: Array[
754
+ {
755
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
756
+ value: ::String
757
+ },
758
+ ]?,
759
+ vulnerability_source: Array[
760
+ {
761
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
762
+ value: ::String
763
+ },
764
+ ]?,
765
+ vulnerable_packages: Array[
766
+ {
767
+ architecture: {
768
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
769
+ value: ::String
770
+ }?,
771
+ epoch: {
772
+ lower_inclusive: ::Float?,
773
+ upper_inclusive: ::Float?
774
+ }?,
775
+ name: {
776
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
777
+ value: ::String
778
+ }?,
779
+ release: {
780
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
781
+ value: ::String
782
+ }?,
783
+ source_lambda_layer_arn: {
784
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
785
+ value: ::String
786
+ }?,
787
+ source_layer_hash: {
788
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
789
+ value: ::String
790
+ }?,
791
+ version: {
792
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
793
+ value: ::String
794
+ }?
795
+ },
796
+ ]?
797
+ },
798
+ report_format: ("CSV" | "JSON"),
799
+ s3_destination: {
800
+ bucket_name: ::String,
801
+ key_prefix: ::String?,
802
+ kms_key_arn: ::String
803
+ }
804
+ ) -> _CreateFindingsReportResponseSuccess
805
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFindingsReportResponseSuccess
806
+
807
+ interface _CreateSbomExportResponseSuccess
808
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSbomExportResponse]
809
+ def report_id: () -> ::String
810
+ end
811
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_sbom_export-instance_method
812
+ def create_sbom_export: (
813
+ report_format: ("CYCLONEDX_1_4" | "SPDX_2_3"),
814
+ ?resource_filter_criteria: {
815
+ account_id: Array[
816
+ {
817
+ comparison: ("EQUALS" | "NOT_EQUALS"),
818
+ value: ::String
819
+ },
820
+ ]?,
821
+ ec2_instance_tags: Array[
822
+ {
823
+ comparison: ("EQUALS"),
824
+ key: ::String,
825
+ value: ::String?
826
+ },
827
+ ]?,
828
+ ecr_image_tags: Array[
829
+ {
830
+ comparison: ("EQUALS" | "NOT_EQUALS"),
831
+ value: ::String
832
+ },
833
+ ]?,
834
+ ecr_repository_name: Array[
835
+ {
836
+ comparison: ("EQUALS" | "NOT_EQUALS"),
837
+ value: ::String
838
+ },
839
+ ]?,
840
+ lambda_function_name: Array[
841
+ {
842
+ comparison: ("EQUALS" | "NOT_EQUALS"),
843
+ value: ::String
844
+ },
845
+ ]?,
846
+ lambda_function_tags: Array[
847
+ {
848
+ comparison: ("EQUALS"),
849
+ key: ::String,
850
+ value: ::String?
851
+ },
852
+ ]?,
853
+ resource_id: Array[
854
+ {
855
+ comparison: ("EQUALS" | "NOT_EQUALS"),
856
+ value: ::String
857
+ },
858
+ ]?,
859
+ resource_type: Array[
860
+ {
861
+ comparison: ("EQUALS" | "NOT_EQUALS"),
862
+ value: ::String
863
+ },
864
+ ]?
865
+ },
866
+ s3_destination: {
867
+ bucket_name: ::String,
868
+ key_prefix: ::String?,
869
+ kms_key_arn: ::String
870
+ }
871
+ ) -> _CreateSbomExportResponseSuccess
872
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSbomExportResponseSuccess
873
+
874
+ interface _DeleteCisScanConfigurationResponseSuccess
875
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCisScanConfigurationResponse]
876
+ def scan_configuration_arn: () -> ::String
877
+ end
878
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#delete_cis_scan_configuration-instance_method
879
+ def delete_cis_scan_configuration: (
880
+ scan_configuration_arn: ::String
881
+ ) -> _DeleteCisScanConfigurationResponseSuccess
882
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCisScanConfigurationResponseSuccess
883
+
884
+ interface _DeleteFilterResponseSuccess
885
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFilterResponse]
886
+ def arn: () -> ::String
887
+ end
888
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#delete_filter-instance_method
889
+ def delete_filter: (
890
+ arn: ::String
891
+ ) -> _DeleteFilterResponseSuccess
892
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFilterResponseSuccess
893
+
894
+ interface _DescribeOrganizationConfigurationResponseSuccess
895
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationConfigurationResponse]
896
+ def auto_enable: () -> Types::AutoEnable
897
+ def max_account_limit_reached: () -> bool
898
+ end
899
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#describe_organization_configuration-instance_method
900
+ def describe_organization_configuration: (
901
+ ) -> _DescribeOrganizationConfigurationResponseSuccess
902
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationConfigurationResponseSuccess
903
+
904
+ interface _DisableResponseSuccess
905
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableResponse]
906
+ def accounts: () -> ::Array[Types::Account]
907
+ def failed_accounts: () -> ::Array[Types::FailedAccount]
908
+ end
909
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#disable-instance_method
910
+ def disable: (
911
+ ?account_ids: Array[::String],
912
+ ?resource_types: Array[("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE")]
913
+ ) -> _DisableResponseSuccess
914
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableResponseSuccess
915
+
916
+ interface _DisableDelegatedAdminAccountResponseSuccess
917
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableDelegatedAdminAccountResponse]
918
+ def delegated_admin_account_id: () -> ::String
919
+ end
920
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#disable_delegated_admin_account-instance_method
921
+ def disable_delegated_admin_account: (
922
+ delegated_admin_account_id: ::String
923
+ ) -> _DisableDelegatedAdminAccountResponseSuccess
924
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableDelegatedAdminAccountResponseSuccess
925
+
926
+ interface _DisassociateMemberResponseSuccess
927
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateMemberResponse]
928
+ def account_id: () -> ::String
929
+ end
930
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#disassociate_member-instance_method
931
+ def disassociate_member: (
932
+ account_id: ::String
933
+ ) -> _DisassociateMemberResponseSuccess
934
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateMemberResponseSuccess
935
+
936
+ interface _EnableResponseSuccess
937
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableResponse]
938
+ def accounts: () -> ::Array[Types::Account]
939
+ def failed_accounts: () -> ::Array[Types::FailedAccount]
940
+ end
941
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#enable-instance_method
942
+ def enable: (
943
+ ?account_ids: Array[::String],
944
+ ?client_token: ::String,
945
+ resource_types: Array[("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE")]
946
+ ) -> _EnableResponseSuccess
947
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableResponseSuccess
948
+
949
+ interface _EnableDelegatedAdminAccountResponseSuccess
950
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableDelegatedAdminAccountResponse]
951
+ def delegated_admin_account_id: () -> ::String
952
+ end
953
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#enable_delegated_admin_account-instance_method
954
+ def enable_delegated_admin_account: (
955
+ ?client_token: ::String,
956
+ delegated_admin_account_id: ::String
957
+ ) -> _EnableDelegatedAdminAccountResponseSuccess
958
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableDelegatedAdminAccountResponseSuccess
959
+
960
+ interface _GetCisScanReportResponseSuccess
961
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCisScanReportResponse]
962
+ def status: () -> ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
963
+ def url: () -> ::String
964
+ end
965
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_cis_scan_report-instance_method
966
+ def get_cis_scan_report: (
967
+ scan_arn: ::String,
968
+ ?target_accounts: Array[::String]
969
+ ) -> _GetCisScanReportResponseSuccess
970
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCisScanReportResponseSuccess
971
+
972
+ interface _GetCisScanResultDetailsResponseSuccess
973
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCisScanResultDetailsResponse]
974
+ def next_token: () -> ::String
975
+ def scan_result_details: () -> ::Array[Types::CisScanResultDetails]
976
+ end
977
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_cis_scan_result_details-instance_method
978
+ def get_cis_scan_result_details: (
979
+ account_id: ::String,
980
+ ?filter_criteria: {
981
+ check_id_filters: Array[
982
+ {
983
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
984
+ value: ::String
985
+ },
986
+ ]?,
987
+ finding_arn_filters: Array[
988
+ {
989
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
990
+ value: ::String
991
+ },
992
+ ]?,
993
+ finding_status_filters: Array[
994
+ {
995
+ comparison: ("EQUALS"),
996
+ value: ("PASSED" | "FAILED" | "SKIPPED")
997
+ },
998
+ ]?,
999
+ security_level_filters: Array[
1000
+ {
1001
+ comparison: ("EQUALS"),
1002
+ value: ("LEVEL_1" | "LEVEL_2")
1003
+ },
1004
+ ]?,
1005
+ title_filters: Array[
1006
+ {
1007
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1008
+ value: ::String
1009
+ },
1010
+ ]?
1011
+ },
1012
+ ?max_results: ::Integer,
1013
+ ?next_token: ::String,
1014
+ scan_arn: ::String,
1015
+ ?sort_by: ("CHECK_ID" | "STATUS"),
1016
+ ?sort_order: ("ASC" | "DESC"),
1017
+ target_resource_id: ::String
1018
+ ) -> _GetCisScanResultDetailsResponseSuccess
1019
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCisScanResultDetailsResponseSuccess
1020
+
1021
+ interface _GetConfigurationResponseSuccess
1022
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConfigurationResponse]
1023
+ def ecr_configuration: () -> Types::EcrConfigurationState
1024
+ end
1025
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_configuration-instance_method
1026
+ def get_configuration: (
1027
+ ) -> _GetConfigurationResponseSuccess
1028
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConfigurationResponseSuccess
1029
+
1030
+ interface _GetDelegatedAdminAccountResponseSuccess
1031
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDelegatedAdminAccountResponse]
1032
+ def delegated_admin: () -> Types::DelegatedAdmin
1033
+ end
1034
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_delegated_admin_account-instance_method
1035
+ def get_delegated_admin_account: (
1036
+ ) -> _GetDelegatedAdminAccountResponseSuccess
1037
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDelegatedAdminAccountResponseSuccess
1038
+
1039
+ interface _GetEc2DeepInspectionConfigurationResponseSuccess
1040
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEc2DeepInspectionConfigurationResponse]
1041
+ def error_message: () -> ::String
1042
+ def org_package_paths: () -> ::Array[::String]
1043
+ def package_paths: () -> ::Array[::String]
1044
+ def status: () -> ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
1045
+ end
1046
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_ec2_deep_inspection_configuration-instance_method
1047
+ def get_ec2_deep_inspection_configuration: (
1048
+ ) -> _GetEc2DeepInspectionConfigurationResponseSuccess
1049
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEc2DeepInspectionConfigurationResponseSuccess
1050
+
1051
+ interface _GetEncryptionKeyResponseSuccess
1052
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEncryptionKeyResponse]
1053
+ def kms_key_id: () -> ::String
1054
+ end
1055
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_encryption_key-instance_method
1056
+ def get_encryption_key: (
1057
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION"),
1058
+ scan_type: ("NETWORK" | "PACKAGE" | "CODE")
1059
+ ) -> _GetEncryptionKeyResponseSuccess
1060
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEncryptionKeyResponseSuccess
1061
+
1062
+ interface _GetFindingsReportStatusResponseSuccess
1063
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsReportStatusResponse]
1064
+ def destination: () -> Types::Destination
1065
+ def error_code: () -> ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
1066
+ def error_message: () -> ::String
1067
+ def filter_criteria: () -> Types::FilterCriteria
1068
+ def report_id: () -> ::String
1069
+ def status: () -> ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1070
+ end
1071
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_findings_report_status-instance_method
1072
+ def get_findings_report_status: (
1073
+ ?report_id: ::String
1074
+ ) -> _GetFindingsReportStatusResponseSuccess
1075
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsReportStatusResponseSuccess
1076
+
1077
+ interface _GetMemberResponseSuccess
1078
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMemberResponse]
1079
+ def member: () -> Types::Member
1080
+ end
1081
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_member-instance_method
1082
+ def get_member: (
1083
+ account_id: ::String
1084
+ ) -> _GetMemberResponseSuccess
1085
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMemberResponseSuccess
1086
+
1087
+ interface _GetSbomExportResponseSuccess
1088
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSbomExportResponse]
1089
+ def error_code: () -> ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
1090
+ def error_message: () -> ::String
1091
+ def filter_criteria: () -> Types::ResourceFilterCriteria
1092
+ def format: () -> ("CYCLONEDX_1_4" | "SPDX_2_3")
1093
+ def report_id: () -> ::String
1094
+ def s3_destination: () -> Types::Destination
1095
+ def status: () -> ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1096
+ end
1097
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_sbom_export-instance_method
1098
+ def get_sbom_export: (
1099
+ report_id: ::String
1100
+ ) -> _GetSbomExportResponseSuccess
1101
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSbomExportResponseSuccess
1102
+
1103
+ interface _ListAccountPermissionsResponseSuccess
1104
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountPermissionsResponse]
1105
+ def next_token: () -> ::String
1106
+ def permissions: () -> ::Array[Types::Permission]
1107
+ end
1108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_account_permissions-instance_method
1109
+ def list_account_permissions: (
1110
+ ?max_results: ::Integer,
1111
+ ?next_token: ::String,
1112
+ ?service: ("EC2" | "ECR" | "LAMBDA")
1113
+ ) -> _ListAccountPermissionsResponseSuccess
1114
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountPermissionsResponseSuccess
1115
+
1116
+ interface _ListCisScanConfigurationsResponseSuccess
1117
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCisScanConfigurationsResponse]
1118
+ def next_token: () -> ::String
1119
+ def scan_configurations: () -> ::Array[Types::CisScanConfiguration]
1120
+ end
1121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scan_configurations-instance_method
1122
+ def list_cis_scan_configurations: (
1123
+ ?filter_criteria: {
1124
+ scan_configuration_arn_filters: Array[
1125
+ {
1126
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1127
+ value: ::String
1128
+ },
1129
+ ]?,
1130
+ scan_name_filters: Array[
1131
+ {
1132
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1133
+ value: ::String
1134
+ },
1135
+ ]?,
1136
+ target_resource_tag_filters: Array[
1137
+ {
1138
+ comparison: ("EQUALS"),
1139
+ key: ::String,
1140
+ value: ::String
1141
+ },
1142
+ ]?
1143
+ },
1144
+ ?max_results: ::Integer,
1145
+ ?next_token: ::String,
1146
+ ?sort_by: ("SCAN_NAME" | "SCAN_CONFIGURATION_ARN"),
1147
+ ?sort_order: ("ASC" | "DESC")
1148
+ ) -> _ListCisScanConfigurationsResponseSuccess
1149
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScanConfigurationsResponseSuccess
1150
+
1151
+ interface _ListCisScanResultsAggregatedByChecksResponseSuccess
1152
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCisScanResultsAggregatedByChecksResponse]
1153
+ def check_aggregations: () -> ::Array[Types::CisCheckAggregation]
1154
+ def next_token: () -> ::String
1155
+ end
1156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scan_results_aggregated_by_checks-instance_method
1157
+ def list_cis_scan_results_aggregated_by_checks: (
1158
+ ?filter_criteria: {
1159
+ account_id_filters: Array[
1160
+ {
1161
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1162
+ value: ::String
1163
+ },
1164
+ ]?,
1165
+ check_id_filters: Array[
1166
+ {
1167
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1168
+ value: ::String
1169
+ },
1170
+ ]?,
1171
+ failed_resources_filters: Array[
1172
+ {
1173
+ lower_inclusive: ::Integer?,
1174
+ upper_inclusive: ::Integer?
1175
+ },
1176
+ ]?,
1177
+ platform_filters: Array[
1178
+ {
1179
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1180
+ value: ::String
1181
+ },
1182
+ ]?,
1183
+ security_level_filters: Array[
1184
+ {
1185
+ comparison: ("EQUALS"),
1186
+ value: ("LEVEL_1" | "LEVEL_2")
1187
+ },
1188
+ ]?,
1189
+ title_filters: Array[
1190
+ {
1191
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1192
+ value: ::String
1193
+ },
1194
+ ]?
1195
+ },
1196
+ ?max_results: ::Integer,
1197
+ ?next_token: ::String,
1198
+ scan_arn: ::String,
1199
+ ?sort_by: ("CHECK_ID" | "TITLE" | "PLATFORM" | "FAILED_COUNTS" | "SECURITY_LEVEL"),
1200
+ ?sort_order: ("ASC" | "DESC")
1201
+ ) -> _ListCisScanResultsAggregatedByChecksResponseSuccess
1202
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScanResultsAggregatedByChecksResponseSuccess
1203
+
1204
+ interface _ListCisScanResultsAggregatedByTargetResourceResponseSuccess
1205
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCisScanResultsAggregatedByTargetResourceResponse]
1206
+ def next_token: () -> ::String
1207
+ def target_resource_aggregations: () -> ::Array[Types::CisTargetResourceAggregation]
1208
+ end
1209
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scan_results_aggregated_by_target_resource-instance_method
1210
+ def list_cis_scan_results_aggregated_by_target_resource: (
1211
+ ?filter_criteria: {
1212
+ account_id_filters: Array[
1213
+ {
1214
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1215
+ value: ::String
1216
+ },
1217
+ ]?,
1218
+ check_id_filters: Array[
1219
+ {
1220
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1221
+ value: ::String
1222
+ },
1223
+ ]?,
1224
+ failed_checks_filters: Array[
1225
+ {
1226
+ lower_inclusive: ::Integer?,
1227
+ upper_inclusive: ::Integer?
1228
+ },
1229
+ ]?,
1230
+ platform_filters: Array[
1231
+ {
1232
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1233
+ value: ::String
1234
+ },
1235
+ ]?,
1236
+ status_filters: Array[
1237
+ {
1238
+ comparison: ("EQUALS"),
1239
+ value: ("PASSED" | "FAILED" | "SKIPPED")
1240
+ },
1241
+ ]?,
1242
+ target_resource_id_filters: Array[
1243
+ {
1244
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1245
+ value: ::String
1246
+ },
1247
+ ]?,
1248
+ target_resource_tag_filters: Array[
1249
+ {
1250
+ comparison: ("EQUALS"),
1251
+ key: ::String,
1252
+ value: ::String
1253
+ },
1254
+ ]?,
1255
+ target_status_filters: Array[
1256
+ {
1257
+ comparison: ("EQUALS"),
1258
+ value: ("TIMED_OUT" | "CANCELLED" | "COMPLETED")
1259
+ },
1260
+ ]?,
1261
+ target_status_reason_filters: Array[
1262
+ {
1263
+ comparison: ("EQUALS"),
1264
+ value: ("SCAN_IN_PROGRESS" | "UNSUPPORTED_OS" | "SSM_UNMANAGED")
1265
+ },
1266
+ ]?
1267
+ },
1268
+ ?max_results: ::Integer,
1269
+ ?next_token: ::String,
1270
+ scan_arn: ::String,
1271
+ ?sort_by: ("RESOURCE_ID" | "FAILED_COUNTS" | "ACCOUNT_ID" | "PLATFORM" | "TARGET_STATUS" | "TARGET_STATUS_REASON"),
1272
+ ?sort_order: ("ASC" | "DESC")
1273
+ ) -> _ListCisScanResultsAggregatedByTargetResourceResponseSuccess
1274
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScanResultsAggregatedByTargetResourceResponseSuccess
1275
+
1276
+ interface _ListCisScansResponseSuccess
1277
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCisScansResponse]
1278
+ def next_token: () -> ::String
1279
+ def scans: () -> ::Array[Types::CisScan]
1280
+ end
1281
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scans-instance_method
1282
+ def list_cis_scans: (
1283
+ ?detail_level: ("ORGANIZATION" | "MEMBER"),
1284
+ ?filter_criteria: {
1285
+ failed_checks_filters: Array[
1286
+ {
1287
+ lower_inclusive: ::Integer?,
1288
+ upper_inclusive: ::Integer?
1289
+ },
1290
+ ]?,
1291
+ scan_arn_filters: Array[
1292
+ {
1293
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1294
+ value: ::String
1295
+ },
1296
+ ]?,
1297
+ scan_at_filters: Array[
1298
+ {
1299
+ earliest_scan_start_time: ::Time?,
1300
+ latest_scan_start_time: ::Time?
1301
+ },
1302
+ ]?,
1303
+ scan_configuration_arn_filters: Array[
1304
+ {
1305
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1306
+ value: ::String
1307
+ },
1308
+ ]?,
1309
+ scan_name_filters: Array[
1310
+ {
1311
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1312
+ value: ::String
1313
+ },
1314
+ ]?,
1315
+ scan_status_filters: Array[
1316
+ {
1317
+ comparison: ("EQUALS"),
1318
+ value: ("FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS")
1319
+ },
1320
+ ]?,
1321
+ scheduled_by_filters: Array[
1322
+ {
1323
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1324
+ value: ::String
1325
+ },
1326
+ ]?,
1327
+ target_account_id_filters: Array[
1328
+ {
1329
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1330
+ value: ::String
1331
+ },
1332
+ ]?,
1333
+ target_resource_id_filters: Array[
1334
+ {
1335
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1336
+ value: ::String
1337
+ },
1338
+ ]?,
1339
+ target_resource_tag_filters: Array[
1340
+ {
1341
+ comparison: ("EQUALS"),
1342
+ key: ::String,
1343
+ value: ::String
1344
+ },
1345
+ ]?
1346
+ },
1347
+ ?max_results: ::Integer,
1348
+ ?next_token: ::String,
1349
+ ?sort_by: ("STATUS" | "SCHEDULED_BY" | "SCAN_START_DATE" | "FAILED_CHECKS"),
1350
+ ?sort_order: ("ASC" | "DESC")
1351
+ ) -> _ListCisScansResponseSuccess
1352
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScansResponseSuccess
1353
+
1354
+ interface _ListCoverageResponseSuccess
1355
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCoverageResponse]
1356
+ def covered_resources: () -> ::Array[Types::CoveredResource]
1357
+ def next_token: () -> ::String
1358
+ end
1359
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_coverage-instance_method
1360
+ def list_coverage: (
1361
+ ?filter_criteria: {
1362
+ account_id: Array[
1363
+ {
1364
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1365
+ value: ::String
1366
+ },
1367
+ ]?,
1368
+ ec2_instance_tags: Array[
1369
+ {
1370
+ comparison: ("EQUALS"),
1371
+ key: ::String,
1372
+ value: ::String?
1373
+ },
1374
+ ]?,
1375
+ ecr_image_tags: Array[
1376
+ {
1377
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1378
+ value: ::String
1379
+ },
1380
+ ]?,
1381
+ ecr_repository_name: Array[
1382
+ {
1383
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1384
+ value: ::String
1385
+ },
1386
+ ]?,
1387
+ image_pulled_at: Array[
1388
+ {
1389
+ end_inclusive: ::Time?,
1390
+ start_inclusive: ::Time?
1391
+ },
1392
+ ]?,
1393
+ lambda_function_name: Array[
1394
+ {
1395
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1396
+ value: ::String
1397
+ },
1398
+ ]?,
1399
+ lambda_function_runtime: Array[
1400
+ {
1401
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1402
+ value: ::String
1403
+ },
1404
+ ]?,
1405
+ lambda_function_tags: Array[
1406
+ {
1407
+ comparison: ("EQUALS"),
1408
+ key: ::String,
1409
+ value: ::String?
1410
+ },
1411
+ ]?,
1412
+ last_scanned_at: Array[
1413
+ {
1414
+ end_inclusive: ::Time?,
1415
+ start_inclusive: ::Time?
1416
+ },
1417
+ ]?,
1418
+ resource_id: Array[
1419
+ {
1420
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1421
+ value: ::String
1422
+ },
1423
+ ]?,
1424
+ resource_type: Array[
1425
+ {
1426
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1427
+ value: ::String
1428
+ },
1429
+ ]?,
1430
+ scan_status_code: Array[
1431
+ {
1432
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1433
+ value: ::String
1434
+ },
1435
+ ]?,
1436
+ scan_status_reason: Array[
1437
+ {
1438
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1439
+ value: ::String
1440
+ },
1441
+ ]?,
1442
+ scan_type: Array[
1443
+ {
1444
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1445
+ value: ::String
1446
+ },
1447
+ ]?
1448
+ },
1449
+ ?max_results: ::Integer,
1450
+ ?next_token: ::String
1451
+ ) -> _ListCoverageResponseSuccess
1452
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoverageResponseSuccess
1453
+
1454
+ interface _ListCoverageStatisticsResponseSuccess
1455
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCoverageStatisticsResponse]
1456
+ def counts_by_group: () -> ::Array[Types::Counts]
1457
+ def next_token: () -> ::String
1458
+ def total_counts: () -> ::Integer
1459
+ end
1460
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_coverage_statistics-instance_method
1461
+ def list_coverage_statistics: (
1462
+ ?filter_criteria: {
1463
+ account_id: Array[
1464
+ {
1465
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1466
+ value: ::String
1467
+ },
1468
+ ]?,
1469
+ ec2_instance_tags: Array[
1470
+ {
1471
+ comparison: ("EQUALS"),
1472
+ key: ::String,
1473
+ value: ::String?
1474
+ },
1475
+ ]?,
1476
+ ecr_image_tags: Array[
1477
+ {
1478
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1479
+ value: ::String
1480
+ },
1481
+ ]?,
1482
+ ecr_repository_name: Array[
1483
+ {
1484
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1485
+ value: ::String
1486
+ },
1487
+ ]?,
1488
+ image_pulled_at: Array[
1489
+ {
1490
+ end_inclusive: ::Time?,
1491
+ start_inclusive: ::Time?
1492
+ },
1493
+ ]?,
1494
+ lambda_function_name: Array[
1495
+ {
1496
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1497
+ value: ::String
1498
+ },
1499
+ ]?,
1500
+ lambda_function_runtime: Array[
1501
+ {
1502
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1503
+ value: ::String
1504
+ },
1505
+ ]?,
1506
+ lambda_function_tags: Array[
1507
+ {
1508
+ comparison: ("EQUALS"),
1509
+ key: ::String,
1510
+ value: ::String?
1511
+ },
1512
+ ]?,
1513
+ last_scanned_at: Array[
1514
+ {
1515
+ end_inclusive: ::Time?,
1516
+ start_inclusive: ::Time?
1517
+ },
1518
+ ]?,
1519
+ resource_id: Array[
1520
+ {
1521
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1522
+ value: ::String
1523
+ },
1524
+ ]?,
1525
+ resource_type: Array[
1526
+ {
1527
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1528
+ value: ::String
1529
+ },
1530
+ ]?,
1531
+ scan_status_code: Array[
1532
+ {
1533
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1534
+ value: ::String
1535
+ },
1536
+ ]?,
1537
+ scan_status_reason: Array[
1538
+ {
1539
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1540
+ value: ::String
1541
+ },
1542
+ ]?,
1543
+ scan_type: Array[
1544
+ {
1545
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1546
+ value: ::String
1547
+ },
1548
+ ]?
1549
+ },
1550
+ ?group_by: ("SCAN_STATUS_CODE" | "SCAN_STATUS_REASON" | "ACCOUNT_ID" | "RESOURCE_TYPE" | "ECR_REPOSITORY_NAME"),
1551
+ ?next_token: ::String
1552
+ ) -> _ListCoverageStatisticsResponseSuccess
1553
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoverageStatisticsResponseSuccess
1554
+
1555
+ interface _ListDelegatedAdminAccountsResponseSuccess
1556
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDelegatedAdminAccountsResponse]
1557
+ def delegated_admin_accounts: () -> ::Array[Types::DelegatedAdminAccount]
1558
+ def next_token: () -> ::String
1559
+ end
1560
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_delegated_admin_accounts-instance_method
1561
+ def list_delegated_admin_accounts: (
1562
+ ?max_results: ::Integer,
1563
+ ?next_token: ::String
1564
+ ) -> _ListDelegatedAdminAccountsResponseSuccess
1565
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDelegatedAdminAccountsResponseSuccess
1566
+
1567
+ interface _ListFiltersResponseSuccess
1568
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFiltersResponse]
1569
+ def filters: () -> ::Array[Types::Filter]
1570
+ def next_token: () -> ::String
1571
+ end
1572
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_filters-instance_method
1573
+ def list_filters: (
1574
+ ?action: ("NONE" | "SUPPRESS"),
1575
+ ?arns: Array[::String],
1576
+ ?max_results: ::Integer,
1577
+ ?next_token: ::String
1578
+ ) -> _ListFiltersResponseSuccess
1579
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFiltersResponseSuccess
1580
+
1581
+ interface _ListFindingAggregationsResponseSuccess
1582
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingAggregationsResponse]
1583
+ def aggregation_type: () -> ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER")
1584
+ def next_token: () -> ::String
1585
+ def responses: () -> ::Array[Types::AggregationResponse]
1586
+ end
1587
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_finding_aggregations-instance_method
1588
+ def list_finding_aggregations: (
1589
+ ?account_ids: Array[
1590
+ {
1591
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1592
+ value: ::String
1593
+ },
1594
+ ],
1595
+ ?aggregation_request: {
1596
+ account_aggregation: {
1597
+ finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
1598
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")?,
1599
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1600
+ sort_order: ("ASC" | "DESC")?
1601
+ }?,
1602
+ ami_aggregation: {
1603
+ amis: Array[
1604
+ {
1605
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1606
+ value: ::String
1607
+ },
1608
+ ]?,
1609
+ sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_INSTANCES")?,
1610
+ sort_order: ("ASC" | "DESC")?
1611
+ }?,
1612
+ aws_ecr_container_aggregation: {
1613
+ architectures: Array[
1614
+ {
1615
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1616
+ value: ::String
1617
+ },
1618
+ ]?,
1619
+ image_shas: Array[
1620
+ {
1621
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1622
+ value: ::String
1623
+ },
1624
+ ]?,
1625
+ image_tags: Array[
1626
+ {
1627
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1628
+ value: ::String
1629
+ },
1630
+ ]?,
1631
+ repositories: Array[
1632
+ {
1633
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1634
+ value: ::String
1635
+ },
1636
+ ]?,
1637
+ resource_ids: Array[
1638
+ {
1639
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1640
+ value: ::String
1641
+ },
1642
+ ]?,
1643
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1644
+ sort_order: ("ASC" | "DESC")?
1645
+ }?,
1646
+ ec2_instance_aggregation: {
1647
+ amis: Array[
1648
+ {
1649
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1650
+ value: ::String
1651
+ },
1652
+ ]?,
1653
+ instance_ids: Array[
1654
+ {
1655
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1656
+ value: ::String
1657
+ },
1658
+ ]?,
1659
+ instance_tags: Array[
1660
+ {
1661
+ comparison: ("EQUALS"),
1662
+ key: ::String,
1663
+ value: ::String?
1664
+ },
1665
+ ]?,
1666
+ operating_systems: Array[
1667
+ {
1668
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1669
+ value: ::String
1670
+ },
1671
+ ]?,
1672
+ sort_by: ("NETWORK_FINDINGS" | "CRITICAL" | "HIGH" | "ALL")?,
1673
+ sort_order: ("ASC" | "DESC")?
1674
+ }?,
1675
+ finding_type_aggregation: {
1676
+ finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
1677
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")?,
1678
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1679
+ sort_order: ("ASC" | "DESC")?
1680
+ }?,
1681
+ image_layer_aggregation: {
1682
+ layer_hashes: Array[
1683
+ {
1684
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1685
+ value: ::String
1686
+ },
1687
+ ]?,
1688
+ repositories: Array[
1689
+ {
1690
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1691
+ value: ::String
1692
+ },
1693
+ ]?,
1694
+ resource_ids: Array[
1695
+ {
1696
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1697
+ value: ::String
1698
+ },
1699
+ ]?,
1700
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1701
+ sort_order: ("ASC" | "DESC")?
1702
+ }?,
1703
+ lambda_function_aggregation: {
1704
+ function_names: Array[
1705
+ {
1706
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1707
+ value: ::String
1708
+ },
1709
+ ]?,
1710
+ function_tags: Array[
1711
+ {
1712
+ comparison: ("EQUALS"),
1713
+ key: ::String,
1714
+ value: ::String?
1715
+ },
1716
+ ]?,
1717
+ resource_ids: Array[
1718
+ {
1719
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1720
+ value: ::String
1721
+ },
1722
+ ]?,
1723
+ runtimes: Array[
1724
+ {
1725
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1726
+ value: ::String
1727
+ },
1728
+ ]?,
1729
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1730
+ sort_order: ("ASC" | "DESC")?
1731
+ }?,
1732
+ lambda_layer_aggregation: {
1733
+ function_names: Array[
1734
+ {
1735
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1736
+ value: ::String
1737
+ },
1738
+ ]?,
1739
+ layer_arns: Array[
1740
+ {
1741
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1742
+ value: ::String
1743
+ },
1744
+ ]?,
1745
+ resource_ids: Array[
1746
+ {
1747
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1748
+ value: ::String
1749
+ },
1750
+ ]?,
1751
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1752
+ sort_order: ("ASC" | "DESC")?
1753
+ }?,
1754
+ package_aggregation: {
1755
+ package_names: Array[
1756
+ {
1757
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1758
+ value: ::String
1759
+ },
1760
+ ]?,
1761
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1762
+ sort_order: ("ASC" | "DESC")?
1763
+ }?,
1764
+ repository_aggregation: {
1765
+ repositories: Array[
1766
+ {
1767
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1768
+ value: ::String
1769
+ },
1770
+ ]?,
1771
+ sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_IMAGES")?,
1772
+ sort_order: ("ASC" | "DESC")?
1773
+ }?,
1774
+ title_aggregation: {
1775
+ finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
1776
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")?,
1777
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1778
+ sort_order: ("ASC" | "DESC")?,
1779
+ titles: Array[
1780
+ {
1781
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1782
+ value: ::String
1783
+ },
1784
+ ]?,
1785
+ vulnerability_ids: Array[
1786
+ {
1787
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1788
+ value: ::String
1789
+ },
1790
+ ]?
1791
+ }?
1792
+ },
1793
+ aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER"),
1794
+ ?max_results: ::Integer,
1795
+ ?next_token: ::String
1796
+ ) -> _ListFindingAggregationsResponseSuccess
1797
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingAggregationsResponseSuccess
1798
+
1799
+ interface _ListFindingsResponseSuccess
1800
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsResponse]
1801
+ def findings: () -> ::Array[Types::Finding]
1802
+ def next_token: () -> ::String
1803
+ end
1804
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_findings-instance_method
1805
+ def list_findings: (
1806
+ ?filter_criteria: {
1807
+ aws_account_id: Array[
1808
+ {
1809
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1810
+ value: ::String
1811
+ },
1812
+ ]?,
1813
+ code_vulnerability_detector_name: Array[
1814
+ {
1815
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1816
+ value: ::String
1817
+ },
1818
+ ]?,
1819
+ code_vulnerability_detector_tags: Array[
1820
+ {
1821
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1822
+ value: ::String
1823
+ },
1824
+ ]?,
1825
+ code_vulnerability_file_path: Array[
1826
+ {
1827
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1828
+ value: ::String
1829
+ },
1830
+ ]?,
1831
+ component_id: Array[
1832
+ {
1833
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1834
+ value: ::String
1835
+ },
1836
+ ]?,
1837
+ component_type: Array[
1838
+ {
1839
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1840
+ value: ::String
1841
+ },
1842
+ ]?,
1843
+ ec2_instance_image_id: Array[
1844
+ {
1845
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1846
+ value: ::String
1847
+ },
1848
+ ]?,
1849
+ ec2_instance_subnet_id: Array[
1850
+ {
1851
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1852
+ value: ::String
1853
+ },
1854
+ ]?,
1855
+ ec2_instance_vpc_id: Array[
1856
+ {
1857
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1858
+ value: ::String
1859
+ },
1860
+ ]?,
1861
+ ecr_image_architecture: Array[
1862
+ {
1863
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1864
+ value: ::String
1865
+ },
1866
+ ]?,
1867
+ ecr_image_hash: Array[
1868
+ {
1869
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1870
+ value: ::String
1871
+ },
1872
+ ]?,
1873
+ ecr_image_pushed_at: Array[
1874
+ {
1875
+ end_inclusive: ::Time?,
1876
+ start_inclusive: ::Time?
1877
+ },
1878
+ ]?,
1879
+ ecr_image_registry: Array[
1880
+ {
1881
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1882
+ value: ::String
1883
+ },
1884
+ ]?,
1885
+ ecr_image_repository_name: Array[
1886
+ {
1887
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1888
+ value: ::String
1889
+ },
1890
+ ]?,
1891
+ ecr_image_tags: Array[
1892
+ {
1893
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1894
+ value: ::String
1895
+ },
1896
+ ]?,
1897
+ epss_score: Array[
1898
+ {
1899
+ lower_inclusive: ::Float?,
1900
+ upper_inclusive: ::Float?
1901
+ },
1902
+ ]?,
1903
+ exploit_available: Array[
1904
+ {
1905
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1906
+ value: ::String
1907
+ },
1908
+ ]?,
1909
+ finding_arn: Array[
1910
+ {
1911
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1912
+ value: ::String
1913
+ },
1914
+ ]?,
1915
+ finding_status: Array[
1916
+ {
1917
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1918
+ value: ::String
1919
+ },
1920
+ ]?,
1921
+ finding_type: Array[
1922
+ {
1923
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1924
+ value: ::String
1925
+ },
1926
+ ]?,
1927
+ first_observed_at: Array[
1928
+ {
1929
+ end_inclusive: ::Time?,
1930
+ start_inclusive: ::Time?
1931
+ },
1932
+ ]?,
1933
+ fix_available: Array[
1934
+ {
1935
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1936
+ value: ::String
1937
+ },
1938
+ ]?,
1939
+ inspector_score: Array[
1940
+ {
1941
+ lower_inclusive: ::Float?,
1942
+ upper_inclusive: ::Float?
1943
+ },
1944
+ ]?,
1945
+ lambda_function_execution_role_arn: Array[
1946
+ {
1947
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1948
+ value: ::String
1949
+ },
1950
+ ]?,
1951
+ lambda_function_last_modified_at: Array[
1952
+ {
1953
+ end_inclusive: ::Time?,
1954
+ start_inclusive: ::Time?
1955
+ },
1956
+ ]?,
1957
+ lambda_function_layers: Array[
1958
+ {
1959
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1960
+ value: ::String
1961
+ },
1962
+ ]?,
1963
+ lambda_function_name: Array[
1964
+ {
1965
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1966
+ value: ::String
1967
+ },
1968
+ ]?,
1969
+ lambda_function_runtime: Array[
1970
+ {
1971
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1972
+ value: ::String
1973
+ },
1974
+ ]?,
1975
+ last_observed_at: Array[
1976
+ {
1977
+ end_inclusive: ::Time?,
1978
+ start_inclusive: ::Time?
1979
+ },
1980
+ ]?,
1981
+ network_protocol: Array[
1982
+ {
1983
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1984
+ value: ::String
1985
+ },
1986
+ ]?,
1987
+ port_range: Array[
1988
+ {
1989
+ begin_inclusive: ::Integer?,
1990
+ end_inclusive: ::Integer?
1991
+ },
1992
+ ]?,
1993
+ related_vulnerabilities: Array[
1994
+ {
1995
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1996
+ value: ::String
1997
+ },
1998
+ ]?,
1999
+ resource_id: Array[
2000
+ {
2001
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2002
+ value: ::String
2003
+ },
2004
+ ]?,
2005
+ resource_tags: Array[
2006
+ {
2007
+ comparison: ("EQUALS"),
2008
+ key: ::String,
2009
+ value: ::String?
2010
+ },
2011
+ ]?,
2012
+ resource_type: Array[
2013
+ {
2014
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2015
+ value: ::String
2016
+ },
2017
+ ]?,
2018
+ severity: Array[
2019
+ {
2020
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2021
+ value: ::String
2022
+ },
2023
+ ]?,
2024
+ title: Array[
2025
+ {
2026
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2027
+ value: ::String
2028
+ },
2029
+ ]?,
2030
+ updated_at: Array[
2031
+ {
2032
+ end_inclusive: ::Time?,
2033
+ start_inclusive: ::Time?
2034
+ },
2035
+ ]?,
2036
+ vendor_severity: Array[
2037
+ {
2038
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2039
+ value: ::String
2040
+ },
2041
+ ]?,
2042
+ vulnerability_id: Array[
2043
+ {
2044
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2045
+ value: ::String
2046
+ },
2047
+ ]?,
2048
+ vulnerability_source: Array[
2049
+ {
2050
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2051
+ value: ::String
2052
+ },
2053
+ ]?,
2054
+ vulnerable_packages: Array[
2055
+ {
2056
+ architecture: {
2057
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2058
+ value: ::String
2059
+ }?,
2060
+ epoch: {
2061
+ lower_inclusive: ::Float?,
2062
+ upper_inclusive: ::Float?
2063
+ }?,
2064
+ name: {
2065
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2066
+ value: ::String
2067
+ }?,
2068
+ release: {
2069
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2070
+ value: ::String
2071
+ }?,
2072
+ source_lambda_layer_arn: {
2073
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2074
+ value: ::String
2075
+ }?,
2076
+ source_layer_hash: {
2077
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2078
+ value: ::String
2079
+ }?,
2080
+ version: {
2081
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2082
+ value: ::String
2083
+ }?
2084
+ },
2085
+ ]?
2086
+ },
2087
+ ?max_results: ::Integer,
2088
+ ?next_token: ::String,
2089
+ ?sort_criteria: {
2090
+ 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"),
2091
+ sort_order: ("ASC" | "DESC")
2092
+ }
2093
+ ) -> _ListFindingsResponseSuccess
2094
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingsResponseSuccess
2095
+
2096
+ interface _ListMembersResponseSuccess
2097
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMembersResponse]
2098
+ def members: () -> ::Array[Types::Member]
2099
+ def next_token: () -> ::String
2100
+ end
2101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_members-instance_method
2102
+ def list_members: (
2103
+ ?max_results: ::Integer,
2104
+ ?next_token: ::String,
2105
+ ?only_associated: bool
2106
+ ) -> _ListMembersResponseSuccess
2107
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembersResponseSuccess
2108
+
2109
+ interface _ListTagsForResourceResponseSuccess
2110
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
2111
+ def tags: () -> ::Hash[::String, ::String]
2112
+ end
2113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_tags_for_resource-instance_method
2114
+ def list_tags_for_resource: (
2115
+ resource_arn: ::String
2116
+ ) -> _ListTagsForResourceResponseSuccess
2117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
2118
+
2119
+ interface _ListUsageTotalsResponseSuccess
2120
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListUsageTotalsResponse]
2121
+ def next_token: () -> ::String
2122
+ def totals: () -> ::Array[Types::UsageTotal]
2123
+ end
2124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_usage_totals-instance_method
2125
+ def list_usage_totals: (
2126
+ ?account_ids: Array[::String],
2127
+ ?max_results: ::Integer,
2128
+ ?next_token: ::String
2129
+ ) -> _ListUsageTotalsResponseSuccess
2130
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsageTotalsResponseSuccess
2131
+
2132
+ interface _ResetEncryptionKeyResponseSuccess
2133
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResetEncryptionKeyResponse]
2134
+ end
2135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#reset_encryption_key-instance_method
2136
+ def reset_encryption_key: (
2137
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION"),
2138
+ scan_type: ("NETWORK" | "PACKAGE" | "CODE")
2139
+ ) -> _ResetEncryptionKeyResponseSuccess
2140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetEncryptionKeyResponseSuccess
2141
+
2142
+ interface _SearchVulnerabilitiesResponseSuccess
2143
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchVulnerabilitiesResponse]
2144
+ def next_token: () -> ::String
2145
+ def vulnerabilities: () -> ::Array[Types::Vulnerability]
2146
+ end
2147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#search_vulnerabilities-instance_method
2148
+ def search_vulnerabilities: (
2149
+ filter_criteria: {
2150
+ vulnerability_ids: Array[::String]
2151
+ },
2152
+ ?next_token: ::String
2153
+ ) -> _SearchVulnerabilitiesResponseSuccess
2154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchVulnerabilitiesResponseSuccess
2155
+
2156
+ interface _SendCisSessionHealthResponseSuccess
2157
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendCisSessionHealthResponse]
2158
+ end
2159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#send_cis_session_health-instance_method
2160
+ def send_cis_session_health: (
2161
+ scan_job_id: ::String,
2162
+ session_token: ::String
2163
+ ) -> _SendCisSessionHealthResponseSuccess
2164
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendCisSessionHealthResponseSuccess
2165
+
2166
+ interface _SendCisSessionTelemetryResponseSuccess
2167
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendCisSessionTelemetryResponse]
2168
+ end
2169
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#send_cis_session_telemetry-instance_method
2170
+ def send_cis_session_telemetry: (
2171
+ messages: Array[
2172
+ {
2173
+ cis_rule_details: ::String,
2174
+ rule_id: ::String,
2175
+ status: ("FAILED" | "PASSED" | "NOT_EVALUATED" | "INFORMATIONAL" | "UNKNOWN" | "NOT_APPLICABLE" | "ERROR")
2176
+ },
2177
+ ],
2178
+ scan_job_id: ::String,
2179
+ session_token: ::String
2180
+ ) -> _SendCisSessionTelemetryResponseSuccess
2181
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendCisSessionTelemetryResponseSuccess
2182
+
2183
+ interface _StartCisSessionResponseSuccess
2184
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartCisSessionResponse]
2185
+ end
2186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#start_cis_session-instance_method
2187
+ def start_cis_session: (
2188
+ message: {
2189
+ session_token: ::String
2190
+ },
2191
+ scan_job_id: ::String
2192
+ ) -> _StartCisSessionResponseSuccess
2193
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCisSessionResponseSuccess
2194
+
2195
+ interface _StopCisSessionResponseSuccess
2196
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopCisSessionResponse]
2197
+ end
2198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#stop_cis_session-instance_method
2199
+ def stop_cis_session: (
2200
+ message: {
2201
+ benchmark_profile: ::String?,
2202
+ benchmark_version: ::String?,
2203
+ compute_platform: {
2204
+ product: ::String?,
2205
+ vendor: ::String?,
2206
+ version: ::String?
2207
+ }?,
2208
+ progress: {
2209
+ error_checks: ::Integer?,
2210
+ failed_checks: ::Integer?,
2211
+ informational_checks: ::Integer?,
2212
+ not_applicable_checks: ::Integer?,
2213
+ not_evaluated_checks: ::Integer?,
2214
+ successful_checks: ::Integer?,
2215
+ total_checks: ::Integer?,
2216
+ unknown_checks: ::Integer?
2217
+ },
2218
+ reason: ::String?,
2219
+ status: ("SUCCESS" | "FAILED" | "INTERRUPTED" | "UNSUPPORTED_OS")
2220
+ },
2221
+ scan_job_id: ::String,
2222
+ session_token: ::String
2223
+ ) -> _StopCisSessionResponseSuccess
2224
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopCisSessionResponseSuccess
2225
+
2226
+ interface _TagResourceResponseSuccess
2227
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
2228
+ end
2229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#tag_resource-instance_method
2230
+ def tag_resource: (
2231
+ resource_arn: ::String,
2232
+ tags: Hash[::String, ::String]
2233
+ ) -> _TagResourceResponseSuccess
2234
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
2235
+
2236
+ interface _UntagResourceResponseSuccess
2237
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
2238
+ end
2239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#untag_resource-instance_method
2240
+ def untag_resource: (
2241
+ resource_arn: ::String,
2242
+ tag_keys: Array[::String]
2243
+ ) -> _UntagResourceResponseSuccess
2244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
2245
+
2246
+ interface _UpdateCisScanConfigurationResponseSuccess
2247
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCisScanConfigurationResponse]
2248
+ def scan_configuration_arn: () -> ::String
2249
+ end
2250
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_cis_scan_configuration-instance_method
2251
+ def update_cis_scan_configuration: (
2252
+ scan_configuration_arn: ::String,
2253
+ ?scan_name: ::String,
2254
+ ?schedule: {
2255
+ daily: {
2256
+ start_time: {
2257
+ time_of_day: ::String,
2258
+ timezone: ::String
2259
+ }
2260
+ }?,
2261
+ monthly: {
2262
+ day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT"),
2263
+ start_time: {
2264
+ time_of_day: ::String,
2265
+ timezone: ::String
2266
+ }
2267
+ }?,
2268
+ one_time: {
2269
+ }?,
2270
+ weekly: {
2271
+ days: Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")],
2272
+ start_time: {
2273
+ time_of_day: ::String,
2274
+ timezone: ::String
2275
+ }
2276
+ }?
2277
+ },
2278
+ ?security_level: ("LEVEL_1" | "LEVEL_2"),
2279
+ ?targets: {
2280
+ account_ids: Array[::String]?,
2281
+ target_resource_tags: Hash[::String, Array[::String]]?
2282
+ }
2283
+ ) -> _UpdateCisScanConfigurationResponseSuccess
2284
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCisScanConfigurationResponseSuccess
2285
+
2286
+ interface _UpdateConfigurationResponseSuccess
2287
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConfigurationResponse]
2288
+ end
2289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_configuration-instance_method
2290
+ def update_configuration: (
2291
+ ecr_configuration: {
2292
+ pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")?,
2293
+ rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
2294
+ }
2295
+ ) -> _UpdateConfigurationResponseSuccess
2296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfigurationResponseSuccess
2297
+
2298
+ interface _UpdateEc2DeepInspectionConfigurationResponseSuccess
2299
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEc2DeepInspectionConfigurationResponse]
2300
+ def error_message: () -> ::String
2301
+ def org_package_paths: () -> ::Array[::String]
2302
+ def package_paths: () -> ::Array[::String]
2303
+ def status: () -> ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
2304
+ end
2305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_ec2_deep_inspection_configuration-instance_method
2306
+ def update_ec2_deep_inspection_configuration: (
2307
+ ?activate_deep_inspection: bool,
2308
+ ?package_paths: Array[::String]
2309
+ ) -> _UpdateEc2DeepInspectionConfigurationResponseSuccess
2310
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEc2DeepInspectionConfigurationResponseSuccess
2311
+
2312
+ interface _UpdateEncryptionKeyResponseSuccess
2313
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEncryptionKeyResponse]
2314
+ end
2315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_encryption_key-instance_method
2316
+ def update_encryption_key: (
2317
+ kms_key_id: ::String,
2318
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION"),
2319
+ scan_type: ("NETWORK" | "PACKAGE" | "CODE")
2320
+ ) -> _UpdateEncryptionKeyResponseSuccess
2321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEncryptionKeyResponseSuccess
2322
+
2323
+ interface _UpdateFilterResponseSuccess
2324
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFilterResponse]
2325
+ def arn: () -> ::String
2326
+ end
2327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_filter-instance_method
2328
+ def update_filter: (
2329
+ ?action: ("NONE" | "SUPPRESS"),
2330
+ ?description: ::String,
2331
+ filter_arn: ::String,
2332
+ ?filter_criteria: {
2333
+ aws_account_id: Array[
2334
+ {
2335
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2336
+ value: ::String
2337
+ },
2338
+ ]?,
2339
+ code_vulnerability_detector_name: Array[
2340
+ {
2341
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2342
+ value: ::String
2343
+ },
2344
+ ]?,
2345
+ code_vulnerability_detector_tags: Array[
2346
+ {
2347
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2348
+ value: ::String
2349
+ },
2350
+ ]?,
2351
+ code_vulnerability_file_path: Array[
2352
+ {
2353
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2354
+ value: ::String
2355
+ },
2356
+ ]?,
2357
+ component_id: Array[
2358
+ {
2359
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2360
+ value: ::String
2361
+ },
2362
+ ]?,
2363
+ component_type: Array[
2364
+ {
2365
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2366
+ value: ::String
2367
+ },
2368
+ ]?,
2369
+ ec2_instance_image_id: Array[
2370
+ {
2371
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2372
+ value: ::String
2373
+ },
2374
+ ]?,
2375
+ ec2_instance_subnet_id: Array[
2376
+ {
2377
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2378
+ value: ::String
2379
+ },
2380
+ ]?,
2381
+ ec2_instance_vpc_id: Array[
2382
+ {
2383
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2384
+ value: ::String
2385
+ },
2386
+ ]?,
2387
+ ecr_image_architecture: Array[
2388
+ {
2389
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2390
+ value: ::String
2391
+ },
2392
+ ]?,
2393
+ ecr_image_hash: Array[
2394
+ {
2395
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2396
+ value: ::String
2397
+ },
2398
+ ]?,
2399
+ ecr_image_pushed_at: Array[
2400
+ {
2401
+ end_inclusive: ::Time?,
2402
+ start_inclusive: ::Time?
2403
+ },
2404
+ ]?,
2405
+ ecr_image_registry: Array[
2406
+ {
2407
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2408
+ value: ::String
2409
+ },
2410
+ ]?,
2411
+ ecr_image_repository_name: Array[
2412
+ {
2413
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2414
+ value: ::String
2415
+ },
2416
+ ]?,
2417
+ ecr_image_tags: Array[
2418
+ {
2419
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2420
+ value: ::String
2421
+ },
2422
+ ]?,
2423
+ epss_score: Array[
2424
+ {
2425
+ lower_inclusive: ::Float?,
2426
+ upper_inclusive: ::Float?
2427
+ },
2428
+ ]?,
2429
+ exploit_available: Array[
2430
+ {
2431
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2432
+ value: ::String
2433
+ },
2434
+ ]?,
2435
+ finding_arn: Array[
2436
+ {
2437
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2438
+ value: ::String
2439
+ },
2440
+ ]?,
2441
+ finding_status: Array[
2442
+ {
2443
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2444
+ value: ::String
2445
+ },
2446
+ ]?,
2447
+ finding_type: Array[
2448
+ {
2449
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2450
+ value: ::String
2451
+ },
2452
+ ]?,
2453
+ first_observed_at: Array[
2454
+ {
2455
+ end_inclusive: ::Time?,
2456
+ start_inclusive: ::Time?
2457
+ },
2458
+ ]?,
2459
+ fix_available: Array[
2460
+ {
2461
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2462
+ value: ::String
2463
+ },
2464
+ ]?,
2465
+ inspector_score: Array[
2466
+ {
2467
+ lower_inclusive: ::Float?,
2468
+ upper_inclusive: ::Float?
2469
+ },
2470
+ ]?,
2471
+ lambda_function_execution_role_arn: Array[
2472
+ {
2473
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2474
+ value: ::String
2475
+ },
2476
+ ]?,
2477
+ lambda_function_last_modified_at: Array[
2478
+ {
2479
+ end_inclusive: ::Time?,
2480
+ start_inclusive: ::Time?
2481
+ },
2482
+ ]?,
2483
+ lambda_function_layers: Array[
2484
+ {
2485
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2486
+ value: ::String
2487
+ },
2488
+ ]?,
2489
+ lambda_function_name: Array[
2490
+ {
2491
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2492
+ value: ::String
2493
+ },
2494
+ ]?,
2495
+ lambda_function_runtime: Array[
2496
+ {
2497
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2498
+ value: ::String
2499
+ },
2500
+ ]?,
2501
+ last_observed_at: Array[
2502
+ {
2503
+ end_inclusive: ::Time?,
2504
+ start_inclusive: ::Time?
2505
+ },
2506
+ ]?,
2507
+ network_protocol: Array[
2508
+ {
2509
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2510
+ value: ::String
2511
+ },
2512
+ ]?,
2513
+ port_range: Array[
2514
+ {
2515
+ begin_inclusive: ::Integer?,
2516
+ end_inclusive: ::Integer?
2517
+ },
2518
+ ]?,
2519
+ related_vulnerabilities: Array[
2520
+ {
2521
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2522
+ value: ::String
2523
+ },
2524
+ ]?,
2525
+ resource_id: Array[
2526
+ {
2527
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2528
+ value: ::String
2529
+ },
2530
+ ]?,
2531
+ resource_tags: Array[
2532
+ {
2533
+ comparison: ("EQUALS"),
2534
+ key: ::String,
2535
+ value: ::String?
2536
+ },
2537
+ ]?,
2538
+ resource_type: Array[
2539
+ {
2540
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2541
+ value: ::String
2542
+ },
2543
+ ]?,
2544
+ severity: Array[
2545
+ {
2546
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2547
+ value: ::String
2548
+ },
2549
+ ]?,
2550
+ title: Array[
2551
+ {
2552
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2553
+ value: ::String
2554
+ },
2555
+ ]?,
2556
+ updated_at: Array[
2557
+ {
2558
+ end_inclusive: ::Time?,
2559
+ start_inclusive: ::Time?
2560
+ },
2561
+ ]?,
2562
+ vendor_severity: Array[
2563
+ {
2564
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2565
+ value: ::String
2566
+ },
2567
+ ]?,
2568
+ vulnerability_id: Array[
2569
+ {
2570
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2571
+ value: ::String
2572
+ },
2573
+ ]?,
2574
+ vulnerability_source: Array[
2575
+ {
2576
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2577
+ value: ::String
2578
+ },
2579
+ ]?,
2580
+ vulnerable_packages: Array[
2581
+ {
2582
+ architecture: {
2583
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2584
+ value: ::String
2585
+ }?,
2586
+ epoch: {
2587
+ lower_inclusive: ::Float?,
2588
+ upper_inclusive: ::Float?
2589
+ }?,
2590
+ name: {
2591
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2592
+ value: ::String
2593
+ }?,
2594
+ release: {
2595
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2596
+ value: ::String
2597
+ }?,
2598
+ source_lambda_layer_arn: {
2599
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2600
+ value: ::String
2601
+ }?,
2602
+ source_layer_hash: {
2603
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2604
+ value: ::String
2605
+ }?,
2606
+ version: {
2607
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2608
+ value: ::String
2609
+ }?
2610
+ },
2611
+ ]?
2612
+ },
2613
+ ?name: ::String,
2614
+ ?reason: ::String
2615
+ ) -> _UpdateFilterResponseSuccess
2616
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFilterResponseSuccess
2617
+
2618
+ interface _UpdateOrgEc2DeepInspectionConfigurationResponseSuccess
2619
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOrgEc2DeepInspectionConfigurationResponse]
2620
+ end
2621
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_org_ec2_deep_inspection_configuration-instance_method
2622
+ def update_org_ec2_deep_inspection_configuration: (
2623
+ org_package_paths: Array[::String]
2624
+ ) -> _UpdateOrgEc2DeepInspectionConfigurationResponseSuccess
2625
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOrgEc2DeepInspectionConfigurationResponseSuccess
2626
+
2627
+ interface _UpdateOrganizationConfigurationResponseSuccess
2628
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOrganizationConfigurationResponse]
2629
+ def auto_enable: () -> Types::AutoEnable
2630
+ end
2631
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_organization_configuration-instance_method
2632
+ def update_organization_configuration: (
2633
+ auto_enable: {
2634
+ ec2: bool,
2635
+ ecr: bool,
2636
+ lambda: bool?,
2637
+ lambda_code: bool?
2638
+ }
2639
+ ) -> _UpdateOrganizationConfigurationResponseSuccess
2640
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOrganizationConfigurationResponseSuccess
2641
+ end
2642
+ end
2643
+ end
2644
+