aws-sdk-inspector2 1.55.0 → 1.56.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 CHANGED
@@ -97,10 +97,10 @@ module Aws
97
97
  def batch_associate_code_security_scan_configuration: (
98
98
  associate_configuration_requests: Array[
99
99
  {
100
+ scan_configuration_arn: ::String,
100
101
  resource: {
101
102
  project_id: ::String?
102
- },
103
- scan_configuration_arn: ::String
103
+ }
104
104
  },
105
105
  ]
106
106
  ) -> _BatchAssociateCodeSecurityScanConfigurationResponseSuccess
@@ -115,10 +115,10 @@ module Aws
115
115
  def batch_disassociate_code_security_scan_configuration: (
116
116
  disassociate_configuration_requests: Array[
117
117
  {
118
+ scan_configuration_arn: ::String,
118
119
  resource: {
119
120
  project_id: ::String?
120
- },
121
- scan_configuration_arn: ::String
121
+ }
122
122
  },
123
123
  ]
124
124
  ) -> _BatchDisassociateCodeSecurityScanConfigurationResponseSuccess
@@ -148,8 +148,8 @@ module Aws
148
148
 
149
149
  interface _BatchGetFindingDetailsResponseSuccess
150
150
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFindingDetailsResponse]
151
- def errors: () -> ::Array[Types::FindingDetailsError]
152
151
  def finding_details: () -> ::Array[Types::FindingDetail]
152
+ def errors: () -> ::Array[Types::FindingDetailsError]
153
153
  end
154
154
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#batch_get_finding_details-instance_method
155
155
  def batch_get_finding_details: (
@@ -222,56 +222,56 @@ module Aws
222
222
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_cis_scan_configuration-instance_method
223
223
  def create_cis_scan_configuration: (
224
224
  scan_name: ::String,
225
+ security_level: ("LEVEL_1" | "LEVEL_2"),
225
226
  schedule: {
227
+ one_time: {
228
+ }?,
226
229
  daily: {
227
230
  start_time: {
228
231
  time_of_day: ::String,
229
232
  timezone: ::String
230
233
  }
231
234
  }?,
232
- monthly: {
233
- day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT"),
235
+ weekly: {
234
236
  start_time: {
235
237
  time_of_day: ::String,
236
238
  timezone: ::String
237
- }
238
- }?,
239
- one_time: {
239
+ },
240
+ days: Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")]
240
241
  }?,
241
- weekly: {
242
- days: Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")],
242
+ monthly: {
243
243
  start_time: {
244
244
  time_of_day: ::String,
245
245
  timezone: ::String
246
- }
246
+ },
247
+ day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")
247
248
  }?
248
249
  },
249
- security_level: ("LEVEL_1" | "LEVEL_2"),
250
- ?tags: Hash[::String, ::String],
251
250
  targets: {
252
251
  account_ids: Array[::String],
253
252
  target_resource_tags: Hash[::String, Array[::String]]
254
- }
253
+ },
254
+ ?tags: Hash[::String, ::String]
255
255
  ) -> _CreateCisScanConfigurationResponseSuccess
256
256
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCisScanConfigurationResponseSuccess
257
257
 
258
258
  interface _CreateCodeSecurityIntegrationResponseSuccess
259
259
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCodeSecurityIntegrationResponse]
260
- def authorization_url: () -> ::String
261
260
  def integration_arn: () -> ::String
262
261
  def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
262
+ def authorization_url: () -> ::String
263
263
  end
264
264
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_code_security_integration-instance_method
265
265
  def create_code_security_integration: (
266
+ name: ::String,
267
+ type: ("GITLAB_SELF_MANAGED" | "GITHUB"),
266
268
  ?details: {
267
269
  gitlab_self_managed: {
268
- access_token: ::String,
269
- instance_url: ::String
270
+ instance_url: ::String,
271
+ access_token: ::String
270
272
  }?
271
273
  },
272
- name: ::String,
273
- ?tags: Hash[::String, ::String],
274
- type: ("GITLAB_SELF_MANAGED" | "GITHUB")
274
+ ?tags: Hash[::String, ::String]
275
275
  ) -> _CreateCodeSecurityIntegrationResponseSuccess
276
276
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeSecurityIntegrationResponseSuccess
277
277
 
@@ -281,18 +281,18 @@ module Aws
281
281
  end
