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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-inspector2/client.rb +2023 -1641
- data/lib/aws-sdk-inspector2/client_api.rb +431 -432
- data/lib/aws-sdk-inspector2/errors.rb +5 -5
- data/lib/aws-sdk-inspector2/types.rb +2172 -2172
- data/lib/aws-sdk-inspector2.rb +1 -1
- data/sig/client.rbs +892 -892
- data/sig/errors.rbs +1 -1
- data/sig/types.rbs +436 -436
- metadata +3 -3
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
|
-
|
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
|
-
|
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
|
-
|
269
|
-
|
270
|
+
instance_url: ::String,
|
271
|
+
access_token: ::String
|
270
272
|
}?
|
271
273
|
},
|
272
|
-
|
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
|
-
|
312
|
+
finding_arn: Array[
|
313
313
|
{
|
314
314
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
315
315
|
value: ::String
|
316
316
|
},
|
317
317
|
]?,
|
318
|
-
|
318
|
+
aws_account_id: Array[
|
319
319
|
{
|
320
320
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
321
321
|
value: ::String
|
322
322
|
},
|
323
323
|
]?,
|
324
|
-
|
324
|
+
finding_type: Array[
|
325
325
|
{
|
326
326
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
327
327
|
value: ::String
|
328
328
|
},
|
329
329
|
]?,
|
330
|
-
|
330
|
+
severity: Array[
|
331
331
|
{
|
332
332
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
333
333
|
value: ::String
|
334
334
|
},
|
335
335
|
]?,
|
336
|
-
|
336
|
+
first_observed_at: Array[
|
337
337
|
{
|
338
|
-
|
339
|
-
|
338
|
+
start_inclusive: ::Time?,
|
339
|
+
end_inclusive: ::Time?
|
340
340
|
},
|
341
341
|
]?,
|
342
|
-
|
342
|
+
last_observed_at: Array[
|
343
343
|
{
|
344
|
-
|
345
|
-
|
344
|
+
start_inclusive: ::Time?,
|
345
|
+
end_inclusive: ::Time?
|
346
346
|
},
|
347
347
|
]?,
|
348
|
-
|
348
|
+
updated_at: Array[
|
349
349
|
{
|
350
|
-
|
351
|
-
|
350
|
+
start_inclusive: ::Time?,
|
351
|
+
end_inclusive: ::Time?
|
352
352
|
},
|
353
353
|
]?,
|
354
|
-
|
354
|
+
finding_status: Array[
|
355
355
|
{
|
356
356
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
357
357
|
value: ::String
|
358
358
|
},
|
359
359
|
]?,
|
360
|
-
|
360
|
+
title: Array[
|
361
361
|
{
|
362
362
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
363
363
|
value: ::String
|
364
364
|
},
|
365
365
|
]?,
|
366
|
-
|
366
|
+
inspector_score: Array[
|
367
367
|
{
|
368
|
-
|
369
|
-
|
368
|
+
upper_inclusive: ::Float?,
|
369
|
+
lower_inclusive: ::Float?
|
370
370
|
},
|
371
371
|
]?,
|
372
|
-
|
372
|
+
resource_type: Array[
|
373
373
|
{
|
374
374
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
375
375
|
value: ::String
|
376
376
|
},
|
377
377
|
]?,
|
378
|
-
|
378
|
+
resource_id: Array[
|
379
379
|
{
|
380
380
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
381
381
|
value: ::String
|
382
382
|
},
|
383
383
|
]?,
|
384
|
-
|
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
|
-
|
397
|
+
ec2_instance_vpc_id: Array[
|
391
398
|
{
|
392
|
-
|
393
|
-
|
399
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
400
|
+
value: ::String
|
394
401
|
},
|
395
402
|
]?,
|
396
|
-
|
403
|
+
ec2_instance_subnet_id: Array[
|
397
404
|
{
|
398
|
-
|
399
|
-
|
405
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
406
|
+
value: ::String
|
400
407
|
},
|
401
408
|
]?,
|
402
409
|
ecr_image_pushed_at: Array[
|
403
410
|
{
|
404
|
-
|
405
|
-
|
411
|
+
start_inclusive: ::Time?,
|
412
|
+
end_inclusive: ::Time?
|
406
413
|
},
|
407
414
|
]?,
|
408
|
-
|
415
|
+
ecr_image_architecture: Array[
|
409
416
|
{
|
410
417
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
411
418
|
value: ::String
|
412
419
|
},
|
413
420
|
]?,
|
414
|
-
|
421
|
+
ecr_image_registry: Array[
|
415
422
|
{
|
416
423
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
417
424
|
value: ::String
|
418
425
|
},
|
419
426
|
]?,
|
420
|
-
|
427
|
+
ecr_image_repository_name: Array[
|
421
428
|
{
|
422
429
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
423
430
|
value: ::String
|
424
431
|
},
|
425
432
|
]?,
|
426
|
-
|
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
|
-
|
439
|
+
ecr_image_hash: Array[
|
439
440
|
{
|
440
441
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
441
442
|
value: ::String
|
442
443
|
},
|
443
444
|
]?,
|
444
|
-
|
445
|
+
ecr_image_last_in_use_at: Array[
|
445
446
|
{
|
446
|
-
|
447
|
-
|
447
|
+
start_inclusive: ::Time?,
|
448
|
+
end_inclusive: ::Time?
|
448
449
|
},
|
449
450
|
]?,
|
450
|
-
|
451
|
+
ecr_image_in_use_count: Array[
|
451
452
|
{
|
452
|
-
|
453
|
-
|
453
|
+
upper_inclusive: ::Float?,
|
454
|
+
lower_inclusive: ::Float?
|
454
455
|
},
|
455
456
|
]?,
|
456
|
-
|
457
|
+
port_range: Array[
|
457
458
|
{
|
458
|
-
|
459
|
-
|
459
|
+
begin_inclusive: ::Integer?,
|
460
|
+
end_inclusive: ::Integer?
|
460
461
|
},
|
461
462
|
]?,
|
462
|
-
|
463
|
+
network_protocol: Array[
|
463
464
|
{
|
464
465
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
465
466
|
value: ::String
|
466
467
|
},
|
467
468
|
]?,
|
468
|
-
|
469
|
+
component_id: Array[
|
469
470
|
{
|
470
|
-
|
471
|
-
|
471
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
472
|
+
value: ::String
|
472
473
|
},
|
473
474
|
]?,
|
474
|
-
|
475
|
+
component_type: Array[
|
475
476
|
{
|
476
477
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
477
478
|
value: ::String
|
478
479
|
},
|
479
480
|
]?,
|
480
|
-
|
481
|
+
vulnerability_id: Array[
|
481
482
|
{
|
482
|
-
|
483
|
-
|
483
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
484
|
+
value: ::String
|
484
485
|
},
|
485
486
|
]?,
|
486
|
-
|
487
|
+
vulnerability_source: Array[
|
487
488
|
{
|
488
489
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
489
490
|
value: ::String
|
490
491
|
},
|
491
492
|
]?,
|
492
|
-
|
493
|
+
vendor_severity: Array[
|
493
494
|
{
|
494
495
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
495
496
|
value: ::String
|
496
497
|
},
|
497
498
|
]?,
|
498
|
-
|
499
|
+
vulnerable_packages: Array[
|
499
500
|
{
|
500
|
-
|
501
|
-
|
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
|
-
|
535
|
+
related_vulnerabilities: Array[
|
505
536
|
{
|
506
|
-
|
507
|
-
|
537
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
538
|
+
value: ::String
|
508
539
|
},
|
509
540
|
]?,
|
510
|
-
|
541
|
+
fix_available: Array[
|
511
542
|
{
|
512
543
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
513
544
|
value: ::String
|
514
545
|
},
|
515
546
|
]?,
|
516
|
-
|
547
|
+
lambda_function_name: Array[
|
517
548
|
{
|
518
|
-
|
519
|
-
|
549
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
550
|
+
value: ::String
|
520
551
|
},
|
521
552
|
]?,
|
522
|
-
|
553
|
+
lambda_function_layers: Array[
|
523
554
|
{
|
524
555
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
525
556
|
value: ::String
|
526
557
|
},
|
527
558
|
]?,
|
528
|
-
|
559
|
+
lambda_function_runtime: Array[
|
529
560
|
{
|
530
561
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
531
562
|
value: ::String
|
532
563
|
},
|
533
564
|
]?,
|
534
|
-
|
565
|
+
lambda_function_last_modified_at: Array[
|
535
566
|
{
|
536
|
-
|
537
|
-
|
538
|
-
value: ::String?
|
567
|
+
start_inclusive: ::Time?,
|
568
|
+
end_inclusive: ::Time?
|
539
569
|
},
|
540
570
|
]?,
|
541
|
-
|
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
|
-
|
577
|
+
exploit_available: Array[
|
548
578
|
{
|
549
579
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
550
580
|
value: ::String
|
551
581
|
},
|
552
582
|
]?,
|
553
|
-
|
583
|
+
code_vulnerability_detector_name: Array[
|
554
584
|
{
|
555
585
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
556
586
|
value: ::String
|
557
587
|
},
|
558
588
|
]?,
|
559
|
-
|
589
|
+
code_vulnerability_detector_tags: Array[
|
560
590
|
{
|
561
|
-
|
562
|
-
|
591
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
592
|
+
value: ::String
|
563
593
|
},
|
564
594
|
]?,
|
565
|
-
|
595
|
+
code_vulnerability_file_path: Array[
|
566
596
|
{
|
567
597
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
568
598
|
value: ::String
|
569
599
|
},
|
570
600
|
]?,
|
571
|
-
|
601
|
+
epss_score: Array[
|
572
602
|
{
|
573
|
-
|
574
|
-
|
603
|
+
upper_inclusive: ::Float?,
|
604
|
+
lower_inclusive: ::Float?
|
575
605
|
},
|
576
606
|
]?,
|
577
|
-
|
607
|
+
code_repository_project_name: Array[
|
578
608
|
{
|
579
609
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
580
610
|
value: ::String
|
581
611
|
},
|
582
612
|
]?,
|
583
|
-
|
613
|
+
code_repository_provider_type: Array[
|
584
614
|
{
|
585
|
-
|
586
|
-
|
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
|
-
?
|
622
|
-
?
|
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
|
-
|
633
|
+
finding_arn: Array[
|
634
634
|
{
|
635
635
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
636
636
|
value: ::String
|
637
637
|
},
|
638
638
|
]?,
|
639
|
-
|
639
|
+
aws_account_id: Array[
|
640
640
|
{
|
641
641
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
642
642
|
value: ::String
|
643
643
|
},
|
644
644
|
]?,
|
645
|
-
|
645
|
+
finding_type: Array[
|
646
646
|
{
|
647
647
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
648
648
|
value: ::String
|
649
649
|
},
|
650
650
|
]?,
|
651
|
-
|
651
|
+
severity: Array[
|
652
652
|
{
|
653
653
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
654
654
|
value: ::String
|
655
655
|
},
|
656
656
|
]?,
|
657
|
-
|
657
|
+
first_observed_at: Array[
|
658
658
|
{
|
659
|
-
|
660
|
-
|
659
|
+
start_inclusive: ::Time?,
|
660
|
+
end_inclusive: ::Time?
|
661
661
|
},
|
662
662
|
]?,
|
663
|
-
|
663
|
+
last_observed_at: Array[
|
664
664
|
{
|
665
|
-
|
666
|
-
|
665
|
+
start_inclusive: ::Time?,
|
666
|
+
end_inclusive: ::Time?
|
667
667
|
},
|
668
668
|
]?,
|
669
|
-
|
669
|
+
updated_at: Array[
|
670
670
|
{
|
671
|
-
|
672
|
-
|
671
|
+
start_inclusive: ::Time?,
|
672
|
+
end_inclusive: ::Time?
|
673
673
|
},
|
674
674
|
]?,
|
675
|
-
|
675
|
+
finding_status: Array[
|
676
676
|
{
|
677
677
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
678
678
|
value: ::String
|
679
679
|
},
|
680
680
|
]?,
|
681
|
-
|
681
|
+
title: Array[
|
682
682
|
{
|
683
683
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
684
684
|
value: ::String
|
685
685
|
},
|
686
686
|
]?,
|
687
|
-
|
687
|
+
inspector_score: Array[
|
688
688
|
{
|
689
|
-
|
690
|
-
|
689
|
+
upper_inclusive: ::Float?,
|
690
|
+
lower_inclusive: ::Float?
|
691
691
|
},
|
692
692
|
]?,
|
693
|
-
|
693
|
+
resource_type: Array[
|
694
694
|
{
|
695
695
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
696
696
|
value: ::String
|
697
697
|
},
|
698
698
|
]?,
|
699
|
-
|
699
|
+
resource_id: Array[
|
700
700
|
{
|
701
701
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
702
702
|
value: ::String
|
703
703
|
},
|
704
704
|
]?,
|
705
|
-
|
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
|
-
|
718
|
+
ec2_instance_vpc_id: Array[
|
712
719
|
{
|
713
|
-
|
714
|
-
|
720
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
721
|
+
value: ::String
|
715
722
|
},
|
716
723
|
]?,
|
717
|
-
|
724
|
+
ec2_instance_subnet_id: Array[
|
718
725
|
{
|
719
|
-
|
720
|
-
|
726
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
727
|
+
value: ::String
|
721
728
|
},
|
722
729
|
]?,
|
723
730
|
ecr_image_pushed_at: Array[
|
724
731
|
{
|
725
|
-
|
726
|
-
|
732
|
+
start_inclusive: ::Time?,
|
733
|
+
end_inclusive: ::Time?
|
727
734
|
},
|
728
735
|
]?,
|
729
|
-
|
736
|
+
ecr_image_architecture: Array[
|
730
737
|
{
|
731
738
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
732
739
|
value: ::String
|
733
740
|
},
|
734
741
|
]?,
|
735
|
-
|
742
|
+
ecr_image_registry: Array[
|
736
743
|
{
|
737
744
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
738
745
|
value: ::String
|
739
746
|
},
|
740
747
|
]?,
|
741
|
-
|
748
|
+
ecr_image_repository_name: Array[
|
742
749
|
{
|
743
750
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
744
751
|
value: ::String
|
745
752
|
},
|
746
753
|
]?,
|
747
|
-
|
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
|
-
|
760
|
+
ecr_image_hash: Array[
|
760
761
|
{
|
761
762
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
762
763
|
value: ::String
|
763
764
|
},
|
764
765
|
]?,
|
765
|
-
|
766
|
+
ecr_image_last_in_use_at: Array[
|
766
767
|
{
|
767
|
-
|
768
|
-
|
768
|
+
start_inclusive: ::Time?,
|
769
|
+
end_inclusive: ::Time?
|
769
770
|
},
|
770
771
|
]?,
|
771
|
-
|
772
|
+
ecr_image_in_use_count: Array[
|
772
773
|
{
|
773
|
-
|
774
|
-
|
774
|
+
upper_inclusive: ::Float?,
|
775
|
+
lower_inclusive: ::Float?
|
775
776
|
},
|
776
777
|
]?,
|
777
|
-
|
778
|
+
port_range: Array[
|
778
779
|
{
|
779
|
-
|
780
|
-
|
780
|
+
begin_inclusive: ::Integer?,
|
781
|
+
end_inclusive: ::Integer?
|
781
782
|
},
|
782
783
|
]?,
|
783
|
-
|
784
|
+
network_protocol: Array[
|
784
785
|
{
|
785
786
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
786
787
|
value: ::String
|
787
788
|
},
|
788
789
|
]?,
|
789
|
-
|
790
|
+
component_id: Array[
|
790
791
|
{
|
791
|
-
|
792
|
-
|
792
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
793
|
+
value: ::String
|
793
794
|
},
|
794
795
|
]?,
|
795
|
-
|
796
|
+
component_type: Array[
|
796
797
|
{
|
797
798
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
798
799
|
value: ::String
|
799
800
|
},
|
800
801
|
]?,
|
801
|
-
|
802
|
+
vulnerability_id: Array[
|
802
803
|
{
|
803
|
-
|
804
|
-
|
804
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
805
|
+
value: ::String
|
805
806
|
},
|
806
807
|
]?,
|
807
|
-
|
808
|
+
vulnerability_source: Array[
|
808
809
|
{
|
809
810
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
810
811
|
value: ::String
|
811
812
|
},
|
812
813
|
]?,
|
813
|
-
|
814
|
+
vendor_severity: Array[
|
814
815
|
{
|
815
816
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
816
817
|
value: ::String
|
817
818
|
},
|
818
819
|
]?,
|
819
|
-
|
820
|
+
vulnerable_packages: Array[
|
820
821
|
{
|
821
|
-
|
822
|
-
|
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
|
-
|
856
|
+
related_vulnerabilities: Array[
|
826
857
|
{
|
827
|
-
|
828
|
-
|
858
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
859
|
+
value: ::String
|
829
860
|
},
|
830
861
|
]?,
|
831
|
-
|
862
|
+
fix_available: Array[
|
832
863
|
{
|
833
864
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
834
865
|
value: ::String
|
835
866
|
},
|
836
867
|
]?,
|
837
|
-
|
868
|
+
lambda_function_name: Array[
|
838
869
|
{
|
839
|
-
|
840
|
-
|
870
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
871
|
+
value: ::String
|
841
872
|
},
|
842
873
|
]?,
|
843
|
-
|
874
|
+
lambda_function_layers: Array[
|
844
875
|
{
|
845
876
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
846
877
|
value: ::String
|
847
878
|
},
|
848
879
|
]?,
|
849
|
-
|
880
|
+
lambda_function_runtime: Array[
|
850
881
|
{
|
851
882
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
852
883
|
value: ::String
|
853
884
|
},
|
854
885
|
]?,
|
855
|
-
|
886
|
+
lambda_function_last_modified_at: Array[
|
856
887
|
{
|
857
|
-
|
858
|
-
|
859
|
-
value: ::String?
|
888
|
+
start_inclusive: ::Time?,
|
889
|
+
end_inclusive: ::Time?
|
860
890
|
},
|
861
891
|
]?,
|
862
|
-
|
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
|
-
|
898
|
+
exploit_available: Array[
|
869
899
|
{
|
870
900
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
871
901
|
value: ::String
|
872
902
|
},
|
873
903
|
]?,
|
874
|
-
|
904
|
+
code_vulnerability_detector_name: Array[
|
875
905
|
{
|
876
906
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
877
907
|
value: ::String
|
878
908
|
},
|
879
909
|
]?,
|
880
|
-
|
910
|
+
code_vulnerability_detector_tags: Array[
|
881
911
|
{
|
882
|
-
|
883
|
-
|
912
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
913
|
+
value: ::String
|
884
914
|
},
|
885
915
|
]?,
|
886
|
-
|
916
|
+
code_vulnerability_file_path: Array[
|
887
917
|
{
|
888
918
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
889
919
|
value: ::String
|
890
920
|
},
|
891
921
|
]?,
|
892
|
-
|
922
|
+
epss_score: Array[
|
893
923
|
{
|
894
|
-
|
895
|
-
|
924
|
+
upper_inclusive: ::Float?,
|
925
|
+
lower_inclusive: ::Float?
|
896
926
|
},
|
897
927
|
]?,
|
898
|
-
|
928
|
+
code_repository_project_name: Array[
|
899
929
|
{
|
900
930
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
901
931
|
value: ::String
|
902
932
|
},
|
903
933
|
]?,
|
904
|
-
|
934
|
+
code_repository_provider_type: Array[
|
905
935
|
{
|
906
|
-
|
907
|
-
|
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
|
-
|
963
|
+
resource_id: Array[
|
965
964
|
{
|
966
|
-
comparison: ("EQUALS"),
|
967
|
-
|
968
|
-
value: ::String?
|
965
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
966
|
+
value: ::String
|
969
967
|
},
|
970
968
|
]?,
|
971
|
-
|
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
|
-
|
987
|
+
ecr_image_tags: Array[
|
990
988
|
{
|
991
|
-
comparison: ("EQUALS"),
|
992
|
-
|
993
|
-
value: ::String?
|
989
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
990
|
+
value: ::String
|
994
991
|
},
|
995
992
|
]?,
|
996
|
-
|
993
|
+
ec2_instance_tags: Array[
|
997
994
|
{
|
998
|
-
comparison: ("EQUALS"
|
999
|
-
|
995
|
+
comparison: ("EQUALS"),
|
996
|
+
key: ::String,
|
997
|
+
value: ::String?
|
1000
998
|
},
|
1001
999
|
]?,
|
1002
|
-
|
1000
|
+
lambda_function_tags: Array[
|
1003
1001
|
{
|
1004
|
-
comparison: ("EQUALS"
|
1005
|
-
|
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
|
-
|
1108
|
-
|
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
|
-
|
1119
|
-
|
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
|
-
|
1147
|
+
finding_status_filters: Array[
|
1146
1148
|
{
|
1147
|
-
comparison: ("EQUALS"
|
1148
|
-
value:
|
1149
|
+
comparison: ("EQUALS"),
|
1150
|
+
value: ("PASSED" | "FAILED" | "SKIPPED")
|
1149
1151
|
},
|
1150
1152
|
]?,
|
1151
|
-
|
1153
|
+
check_id_filters: Array[
|
1152
1154
|
{
|
1153
1155
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
1154
1156
|
value: ::String
|
1155
1157
|
},
|
1156
1158
|
]?,
|
1157
|
-
|
1159
|
+
title_filters: Array[
|
1158
1160
|
{
|
1159
|
-
comparison: ("EQUALS"),
|
1160
|
-
value:
|
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
|
-
|
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
|
-
|
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
|
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
|
-
|
1294
|
-
|
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
|
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
|
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
|
-
|
1408
|
+
title_filters: Array[
|
1408
1409
|
{
|
1409
|
-
|
1410
|
-
|
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
|
-
|
1420
|
+
failed_resources_filters: Array[
|
1420
1421
|
{
|
1421
|
-
|
1422
|
-
|
1422
|
+
upper_inclusive: ::Integer?,
|
1423
|
+
lower_inclusive: ::Integer?
|
1423
1424
|
},
|
1424
1425
|
]?,
|
1425
|
-
|
1426
|
+
security_level_filters: Array[
|
1426
1427
|
{
|
1427
|
-
comparison: ("EQUALS"
|
1428
|
-
value:
|
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
|
-
|
1455
|
-
{
|
1456
|
-
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
1457
|
-
value: ::String
|
1458
|
-
},
|
1459
|
-
]?,
|
1460
|
-
failed_checks_filters: Array[
|
1455
|
+
status_filters: Array[
|
1461
1456
|
{
|
1462
|
-
|
1463
|
-
|
1457
|
+
comparison: ("EQUALS"),
|
1458
|
+
value: ("PASSED" | "FAILED" | "SKIPPED")
|
1464
1459
|
},
|
1465
1460
|
]?,
|
1466
|
-
|
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
|
-
|
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
|
-
|
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"
|
1528
|
+
comparison: ("EQUALS"),
|
1529
|
+
key: ::String,
|
1542
1530
|
value: ::String
|
1543
1531
|
},
|
1544
1532
|
]?,
|
1545
|
-
|
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
|
-
|
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
|
-
|
1557
|
+
scan_arn_filters: Array[
|
1564
1558
|
{
|
1565
1559
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
1566
1560
|
value: ::String
|
1567
1561
|
},
|
1568
1562
|
]?,
|
1569
|
-
|
1563
|
+
scheduled_by_filters: Array[
|
1570
1564
|
{
|
1571
1565
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
1572
1566
|
value: ::String
|
1573
1567
|
},
|
1574
1568
|
]?,
|
1575
|
-
|
1569
|
+
failed_checks_filters: Array[
|
1576
1570
|
{
|
1577
|
-
|
1578
|
-
|
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
|
-
?
|
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
|
-
?
|
1598
|
-
?
|
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
|
-
|
1609
|
+
scan_configuration_arn: ::String,
|
1610
1610
|
?next_token: ::String,
|
1611
|
-
|
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
|
-
?
|
1623
|
-
?
|
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
|
-
|
1637
|
+
scan_status_code: Array[
|
1636
1638
|
{
|
1637
1639
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1638
1640
|
value: ::String
|
1639
1641
|
},
|
1640
1642
|
]?,
|
1641
|
-
|
1643
|
+
scan_status_reason: Array[
|
1642
1644
|
{
|
1643
1645
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1644
1646
|
value: ::String
|
1645
1647
|
},
|
1646
1648
|
]?,
|
1647
|
-
|
1649
|
+
account_id: Array[
|
1648
1650
|
{
|
1649
1651
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1650
1652
|
value: ::String
|
1651
1653
|
},
|
1652
1654
|
]?,
|
1653
|
-
|
1655
|
+
resource_id: Array[
|
1654
1656
|
{
|
1655
1657
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1656
1658
|
value: ::String
|
1657
1659
|
},
|
1658
1660
|
]?,
|
1659
|
-
|
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
|
-
|
1675
|
-
|
1663
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1664
|
+
value: ::String
|
1676
1665
|
},
|
1677
1666
|
]?,
|
1678
|
-
|
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
|
-
|
1679
|
+
ecr_image_tags: Array[
|
1691
1680
|
{
|
1692
|
-
|
1693
|
-
|
1681
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1682
|
+
value: ::String
|
1694
1683
|
},
|
1695
1684
|
]?,
|
1696
|
-
|
1685
|
+
ec2_instance_tags: Array[
|
1697
1686
|
{
|
1698
|
-
comparison: ("EQUALS"
|
1699
|
-
|
1687
|
+
comparison: ("EQUALS"),
|
1688
|
+
key: ::String,
|
1689
|
+
value: ::String?
|
1700
1690
|
},
|
1701
1691
|
]?,
|
1702
|
-
|
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
|
-
|
1718
|
-
|
1713
|
+
start_inclusive: ::Time?,
|
1714
|
+
end_inclusive: ::Time?
|
1719
1715
|
},
|
1720
1716
|
]?,
|
1721
|
-
|
1717
|
+
scan_mode: Array[
|
1722
1718
|
{
|
1723
1719
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1724
1720
|
value: ::String
|
1725
1721
|
},
|
1726
1722
|
]?,
|
1727
|
-
|
1723
|
+
image_pulled_at: Array[
|
1728
1724
|
{
|
1729
|
-
|
1730
|
-
|
1725
|
+
start_inclusive: ::Time?,
|
1726
|
+
end_inclusive: ::Time?
|
1731
1727
|
},
|
1732
1728
|
]?,
|
1733
|
-
|
1729
|
+
ecr_image_last_in_use_at: Array[
|
1734
1730
|
{
|
1735
|
-
|
1736
|
-
|
1731
|
+
start_inclusive: ::Time?,
|
1732
|
+
end_inclusive: ::Time?
|
1737
1733
|
},
|
1738
1734
|
]?,
|
1739
|
-
|
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
|
-
|
1747
|
+
code_repository_provider_type: Array[
|
1746
1748
|
{
|
1747
1749
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1748
1750
|
value: ::String
|
1749
1751
|
},
|
1750
1752
|
]?,
|
1751
|
-
|
1753
|
+
code_repository_provider_type_visibility: Array[
|
1752
1754
|
{
|
1753
1755
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1754
1756
|
value: ::String
|
1755
1757
|
},
|
1756
1758
|
]?,
|
1757
|
-
|
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
|
-
|
1778
|
+
scan_status_code: Array[
|
1779
1779
|
{
|
1780
1780
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1781
1781
|
value: ::String
|
1782
1782
|
},
|
1783
1783
|
]?,
|
1784
|
-
|
1784
|
+
scan_status_reason: Array[
|
1785
1785
|
{
|
1786
1786
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1787
1787
|
value: ::String
|
1788
1788
|
},
|
1789
1789
|
]?,
|
1790
|
-
|
1790
|
+
account_id: Array[
|
1791
1791
|
{
|
1792
1792
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1793
1793
|
value: ::String
|
1794
1794
|
},
|
1795
1795
|
]?,
|
1796
|
-
|
1796
|
+
resource_id: Array[
|
1797
1797
|
{
|
1798
1798
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1799
1799
|
value: ::String
|
1800
1800
|
},
|
1801
1801
|
]?,
|
1802
|
-
|
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
|
-
|
1818
|
-
|
1804
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1805
|
+
value: ::String
|
1819
1806
|
},
|
1820
1807
|
]?,
|
1821
|
-
|
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
|
-
|
1820
|
+
ecr_image_tags: Array[
|
1834
1821
|
{
|
1835
|
-
|
1836
|
-
|
1822
|
+
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1823
|
+
value: ::String
|
1837
1824
|
},
|
1838
1825
|
]?,
|
1839
|
-
|
1826
|
+
ec2_instance_tags: Array[
|
1840
1827
|
{
|
1841
|
-
comparison: ("EQUALS"
|
1842
|
-
|
1828
|
+
comparison: ("EQUALS"),
|
1829
|
+
key: ::String,
|
1830
|
+
value: ::String?
|
1843
1831
|
},
|
1844
1832
|
]?,
|
1845
|
-
|
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
|
-
|
1861
|
-
|
1854
|
+
start_inclusive: ::Time?,
|
1855
|
+
end_inclusive: ::Time?
|
1862
1856
|
},
|
1863
1857
|
]?,
|
1864
|
-
|
1858
|
+
scan_mode: Array[
|
1865
1859
|
{
|
1866
1860
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1867
1861
|
value: ::String
|
1868
1862
|
},
|
1869
1863
|
]?,
|
1870
|
-
|
1864
|
+
image_pulled_at: Array[
|
1871
1865
|
{
|
1872
|
-
|
1873
|
-
|
1866
|
+
start_inclusive: ::Time?,
|
1867
|
+
end_inclusive: ::Time?
|
1874
1868
|
},
|
1875
1869
|
]?,
|
1876
|
-
|
1870
|
+
ecr_image_last_in_use_at: Array[
|
1877
1871
|
{
|
1878
|
-
|
1879
|
-
|
1872
|
+
start_inclusive: ::Time?,
|
1873
|
+
end_inclusive: ::Time?
|
1880
1874
|
},
|
1881
1875
|
]?,
|
1882
|
-
|
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
|
-
|
1888
|
+
code_repository_provider_type: Array[
|
1889
1889
|
{
|
1890
1890
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1891
1891
|
value: ::String
|
1892
1892
|
},
|
1893
1893
|
]?,
|
1894
|
-
|
1894
|
+
code_repository_provider_type_visibility: Array[
|
1895
1895
|
{
|
1896
1896
|
comparison: ("EQUALS" | "NOT_EQUALS"),
|
1897
1897
|
value: ::String
|
1898
1898
|
},
|
1899
1899
|
]?,
|
1900
|
-
|
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
|
-
?
|
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
|
-
|
1957
|
-
|
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
|
-
|
1967
|
-
|
1969
|
+
sort_order: ("ASC" | "DESC")?,
|
1970
|
+
sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_INSTANCES")?
|
1968
1971
|
}?,
|
1969
1972
|
aws_ecr_container_aggregation: {
|
1970
|
-
|
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
|
-
|
1985
|
+
repositories: Array[
|
1983
1986
|
{
|
1984
1987
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
1985
1988
|
value: ::String
|
1986
1989
|
},
|
1987
1990
|
]?,
|
1988
|
-
|
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
|
-
|
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
|
-
|
2014
|
-
}?,
|
2015
|
-
code_repository_aggregation: {
|
2016
|
-
project_names: Array[
|
2005
|
+
last_in_use_at: Array[
|
2017
2006
|
{
|
2018
|
-
|
2019
|
-
|
2007
|
+
start_inclusive: ::Time?,
|
2008
|
+
end_inclusive: ::Time?
|
2020
2009
|
},
|
2021
2010
|
]?,
|
2022
|
-
|
2011
|
+
in_use_count: Array[
|
2023
2012
|
{
|
2024
|
-
|
2025
|
-
|
2013
|
+
upper_inclusive: ::Float?,
|
2014
|
+
lower_inclusive: ::Float?
|
2026
2015
|
},
|
2027
|
-
]
|
2028
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
2070
|
-
|
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
|
-
|
2054
|
+
repositories: Array[
|
2074
2055
|
{
|
2075
2056
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2076
2057
|
value: ::String
|
2077
2058
|
},
|
2078
2059
|
]?,
|
2079
|
-
|
2060
|
+
resource_ids: Array[
|
2080
2061
|
{
|
2081
2062
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2082
2063
|
value: ::String
|
2083
2064
|
},
|
2084
2065
|
]?,
|
2085
|
-
|
2066
|
+
layer_hashes: Array[
|
2086
2067
|
{
|
2087
2068
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2088
2069
|
value: ::String
|
2089
2070
|
},
|
2090
2071
|
]?,
|
2091
|
-
|
2092
|
-
|
2072
|
+
sort_order: ("ASC" | "DESC")?,
|
2073
|
+
sort_by: ("CRITICAL" | "HIGH" | "ALL")?
|
2093
2074
|
}?,
|
2094
|
-
|
2095
|
-
|
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
|
-
|
2082
|
+
sort_order: ("ASC" | "DESC")?,
|
2083
|
+
sort_by: ("CRITICAL" | "HIGH" | "ALL")?
|
2084
|
+
}?,
|
2085
|
+
repository_aggregation: {
|
2086
|
+
repositories: Array[
|
2102
2087
|
{
|
2103
|
-
comparison: ("EQUALS"),
|
2104
|
-
|
2105
|
-
value: ::String?
|
2088
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2089
|
+
value: ::String
|
2106
2090
|
},
|
2107
2091
|
]?,
|
2108
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2154
|
+
function_tags: Array[
|
2155
|
+
{
|
2156
|
+
comparison: ("EQUALS"),
|
2157
|
+
key: ::String,
|
2158
|
+
value: ::String?
|
2159
|
+
},
|
2160
|
+
]?,
|
2169
2161
|
sort_order: ("ASC" | "DESC")?,
|
2170
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
2206
|
+
aws_account_id: Array[
|
2211
2207
|
{
|
2212
2208
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2213
2209
|
value: ::String
|
2214
2210
|
},
|
2215
2211
|
]?,
|
2216
|
-
|
2212
|
+
finding_type: Array[
|
2217
2213
|
{
|
2218
2214
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2219
2215
|
value: ::String
|
2220
2216
|
},
|
2221
2217
|
]?,
|
2222
|
-
|
2218
|
+
severity: Array[
|
2223
2219
|
{
|
2224
2220
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2225
2221
|
value: ::String
|
2226
2222
|
},
|
2227
2223
|
]?,
|
2228
|
-
|
2224
|
+
first_observed_at: Array[
|
2229
2225
|
{
|
2230
|
-
|
2231
|
-
|
2226
|
+
start_inclusive: ::Time?,
|
2227
|
+
end_inclusive: ::Time?
|
2232
2228
|
},
|
2233
2229
|
]?,
|
2234
|
-
|
2230
|
+
last_observed_at: Array[
|
2235
2231
|
{
|
2236
|
-
|
2237
|
-
|
2232
|
+
start_inclusive: ::Time?,
|
2233
|
+
end_inclusive: ::Time?
|
2238
2234
|
},
|
2239
2235
|
]?,
|
2240
|
-
|
2236
|
+
updated_at: Array[
|
2241
2237
|
{
|
2242
|
-
|
2243
|
-
|
2238
|
+
start_inclusive: ::Time?,
|
2239
|
+
end_inclusive: ::Time?
|
2244
2240
|
},
|
2245
2241
|
]?,
|
2246
|
-
|
2242
|
+
finding_status: Array[
|
2247
2243
|
{
|
2248
2244
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2249
2245
|
value: ::String
|
2250
2246
|
},
|
2251
2247
|
]?,
|
2252
|
-
|
2248
|
+
title: Array[
|
2253
2249
|
{
|
2254
2250
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2255
2251
|
value: ::String
|
2256
2252
|
},
|
2257
2253
|
]?,
|
2258
|
-
|
2254
|
+
inspector_score: Array[
|
2259
2255
|
{
|
2260
|
-
|
2261
|
-
|
2256
|
+
upper_inclusive: ::Float?,
|
2257
|
+
lower_inclusive: ::Float?
|
2262
2258
|
},
|
2263
2259
|
]?,
|
2264
|
-
|
2260
|
+
resource_type: Array[
|
2265
2261
|
{
|
2266
2262
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2267
2263
|
value: ::String
|
2268
2264
|
},
|
2269
2265
|
]?,
|
2270
|
-
|
2266
|
+
resource_id: Array[
|
2271
2267
|
{
|
2272
2268
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2273
2269
|
value: ::String
|
2274
2270
|
},
|
2275
2271
|
]?,
|
2276
|
-
|
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
|
-
|
2291
|
-
|
2274
|
+
comparison: ("EQUALS"),
|
2275
|
+
key: ::String,
|
2276
|
+
value: ::String?
|
2292
2277
|
},
|
2293
2278
|
]?,
|
2294
|
-
|
2279
|
+
ec2_instance_image_id: Array[
|
2295
2280
|
{
|
2296
2281
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2297
2282
|
value: ::String
|
2298
2283
|
},
|
2299
2284
|
]?,
|
2300
|
-
|
2285
|
+
ec2_instance_vpc_id: Array[
|
2301
2286
|
{
|
2302
2287
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2303
2288
|
value: ::String
|
2304
2289
|
},
|
2305
2290
|
]?,
|
2306
|
-
|
2291
|
+
ec2_instance_subnet_id: Array[
|
2307
2292
|
{
|
2308
2293
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2309
2294
|
value: ::String
|
2310
2295
|
},
|
2311
2296
|
]?,
|
2312
|
-
|
2297
|
+
ecr_image_pushed_at: Array[
|
2313
2298
|
{
|
2314
|
-
|
2315
|
-
|
2299
|
+
start_inclusive: ::Time?,
|
2300
|
+
end_inclusive: ::Time?
|
2316
2301
|
},
|
2317
2302
|
]?,
|
2318
|
-
|
2303
|
+
ecr_image_architecture: Array[
|
2319
2304
|
{
|
2320
2305
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2321
2306
|
value: ::String
|
2322
2307
|
},
|
2323
2308
|
]?,
|
2324
|
-
|
2309
|
+
ecr_image_registry: Array[
|
2325
2310
|
{
|
2326
2311
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2327
2312
|
value: ::String
|
2328
2313
|
},
|
2329
2314
|
]?,
|
2330
|
-
|
2315
|
+
ecr_image_repository_name: Array[
|
2331
2316
|
{
|
2332
2317
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2333
2318
|
value: ::String
|
2334
2319
|
},
|
2335
2320
|
]?,
|
2336
|
-
|
2321
|
+
ecr_image_tags: Array[
|
2337
2322
|
{
|
2338
2323
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2339
2324
|
value: ::String
|
2340
2325
|
},
|
2341
2326
|
]?,
|
2342
|
-
|
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
|
-
|
2333
|
+
ecr_image_last_in_use_at: Array[
|
2355
2334
|
{
|
2356
|
-
|
2357
|
-
|
2335
|
+
start_inclusive: ::Time?,
|
2336
|
+
end_inclusive: ::Time?
|
2358
2337
|
},
|
2359
2338
|
]?,
|
2360
|
-
|
2339
|
+
ecr_image_in_use_count: Array[
|
2361
2340
|
{
|
2362
|
-
|
2363
|
-
|
2341
|
+
upper_inclusive: ::Float?,
|
2342
|
+
lower_inclusive: ::Float?
|
2364
2343
|
},
|
2365
2344
|
]?,
|
2366
|
-
|
2345
|
+
port_range: Array[
|
2367
2346
|
{
|
2368
|
-
|
2369
|
-
|
2347
|
+
begin_inclusive: ::Integer?,
|
2348
|
+
end_inclusive: ::Integer?
|
2370
2349
|
},
|
2371
2350
|
]?,
|
2372
|
-
|
2351
|
+
network_protocol: Array[
|
2373
2352
|
{
|
2374
2353
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2375
2354
|
value: ::String
|
2376
2355
|
},
|
2377
2356
|
]?,
|
2378
|
-
|
2357
|
+
component_id: Array[
|
2379
2358
|
{
|
2380
2359
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2381
2360
|
value: ::String
|
2382
2361
|
},
|
2383
2362
|
]?,
|
2384
|
-
|
2363
|
+
component_type: Array[
|
2385
2364
|
{
|
2386
2365
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2387
2366
|
value: ::String
|
2388
2367
|
},
|
2389
2368
|
]?,
|
2390
|
-
|
2369
|
+
vulnerability_id: Array[
|
2391
2370
|
{
|
2392
|
-
|
2393
|
-
|
2371
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2372
|
+
value: ::String
|
2394
2373
|
},
|
2395
2374
|
]?,
|
2396
|
-
|
2375
|
+
vulnerability_source: Array[
|
2397
2376
|
{
|
2398
2377
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2399
2378
|
value: ::String
|
2400
2379
|
},
|
2401
2380
|
]?,
|
2402
|
-
|
2381
|
+
vendor_severity: Array[
|
2403
2382
|
{
|
2404
|
-
|
2405
|
-
|
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
|
-
|
2429
|
+
fix_available: Array[
|
2415
2430
|
{
|
2416
2431
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2417
2432
|
value: ::String
|
2418
2433
|
},
|
2419
2434
|
]?,
|
2420
|
-
|
2435
|
+
lambda_function_name: Array[
|
2421
2436
|
{
|
2422
|
-
comparison: ("EQUALS"),
|
2423
|
-
|
2424
|
-
value: ::String?
|
2437
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2438
|
+
value: ::String
|
2425
2439
|
},
|
2426
2440
|
]?,
|
2427
|
-
|
2441
|
+
lambda_function_layers: Array[
|
2428
2442
|
{
|
2429
2443
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2430
2444
|
value: ::String
|
2431
2445
|
},
|
2432
2446
|
]?,
|
2433
|
-
|
2447
|
+
lambda_function_runtime: Array[
|
2434
2448
|
{
|
2435
2449
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2436
2450
|
value: ::String
|
2437
2451
|
},
|
2438
2452
|
]?,
|
2439
|
-
|
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
|
-
|
2465
|
+
exploit_available: Array[
|
2446
2466
|
{
|
2447
|
-
|
2448
|
-
|
2467
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2468
|
+
value: ::String
|
2449
2469
|
},
|
2450
2470
|
]?,
|
2451
|
-
|
2471
|
+
code_vulnerability_detector_name: Array[
|
2452
2472
|
{
|
2453
2473
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2454
2474
|
value: ::String
|
2455
2475
|
},
|
2456
2476
|
]?,
|
2457
|
-
|
2477
|
+
code_vulnerability_detector_tags: Array[
|
2458
2478
|
{
|
2459
2479
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2460
2480
|
value: ::String
|
2461
2481
|
},
|
2462
2482
|
]?,
|
2463
|
-
|
2483
|
+
code_vulnerability_file_path: Array[
|
2464
2484
|
{
|
2465
2485
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2466
2486
|
value: ::String
|
2467
2487
|
},
|
2468
2488
|
]?,
|
2469
|
-
|
2489
|
+
epss_score: Array[
|
2470
2490
|
{
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2483
|
-
|
2484
|
-
|
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
|
-
|
2557
|
-
|
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
|
-
|
2635
|
-
|
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
|
-
|
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
|
-
|
2648
|
-
|
2649
|
-
|
2643
|
+
unknown_checks: ::Integer?,
|
2644
|
+
not_applicable_checks: ::Integer?,
|
2645
|
+
informational_checks: ::Integer?,
|
2646
|
+
error_checks: ::Integer?
|
2650
2647
|
},
|
2651
|
-
|
2652
|
-
|
2653
|
-
|
2654
|
-
|
2655
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
2796
|
-
|
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
|
-
|
2809
|
+
finding_arn: Array[
|
2811
2810
|
{
|
2812
2811
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2813
2812
|
value: ::String
|
2814
2813
|
},
|
2815
2814
|
]?,
|
2816
|
-
|
2815
|
+
aws_account_id: Array[
|
2817
2816
|
{
|
2818
2817
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2819
2818
|
value: ::String
|
2820
2819
|
},
|
2821
2820
|
]?,
|
2822
|
-
|
2821
|
+
finding_type: Array[
|
2823
2822
|
{
|
2824
2823
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2825
2824
|
value: ::String
|
2826
2825
|
},
|
2827
2826
|
]?,
|
2828
|
-
|
2827
|
+
severity: Array[
|
2829
2828
|
{
|
2830
2829
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2831
2830
|
value: ::String
|
2832
2831
|
},
|
2833
2832
|
]?,
|
2834
|
-
|
2833
|
+
first_observed_at: Array[
|
2835
2834
|
{
|
2836
|
-
|
2837
|
-
|
2835
|
+
start_inclusive: ::Time?,
|
2836
|
+
end_inclusive: ::Time?
|
2838
2837
|
},
|
2839
2838
|
]?,
|
2840
|
-
|
2839
|
+
last_observed_at: Array[
|
2841
2840
|
{
|
2842
|
-
|
2843
|
-
|
2841
|
+
start_inclusive: ::Time?,
|
2842
|
+
end_inclusive: ::Time?
|
2844
2843
|
},
|
2845
2844
|
]?,
|
2846
|
-
|
2845
|
+
updated_at: Array[
|
2847
2846
|
{
|
2848
|
-
|
2849
|
-
|
2847
|
+
start_inclusive: ::Time?,
|
2848
|
+
end_inclusive: ::Time?
|
2850
2849
|
},
|
2851
2850
|
]?,
|
2852
|
-
|
2851
|
+
finding_status: Array[
|
2853
2852
|
{
|
2854
2853
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2855
2854
|
value: ::String
|
2856
2855
|
},
|
2857
2856
|
]?,
|
2858
|
-
|
2857
|
+
title: Array[
|
2859
2858
|
{
|
2860
2859
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2861
2860
|
value: ::String
|
2862
2861
|
},
|
2863
2862
|
]?,
|
2864
|
-
|
2863
|
+
inspector_score: Array[
|
2865
2864
|
{
|
2866
|
-
|
2867
|
-
|
2865
|
+
upper_inclusive: ::Float?,
|
2866
|
+
lower_inclusive: ::Float?
|
2868
2867
|
},
|
2869
2868
|
]?,
|
2870
|
-
|
2869
|
+
resource_type: Array[
|
2871
2870
|
{
|
2872
2871
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2873
2872
|
value: ::String
|
2874
2873
|
},
|
2875
2874
|
]?,
|
2876
|
-
|
2875
|
+
resource_id: Array[
|
2877
2876
|
{
|
2878
2877
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2879
2878
|
value: ::String
|
2880
2879
|
},
|
2881
2880
|
]?,
|
2882
|
-
|
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
|
-
|
2894
|
+
ec2_instance_vpc_id: Array[
|
2889
2895
|
{
|
2890
|
-
|
2891
|
-
|
2896
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2897
|
+
value: ::String
|
2892
2898
|
},
|
2893
2899
|
]?,
|
2894
|
-
|
2900
|
+
ec2_instance_subnet_id: Array[
|
2895
2901
|
{
|
2896
|
-
|
2897
|
-
|
2902
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2903
|
+
value: ::String
|
2898
2904
|
},
|
2899
2905
|
]?,
|
2900
2906
|
ecr_image_pushed_at: Array[
|
2901
2907
|
{
|
2902
|
-
|
2903
|
-
|
2908
|
+
start_inclusive: ::Time?,
|
2909
|
+
end_inclusive: ::Time?
|
2904
2910
|
},
|
2905
2911
|
]?,
|
2906
|
-
|
2912
|
+
ecr_image_architecture: Array[
|
2907
2913
|
{
|
2908
2914
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2909
2915
|
value: ::String
|
2910
2916
|
},
|
2911
2917
|
]?,
|
2912
|
-
|
2918
|
+
ecr_image_registry: Array[
|
2913
2919
|
{
|
2914
2920
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2915
2921
|
value: ::String
|
2916
2922
|
},
|
2917
2923
|
]?,
|
2918
|
-
|
2924
|
+
ecr_image_repository_name: Array[
|
2919
2925
|
{
|
2920
2926
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2921
2927
|
value: ::String
|
2922
2928
|
},
|
2923
2929
|
]?,
|
2924
|
-
|
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
|
-
|
2936
|
+
ecr_image_hash: Array[
|
2937
2937
|
{
|
2938
2938
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2939
2939
|
value: ::String
|
2940
2940
|
},
|
2941
2941
|
]?,
|
2942
|
-
|
2942
|
+
ecr_image_last_in_use_at: Array[
|
2943
2943
|
{
|
2944
|
-
|
2945
|
-
|
2944
|
+
start_inclusive: ::Time?,
|
2945
|
+
end_inclusive: ::Time?
|
2946
2946
|
},
|
2947
2947
|
]?,
|
2948
|
-
|
2948
|
+
ecr_image_in_use_count: Array[
|
2949
2949
|
{
|
2950
|
-
|
2951
|
-
|
2950
|
+
upper_inclusive: ::Float?,
|
2951
|
+
lower_inclusive: ::Float?
|
2952
2952
|
},
|
2953
2953
|
]?,
|
2954
|
-
|
2954
|
+
port_range: Array[
|
2955
2955
|
{
|
2956
|
-
|
2957
|
-
|
2956
|
+
begin_inclusive: ::Integer?,
|
2957
|
+
end_inclusive: ::Integer?
|
2958
2958
|
},
|
2959
2959
|
]?,
|
2960
|
-
|
2960
|
+
network_protocol: Array[
|
2961
2961
|
{
|
2962
2962
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2963
2963
|
value: ::String
|
2964
2964
|
},
|
2965
2965
|
]?,
|
2966
|
-
|
2966
|
+
component_id: Array[
|
2967
2967
|
{
|
2968
|
-
|
2969
|
-
|
2968
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2969
|
+
value: ::String
|
2970
2970
|
},
|
2971
2971
|
]?,
|
2972
|
-
|
2972
|
+
component_type: Array[
|
2973
2973
|
{
|
2974
2974
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2975
2975
|
value: ::String
|
2976
2976
|
},
|
2977
2977
|
]?,
|
2978
|
-
|
2978
|
+
vulnerability_id: Array[
|
2979
2979
|
{
|
2980
|
-
|
2981
|
-
|
2980
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2981
|
+
value: ::String
|
2982
2982
|
},
|
2983
2983
|
]?,
|
2984
|
-
|
2984
|
+
vulnerability_source: Array[
|
2985
2985
|
{
|
2986
2986
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2987
2987
|
value: ::String
|
2988
2988
|
},
|
2989
2989
|
]?,
|
2990
|
-
|
2990
|
+
vendor_severity: Array[
|
2991
2991
|
{
|
2992
2992
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
2993
2993
|
value: ::String
|
2994
2994
|
},
|
2995
2995
|
]?,
|
2996
|
-
|
2996
|
+
vulnerable_packages: Array[
|
2997
2997
|
{
|
2998
|
-
|
2999
|
-
|
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
|
-
|
3032
|
+
related_vulnerabilities: Array[
|
3003
3033
|
{
|
3004
|
-
|
3005
|
-
|
3034
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3035
|
+
value: ::String
|
3006
3036
|
},
|
3007
3037
|
]?,
|
3008
|
-
|
3038
|
+
fix_available: Array[
|
3009
3039
|
{
|
3010
3040
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3011
3041
|
value: ::String
|
3012
3042
|
},
|
3013
3043
|
]?,
|
3014
|
-
|
3044
|
+
lambda_function_name: Array[
|
3015
3045
|
{
|
3016
|
-
|
3017
|
-
|
3046
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3047
|
+
value: ::String
|
3018
3048
|
},
|
3019
3049
|
]?,
|
3020
|
-
|
3050
|
+
lambda_function_layers: Array[
|
3021
3051
|
{
|
3022
3052
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3023
3053
|
value: ::String
|
3024
3054
|
},
|
3025
3055
|
]?,
|
3026
|
-
|
3056
|
+
lambda_function_runtime: Array[
|
3027
3057
|
{
|
3028
3058
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3029
3059
|
value: ::String
|
3030
3060
|
},
|
3031
3061
|
]?,
|
3032
|
-
|
3062
|
+
lambda_function_last_modified_at: Array[
|
3033
3063
|
{
|
3034
|
-
|
3035
|
-
|
3036
|
-
value: ::String?
|
3064
|
+
start_inclusive: ::Time?,
|
3065
|
+
end_inclusive: ::Time?
|
3037
3066
|
},
|
3038
3067
|
]?,
|
3039
|
-
|
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
|
-
|
3074
|
+
exploit_available: Array[
|
3046
3075
|
{
|
3047
3076
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3048
3077
|
value: ::String
|
3049
3078
|
},
|
3050
3079
|
]?,
|
3051
|
-
|
3080
|
+
code_vulnerability_detector_name: Array[
|
3052
3081
|
{
|
3053
3082
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3054
3083
|
value: ::String
|
3055
3084
|
},
|
3056
3085
|
]?,
|
3057
|
-
|
3086
|
+
code_vulnerability_detector_tags: Array[
|
3058
3087
|
{
|
3059
|
-
|
3060
|
-
|
3088
|
+
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3089
|
+
value: ::String
|
3061
3090
|
},
|
3062
3091
|
]?,
|
3063
|
-
|
3092
|
+
code_vulnerability_file_path: Array[
|
3064
3093
|
{
|
3065
3094
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3066
3095
|
value: ::String
|
3067
3096
|
},
|
3068
3097
|
]?,
|
3069
|
-
|
3098
|
+
epss_score: Array[
|
3070
3099
|
{
|
3071
|
-
|
3072
|
-
|
3100
|
+
upper_inclusive: ::Float?,
|
3101
|
+
lower_inclusive: ::Float?
|
3073
3102
|
},
|
3074
3103
|
]?,
|
3075
|
-
|
3104
|
+
code_repository_project_name: Array[
|
3076
3105
|
{
|
3077
3106
|
comparison: ("EQUALS" | "PREFIX" | "NOT_EQUALS"),
|
3078
3107
|
value: ::String
|
3079
3108
|
},
|
3080
3109
|
]?,
|
3081
|
-
|
3110
|
+
code_repository_provider_type: Array[
|
3082
3111
|
{
|
3083
|
-
|
3084
|
-
|
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
|