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