282
282
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_code_security_scan_configuration-instance_method
283
283
  def create_code_security_scan_configuration: (
284
+ name: ::String,
285
+ level: ("ORGANIZATION" | "ACCOUNT"),
284
286
  configuration: {
285
- continuous_integration_scan_configuration: {
286
- supported_events: Array[("PULL_REQUEST" | "PUSH")]
287
- }?,
288
287
  periodic_scan_configuration: {
289
288
  frequency: ("WEEKLY" | "MONTHLY" | "NEVER")?,
290
289
  frequency_expression: ::String?
291
290
  }?,
291
+ continuous_integration_scan_configuration: {
292
+ supported_events: Array[("PULL_REQUEST" | "PUSH")]
293
+ }?,
292
294
  rule_set_categories: Array[("SAST" | "IAC" | "SCA")]
293
295
  },
294
- level: ("ORGANIZATION" | "ACCOUNT"),
295
- name: ::String,
296
296
  ?scope_settings: {
297
297
  project_selection_scope: ("ALL")?
298
298
  },
@@ -309,317 +309,317 @@ module Aws
309
309
  action: ("NONE" | "SUPPRESS"),
310
310
  ?description: ::String,
311
311
  filter_criteria: {
312
- aws_account_id: Array[
312
+ finding_arn: Array[
313
313
  {
314
314
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
315
315
  value: ::String
316
316
  },
317
317
  ]?,
318
- code_repository_project_name: Array[
318
+ aws_account_id: Array[
319
319
  {
320
320
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
321
321
  value: ::String
322
322
  },
323
323
  ]?,
324
- code_repository_provider_type: Array[
324
+ finding_type: Array[
325
325
  {
326
326
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
327
327
  value: ::String
328
328
  },
329
329
  ]?,
330
- code_vulnerability_detector_name: Array[
330
+ severity: Array[
331
331
  {
332
332
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
333
333
  value: ::String
334
334
  },
335
335
  ]?,
336
- code_vulnerability_detector_tags: Array[
336
+ first_observed_at: Array[
337
337
  {
338
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
339
- value: ::String
338
+ start_inclusive: ::Time?,
339
+ end_inclusive: ::Time?
340
340
  },
341
341
  ]?,
342
- code_vulnerability_file_path: Array[
342
+ last_observed_at: Array[
343
343
  {
344
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
345
- value: ::String
344
+ start_inclusive: ::Time?,
345
+ end_inclusive: ::Time?
346
346
  },
347
347
  ]?,
348
- component_id: Array[
348
+ updated_at: Array[
349
349
  {
350
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
351
- value: ::String
350
+ start_inclusive: ::Time?,
351
+ end_inclusive: ::Time?
352
352
  },
353
353
  ]?,
354
- component_type: Array[
354
+ finding_status: Array[
355
355
  {
356
356
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
357
357
  value: ::String
358
358
  },
359
359
  ]?,
360
- ec2_instance_image_id: Array[
360
+ title: Array[
361
361
  {
362
362
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
363
363
  value: ::String
364
364
  },
365
365
  ]?,
366
- ec2_instance_subnet_id: Array[
366
+ inspector_score: Array[
367
367
  {
368
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
369
- value: ::String
368
+ upper_inclusive: ::Float?,
369
+ lower_inclusive: ::Float?
370
370
  },
371
371
  ]?,
372
- ec2_instance_vpc_id: Array[
372
+ resource_type: Array[
373
373
  {
374
374
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
375
375
  value: ::String
376
376
  },
377
377
  ]?,
378
- ecr_image_architecture: Array[
378
+ resource_id: Array[
379
379
  {
380
380
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
381
381
  value: ::String
382
382
  },
383
383
  ]?,
384
- ecr_image_hash: Array[
384
+ resource_tags: Array[
385
+ {
386
+ comparison: ("EQUALS"),
387
+ key: ::String,
388
+ value: ::String?
389
+ },
390
+ ]?,
391
+ ec2_instance_image_id: Array[
385
392
  {
386
393
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
387
394
  value: ::String
388
395
  },
389
396
  ]?,
390
- ecr_image_in_use_count: Array[
397
+ ec2_instance_vpc_id: Array[
391
398
  {
392
- lower_inclusive: ::Float?,
393
- upper_inclusive: ::Float?
399
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
400
+ value: ::String
394
401
  },
395
402
  ]?,
396
- ecr_image_last_in_use_at: Array[
403
+ ec2_instance_subnet_id: Array[
397
404
  {
398
- end_inclusive: ::Time?,
399
- start_inclusive: ::Time?
405
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
406
+ value: ::String
400
407
  },
401
408
  ]?,
402
409
  ecr_image_pushed_at: Array[
403
410
  {
404
- end_inclusive: ::Time?,
405
- start_inclusive: ::Time?
411
+ start_inclusive: ::Time?,
412
+ end_inclusive: ::Time?
406
413
  },
407
414
  ]?,
408
- ecr_image_registry: Array[
415
+ ecr_image_architecture: Array[
409
416
  {
410
417
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
411
418
  value: ::String
412
419
  },
413
420
  ]?,
414
- ecr_image_repository_name: Array[
421
+ ecr_image_registry: Array[
415
422
  {
416
423
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
417
424
  value: ::String
418
425
  },
419
426
  ]?,
420
- ecr_image_tags: Array[
427
+ ecr_image_repository_name: Array[
421
428
  {
422
429
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
423
430
  value: ::String
424
431
  },
425
432
  ]?,
426
- epss_score: Array[
427
- {
428
- lower_inclusive: ::Float?,
429
- upper_inclusive: ::Float?
430
- },
431
- ]?,
432
- exploit_available: Array[
433
+ ecr_image_tags: Array[
433
434
  {
434
435
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
435
436
  value: ::String
436
437
  },
437
438
  ]?,
438
- finding_arn: Array[
439
+ ecr_image_hash: Array[
439
440
  {
440
441
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
441
442
  value: ::String
442
443
  },
443
444
  ]?,
444
- finding_status: Array[
445
+ ecr_image_last_in_use_at: Array[
445
446
  {
446
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
447
- value: ::String
447
+ start_inclusive: ::Time?,
448
+ end_inclusive: ::Time?
448
449
  },
449
450
  ]?,
450
- finding_type: Array[
451
+ ecr_image_in_use_count: Array[
451
452
  {
452
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
453
- value: ::String
453
+ upper_inclusive: ::Float?,
454
+ lower_inclusive: ::Float?
454
455
  },
455
456
  ]?,
456
- first_observed_at: Array[
457
+ port_range: Array[
457
458
  {
458
- end_inclusive: ::Time?,
459
- start_inclusive: ::Time?
459
+ begin_inclusive: ::Integer?,
460
+ end_inclusive: ::Integer?
460
461
  },
461
462
  ]?,
462
- fix_available: Array[
463
+ network_protocol: Array[
463
464
  {
464
465
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
465
466
  value: ::String
466
467
  },
467
468
  ]?,
468
- inspector_score: Array[
469
+ component_id: Array[
469
470
  {
470
- lower_inclusive: ::Float?,
471
- upper_inclusive: ::Float?
471
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
472
+ value: ::String
472
473
  },
473
474
  ]?,
474
- lambda_function_execution_role_arn: Array[
475
+ component_type: Array[
475
476
  {
476
477
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
477
478
  value: ::String
478
479
  },
479
480
  ]?,
480
- lambda_function_last_modified_at: Array[
481
+ vulnerability_id: Array[
481
482
  {
482
- end_inclusive: ::Time?,
483
- start_inclusive: ::Time?
483
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
484
+ value: ::String
484
485
  },
485
486
  ]?,
486
- lambda_function_layers: Array[
487
+ vulnerability_source: Array[
487
488
  {
488
489
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
489
490
  value: ::String
490
491
  },
491
492
  ]?,
492
- lambda_function_name: Array[
493
+ vendor_severity: Array[
493
494
  {
494
495
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
495
496
  value: ::String
496
497
  },
497
498
  ]?,
498
- lambda_function_runtime: Array[
499
+ vulnerable_packages: Array[
499
500
  {
500
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
501
- value: ::String
501
+ name: {
502
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
503
+ value: ::String
504
+ }?,
505
+ version: {
506
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
507
+ value: ::String
508
+ }?,
509
+ epoch: {
510
+ upper_inclusive: ::Float?,
511
+ lower_inclusive: ::Float?
512
+ }?,
513
+ release: {
514
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
515
+ value: ::String
516
+ }?,
517
+ architecture: {
518
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
519
+ value: ::String
520
+ }?,
521
+ source_layer_hash: {
522
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
523
+ value: ::String
524
+ }?,
525
+ source_lambda_layer_arn: {
526
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
527
+ value: ::String
528
+ }?,
529
+ file_path: {
530
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
531
+ value: ::String
532
+ }?
502
533
  },
503
534
  ]?,
504
- last_observed_at: Array[
535
+ related_vulnerabilities: Array[
505
536
  {
506
- end_inclusive: ::Time?,
507
- start_inclusive: ::Time?
537
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
538
+ value: ::String
508
539
  },
509
540
  ]?,
510
- network_protocol: Array[
541
+ fix_available: Array[
511
542
  {
512
543
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
513
544
  value: ::String
514
545
  },
515
546
  ]?,
516
- port_range: Array[
547
+ lambda_function_name: Array[
517
548
  {
518
- begin_inclusive: ::Integer?,
519
- end_inclusive: ::Integer?
549
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
550
+ value: ::String
520
551
  },
521
552
  ]?,
522
- related_vulnerabilities: Array[
553
+ lambda_function_layers: Array[
523
554
  {
524
555
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
525
556
  value: ::String
526
557
  },
527
558
  ]?,
528
- resource_id: Array[
559
+ lambda_function_runtime: Array[
529
560
  {
530
561
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
531
562
  value: ::String
532
563
  },
533
564
  ]?,
534
- resource_tags: Array[
565
+ lambda_function_last_modified_at: Array[
535
566
  {
536
- comparison: ("EQUALS"),
537
- key: ::String,
538
- value: ::String?
567
+ start_inclusive: ::Time?,
568
+ end_inclusive: ::Time?
539
569
  },
540
570
  ]?,
541
- resource_type: Array[
571
+ lambda_function_execution_role_arn: Array[
542
572
  {
543
573
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
544
574
  value: ::String
545
575
  },
546
576
  ]?,
547
- severity: Array[
577
+ exploit_available: Array[
548
578
  {
549
579
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
550
580
  value: ::String
551
581
  },
552
582
  ]?,
553
- title: Array[
583
+ code_vulnerability_detector_name: Array[
554
584
  {
555
585
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
556
586
  value: ::String
557
587
  },
558
588
  ]?,
559
- updated_at: Array[
589
+ code_vulnerability_detector_tags: Array[
560
590
  {
561
- end_inclusive: ::Time?,
562
- start_inclusive: ::Time?
591
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
592
+ value: ::String
563
593
  },
564
594
  ]?,
565
- vendor_severity: Array[
595
+ code_vulnerability_file_path: Array[
566
596
  {
567
597
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
568
598
  value: ::String
569
599
  },
570
600
  ]?,
571
- vulnerability_id: Array[
601
+ epss_score: Array[
572
602
  {
573
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
574
- value: ::String
603
+ upper_inclusive: ::Float?,
604
+ lower_inclusive: ::Float?
575
605
  },
576
606
  ]?,
577
- vulnerability_source: Array[
607
+ code_repository_project_name: Array[
578
608
  {
579
609
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
580
610
  value: ::String
581
611
  },
582
612
  ]?,
583
- vulnerable_packages: Array[
613
+ code_repository_provider_type: Array[
584
614
  {
585
- architecture: {
586
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
587
- value: ::String
588
- }?,
589
- epoch: {
590
- lower_inclusive: ::Float?,
591
- upper_inclusive: ::Float?
592
- }?,
593
- file_path: {
594
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
595
- value: ::String
596
- }?,
597
- name: {
598
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
599
- value: ::String
600
- }?,
601
- release: {
602
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
603
- value: ::String
604
- }?,
605
- source_lambda_layer_arn: {
606
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
607
- value: ::String
608
- }?,
609
- source_layer_hash: {
610
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
611
- value: ::String
612
- }?,
613
- version: {
614
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
615
- value: ::String
616
- }?
615
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
616
+ value: ::String
617
617
  },
618
618
  ]?
619
619
  },
620
620
  name: ::String,
621
- ?reason: ::String,
622
- ?tags: Hash[::String, ::String]
621
+ ?tags: Hash[::String, ::String],
622
+ ?reason: ::String
623
623
  ) -> _CreateFilterResponseSuccess
624
624
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFilterResponseSuccess
625
625
 
@@ -630,311 +630,311 @@ module Aws
630
630
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_findings_report-instance_method
631
631
  def create_findings_report: (
632
632
  ?filter_criteria: {
633
- aws_account_id: Array[
633
+ finding_arn: Array[
634
634
  {
635
635
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
636
636
  value: ::String
637
637
  },
638
638
  ]?,
639
- code_repository_project_name: Array[
639
+ aws_account_id: Array[
640
640
  {
641
641
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
642
642
  value: ::String
643
643
  },
644
644
  ]?,
645
- code_repository_provider_type: Array[
645
+ finding_type: Array[
646
646
  {
647
647
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
648
648
  value: ::String
649
649
  },
650
650
  ]?,
651
- code_vulnerability_detector_name: Array[
651
+ severity: Array[
652
652
  {
653
653
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
654
654
  value: ::String
655
655
  },
656
656
  ]?,
657
- code_vulnerability_detector_tags: Array[
657
+ first_observed_at: Array[
658
658
  {
659
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
660
- value: ::String
659
+ start_inclusive: ::Time?,
660
+ end_inclusive: ::Time?
661
661
  },
662
662
  ]?,
663
- code_vulnerability_file_path: Array[
663
+ last_observed_at: Array[
664
664
  {
665
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
666
- value: ::String
665
+ start_inclusive: ::Time?,
666
+ end_inclusive: ::Time?
667
667
  },
668
668
  ]?,
669
- component_id: Array[
669
+ updated_at: Array[
670
670
  {
671
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
672
- value: ::String
671
+ start_inclusive: ::Time?,
672
+ end_inclusive: ::Time?
673
673
  },
674
674
  ]?,
675
- component_type: Array[
675
+ finding_status: Array[
676
676
  {
677
677
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
678
678
  value: ::String
679
679
  },
680
680
  ]?,
681
- ec2_instance_image_id: Array[
681
+ title: Array[
682
682
  {
683
683
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
684
684
  value: ::String
685
685
  },
686
686
  ]?,
687
- ec2_instance_subnet_id: Array[
687
+ inspector_score: Array[
688
688
  {
689
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
690
- value: ::String
689
+ upper_inclusive: ::Float?,
690
+ lower_inclusive: ::Float?
691
691
  },
692
692
  ]?,
693
- ec2_instance_vpc_id: Array[
693
+ resource_type: Array[
694
694
  {
695
695
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
696
696
  value: ::String
697
697
  },
698
698
  ]?,
699
- ecr_image_architecture: Array[
699
+ resource_id: Array[
700
700
  {
701
701
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
702
702
  value: ::String
703
703
  },
704
704
  ]?,
705
- ecr_image_hash: Array[
705
+ resource_tags: Array[
706
+ {
707
+ comparison: ("EQUALS"),
708
+ key: ::String,
709
+ value: ::String?
710
+ },
711
+ ]?,
712
+ ec2_instance_image_id: Array[
706
713
  {
707
714
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
708
715
  value: ::String
709
716
  },
710
717
  ]?,
711
- ecr_image_in_use_count: Array[
718
+ ec2_instance_vpc_id: Array[
712
719
  {
713
- lower_inclusive: ::Float?,
714
- upper_inclusive: ::Float?
720
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
721
+ value: ::String
715
722
  },
716
723
  ]?,
717
- ecr_image_last_in_use_at: Array[
724
+ ec2_instance_subnet_id: Array[
718
725
  {
719
- end_inclusive: ::Time?,
720
- start_inclusive: ::Time?
726
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
727
+ value: ::String
721
728
  },
722
729
  ]?,
723
730
  ecr_image_pushed_at: Array[
724
731
  {
725
- end_inclusive: ::Time?,
726
- start_inclusive: ::Time?
732
+ start_inclusive: ::Time?,
733
+ end_inclusive: ::Time?
727
734
  },
728
735
  ]?,
729
- ecr_image_registry: Array[
736
+ ecr_image_architecture: Array[
730
737
  {
731
738
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
732
739
  value: ::String
733
740
  },
734
741
  ]?,
735
- ecr_image_repository_name: Array[
742
+ ecr_image_registry: Array[
736
743
  {
737
744
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
738
745
  value: ::String
739
746
  },
740
747
  ]?,
741
- ecr_image_tags: Array[
748
+ ecr_image_repository_name: Array[
742
749
  {
743
750
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
744
751
  value: ::String
745
752
  },
746
753
  ]?,
747
- epss_score: Array[
748
- {
749
- lower_inclusive: ::Float?,
750
- upper_inclusive: ::Float?
751
- },
752
- ]?,
753
- exploit_available: Array[
754
+ ecr_image_tags: Array[
754
755
  {
755
756
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
756
757
  value: ::String
757
758
  },
758
759
  ]?,
759
- finding_arn: Array[
760
+ ecr_image_hash: Array[
760
761
  {
761
762
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
762
763
  value: ::String
763
764
  },
764
765
  ]?,
765
- finding_status: Array[
766
+ ecr_image_last_in_use_at: Array[
766
767
  {
767
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
768
- value: ::String
768
+ start_inclusive: ::Time?,
769
+ end_inclusive: ::Time?
769
770
  },
770
771
  ]?,
771
- finding_type: Array[
772
+ ecr_image_in_use_count: Array[
772
773
  {
773
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
774
- value: ::String
774
+ upper_inclusive: ::Float?,
775
+ lower_inclusive: ::Float?
775
776
  },
776
777
  ]?,
777
- first_observed_at: Array[
778
+ port_range: Array[
778
779
  {
779
- end_inclusive: ::Time?,
780
- start_inclusive: ::Time?
780
+ begin_inclusive: ::Integer?,
781
+ end_inclusive: ::Integer?
781
782
  },
782
783
  ]?,
783
- fix_available: Array[
784
+ network_protocol: Array[
784
785
  {
785
786
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
786
787
  value: ::String
787
788
  },
788
789
  ]?,
789
- inspector_score: Array[
790
+ component_id: Array[
790
791
  {
791
- lower_inclusive: ::Float?,
792
- upper_inclusive: ::Float?
792
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
793
+ value: ::String
793
794
  },
794
795
  ]?,
795
- lambda_function_execution_role_arn: Array[
796
+ component_type: Array[
796
797
  {
797
798
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
798
799
  value: ::String
799
800
  },
800
801
  ]?,
801
- lambda_function_last_modified_at: Array[
802
+ vulnerability_id: Array[
802
803
  {
803
- end_inclusive: ::Time?,
804
- start_inclusive: ::Time?
804
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
805
+ value: ::String
805
806
  },
806
807
  ]?,
807
- lambda_function_layers: Array[
808
+ vulnerability_source: Array[
808
809
  {
809
810
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
810
811
  value: ::String
811
812
  },
812
813
  ]?,
813
- lambda_function_name: Array[
814
+ vendor_severity: Array[
814
815
  {
815
816
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
816
817
  value: ::String
817
818
  },
818
819
  ]?,
819
- lambda_function_runtime: Array[
820
+ vulnerable_packages: Array[
820
821
  {
821
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
822
- value: ::String
822
+ name: {
823
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
824
+ value: ::String
825
+ }?,
826
+ version: {
827
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
828
+ value: ::String
829
+ }?,
830
+ epoch: {
831
+ upper_inclusive: ::Float?,
832
+ lower_inclusive: ::Float?
833
+ }?,
834
+ release: {
835
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
836
+ value: ::String
837
+ }?,
838
+ architecture: {
839
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
840
+ value: ::String
841
+ }?,
842
+ source_layer_hash: {
843
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
844
+ value: ::String
845
+ }?,
846
+ source_lambda_layer_arn: {
847
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
848
+ value: ::String
849
+ }?,
850
+ file_path: {
851
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
852
+ value: ::String
853
+ }?
823
854
  },
824
855
  ]?,
825
- last_observed_at: Array[
856
+ related_vulnerabilities: Array[
826
857
  {
827
- end_inclusive: ::Time?,
828
- start_inclusive: ::Time?
858
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
859
+ value: ::String
829
860
  },
830
861
  ]?,
831
- network_protocol: Array[
862
+ fix_available: Array[
832
863
  {
833
864
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
834
865
  value: ::String
835
866
  },
836
867
  ]?,
837
- port_range: Array[
868
+ lambda_function_name: Array[
838
869
  {
839
- begin_inclusive: ::Integer?,
840
- end_inclusive: ::Integer?
870
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
871
+ value: ::String
841
872
  },
842
873
  ]?,
843
- related_vulnerabilities: Array[
874
+ lambda_function_layers: Array[
844
875
  {
845
876
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
846
877
  value: ::String
847
878
  },
848
879
  ]?,
849
- resource_id: Array[
880
+ lambda_function_runtime: Array[
850
881
  {
851
882
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
852
883
  value: ::String
853
884
  },
854
885
  ]?,
855
- resource_tags: Array[
886
+ lambda_function_last_modified_at: Array[
856
887
  {
857
- comparison: ("EQUALS"),
858
- key: ::String,
859
- value: ::String?
888
+ start_inclusive: ::Time?,
889
+ end_inclusive: ::Time?
860
890
  },
861
891
  ]?,
862
- resource_type: Array[
892
+ lambda_function_execution_role_arn: Array[
863
893
  {
864
894
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
865
895
  value: ::String
866
896
  },
867
897
  ]?,
868
- severity: Array[
898
+ exploit_available: Array[
869
899
  {
870
900
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
871
901
  value: ::String
872
902
  },
873
903
  ]?,
874
- title: Array[
904
+ code_vulnerability_detector_name: Array[
875
905
  {
876
906
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
877
907
  value: ::String
878
908
  },
879
909
  ]?,
880
- updated_at: Array[
910
+ code_vulnerability_detector_tags: Array[
881
911
  {
882
- end_inclusive: ::Time?,
883
- start_inclusive: ::Time?
912
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
913
+ value: ::String
884
914
  },
885
915
  ]?,
886
- vendor_severity: Array[
916
+ code_vulnerability_file_path: Array[
887
917
  {
888
918
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
889
919
  value: ::String
890
920
  },
891
921
  ]?,
892
- vulnerability_id: Array[
922
+ epss_score: Array[
893
923
  {
894
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
895
- value: ::String
924
+ upper_inclusive: ::Float?,
925
+ lower_inclusive: ::Float?
896
926
  },
897
927
  ]?,
898
- vulnerability_source: Array[
928
+ code_repository_project_name: Array[
899
929
  {
900
930
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
901
931
  value: ::String
902
932
  },
903
933
  ]?,
904
- vulnerable_packages: Array[
934
+ code_repository_provider_type: Array[
905
935
  {
906
- architecture: {
907
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
908
- value: ::String
909
- }?,
910
- epoch: {
911
- lower_inclusive: ::Float?,
912
- upper_inclusive: ::Float?
913
- }?,
914
- file_path: {
915
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
916
- value: ::String
917
- }?,
918
- name: {
919
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
920
- value: ::String
921
- }?,
922
- release: {
923
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
924
- value: ::String
925
- }?,
926
- source_lambda_layer_arn: {
927
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
928
- value: ::String
929
- }?,
930
- source_layer_hash: {
931
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
932
- value: ::String
933
- }?,
934
- version: {
935
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
936
- value: ::String
937
- }?
936
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
937
+ value: ::String
938
938
  },
939
939
  ]?
940
940
  },
@@ -953,7 +953,6 @@ module Aws
953
953
  end
954
954
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#create_sbom_export-instance_method
955
955
  def create_sbom_export: (
956
- report_format: ("CYCLONEDX_1_4" | "SPDX_2_3"),
957
956
  ?resource_filter_criteria: {
958
957
  account_id: Array[
959
958
  {
@@ -961,14 +960,13 @@ module Aws
961
960
  value: ::String
962
961
  },
963
962
  ]?,
964
- ec2_instance_tags: Array[
963
+ resource_id: Array[
965
964
  {
966
- comparison: ("EQUALS"),
967
- key: ::String,
968
- value: ::String?
965
+ comparison: ("EQUALS" | "NOT_EQUALS"),
966
+ value: ::String
969
967
  },
970
968
  ]?,
971
- ecr_image_tags: Array[
969
+ resource_type: Array[
972
970
  {
973
971
  comparison: ("EQUALS" | "NOT_EQUALS"),
974
972
  value: ::String
@@ -986,26 +984,28 @@ module Aws
986
984
  value: ::String
987
985
  },
988
986
  ]?,
989
- lambda_function_tags: Array[
987
+ ecr_image_tags: Array[
990
988
  {
991
- comparison: ("EQUALS"),
992
- key: ::String,
993
- value: ::String?
989
+ comparison: ("EQUALS" | "NOT_EQUALS"),
990
+ value: ::String
994
991
  },
995
992
  ]?,
996
- resource_id: Array[
993
+ ec2_instance_tags: Array[
997
994
  {
998
- comparison: ("EQUALS" | "NOT_EQUALS"),
999
- value: ::String
995
+ comparison: ("EQUALS"),
996
+ key: ::String,
997
+ value: ::String?
1000
998
  },
1001
999
  ]?,
1002
- resource_type: Array[
1000
+ lambda_function_tags: Array[
1003
1001
  {
1004
- comparison: ("EQUALS" | "NOT_EQUALS"),
1005
- value: ::String
1002
+ comparison: ("EQUALS"),
1003
+ key: ::String,
1004
+ value: ::String?
1006
1005
  },
1007
1006
  ]?
1008
1007
  },
1008
+ report_format: ("CYCLONEDX_1_4" | "SPDX_2_3"),
1009
1009
  s3_destination: {
1010
1010
  bucket_name: ::String,
1011
1011
  key_prefix: ::String?,
@@ -1104,8 +1104,8 @@ module Aws
1104
1104
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#enable-instance_method
1105
1105
  def enable: (
1106
1106
  ?account_ids: Array[::String],
1107
- ?client_token: ::String,
1108
- resource_types: Array[("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE" | "CODE_REPOSITORY")]
1107
+ resource_types: Array[("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE" | "CODE_REPOSITORY")],
1108
+ ?client_token: ::String
1109
1109
  ) -> _EnableResponseSuccess
1110
1110
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableResponseSuccess
1111
1111
 
@@ -1115,49 +1115,51 @@ module Aws
1115
1115
  end
1116
1116
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#enable_delegated_admin_account-instance_method
1117
1117
  def enable_delegated_admin_account: (
1118
- ?client_token: ::String,
1119
- delegated_admin_account_id: ::String
1118
+ delegated_admin_account_id: ::String,
1119
+ ?client_token: ::String
1120
1120
  ) -> _EnableDelegatedAdminAccountResponseSuccess
1121
1121
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableDelegatedAdminAccountResponseSuccess
1122
1122
 
1123
1123
  interface _GetCisScanReportResponseSuccess
1124
1124
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCisScanReportResponse]
1125
- def status: () -> ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
1126
1125
  def url: () -> ::String
1126
+ def status: () -> ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
1127
1127
  end
1128
1128
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_cis_scan_report-instance_method
1129
1129
  def get_cis_scan_report: (
1130
- ?report_format: ("PDF" | "CSV"),
1131
1130
  scan_arn: ::String,
1132
- ?target_accounts: Array[::String]
1131
+ ?target_accounts: Array[::String],
1132
+ ?report_format: ("PDF" | "CSV")
1133
1133
  ) -> _GetCisScanReportResponseSuccess
1134
1134
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCisScanReportResponseSuccess
1135
1135
 
1136
1136
  interface _GetCisScanResultDetailsResponseSuccess
1137
1137
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCisScanResultDetailsResponse]
1138
- def next_token: () -> ::String
1139
1138
  def scan_result_details: () -> ::Array[Types::CisScanResultDetails]
1139
+ def next_token: () -> ::String
1140
1140
  end
1141
1141
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_cis_scan_result_details-instance_method
1142
1142
  def get_cis_scan_result_details: (
1143
+ scan_arn: ::String,
1144
+ target_resource_id: ::String,
1143
1145
  account_id: ::String,
1144
1146
  ?filter_criteria: {
1145
- check_id_filters: Array[
1147
+ finding_status_filters: Array[
1146
1148
  {
1147
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1148
- value: ::String
1149
+ comparison: ("EQUALS"),
1150
+ value: ("PASSED" | "FAILED" | "SKIPPED")
1149
1151
  },
1150
1152
  ]?,
1151
- finding_arn_filters: Array[
1153
+ check_id_filters: Array[
1152
1154
  {
1153
1155
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1154
1156
  value: ::String
1155
1157
  },
1156
1158
  ]?,
1157
- finding_status_filters: Array[
1159
+ title_filters: Array[
1158
1160
  {
1159
- comparison: ("EQUALS"),
1160
- value: ("PASSED" | "FAILED" | "SKIPPED")
1161
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1162
+ value: ::String
1161
1163
  },
1162
1164
  ]?,
1163
1165
  security_level_filters: Array[
@@ -1166,19 +1168,17 @@ module Aws
1166
1168
  value: ("LEVEL_1" | "LEVEL_2")
1167
1169
  },
1168
1170
  ]?,
1169
- title_filters: Array[
1171
+ finding_arn_filters: Array[
1170
1172
  {
1171
1173
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1172
1174
  value: ::String
1173
1175
  },
1174
1176
  ]?
1175
1177
  },
1176
- ?max_results: ::Integer,
1177
- ?next_token: ::String,
1178
- scan_arn: ::String,
1179
1178
  ?sort_by: ("CHECK_ID" | "STATUS"),
1180
1179
  ?sort_order: ("ASC" | "DESC"),
1181
- target_resource_id: ::String
1180
+ ?next_token: ::String,
1181
+ ?max_results: ::Integer
1182
1182
  ) -> _GetCisScanResultDetailsResponseSuccess
1183
1183
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCisScanResultDetailsResponseSuccess
1184
1184
 
@@ -1199,15 +1199,15 @@ module Aws
1199
1199
 
1200
1200
  interface _GetCodeSecurityIntegrationResponseSuccess
1201
1201
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeSecurityIntegrationResponse]
1202
- def authorization_url: () -> ::String
1203
- def created_on: () -> ::Time
1204
1202
  def integration_arn: () -> ::String
1205
- def last_update_on: () -> ::Time
1206
1203
  def name: () -> ::String
1204
+ def type: () -> ("GITLAB_SELF_MANAGED" | "GITHUB")
1207
1205
  def status: () -> ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
1208
1206
  def status_reason: () -> ::String
1207
+ def created_on: () -> ::Time
1208
+ def last_update_on: () -> ::Time
1209
1209
  def tags: () -> ::Hash[::String, ::String]
1210
- def type: () -> ("GITLAB_SELF_MANAGED" | "GITHUB")
1210
+ def authorization_url: () -> ::String
1211
1211
  end
1212
1212
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_code_security_integration-instance_method
1213
1213
  def get_code_security_integration: (
@@ -1218,14 +1218,14 @@ module Aws
1218
1218
 
1219
1219
  interface _GetCodeSecurityScanResponseSuccess
1220
1220
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeSecurityScanResponse]
1221
- def account_id: () -> ::String
1222
- def created_at: () -> ::Time
1223
- def last_commit_id: () -> ::String
1224
- def resource: () -> Types::CodeSecurityResource
1225
1221
  def scan_id: () -> ::String
1222
+ def resource: () -> Types::CodeSecurityResource
1223
+ def account_id: () -> ::String
1226
1224
  def status: () -> ("IN_PROGRESS" | "SUCCESSFUL" | "FAILED" | "SKIPPED")
1227
1225
  def status_reason: () -> ::String
1226
+ def created_at: () -> ::Time
1228
1227
  def updated_at: () -> ::Time
1228
+ def last_commit_id: () -> ::String
1229
1229
  end
1230
1230
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_code_security_scan-instance_method
1231
1231
  def get_code_security_scan: (
@@ -1238,13 +1238,13 @@ module Aws
1238
1238
 
1239
1239
  interface _GetCodeSecurityScanConfigurationResponseSuccess
1240
1240
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCodeSecurityScanConfigurationResponse]
1241
+ def scan_configuration_arn: () -> ::String
1242
+ def name: () -> ::String
1241
1243
  def configuration: () -> Types::CodeSecurityScanConfiguration
1242
- def created_at: () -> ::Time
1243
- def last_updated_at: () -> ::Time
1244
1244
  def level: () -> ("ORGANIZATION" | "ACCOUNT")
1245
- def name: () -> ::String
1246
- def scan_configuration_arn: () -> ::String
1247
1245
  def scope_settings: () -> Types::ScopeSettings
1246
+ def created_at: () -> ::Time
1247
+ def last_updated_at: () -> ::Time
1248
1248
  def tags: () -> ::Hash[::String, ::String]
1249
1249
  end
1250
1250
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_code_security_scan_configuration-instance_method
@@ -1255,8 +1255,8 @@ module Aws
1255
1255
 
1256
1256
  interface _GetConfigurationResponseSuccess
1257
1257
  include ::Seahorse::Client::_ResponseSuccess[Types::GetConfigurationResponse]
1258
- def ec2_configuration: () -> Types::Ec2ConfigurationState
1259
1258
  def ecr_configuration: () -> Types::EcrConfigurationState
1259
+ def ec2_configuration: () -> Types::Ec2ConfigurationState
1260
1260
  end
1261
1261
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_configuration-instance_method
1262
1262
  def get_configuration: (
@@ -1274,10 +1274,10 @@ module Aws
1274
1274
 
1275
1275
  interface _GetEc2DeepInspectionConfigurationResponseSuccess
1276
1276
  include ::Seahorse::Client::_ResponseSuccess[Types::GetEc2DeepInspectionConfigurationResponse]
1277
- def error_message: () -> ::String
1278
- def org_package_paths: () -> ::Array[::String]
1279
1277
  def package_paths: () -> ::Array[::String]
1278
+ def org_package_paths: () -> ::Array[::String]
1280
1279
  def status: () -> ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
1280
+ def error_message: () -> ::String
1281
1281
  end
1282
1282
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_ec2_deep_inspection_configuration-instance_method
1283
1283
  def get_ec2_deep_inspection_configuration: (
@@ -1290,19 +1290,19 @@ module Aws
1290
1290
  end
1291
1291
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_encryption_key-instance_method
1292
1292
  def get_encryption_key: (
1293
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY"),
1294
- scan_type: ("NETWORK" | "PACKAGE" | "CODE")
1293
+ scan_type: ("NETWORK" | "PACKAGE" | "CODE"),
1294
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
1295
1295
  ) -> _GetEncryptionKeyResponseSuccess
1296
1296
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEncryptionKeyResponseSuccess
1297
1297
 
1298
1298
  interface _GetFindingsReportStatusResponseSuccess
1299
1299
  include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsReportStatusResponse]
1300
- def destination: () -> Types::Destination
1300
+ def report_id: () -> ::String
1301
+ def status: () -> ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1301
1302
  def error_code: () -> ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
1302
1303
  def error_message: () -> ::String
1304
+ def destination: () -> Types::Destination
1303
1305
  def filter_criteria: () -> Types::FilterCriteria
1304
- def report_id: () -> ::String
1305
- def status: () -> ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1306
1306
  end
1307
1307
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_findings_report_status-instance_method
1308
1308
  def get_findings_report_status: (
@@ -1322,13 +1322,13 @@ module Aws
1322
1322
 
1323
1323
  interface _GetSbomExportResponseSuccess
1324
1324
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSbomExportResponse]
1325
+ def report_id: () -> ::String
1326
+ def format: () -> ("CYCLONEDX_1_4" | "SPDX_2_3")
1327
+ def status: () -> ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1325
1328
  def error_code: () -> ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
1326
1329
  def error_message: () -> ::String
1327
- def filter_criteria: () -> Types::ResourceFilterCriteria
1328
- def format: () -> ("CYCLONEDX_1_4" | "SPDX_2_3")
1329
- def report_id: () -> ::String
1330
1330
  def s3_destination: () -> Types::Destination
1331
- def status: () -> ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1331
+ def filter_criteria: () -> Types::ResourceFilterCriteria
1332
1332
  end
1333
1333
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#get_sbom_export-instance_method
1334
1334
  def get_sbom_export: (
@@ -1338,31 +1338,25 @@ module Aws
1338
1338
 
1339
1339
  interface _ListAccountPermissionsResponseSuccess
1340
1340
  include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountPermissionsResponse]
1341
- def next_token: () -> ::String
1342
1341
  def permissions: () -> ::Array[Types::Permission]
1342
+ def next_token: () -> ::String
1343
1343
  end
1344
1344
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_account_permissions-instance_method
1345
1345
  def list_account_permissions: (
1346
+ ?service: ("EC2" | "ECR" | "LAMBDA"),
1346
1347
  ?max_results: ::Integer,
1347
- ?next_token: ::String,
1348
- ?service: ("EC2" | "ECR" | "LAMBDA")
1348
+ ?next_token: ::String
1349
1349
  ) -> _ListAccountPermissionsResponseSuccess
1350
1350
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountPermissionsResponseSuccess
1351
1351
 
1352
1352
  interface _ListCisScanConfigurationsResponseSuccess
1353
1353
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCisScanConfigurationsResponse]
1354
- def next_token: () -> ::String
1355
1354
  def scan_configurations: () -> ::Array[Types::CisScanConfiguration]
1355
+ def next_token: () -> ::String
1356
1356
  end
1357
1357
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scan_configurations-instance_method
1358
1358
  def list_cis_scan_configurations: (
1359
1359
  ?filter_criteria: {
1360
- scan_configuration_arn_filters: Array[
1361
- {
1362
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1363
- value: ::String
1364
- },
1365
- ]?,
1366
1360
  scan_name_filters: Array[
1367
1361
  {
1368
1362
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
@@ -1375,12 +1369,18 @@ module Aws
1375
1369
  key: ::String,
1376
1370
  value: ::String
1377
1371
  },
1372
+ ]?,
1373
+ scan_configuration_arn_filters: Array[
1374
+ {
1375
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1376
+ value: ::String
1377
+ },
1378
1378
  ]?
1379
1379
  },
1380
- ?max_results: ::Integer,
1381
- ?next_token: ::String,
1382
1380
  ?sort_by: ("SCAN_NAME" | "SCAN_CONFIGURATION_ARN"),
1383
- ?sort_order: ("ASC" | "DESC")
1381
+ ?sort_order: ("ASC" | "DESC"),
1382
+ ?next_token: ::String,
1383
+ ?max_results: ::Integer
1384
1384
  ) -> _ListCisScanConfigurationsResponseSuccess
1385
1385
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScanConfigurationsResponseSuccess
1386
1386
 
@@ -1391,6 +1391,7 @@ module Aws
1391
1391
  end
1392
1392
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scan_results_aggregated_by_checks-instance_method
1393
1393
  def list_cis_scan_results_aggregated_by_checks: (
1394
+ scan_arn: ::String,
1394
1395
  ?filter_criteria: {
1395
1396
  account_id_filters: Array[
1396
1397
  {
@@ -1404,10 +1405,10 @@ module Aws
1404
1405
  value: ::String
1405
1406
  },
1406
1407
  ]?,
1407
- failed_resources_filters: Array[
1408
+ title_filters: Array[
1408
1409
  {
1409
- lower_inclusive: ::Integer?,
1410
- upper_inclusive: ::Integer?
1410
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1411
+ value: ::String
1411
1412
  },
1412
1413
  ]?,
1413
1414
  platform_filters: Array[
@@ -1416,34 +1417,34 @@ module Aws
1416
1417
  value: ::String
1417
1418
  },
1418
1419
  ]?,
1419
- security_level_filters: Array[
1420
+ failed_resources_filters: Array[
1420
1421
  {
1421
- comparison: ("EQUALS"),
1422
- value: ("LEVEL_1" | "LEVEL_2")
1422
+ upper_inclusive: ::Integer?,
1423
+ lower_inclusive: ::Integer?
1423
1424
  },
1424
1425
  ]?,
1425
- title_filters: Array[
1426
+ security_level_filters: Array[
1426
1427
  {
1427
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1428
- value: ::String
1428
+ comparison: ("EQUALS"),
1429
+ value: ("LEVEL_1" | "LEVEL_2")
1429
1430
  },
1430
1431
  ]?
1431
1432
  },
1432
- ?max_results: ::Integer,
1433
- ?next_token: ::String,
1434
- scan_arn: ::String,
1435
1433
  ?sort_by: ("CHECK_ID" | "TITLE" | "PLATFORM" | "FAILED_COUNTS" | "SECURITY_LEVEL"),
1436
- ?sort_order: ("ASC" | "DESC")
1434
+ ?sort_order: ("ASC" | "DESC"),
1435
+ ?next_token: ::String,
1436
+ ?max_results: ::Integer
1437
1437
  ) -> _ListCisScanResultsAggregatedByChecksResponseSuccess
1438
1438
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScanResultsAggregatedByChecksResponseSuccess
1439
1439
 
1440
1440
  interface _ListCisScanResultsAggregatedByTargetResourceResponseSuccess
1441
1441
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCisScanResultsAggregatedByTargetResourceResponse]
1442
- def next_token: () -> ::String
1443
1442
  def target_resource_aggregations: () -> ::Array[Types::CisTargetResourceAggregation]
1443
+ def next_token: () -> ::String
1444
1444
  end
1445
1445
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scan_results_aggregated_by_target_resource-instance_method
1446
1446
  def list_cis_scan_results_aggregated_by_target_resource: (
1447
+ scan_arn: ::String,
1447
1448
  ?filter_criteria: {
1448
1449
  account_id_filters: Array[
1449
1450
  {
@@ -1451,30 +1452,18 @@ module Aws
1451
1452
  value: ::String
1452
1453
  },
1453
1454
  ]?,
1454
- check_id_filters: Array[
1455
- {
1456
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1457
- value: ::String
1458
- },
1459
- ]?,
1460
- failed_checks_filters: Array[
1455
+ status_filters: Array[
1461
1456
  {
1462
- lower_inclusive: ::Integer?,
1463
- upper_inclusive: ::Integer?
1457
+ comparison: ("EQUALS"),
1458
+ value: ("PASSED" | "FAILED" | "SKIPPED")
1464
1459
  },
1465
1460
  ]?,
1466
- platform_filters: Array[
1461
+ check_id_filters: Array[
1467
1462
  {
1468
1463
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1469
1464
  value: ::String
1470
1465
  },
1471
1466
  ]?,
1472
- status_filters: Array[
1473
- {
1474
- comparison: ("EQUALS"),
1475
- value: ("PASSED" | "FAILED" | "SKIPPED")
1476
- },
1477
- ]?,
1478
1467
  target_resource_id_filters: Array[
1479
1468
  {
1480
1469
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
@@ -1488,6 +1477,12 @@ module Aws
1488
1477
  value: ::String
1489
1478
  },
1490
1479
  ]?,
1480
+ platform_filters: Array[
1481
+ {
1482
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1483
+ value: ::String
1484
+ },
1485
+ ]?,
1491
1486
  target_status_filters: Array[
1492
1487
  {
1493
1488
  comparison: ("EQUALS"),
@@ -1499,50 +1494,43 @@ module Aws
1499
1494
  comparison: ("EQUALS"),
1500
1495
  value: ("SCAN_IN_PROGRESS" | "UNSUPPORTED_OS" | "SSM_UNMANAGED")
1501
1496
  },
1497
+ ]?,
1498
+ failed_checks_filters: Array[
1499
+ {
1500
+ upper_inclusive: ::Integer?,
1501
+ lower_inclusive: ::Integer?
1502
+ },
1502
1503
  ]?
1503
1504
  },
1504
- ?max_results: ::Integer,
1505
- ?next_token: ::String,
1506
- scan_arn: ::String,
1507
1505
  ?sort_by: ("RESOURCE_ID" | "FAILED_COUNTS" | "ACCOUNT_ID" | "PLATFORM" | "TARGET_STATUS" | "TARGET_STATUS_REASON"),
1508
- ?sort_order: ("ASC" | "DESC")
1506
+ ?sort_order: ("ASC" | "DESC"),
1507
+ ?next_token: ::String,
1508
+ ?max_results: ::Integer
1509
1509
  ) -> _ListCisScanResultsAggregatedByTargetResourceResponseSuccess
1510
1510
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScanResultsAggregatedByTargetResourceResponseSuccess
1511
1511
 
1512
1512
  interface _ListCisScansResponseSuccess
1513
1513
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCisScansResponse]
1514
- def next_token: () -> ::String
1515
1514
  def scans: () -> ::Array[Types::CisScan]
1515
+ def next_token: () -> ::String
1516
1516
  end
1517
1517
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_cis_scans-instance_method
1518
1518
  def list_cis_scans: (
1519
- ?detail_level: ("ORGANIZATION" | "MEMBER"),
1520
1519
  ?filter_criteria: {
1521
- failed_checks_filters: Array[
1522
- {
1523
- lower_inclusive: ::Integer?,
1524
- upper_inclusive: ::Integer?
1525
- },
1526
- ]?,
1527
- scan_arn_filters: Array[
1520
+ scan_name_filters: Array[
1528
1521
  {
1529
1522
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1530
1523
  value: ::String
1531
1524
  },
1532
1525
  ]?,
1533
- scan_at_filters: Array[
1534
- {
1535
- earliest_scan_start_time: ::Time?,
1536
- latest_scan_start_time: ::Time?
1537
- },
1538
- ]?,
1539
- scan_configuration_arn_filters: Array[
1526
+ target_resource_tag_filters: Array[
1540
1527
  {
1541
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1528
+ comparison: ("EQUALS"),
1529
+ key: ::String,
1542
1530
  value: ::String
1543
1531
  },
1544
1532
  ]?,
1545
- scan_name_filters: Array[
1533
+ target_resource_id_filters: Array[
1546
1534
  {
1547
1535
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1548
1536
  value: ::String
@@ -1554,36 +1542,48 @@ module Aws
1554
1542
  value: ("FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS")
1555
1543
  },
1556
1544
  ]?,
1557
- scheduled_by_filters: Array[
1545
+ scan_at_filters: Array[
1546
+ {
1547
+ earliest_scan_start_time: ::Time?,
1548
+ latest_scan_start_time: ::Time?
1549
+ },
1550
+ ]?,
1551
+ scan_configuration_arn_filters: Array[
1558
1552
  {
1559
1553
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1560
1554
  value: ::String
1561
1555
  },
1562
1556
  ]?,
1563
- target_account_id_filters: Array[
1557
+ scan_arn_filters: Array[
1564
1558
  {
1565
1559
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1566
1560
  value: ::String
1567
1561
  },
1568
1562
  ]?,
1569
- target_resource_id_filters: Array[
1563
+ scheduled_by_filters: Array[
1570
1564
  {
1571
1565
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1572
1566
  value: ::String
1573
1567
  },
1574
1568
  ]?,
1575
- target_resource_tag_filters: Array[
1569
+ failed_checks_filters: Array[
1576
1570
  {
1577
- comparison: ("EQUALS"),
1578
- key: ::String,
1571
+ upper_inclusive: ::Integer?,
1572
+ lower_inclusive: ::Integer?
1573
+ },
1574
+ ]?,
1575
+ target_account_id_filters: Array[
1576
+ {
1577
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1579
1578
  value: ::String
1580
1579
  },
1581
1580
  ]?
1582
1581
  },
1583
- ?max_results: ::Integer,
1584
- ?next_token: ::String,
1582
+ ?detail_level: ("ORGANIZATION" | "MEMBER"),
1585
1583
  ?sort_by: ("STATUS" | "SCHEDULED_BY" | "SCAN_START_DATE" | "FAILED_CHECKS"),
1586
- ?sort_order: ("ASC" | "DESC")
1584
+ ?sort_order: ("ASC" | "DESC"),
1585
+ ?next_token: ::String,
1586
+ ?max_results: ::Integer
1587
1587
  ) -> _ListCisScansResponseSuccess
1588
1588
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCisScansResponseSuccess
1589
1589
 
@@ -1594,8 +1594,8 @@ module Aws
1594
1594
  end
1595
1595
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_code_security_integrations-instance_method
1596
1596
  def list_code_security_integrations: (
1597
- ?max_results: ::Integer,
1598
- ?next_token: ::String
1597
+ ?next_token: ::String,
1598
+ ?max_results: ::Integer
1599
1599
  ) -> _ListCodeSecurityIntegrationsResponseSuccess
1600
1600
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeSecurityIntegrationsResponseSuccess
1601
1601
 
@@ -1606,9 +1606,9 @@ module Aws
1606
1606
  end
1607
1607
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_code_security_scan_configuration_associations-instance_method
1608
1608
  def list_code_security_scan_configuration_associations: (
1609
- ?max_results: ::Integer,
1609
+ scan_configuration_arn: ::String,
1610
1610
  ?next_token: ::String,
1611
- scan_configuration_arn: ::String
1611
+ ?max_results: ::Integer
1612
1612
  ) -> _ListCodeSecurityScanConfigurationAssociationsResponseSuccess
1613
1613
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeSecurityScanConfigurationAssociationsResponseSuccess
1614
1614
 
@@ -1619,63 +1619,52 @@ module Aws
1619
1619
  end
1620
1620
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_code_security_scan_configurations-instance_method
1621
1621
  def list_code_security_scan_configurations: (
1622
- ?max_results: ::Integer,
1623
- ?next_token: ::String
1622
+ ?next_token: ::String,
1623
+ ?max_results: ::Integer
1624
1624
  ) -> _ListCodeSecurityScanConfigurationsResponseSuccess
1625
1625
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCodeSecurityScanConfigurationsResponseSuccess
1626
1626
 
1627
1627
  interface _ListCoverageResponseSuccess
1628
1628
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCoverageResponse]
1629
- def covered_resources: () -> ::Array[Types::CoveredResource]
1630
1629
  def next_token: () -> ::String
1630
+ def covered_resources: () -> ::Array[Types::CoveredResource]
1631
1631
  end
1632
1632
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_coverage-instance_method
1633
1633
  def list_coverage: (
1634
+ ?max_results: ::Integer,
1635
+ ?next_token: ::String,
1634
1636
  ?filter_criteria: {
1635
- account_id: Array[
1637
+ scan_status_code: Array[
1636
1638
  {
1637
1639
  comparison: ("EQUALS" | "NOT_EQUALS"),
1638
1640
  value: ::String
1639
1641
  },
1640
1642
  ]?,
1641
- code_repository_project_name: Array[
1643
+ scan_status_reason: Array[
1642
1644
  {
1643
1645
  comparison: ("EQUALS" | "NOT_EQUALS"),
1644
1646
  value: ::String
1645
1647
  },
1646
1648
  ]?,
1647
- code_repository_provider_type: Array[
1649
+ account_id: Array[
1648
1650
  {
1649
1651
  comparison: ("EQUALS" | "NOT_EQUALS"),
1650
1652
  value: ::String
1651
1653
  },
1652
1654
  ]?,
1653
- code_repository_provider_type_visibility: Array[
1655
+ resource_id: Array[
1654
1656
  {
1655
1657
  comparison: ("EQUALS" | "NOT_EQUALS"),
1656
1658
  value: ::String
1657
1659
  },
1658
1660
  ]?,
1659
- ec2_instance_tags: Array[
1660
- {
1661
- comparison: ("EQUALS"),
1662
- key: ::String,
1663
- value: ::String?
1664
- },
1665
- ]?,
1666
- ecr_image_in_use_count: Array[
1667
- {
1668
- lower_inclusive: ::Integer?,
1669
- upper_inclusive: ::Integer?
1670
- },
1671
- ]?,
1672
- ecr_image_last_in_use_at: Array[
1661
+ resource_type: Array[
1673
1662
  {
1674
- end_inclusive: ::Time?,
1675
- start_inclusive: ::Time?
1663
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1664
+ value: ::String
1676
1665
  },
1677
1666
  ]?,
1678
- ecr_image_tags: Array[
1667
+ scan_type: Array[
1679
1668
  {
1680
1669
  comparison: ("EQUALS" | "NOT_EQUALS"),
1681
1670
  value: ::String
@@ -1687,19 +1676,20 @@ module Aws
1687
1676
  value: ::String
1688
1677
  },
1689
1678
  ]?,
1690
- image_pulled_at: Array[
1679
+ ecr_image_tags: Array[
1691
1680
  {
1692
- end_inclusive: ::Time?,
1693
- start_inclusive: ::Time?
1681
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1682
+ value: ::String
1694
1683
  },
1695
1684
  ]?,
1696
- lambda_function_name: Array[
1685
+ ec2_instance_tags: Array[
1697
1686
  {
1698
- comparison: ("EQUALS" | "NOT_EQUALS"),
1699
- value: ::String
1687
+ comparison: ("EQUALS"),
1688
+ key: ::String,
1689
+ value: ::String?
1700
1690
  },
1701
1691
  ]?,
1702
- lambda_function_runtime: Array[
1692
+ lambda_function_name: Array[
1703
1693
  {
1704
1694
  comparison: ("EQUALS" | "NOT_EQUALS"),
1705
1695
  value: ::String
@@ -1712,113 +1702,110 @@ module Aws
1712
1702
  value: ::String?
1713
1703
  },
1714
1704
  ]?,
1705
+ lambda_function_runtime: Array[
1706
+ {
1707
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1708
+ value: ::String
1709
+ },
1710
+ ]?,
1715
1711
  last_scanned_at: Array[
1716
1712
  {
1717
- end_inclusive: ::Time?,
1718
- start_inclusive: ::Time?
1713
+ start_inclusive: ::Time?,
1714
+ end_inclusive: ::Time?
1719
1715
  },
1720
1716
  ]?,
1721
- last_scanned_commit_id: Array[
1717
+ scan_mode: Array[
1722
1718
  {
1723
1719
  comparison: ("EQUALS" | "NOT_EQUALS"),
1724
1720
  value: ::String
1725
1721
  },
1726
1722
  ]?,
1727
- resource_id: Array[
1723
+ image_pulled_at: Array[
1728
1724
  {
1729
- comparison: ("EQUALS" | "NOT_EQUALS"),
1730
- value: ::String
1725
+ start_inclusive: ::Time?,
1726
+ end_inclusive: ::Time?
1731
1727
  },
1732
1728
  ]?,
1733
- resource_type: Array[
1729
+ ecr_image_last_in_use_at: Array[
1734
1730
  {
1735
- comparison: ("EQUALS" | "NOT_EQUALS"),
1736
- value: ::String
1731
+ start_inclusive: ::Time?,
1732
+ end_inclusive: ::Time?
1737
1733
  },
1738
1734
  ]?,
1739
- scan_mode: Array[
1735
+ ecr_image_in_use_count: Array[
1736
+ {
1737
+ upper_inclusive: ::Integer?,
1738
+ lower_inclusive: ::Integer?
1739
+ },
1740
+ ]?,
1741
+ code_repository_project_name: Array[
1740
1742
  {
1741
1743
  comparison: ("EQUALS" | "NOT_EQUALS"),
1742
1744
  value: ::String
1743
1745
  },
1744
1746
  ]?,
1745
- scan_status_code: Array[
1747
+ code_repository_provider_type: Array[
1746
1748
  {
1747
1749
  comparison: ("EQUALS" | "NOT_EQUALS"),
1748
1750
  value: ::String
1749
1751
  },
1750
1752
  ]?,
1751
- scan_status_reason: Array[
1753
+ code_repository_provider_type_visibility: Array[
1752
1754
  {
1753
1755
  comparison: ("EQUALS" | "NOT_EQUALS"),
1754
1756
  value: ::String
1755
1757
  },
1756
1758
  ]?,
1757
- scan_type: Array[
1759
+ last_scanned_commit_id: Array[
1758
1760
  {
1759
1761
  comparison: ("EQUALS" | "NOT_EQUALS"),
1760
1762
  value: ::String
1761
1763
  },
1762
1764
  ]?
1763
- },
1764
- ?max_results: ::Integer,
1765
- ?next_token: ::String
1765
+ }
1766
1766
  ) -> _ListCoverageResponseSuccess
1767
1767
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoverageResponseSuccess
1768
1768
 
1769
1769
  interface _ListCoverageStatisticsResponseSuccess
1770
1770
  include ::Seahorse::Client::_ResponseSuccess[Types::ListCoverageStatisticsResponse]
1771
1771
  def counts_by_group: () -> ::Array[Types::Counts]
1772
- def next_token: () -> ::String
1773
1772
  def total_counts: () -> ::Integer
1773
+ def next_token: () -> ::String
1774
1774
  end
1775
1775
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_coverage_statistics-instance_method
1776
1776
  def list_coverage_statistics: (
1777
1777
  ?filter_criteria: {
1778
- account_id: Array[
1778
+ scan_status_code: Array[
1779
1779
  {
1780
1780
  comparison: ("EQUALS" | "NOT_EQUALS"),
1781
1781
  value: ::String
1782
1782
  },
1783
1783
  ]?,
1784
- code_repository_project_name: Array[
1784
+ scan_status_reason: Array[
1785
1785
  {
1786
1786
  comparison: ("EQUALS" | "NOT_EQUALS"),
1787
1787
  value: ::String
1788
1788
  },
1789
1789
  ]?,
1790
- code_repository_provider_type: Array[
1790
+ account_id: Array[
1791
1791
  {
1792
1792
  comparison: ("EQUALS" | "NOT_EQUALS"),
1793
1793
  value: ::String
1794
1794
  },
1795
1795
  ]?,
1796
- code_repository_provider_type_visibility: Array[
1796
+ resource_id: Array[
1797
1797
  {
1798
1798
  comparison: ("EQUALS" | "NOT_EQUALS"),
1799
1799
  value: ::String
1800
1800
  },
1801
1801
  ]?,
1802
- ec2_instance_tags: Array[
1803
- {
1804
- comparison: ("EQUALS"),
1805
- key: ::String,
1806
- value: ::String?
1807
- },
1808
- ]?,
1809
- ecr_image_in_use_count: Array[
1810
- {
1811
- lower_inclusive: ::Integer?,
1812
- upper_inclusive: ::Integer?
1813
- },
1814
- ]?,
1815
- ecr_image_last_in_use_at: Array[
1802
+ resource_type: Array[
1816
1803
  {
1817
- end_inclusive: ::Time?,
1818
- start_inclusive: ::Time?
1804
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1805
+ value: ::String
1819
1806
  },
1820
1807
  ]?,
1821
- ecr_image_tags: Array[
1808
+ scan_type: Array[
1822
1809
  {
1823
1810
  comparison: ("EQUALS" | "NOT_EQUALS"),
1824
1811
  value: ::String
@@ -1830,19 +1817,20 @@ module Aws
1830
1817
  value: ::String
1831
1818
  },
1832
1819
  ]?,
1833
- image_pulled_at: Array[
1820
+ ecr_image_tags: Array[
1834
1821
  {
1835
- end_inclusive: ::Time?,
1836
- start_inclusive: ::Time?
1822
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1823
+ value: ::String
1837
1824
  },
1838
1825
  ]?,
1839
- lambda_function_name: Array[
1826
+ ec2_instance_tags: Array[
1840
1827
  {
1841
- comparison: ("EQUALS" | "NOT_EQUALS"),
1842
- value: ::String
1828
+ comparison: ("EQUALS"),
1829
+ key: ::String,
1830
+ value: ::String?
1843
1831
  },
1844
1832
  ]?,
1845
- lambda_function_runtime: Array[
1833
+ lambda_function_name: Array[
1846
1834
  {
1847
1835
  comparison: ("EQUALS" | "NOT_EQUALS"),
1848
1836
  value: ::String
@@ -1855,49 +1843,61 @@ module Aws
1855
1843
  value: ::String?
1856
1844
  },
1857
1845
  ]?,
1846
+ lambda_function_runtime: Array[
1847
+ {
1848
+ comparison: ("EQUALS" | "NOT_EQUALS"),
1849
+ value: ::String
1850
+ },
1851
+ ]?,
1858
1852
  last_scanned_at: Array[
1859
1853
  {
1860
- end_inclusive: ::Time?,
1861
- start_inclusive: ::Time?
1854
+ start_inclusive: ::Time?,
1855
+ end_inclusive: ::Time?
1862
1856
  },
1863
1857
  ]?,
1864
- last_scanned_commit_id: Array[
1858
+ scan_mode: Array[
1865
1859
  {
1866
1860
  comparison: ("EQUALS" | "NOT_EQUALS"),
1867
1861
  value: ::String
1868
1862
  },
1869
1863
  ]?,
1870
- resource_id: Array[
1864
+ image_pulled_at: Array[
1871
1865
  {
1872
- comparison: ("EQUALS" | "NOT_EQUALS"),
1873
- value: ::String
1866
+ start_inclusive: ::Time?,
1867
+ end_inclusive: ::Time?
1874
1868
  },
1875
1869
  ]?,
1876
- resource_type: Array[
1870
+ ecr_image_last_in_use_at: Array[
1877
1871
  {
1878
- comparison: ("EQUALS" | "NOT_EQUALS"),
1879
- value: ::String
1872
+ start_inclusive: ::Time?,
1873
+ end_inclusive: ::Time?
1880
1874
  },
1881
1875
  ]?,
1882
- scan_mode: Array[
1876
+ ecr_image_in_use_count: Array[
1877
+ {
1878
+ upper_inclusive: ::Integer?,
1879
+ lower_inclusive: ::Integer?
1880
+ },
1881
+ ]?,
1882
+ code_repository_project_name: Array[
1883
1883
  {
1884
1884
  comparison: ("EQUALS" | "NOT_EQUALS"),
1885
1885
  value: ::String
1886
1886
  },
1887
1887
  ]?,
1888
- scan_status_code: Array[
1888
+ code_repository_provider_type: Array[
1889
1889
  {
1890
1890
  comparison: ("EQUALS" | "NOT_EQUALS"),
1891
1891
  value: ::String
1892
1892
  },
1893
1893
  ]?,
1894
- scan_status_reason: Array[
1894
+ code_repository_provider_type_visibility: Array[
1895
1895
  {
1896
1896
  comparison: ("EQUALS" | "NOT_EQUALS"),
1897
1897
  value: ::String
1898
1898
  },
1899
1899
  ]?,
1900
- scan_type: Array[
1900
+ last_scanned_commit_id: Array[
1901
1901
  {
1902
1902
  comparison: ("EQUALS" | "NOT_EQUALS"),
1903
1903
  value: ::String
@@ -1928,21 +1928,24 @@ module Aws
1928
1928
  end
1929
1929
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_filters-instance_method
1930
1930
  def list_filters: (
1931
- ?action: ("NONE" | "SUPPRESS"),
1932
1931
  ?arns: Array[::String],
1933
- ?max_results: ::Integer,
1934
- ?next_token: ::String
1932
+ ?action: ("NONE" | "SUPPRESS"),
1933
+ ?next_token: ::String,
1934
+ ?max_results: ::Integer
1935
1935
  ) -> _ListFiltersResponseSuccess
1936
1936
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFiltersResponseSuccess
1937
1937
 
1938
1938
  interface _ListFindingAggregationsResponseSuccess
1939
1939
  include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingAggregationsResponse]
1940
1940
  def aggregation_type: () -> ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY")
1941
- def next_token: () -> ::String
1942
1941
  def responses: () -> ::Array[Types::AggregationResponse]
1942
+ def next_token: () -> ::String
1943
1943
  end
1944
1944
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_finding_aggregations-instance_method
1945
1945
  def list_finding_aggregations: (
1946
+ aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY"),
1947
+ ?next_token: ::String,
1948
+ ?max_results: ::Integer,
1946
1949
  ?account_ids: Array[
1947
1950
  {
1948
1951
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
@@ -1952,9 +1955,9 @@ module Aws
1952
1955
  ?aggregation_request: {
1953
1956
  account_aggregation: {
1954
1957
  finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
1955
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")?,
1956
- sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
1957
- sort_order: ("ASC" | "DESC")?
1958
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")?,
1959
+ sort_order: ("ASC" | "DESC")?,
1960
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?
1958
1961
  }?,
1959
1962
  ami_aggregation: {
1960
1963
  amis: Array[
@@ -1963,11 +1966,11 @@ module Aws
1963
1966
  value: ::String
1964
1967
  },
1965
1968
  ]?,
1966
- sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_INSTANCES")?,
1967
- sort_order: ("ASC" | "DESC")?
1969
+ sort_order: ("ASC" | "DESC")?,
1970
+ sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_INSTANCES")?
1968
1971
  }?,
1969
1972
  aws_ecr_container_aggregation: {
1970
- architectures: Array[
1973
+ resource_ids: Array[
1971
1974
  {
1972
1975
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1973
1976
  value: ::String
@@ -1979,63 +1982,47 @@ module Aws
1979
1982
  value: ::String
1980
1983
  },
1981
1984
  ]?,
1982
- image_tags: Array[
1985
+ repositories: Array[
1983
1986
  {
1984
1987
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
1985
1988
  value: ::String
1986
1989
  },
1987
1990
  ]?,
1988
- in_use_count: Array[
1989
- {
1990
- lower_inclusive: ::Float?,
1991
- upper_inclusive: ::Float?
1992
- },
1993
- ]?,
1994
- last_in_use_at: Array[
1995
- {
1996
- end_inclusive: ::Time?,
1997
- start_inclusive: ::Time?
1998
- },
1999
- ]?,
2000
- repositories: Array[
1991
+ architectures: Array[
2001
1992
  {
2002
1993
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2003
1994
  value: ::String
2004
1995
  },
2005
1996
  ]?,
2006
- resource_ids: Array[
1997
+ image_tags: Array[
2007
1998
  {
2008
1999
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2009
2000
  value: ::String
2010
2001
  },
2011
2002
  ]?,
2003
+ sort_order: ("ASC" | "DESC")?,
2012
2004
  sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2013
- sort_order: ("ASC" | "DESC")?
2014
- }?,
2015
- code_repository_aggregation: {
2016
- project_names: Array[
2005
+ last_in_use_at: Array[
2017
2006
  {
2018
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2019
- value: ::String
2007
+ start_inclusive: ::Time?,
2008
+ end_inclusive: ::Time?
2020
2009
  },
2021
2010
  ]?,
2022
- provider_types: Array[
2011
+ in_use_count: Array[
2023
2012
  {
2024
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2025
- value: ::String
2013
+ upper_inclusive: ::Float?,
2014
+ lower_inclusive: ::Float?
2026
2015
  },
2027
- ]?,
2028
- resource_ids: Array[
2016
+ ]?
2017
+ }?,
2018
+ ec2_instance_aggregation: {
2019
+ amis: Array[
2029
2020
  {
2030
2021
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2031
2022
  value: ::String
2032
2023
  },
2033
2024
  ]?,
2034
- sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2035
- sort_order: ("ASC" | "DESC")?
2036
- }?,
2037
- ec2_instance_aggregation: {
2038
- amis: Array[
2025
+ operating_systems: Array[
2039
2026
  {
2040
2027
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2041
2028
  value: ::String
@@ -2054,71 +2041,74 @@ module Aws
2054
2041
  value: ::String?
2055
2042
  },
2056
2043
  ]?,
2057
- operating_systems: Array[
2058
- {
2059
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2060
- value: ::String
2061
- },
2062
- ]?,
2063
- sort_by: ("NETWORK_FINDINGS" | "CRITICAL" | "HIGH" | "ALL")?,
2064
- sort_order: ("ASC" | "DESC")?
2044
+ sort_order: ("ASC" | "DESC")?,
2045
+ sort_by: ("NETWORK_FINDINGS" | "CRITICAL" | "HIGH" | "ALL")?
2065
2046
  }?,
2066
2047
  finding_type_aggregation: {
2067
2048
  finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
2068
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")?,
2069
- sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2070
- sort_order: ("ASC" | "DESC")?
2049
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")?,
2050
+ sort_order: ("ASC" | "DESC")?,
2051
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?
2071
2052
  }?,
2072
2053
  image_layer_aggregation: {
2073
- layer_hashes: Array[
2054
+ repositories: Array[
2074
2055
  {
2075
2056
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2076
2057
  value: ::String
2077
2058
  },
2078
2059
  ]?,
2079
- repositories: Array[
2060
+ resource_ids: Array[
2080
2061
  {
2081
2062
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2082
2063
  value: ::String
2083
2064
  },
2084
2065
  ]?,
2085
- resource_ids: Array[
2066
+ layer_hashes: Array[
2086
2067
  {
2087
2068
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2088
2069
  value: ::String
2089
2070
  },
2090
2071
  ]?,
2091
- sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2092
- sort_order: ("ASC" | "DESC")?
2072
+ sort_order: ("ASC" | "DESC")?,
2073
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?
2093
2074
  }?,
2094
- lambda_function_aggregation: {
2095
- function_names: Array[
2075
+ package_aggregation: {
2076
+ package_names: Array[
2096
2077
  {
2097
2078
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2098
2079
  value: ::String
2099
2080
  },
2100
2081
  ]?,
2101
- function_tags: Array[
2082
+ sort_order: ("ASC" | "DESC")?,
2083
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?
2084
+ }?,
2085
+ repository_aggregation: {
2086
+ repositories: Array[
2102
2087
  {
2103
- comparison: ("EQUALS"),
2104
- key: ::String,
2105
- value: ::String?
2088
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2089
+ value: ::String
2106
2090
  },
2107
2091
  ]?,
2108
- resource_ids: Array[
2092
+ sort_order: ("ASC" | "DESC")?,
2093
+ sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_IMAGES")?
2094
+ }?,
2095
+ title_aggregation: {
2096
+ titles: Array[
2109
2097
  {
2110
2098
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2111
2099
  value: ::String
2112
2100
  },
2113
2101
  ]?,
2114
- runtimes: Array[
2102
+ vulnerability_ids: Array[
2115
2103
  {
2116
2104
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2117
2105
  value: ::String
2118
2106
  },
2119
2107
  ]?,
2108
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")?,
2109
+ sort_order: ("ASC" | "DESC")?,
2120
2110
  sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2121
- sort_order: ("ASC" | "DESC")?
2111
+ finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?
2122
2112
  }?,
2123
2113
  lambda_layer_aggregation: {
2124
2114
  function_names: Array[
@@ -2127,282 +2117,307 @@ module Aws
2127
2117
  value: ::String
2128
2118
  },
2129
2119
  ]?,
2120
+ resource_ids: Array[
2121
+ {
2122
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2123
+ value: ::String
2124
+ },
2125
+ ]?,
2130
2126
  layer_arns: Array[
2131
2127
  {
2132
2128
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2133
2129
  value: ::String
2134
2130
  },
2135
2131
  ]?,
2132
+ sort_order: ("ASC" | "DESC")?,
2133
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?
2134
+ }?,
2135
+ lambda_function_aggregation: {
2136
2136
  resource_ids: Array[
2137
2137
  {
2138
2138
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2139
2139
  value: ::String
2140
2140
  },
2141
2141
  ]?,
2142
- sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2143
- sort_order: ("ASC" | "DESC")?
2144
- }?,
2145
- package_aggregation: {
2146
- package_names: Array[
2142
+ function_names: Array[
2147
2143
  {
2148
2144
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2149
2145
  value: ::String
2150
2146
  },
2151
2147
  ]?,
2152
- sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2153
- sort_order: ("ASC" | "DESC")?
2154
- }?,
2155
- repository_aggregation: {
2156
- repositories: Array[
2148
+ runtimes: Array[
2157
2149
  {
2158
2150
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2159
2151
  value: ::String
2160
2152
  },
2161
2153
  ]?,
2162
- sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_IMAGES")?,
2163
- sort_order: ("ASC" | "DESC")?
2164
- }?,
2165
- title_aggregation: {
2166
- finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")?,
2167
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")?,
2168
- sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2154
+ function_tags: Array[
2155
+ {
2156
+ comparison: ("EQUALS"),
2157
+ key: ::String,
2158
+ value: ::String?
2159
+ },
2160
+ ]?,
2169
2161
  sort_order: ("ASC" | "DESC")?,
2170
- titles: Array[
2162
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?
2163
+ }?,
2164
+ code_repository_aggregation: {
2165
+ project_names: Array[
2171
2166
  {
2172
2167
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2173
2168
  value: ::String
2174
2169
  },
2175
2170
  ]?,
2176
- vulnerability_ids: Array[
2171
+ provider_types: Array[
2172
+ {
2173
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2174
+ value: ::String
2175
+ },
2176
+ ]?,
2177
+ sort_order: ("ASC" | "DESC")?,
2178
+ sort_by: ("CRITICAL" | "HIGH" | "ALL")?,
2179
+ resource_ids: Array[
2177
2180
  {
2178
2181
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2179
2182
  value: ::String
2180
2183
  },
2181
2184
  ]?
2182
2185
  }?
2183
- },
2184
- aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY"),
2185
- ?max_results: ::Integer,
2186
- ?next_token: ::String
2186
+ }
2187
2187
  ) -> _ListFindingAggregationsResponseSuccess
2188
2188
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingAggregationsResponseSuccess
2189
2189
 
2190
2190
  interface _ListFindingsResponseSuccess
2191
2191
  include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsResponse]
2192
- def findings: () -> ::Array[Types::Finding]
2193
2192
  def next_token: () -> ::String
2193
+ def findings: () -> ::Array[Types::Finding]
2194
2194
  end
2195
2195
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_findings-instance_method
2196
2196
  def list_findings: (
2197
+ ?max_results: ::Integer,
2198
+ ?next_token: ::String,
2197
2199
  ?filter_criteria: {
2198
- aws_account_id: Array[
2199
- {
2200
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2201
- value: ::String
2202
- },
2203
- ]?,
2204
- code_repository_project_name: Array[
2200
+ finding_arn: Array[
2205
2201
  {
2206
2202
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2207
2203
  value: ::String
2208
2204
  },
2209
2205
  ]?,
2210
- code_repository_provider_type: Array[
2206
+ aws_account_id: Array[
2211
2207
  {
2212
2208
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2213
2209
  value: ::String
2214
2210
  },
2215
2211
  ]?,
2216
- code_vulnerability_detector_name: Array[
2212
+ finding_type: Array[
2217
2213
  {
2218
2214
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2219
2215
  value: ::String
2220
2216
  },
2221
2217
  ]?,
2222
- code_vulnerability_detector_tags: Array[
2218
+ severity: Array[
2223
2219
  {
2224
2220
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2225
2221
  value: ::String
2226
2222
  },
2227
2223
  ]?,
2228
- code_vulnerability_file_path: Array[
2224
+ first_observed_at: Array[
2229
2225
  {
2230
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2231
- value: ::String
2226
+ start_inclusive: ::Time?,
2227
+ end_inclusive: ::Time?
2232
2228
  },
2233
2229
  ]?,
2234
- component_id: Array[
2230
+ last_observed_at: Array[
2235
2231
  {
2236
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2237
- value: ::String
2232
+ start_inclusive: ::Time?,
2233
+ end_inclusive: ::Time?
2238
2234
  },
2239
2235
  ]?,
2240
- component_type: Array[
2236
+ updated_at: Array[
2241
2237
  {
2242
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2243
- value: ::String
2238
+ start_inclusive: ::Time?,
2239
+ end_inclusive: ::Time?
2244
2240
  },
2245
2241
  ]?,
2246
- ec2_instance_image_id: Array[
2242
+ finding_status: Array[
2247
2243
  {
2248
2244
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2249
2245
  value: ::String
2250
2246
  },
2251
2247
  ]?,
2252
- ec2_instance_subnet_id: Array[
2248
+ title: Array[
2253
2249
  {
2254
2250
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2255
2251
  value: ::String
2256
2252
  },
2257
2253
  ]?,
2258
- ec2_instance_vpc_id: Array[
2254
+ inspector_score: Array[
2259
2255
  {
2260
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2261
- value: ::String
2256
+ upper_inclusive: ::Float?,
2257
+ lower_inclusive: ::Float?
2262
2258
  },
2263
2259
  ]?,
2264
- ecr_image_architecture: Array[
2260
+ resource_type: Array[
2265
2261
  {
2266
2262
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2267
2263
  value: ::String
2268
2264
  },
2269
2265
  ]?,
2270
- ecr_image_hash: Array[
2266
+ resource_id: Array[
2271
2267
  {
2272
2268
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2273
2269
  value: ::String
2274
2270
  },
2275
2271
  ]?,
2276
- ecr_image_in_use_count: Array[
2277
- {
2278
- lower_inclusive: ::Float?,
2279
- upper_inclusive: ::Float?
2280
- },
2281
- ]?,
2282
- ecr_image_last_in_use_at: Array[
2283
- {
2284
- end_inclusive: ::Time?,
2285
- start_inclusive: ::Time?
2286
- },
2287
- ]?,
2288
- ecr_image_pushed_at: Array[
2272
+ resource_tags: Array[
2289
2273
  {
2290
- end_inclusive: ::Time?,
2291
- start_inclusive: ::Time?
2274
+ comparison: ("EQUALS"),
2275
+ key: ::String,
2276
+ value: ::String?
2292
2277
  },
2293
2278
  ]?,
2294
- ecr_image_registry: Array[
2279
+ ec2_instance_image_id: Array[
2295
2280
  {
2296
2281
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2297
2282
  value: ::String
2298
2283
  },
2299
2284
  ]?,
2300
- ecr_image_repository_name: Array[
2285
+ ec2_instance_vpc_id: Array[
2301
2286
  {
2302
2287
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2303
2288
  value: ::String
2304
2289
  },
2305
2290
  ]?,
2306
- ecr_image_tags: Array[
2291
+ ec2_instance_subnet_id: Array[
2307
2292
  {
2308
2293
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2309
2294
  value: ::String
2310
2295
  },
2311
2296
  ]?,
2312
- epss_score: Array[
2297
+ ecr_image_pushed_at: Array[
2313
2298
  {
2314
- lower_inclusive: ::Float?,
2315
- upper_inclusive: ::Float?
2299
+ start_inclusive: ::Time?,
2300
+ end_inclusive: ::Time?
2316
2301
  },
2317
2302
  ]?,
2318
- exploit_available: Array[
2303
+ ecr_image_architecture: Array[
2319
2304
  {
2320
2305
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2321
2306
  value: ::String
2322
2307
  },
2323
2308
  ]?,
2324
- finding_arn: Array[
2309
+ ecr_image_registry: Array[
2325
2310
  {
2326
2311
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2327
2312
  value: ::String
2328
2313
  },
2329
2314
  ]?,
2330
- finding_status: Array[
2315
+ ecr_image_repository_name: Array[
2331
2316
  {
2332
2317
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2333
2318
  value: ::String
2334
2319
  },
2335
2320
  ]?,
2336
- finding_type: Array[
2321
+ ecr_image_tags: Array[
2337
2322
  {
2338
2323
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2339
2324
  value: ::String
2340
2325
  },
2341
2326
  ]?,
2342
- first_observed_at: Array[
2343
- {
2344
- end_inclusive: ::Time?,
2345
- start_inclusive: ::Time?
2346
- },
2347
- ]?,
2348
- fix_available: Array[
2327
+ ecr_image_hash: Array[
2349
2328
  {
2350
2329
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2351
2330
  value: ::String
2352
2331
  },
2353
2332
  ]?,
2354
- inspector_score: Array[
2333
+ ecr_image_last_in_use_at: Array[
2355
2334
  {
2356
- lower_inclusive: ::Float?,
2357
- upper_inclusive: ::Float?
2335
+ start_inclusive: ::Time?,
2336
+ end_inclusive: ::Time?
2358
2337
  },
2359
2338
  ]?,
2360
- lambda_function_execution_role_arn: Array[
2339
+ ecr_image_in_use_count: Array[
2361
2340
  {
2362
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2363
- value: ::String
2341
+ upper_inclusive: ::Float?,
2342
+ lower_inclusive: ::Float?
2364
2343
  },
2365
2344
  ]?,
2366
- lambda_function_last_modified_at: Array[
2345
+ port_range: Array[
2367
2346
  {
2368
- end_inclusive: ::Time?,
2369
- start_inclusive: ::Time?
2347
+ begin_inclusive: ::Integer?,
2348
+ end_inclusive: ::Integer?
2370
2349
  },
2371
2350
  ]?,
2372
- lambda_function_layers: Array[
2351
+ network_protocol: Array[
2373
2352
  {
2374
2353
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2375
2354
  value: ::String
2376
2355
  },
2377
2356
  ]?,
2378
- lambda_function_name: Array[
2357
+ component_id: Array[
2379
2358
  {
2380
2359
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2381
2360
  value: ::String
2382
2361
  },
2383
2362
  ]?,
2384
- lambda_function_runtime: Array[
2363
+ component_type: Array[
2385
2364
  {
2386
2365
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2387
2366
  value: ::String
2388
2367
  },
2389
2368
  ]?,
2390
- last_observed_at: Array[
2369
+ vulnerability_id: Array[
2391
2370
  {
2392
- end_inclusive: ::Time?,
2393
- start_inclusive: ::Time?
2371
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2372
+ value: ::String
2394
2373
  },
2395
2374
  ]?,
2396
- network_protocol: Array[
2375
+ vulnerability_source: Array[
2397
2376
  {
2398
2377
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2399
2378
  value: ::String
2400
2379
  },
2401
2380
  ]?,
2402
- port_range: Array[
2381
+ vendor_severity: Array[
2403
2382
  {
2404
- begin_inclusive: ::Integer?,
2405
- end_inclusive: ::Integer?
2383
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2384
+ value: ::String
2385
+ },
2386
+ ]?,
2387
+ vulnerable_packages: Array[
2388
+ {
2389
+ name: {
2390
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2391
+ value: ::String
2392
+ }?,
2393
+ version: {
2394
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2395
+ value: ::String
2396
+ }?,
2397
+ epoch: {
2398
+ upper_inclusive: ::Float?,
2399
+ lower_inclusive: ::Float?
2400
+ }?,
2401
+ release: {
2402
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2403
+ value: ::String
2404
+ }?,
2405
+ architecture: {
2406
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2407
+ value: ::String
2408
+ }?,
2409
+ source_layer_hash: {
2410
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2411
+ value: ::String
2412
+ }?,
2413
+ source_lambda_layer_arn: {
2414
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2415
+ value: ::String
2416
+ }?,
2417
+ file_path: {
2418
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2419
+ value: ::String
2420
+ }?
2406
2421
  },
2407
2422
  ]?,
2408
2423
  related_vulnerabilities: Array[
@@ -2411,100 +2426,85 @@ module Aws
2411
2426
  value: ::String
2412
2427
  },
2413
2428
  ]?,
2414
- resource_id: Array[
2429
+ fix_available: Array[
2415
2430
  {
2416
2431
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2417
2432
  value: ::String
2418
2433
  },
2419
2434
  ]?,
2420
- resource_tags: Array[
2435
+ lambda_function_name: Array[
2421
2436
  {
2422
- comparison: ("EQUALS"),
2423
- key: ::String,
2424
- value: ::String?
2437
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2438
+ value: ::String
2425
2439
  },
2426
2440
  ]?,
2427
- resource_type: Array[
2441
+ lambda_function_layers: Array[
2428
2442
  {
2429
2443
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2430
2444
  value: ::String
2431
2445
  },
2432
2446
  ]?,
2433
- severity: Array[
2447
+ lambda_function_runtime: Array[
2434
2448
  {
2435
2449
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2436
2450
  value: ::String
2437
2451
  },
2438
2452
  ]?,
2439
- title: Array[
2453
+ lambda_function_last_modified_at: Array[
2454
+ {
2455
+ start_inclusive: ::Time?,
2456
+ end_inclusive: ::Time?
2457
+ },
2458
+ ]?,
2459
+ lambda_function_execution_role_arn: Array[
2440
2460
  {
2441
2461
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2442
2462
  value: ::String
2443
2463
  },
2444
2464
  ]?,
2445
- updated_at: Array[
2465
+ exploit_available: Array[
2446
2466
  {
2447
- end_inclusive: ::Time?,
2448
- start_inclusive: ::Time?
2467
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2468
+ value: ::String
2449
2469
  },
2450
2470
  ]?,
2451
- vendor_severity: Array[
2471
+ code_vulnerability_detector_name: Array[
2452
2472
  {
2453
2473
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2454
2474
  value: ::String
2455
2475
  },
2456
2476
  ]?,
2457
- vulnerability_id: Array[
2477
+ code_vulnerability_detector_tags: Array[
2458
2478
  {
2459
2479
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2460
2480
  value: ::String
2461
2481
  },
2462
2482
  ]?,
2463
- vulnerability_source: Array[
2483
+ code_vulnerability_file_path: Array[
2464
2484
  {
2465
2485
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2466
2486
  value: ::String
2467
2487
  },
2468
2488
  ]?,
2469
- vulnerable_packages: Array[
2489
+ epss_score: Array[
2470
2490
  {
2471
- architecture: {
2472
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2473
- value: ::String
2474
- }?,
2475
- epoch: {
2476
- lower_inclusive: ::Float?,
2477
- upper_inclusive: ::Float?
2478
- }?,
2479
- file_path: {
2480
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2481
- value: ::String
2482
- }?,
2483
- name: {
2484
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2485
- value: ::String
2486
- }?,
2487
- release: {
2488
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2489
- value: ::String
2490
- }?,
2491
- source_lambda_layer_arn: {
2492
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2493
- value: ::String
2494
- }?,
2495
- source_layer_hash: {
2496
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2497
- value: ::String
2498
- }?,
2499
- version: {
2500
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2501
- value: ::String
2502
- }?
2491
+ upper_inclusive: ::Float?,
2492
+ lower_inclusive: ::Float?
2493
+ },
2494
+ ]?,
2495
+ code_repository_project_name: Array[
2496
+ {
2497
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2498
+ value: ::String
2499
+ },
2500
+ ]?,
2501
+ code_repository_provider_type: Array[
2502
+ {
2503
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2504
+ value: ::String
2503
2505
  },
2504
2506
  ]?
2505
2507
  },
2506
- ?max_results: ::Integer,
2507
- ?next_token: ::String,
2508
2508
  ?sort_criteria: {
2509
2509
  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"),
2510
2510
  sort_order: ("ASC" | "DESC")
@@ -2519,9 +2519,9 @@ module Aws
2519
2519
  end
2520
2520
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_members-instance_method
2521
2521
  def list_members: (
2522
+ ?only_associated: bool,
2522
2523
  ?max_results: ::Integer,
2523
- ?next_token: ::String,
2524
- ?only_associated: bool
2524
+ ?next_token: ::String
2525
2525
  ) -> _ListMembersResponseSuccess
2526
2526
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembersResponseSuccess
2527
2527
 
@@ -2542,9 +2542,9 @@ module Aws
2542
2542
  end
2543
2543
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#list_usage_totals-instance_method
2544
2544
  def list_usage_totals: (
2545
- ?account_ids: Array[::String],
2546
2545
  ?max_results: ::Integer,
2547
- ?next_token: ::String
2546
+ ?next_token: ::String,
2547
+ ?account_ids: Array[::String]
2548
2548
  ) -> _ListUsageTotalsResponseSuccess
2549
2549
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsageTotalsResponseSuccess
2550
2550
 
@@ -2553,15 +2553,15 @@ module Aws
2553
2553
  end
2554
2554
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#reset_encryption_key-instance_method
2555
2555
  def reset_encryption_key: (
2556
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY"),
2557
- scan_type: ("NETWORK" | "PACKAGE" | "CODE")
2556
+ scan_type: ("NETWORK" | "PACKAGE" | "CODE"),
2557
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2558
2558
  ) -> _ResetEncryptionKeyResponseSuccess
2559
2559
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetEncryptionKeyResponseSuccess
2560
2560
 
2561
2561
  interface _SearchVulnerabilitiesResponseSuccess
2562
2562
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchVulnerabilitiesResponse]
2563
- def next_token: () -> ::String
2564
2563
  def vulnerabilities: () -> ::Array[Types::Vulnerability]
2564
+ def next_token: () -> ::String
2565
2565
  end
2566
2566
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#search_vulnerabilities-instance_method
2567
2567
  def search_vulnerabilities: (
@@ -2587,15 +2587,15 @@ module Aws
2587
2587
  end
2588
2588
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#send_cis_session_telemetry-instance_method
2589
2589
  def send_cis_session_telemetry: (
2590
+ scan_job_id: ::String,
2591
+ session_token: ::String,
2590
2592
  messages: Array[
2591
2593
  {
2592
- cis_rule_details: ::String,
2593
2594
  rule_id: ::String,
2594
- status: ("FAILED" | "PASSED" | "NOT_EVALUATED" | "INFORMATIONAL" | "UNKNOWN" | "NOT_APPLICABLE" | "ERROR")
2595
+ status: ("FAILED" | "PASSED" | "NOT_EVALUATED" | "INFORMATIONAL" | "UNKNOWN" | "NOT_APPLICABLE" | "ERROR"),
2596
+ cis_rule_details: ::String
2595
2597
  },
2596
- ],
2597
- scan_job_id: ::String,
2598
- session_token: ::String
2598
+ ]
2599
2599
  ) -> _SendCisSessionTelemetryResponseSuccess
2600
2600
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendCisSessionTelemetryResponseSuccess
2601
2601
 
@@ -2604,10 +2604,10 @@ module Aws
2604
2604
  end
2605
2605
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#start_cis_session-instance_method
2606
2606
  def start_cis_session: (
2607
+ scan_job_id: ::String,
2607
2608
  message: {
2608
2609
  session_token: ::String
2609
- },
2610
- scan_job_id: ::String
2610
+ }
2611
2611
  ) -> _StartCisSessionResponseSuccess
2612
2612
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCisSessionResponseSuccess
2613
2613
 
@@ -2630,29 +2630,29 @@ module Aws
2630
2630
  end
2631
2631
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#stop_cis_session-instance_method
2632
2632
  def stop_cis_session: (
2633
+ scan_job_id: ::String,
2634
+ session_token: ::String,
2633
2635
  message: {
2634
- benchmark_profile: ::String?,
2635
- benchmark_version: ::String?,
2636
- compute_platform: {
2637
- product: ::String?,
2638
- vendor: ::String?,
2639
- version: ::String?
2640
- }?,
2636
+ status: ("SUCCESS" | "FAILED" | "INTERRUPTED" | "UNSUPPORTED_OS"),
2637
+ reason: ::String?,
2641
2638
  progress: {
2642
- error_checks: ::Integer?,
2639
+ total_checks: ::Integer?,
2640
+ successful_checks: ::Integer?,
2643
2641
  failed_checks: ::Integer?,
2644
- informational_checks: ::Integer?,
2645
- not_applicable_checks: ::Integer?,
2646
2642
  not_evaluated_checks: ::Integer?,
2647
- successful_checks: ::Integer?,
2648
- total_checks: ::Integer?,
2649
- unknown_checks: ::Integer?
2643
+ unknown_checks: ::Integer?,
2644
+ not_applicable_checks: ::Integer?,
2645
+ informational_checks: ::Integer?,
2646
+ error_checks: ::Integer?
2650
2647
  },
2651
- reason: ::String?,
2652
- status: ("SUCCESS" | "FAILED" | "INTERRUPTED" | "UNSUPPORTED_OS")
2653
- },
2654
- scan_job_id: ::String,
2655
- session_token: ::String
2648
+ compute_platform: {
2649
+ vendor: ::String?,
2650
+ product: ::String?,
2651
+ version: ::String?
2652
+ }?,
2653
+ benchmark_version: ::String?,
2654
+ benchmark_profile: ::String?
2655
+ }
2656
2656
  ) -> _StopCisSessionResponseSuccess
2657
2657
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopCisSessionResponseSuccess
2658
2658
 
@@ -2684,31 +2684,31 @@ module Aws
2684
2684
  def update_cis_scan_configuration: (
2685
2685
  scan_configuration_arn: ::String,
2686
2686
  ?scan_name: ::String,
2687
+ ?security_level: ("LEVEL_1" | "LEVEL_2"),
2687
2688
  ?schedule: {
2689
+ one_time: {
2690
+ }?,
2688
2691
  daily: {
2689
2692
  start_time: {
2690
2693
  time_of_day: ::String,
2691
2694
  timezone: ::String
2692
2695
  }
2693
2696
  }?,
2694
- monthly: {
2695
- day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT"),
2697
+ weekly: {
2696
2698
  start_time: {
2697
2699
  time_of_day: ::String,
2698
2700
  timezone: ::String
2699
- }
2700
- }?,
2701
- one_time: {
2701
+ },
2702
+ days: Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")]
2702
2703
  }?,
2703
- weekly: {
2704
- days: Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")],
2704
+ monthly: {
2705
2705
  start_time: {
2706
2706
  time_of_day: ::String,
2707
2707
  timezone: ::String
2708
- }
2708
+ },
2709
+ day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")
2709
2710
  }?
2710
2711
  },
2711
- ?security_level: ("LEVEL_1" | "LEVEL_2"),
2712
2712
  ?targets: {
2713
2713
  account_ids: Array[::String]?,
2714
2714
  target_resource_tags: Hash[::String, Array[::String]]?
@@ -2723,16 +2723,16 @@ module Aws
2723
2723
  end
2724
2724
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_code_security_integration-instance_method
2725
2725
  def update_code_security_integration: (
2726
+ integration_arn: ::String,
2726
2727
  details: {
2728
+ gitlab_self_managed: {
2729
+ auth_code: ::String
2730
+ }?,
2727
2731
  github: {
2728
2732
  code: ::String,
2729
2733
  installation_id: ::String
2730
- }?,
2731
- gitlab_self_managed: {
2732
- auth_code: ::String
2733
2734
  }?
2734
- },
2735
- integration_arn: ::String
2735
+ }
2736
2736
  ) -> _UpdateCodeSecurityIntegrationResponseSuccess
2737
2737
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCodeSecurityIntegrationResponseSuccess
2738
2738
 
@@ -2742,17 +2742,17 @@ module Aws
2742
2742
  end
2743
2743
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_code_security_scan_configuration-instance_method
2744
2744
  def update_code_security_scan_configuration: (
2745
+ scan_configuration_arn: ::String,
2745
2746
  configuration: {
2746
- continuous_integration_scan_configuration: {
2747
- supported_events: Array[("PULL_REQUEST" | "PUSH")]
2748
- }?,
2749
2747
  periodic_scan_configuration: {
2750
2748
  frequency: ("WEEKLY" | "MONTHLY" | "NEVER")?,
2751
2749
  frequency_expression: ::String?
2752
2750
  }?,
2751
+ continuous_integration_scan_configuration: {
2752
+ supported_events: Array[("PULL_REQUEST" | "PUSH")]
2753
+ }?,
2753
2754
  rule_set_categories: Array[("SAST" | "IAC" | "SCA")]
2754
- },
2755
- scan_configuration_arn: ::String
2755
+ }
2756
2756
  ) -> _UpdateCodeSecurityScanConfigurationResponseSuccess
2757
2757
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCodeSecurityScanConfigurationResponseSuccess
2758
2758
 
@@ -2761,23 +2761,23 @@ module Aws
2761
2761
  end
2762
2762
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_configuration-instance_method
2763
2763
  def update_configuration: (
2764
- ?ec2_configuration: {
2765
- scan_mode: ("EC2_SSM_AGENT_BASED" | "EC2_HYBRID")
2766
- },
2767
2764
  ?ecr_configuration: {
2765
+ rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90"),
2768
2766
  pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")?,
2769
- pull_date_rescan_mode: ("LAST_PULL_DATE" | "LAST_IN_USE_AT")?,
2770
- rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
2767
+ pull_date_rescan_mode: ("LAST_PULL_DATE" | "LAST_IN_USE_AT")?
2768
+ },
2769
+ ?ec2_configuration: {
2770
+ scan_mode: ("EC2_SSM_AGENT_BASED" | "EC2_HYBRID")
2771
2771
  }
2772
2772
  ) -> _UpdateConfigurationResponseSuccess
2773
2773
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfigurationResponseSuccess
2774
2774
 
2775
2775
  interface _UpdateEc2DeepInspectionConfigurationResponseSuccess
2776
2776
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEc2DeepInspectionConfigurationResponse]
2777
- def error_message: () -> ::String
2778
- def org_package_paths: () -> ::Array[::String]
2779
2777
  def package_paths: () -> ::Array[::String]
2778
+ def org_package_paths: () -> ::Array[::String]
2780
2779
  def status: () -> ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
2780
+ def error_message: () -> ::String
2781
2781
  end
2782
2782
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_ec2_deep_inspection_configuration-instance_method
2783
2783
  def update_ec2_deep_inspection_configuration: (
@@ -2792,8 +2792,8 @@ module Aws
2792
2792
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_encryption_key-instance_method
2793
2793
  def update_encryption_key: (
2794
2794
  kms_key_id: ::String,
2795
- resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY"),
2796
- scan_type: ("NETWORK" | "PACKAGE" | "CODE")
2795
+ scan_type: ("NETWORK" | "PACKAGE" | "CODE"),
2796
+ resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2797
2797
  ) -> _UpdateEncryptionKeyResponseSuccess
2798
2798
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEncryptionKeyResponseSuccess
2799
2799
 
@@ -2805,317 +2805,317 @@ module Aws
2805
2805
  def update_filter: (
2806
2806
  ?action: ("NONE" | "SUPPRESS"),
2807
2807
  ?description: ::String,
2808
- filter_arn: ::String,
2809
2808
  ?filter_criteria: {
2810
- aws_account_id: Array[
2809
+ finding_arn: Array[
2811
2810
  {
2812
2811
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2813
2812
  value: ::String
2814
2813
  },
2815
2814
  ]?,
2816
- code_repository_project_name: Array[
2815
+ aws_account_id: Array[
2817
2816
  {
2818
2817
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2819
2818
  value: ::String
2820
2819
  },
2821
2820
  ]?,
2822
- code_repository_provider_type: Array[
2821
+ finding_type: Array[
2823
2822
  {
2824
2823
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2825
2824
  value: ::String
2826
2825
  },
2827
2826
  ]?,
2828
- code_vulnerability_detector_name: Array[
2827
+ severity: Array[
2829
2828
  {
2830
2829
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2831
2830
  value: ::String
2832
2831
  },
2833
2832
  ]?,
2834
- code_vulnerability_detector_tags: Array[
2833
+ first_observed_at: Array[
2835
2834
  {
2836
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2837
- value: ::String
2835
+ start_inclusive: ::Time?,
2836
+ end_inclusive: ::Time?
2838
2837
  },
2839
2838
  ]?,
2840
- code_vulnerability_file_path: Array[
2839
+ last_observed_at: Array[
2841
2840
  {
2842
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2843
- value: ::String
2841
+ start_inclusive: ::Time?,
2842
+ end_inclusive: ::Time?
2844
2843
  },
2845
2844
  ]?,
2846
- component_id: Array[
2845
+ updated_at: Array[
2847
2846
  {
2848
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2849
- value: ::String
2847
+ start_inclusive: ::Time?,
2848
+ end_inclusive: ::Time?
2850
2849
  },
2851
2850
  ]?,
2852
- component_type: Array[
2851
+ finding_status: Array[
2853
2852
  {
2854
2853
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2855
2854
  value: ::String
2856
2855
  },
2857
2856
  ]?,
2858
- ec2_instance_image_id: Array[
2857
+ title: Array[
2859
2858
  {
2860
2859
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2861
2860
  value: ::String
2862
2861
  },
2863
2862
  ]?,
2864
- ec2_instance_subnet_id: Array[
2863
+ inspector_score: Array[
2865
2864
  {
2866
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2867
- value: ::String
2865
+ upper_inclusive: ::Float?,
2866
+ lower_inclusive: ::Float?
2868
2867
  },
2869
2868
  ]?,
2870
- ec2_instance_vpc_id: Array[
2869
+ resource_type: Array[
2871
2870
  {
2872
2871
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2873
2872
  value: ::String
2874
2873
  },
2875
2874
  ]?,
2876
- ecr_image_architecture: Array[
2875
+ resource_id: Array[
2877
2876
  {
2878
2877
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2879
2878
  value: ::String
2880
2879
  },
2881
2880
  ]?,
2882
- ecr_image_hash: Array[
2881
+ resource_tags: Array[
2882
+ {
2883
+ comparison: ("EQUALS"),
2884
+ key: ::String,
2885
+ value: ::String?
2886
+ },
2887
+ ]?,
2888
+ ec2_instance_image_id: Array[
2883
2889
  {
2884
2890
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2885
2891
  value: ::String
2886
2892
  },
2887
2893
  ]?,
2888
- ecr_image_in_use_count: Array[
2894
+ ec2_instance_vpc_id: Array[
2889
2895
  {
2890
- lower_inclusive: ::Float?,
2891
- upper_inclusive: ::Float?
2896
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2897
+ value: ::String
2892
2898
  },
2893
2899
  ]?,
2894
- ecr_image_last_in_use_at: Array[
2900
+ ec2_instance_subnet_id: Array[
2895
2901
  {
2896
- end_inclusive: ::Time?,
2897
- start_inclusive: ::Time?
2902
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2903
+ value: ::String
2898
2904
  },
2899
2905
  ]?,
2900
2906
  ecr_image_pushed_at: Array[
2901
2907
  {
2902
- end_inclusive: ::Time?,
2903
- start_inclusive: ::Time?
2908
+ start_inclusive: ::Time?,
2909
+ end_inclusive: ::Time?
2904
2910
  },
2905
2911
  ]?,
2906
- ecr_image_registry: Array[
2912
+ ecr_image_architecture: Array[
2907
2913
  {
2908
2914
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2909
2915
  value: ::String
2910
2916
  },
2911
2917
  ]?,
2912
- ecr_image_repository_name: Array[
2918
+ ecr_image_registry: Array[
2913
2919
  {
2914
2920
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2915
2921
  value: ::String
2916
2922
  },
2917
2923
  ]?,
2918
- ecr_image_tags: Array[
2924
+ ecr_image_repository_name: Array[
2919
2925
  {
2920
2926
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2921
2927
  value: ::String
2922
2928
  },
2923
2929
  ]?,
2924
- epss_score: Array[
2925
- {
2926
- lower_inclusive: ::Float?,
2927
- upper_inclusive: ::Float?
2928
- },
2929
- ]?,
2930
- exploit_available: Array[
2930
+ ecr_image_tags: Array[
2931
2931
  {
2932
2932
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2933
2933
  value: ::String
2934
2934
  },
2935
2935
  ]?,
2936
- finding_arn: Array[
2936
+ ecr_image_hash: Array[
2937
2937
  {
2938
2938
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2939
2939
  value: ::String
2940
2940
  },
2941
2941
  ]?,
2942
- finding_status: Array[
2942
+ ecr_image_last_in_use_at: Array[
2943
2943
  {
2944
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2945
- value: ::String
2944
+ start_inclusive: ::Time?,
2945
+ end_inclusive: ::Time?
2946
2946
  },
2947
2947
  ]?,
2948
- finding_type: Array[
2948
+ ecr_image_in_use_count: Array[
2949
2949
  {
2950
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2951
- value: ::String
2950
+ upper_inclusive: ::Float?,
2951
+ lower_inclusive: ::Float?
2952
2952
  },
2953
2953
  ]?,
2954
- first_observed_at: Array[
2954
+ port_range: Array[
2955
2955
  {
2956
- end_inclusive: ::Time?,
2957
- start_inclusive: ::Time?
2956
+ begin_inclusive: ::Integer?,
2957
+ end_inclusive: ::Integer?
2958
2958
  },
2959
2959
  ]?,
2960
- fix_available: Array[
2960
+ network_protocol: Array[
2961
2961
  {
2962
2962
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2963
2963
  value: ::String
2964
2964
  },
2965
2965
  ]?,
2966
- inspector_score: Array[
2966
+ component_id: Array[
2967
2967
  {
2968
- lower_inclusive: ::Float?,
2969
- upper_inclusive: ::Float?
2968
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2969
+ value: ::String
2970
2970
  },
2971
2971
  ]?,
2972
- lambda_function_execution_role_arn: Array[
2972
+ component_type: Array[
2973
2973
  {
2974
2974
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2975
2975
  value: ::String
2976
2976
  },
2977
2977
  ]?,
2978
- lambda_function_last_modified_at: Array[
2978
+ vulnerability_id: Array[
2979
2979
  {
2980
- end_inclusive: ::Time?,
2981
- start_inclusive: ::Time?
2980
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2981
+ value: ::String
2982
2982
  },
2983
2983
  ]?,
2984
- lambda_function_layers: Array[
2984
+ vulnerability_source: Array[
2985
2985
  {
2986
2986
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2987
2987
  value: ::String
2988
2988
  },
2989
2989
  ]?,
2990
- lambda_function_name: Array[
2990
+ vendor_severity: Array[
2991
2991
  {
2992
2992
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2993
2993
  value: ::String
2994
2994
  },
2995
2995
  ]?,
2996
- lambda_function_runtime: Array[
2996
+ vulnerable_packages: Array[
2997
2997
  {
2998
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
2999
- value: ::String
2998
+ name: {
2999
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3000
+ value: ::String
3001
+ }?,
3002
+ version: {
3003
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3004
+ value: ::String
3005
+ }?,
3006
+ epoch: {
3007
+ upper_inclusive: ::Float?,
3008
+ lower_inclusive: ::Float?
3009
+ }?,
3010
+ release: {
3011
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3012
+ value: ::String
3013
+ }?,
3014
+ architecture: {
3015
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3016
+ value: ::String
3017
+ }?,
3018
+ source_layer_hash: {
3019
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3020
+ value: ::String
3021
+ }?,
3022
+ source_lambda_layer_arn: {
3023
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3024
+ value: ::String
3025
+ }?,
3026
+ file_path: {
3027
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3028
+ value: ::String
3029
+ }?
3000
3030
  },
3001
3031
  ]?,
3002
- last_observed_at: Array[
3032
+ related_vulnerabilities: Array[
3003
3033
  {
3004
- end_inclusive: ::Time?,
3005
- start_inclusive: ::Time?
3034
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3035
+ value: ::String
3006
3036
  },
3007
3037
  ]?,
3008
- network_protocol: Array[
3038
+ fix_available: Array[
3009
3039
  {
3010
3040
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3011
3041
  value: ::String
3012
3042
  },
3013
3043
  ]?,
3014
- port_range: Array[
3044
+ lambda_function_name: Array[
3015
3045
  {
3016
- begin_inclusive: ::Integer?,
3017
- end_inclusive: ::Integer?
3046
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3047
+ value: ::String
3018
3048
  },
3019
3049
  ]?,
3020
- related_vulnerabilities: Array[
3050
+ lambda_function_layers: Array[
3021
3051
  {
3022
3052
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3023
3053
  value: ::String
3024
3054
  },
3025
3055
  ]?,
3026
- resource_id: Array[
3056
+ lambda_function_runtime: Array[
3027
3057
  {
3028
3058
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3029
3059
  value: ::String
3030
3060
  },
3031
3061
  ]?,
3032
- resource_tags: Array[
3062
+ lambda_function_last_modified_at: Array[
3033
3063
  {
3034
- comparison: ("EQUALS"),
3035
- key: ::String,
3036
- value: ::String?
3064
+ start_inclusive: ::Time?,
3065
+ end_inclusive: ::Time?
3037
3066
  },
3038
3067
  ]?,
3039
- resource_type: Array[
3068
+ lambda_function_execution_role_arn: Array[
3040
3069
  {
3041
3070
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3042
3071
  value: ::String
3043
3072
  },
3044
3073
  ]?,
3045
- severity: Array[
3074
+ exploit_available: Array[
3046
3075
  {
3047
3076
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3048
3077
  value: ::String
3049
3078
  },
3050
3079
  ]?,
3051
- title: Array[
3080
+ code_vulnerability_detector_name: Array[
3052
3081
  {
3053
3082
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3054
3083
  value: ::String
3055
3084
  },
3056
3085
  ]?,
3057
- updated_at: Array[
3086
+ code_vulnerability_detector_tags: Array[
3058
3087
  {
3059
- end_inclusive: ::Time?,
3060
- start_inclusive: ::Time?
3088
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3089
+ value: ::String
3061
3090
  },
3062
3091
  ]?,
3063
- vendor_severity: Array[
3092
+ code_vulnerability_file_path: Array[
3064
3093
  {
3065
3094
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3066
3095
  value: ::String
3067
3096
  },
3068
3097
  ]?,
3069
- vulnerability_id: Array[
3098
+ epss_score: Array[
3070
3099
  {
3071
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3072
- value: ::String
3100
+ upper_inclusive: ::Float?,
3101
+ lower_inclusive: ::Float?
3073
3102
  },
3074
3103
  ]?,
3075
- vulnerability_source: Array[
3104
+ code_repository_project_name: Array[
3076
3105
  {
3077
3106
  comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3078
3107
  value: ::String
3079
3108
  },
3080
3109
  ]?,
3081
- vulnerable_packages: Array[
3110
+ code_repository_provider_type: Array[
3082
3111
  {
3083
- architecture: {
3084
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3085
- value: ::String
3086
- }?,
3087
- epoch: {
3088
- lower_inclusive: ::Float?,
3089
- upper_inclusive: ::Float?
3090
- }?,
3091
- file_path: {
3092
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3093
- value: ::String
3094
- }?,
3095
- name: {
3096
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3097
- value: ::String
3098
- }?,
3099
- release: {
3100
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3101
- value: ::String
3102
- }?,
3103
- source_lambda_layer_arn: {
3104
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3105
- value: ::String
3106
- }?,
3107
- source_layer_hash: {
3108
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3109
- value: ::String
3110
- }?,
3111
- version: {
3112
- comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3113
- value: ::String
3114
- }?
3112
+ comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
3113
+ value: ::String
3115
3114
  },
3116
3115
  ]?
3117
3116
  },
3118
3117
  ?name: ::String,
3118
+ filter_arn: ::String,
3119
3119
  ?reason: ::String
3120
3120
  ) -> _UpdateFilterResponseSuccess
3121
3121
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFilterResponseSuccess
@@ -3136,11 +3136,11 @@ module Aws
3136
3136
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Inspector2/Client.html#update_organization_configuration-instance_method
3137
3137
  def update_organization_configuration: (
3138
3138
  auto_enable: {
3139
- code_repository: bool?,
3140
3139
  ec2: bool,
3141
3140
  ecr: bool,
3142
3141
  lambda: bool?,
3143
- lambda_code: bool?
3142
+ lambda_code: bool?,
3143
+ code_repository: bool?
3144
3144
  }
3145
3145
  ) -> _UpdateOrganizationConfigurationResponseSuccess
3146
3146
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOrganizationConfigurationResponseSuccess