aws-sdk-inspector2 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/types.rbs CHANGED
@@ -15,31 +15,31 @@ module Aws::Inspector2
15
15
 
16
16
  class Account
17
17
  attr_accessor account_id: ::String
18
- attr_accessor resource_status: Types::ResourceStatus
19
18
  attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
19
+ attr_accessor resource_status: Types::ResourceStatus
20
20
  SENSITIVE: []
21
21
  end
22
22
 
23
23
  class AccountAggregation
24
24
  attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
25
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")
26
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
25
+ attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
27
26
  attr_accessor sort_order: ("ASC" | "DESC")
27
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
28
28
  SENSITIVE: []
29
29
  end
30
30
 
31
31
  class AccountAggregationResponse
32
32
  attr_accessor account_id: ::String
33
+ attr_accessor severity_counts: Types::SeverityCounts
33
34
  attr_accessor exploit_available_count: ::Integer
34
35
  attr_accessor fix_available_count: ::Integer
35
- attr_accessor severity_counts: Types::SeverityCounts
36
36
  SENSITIVE: []
37
37
  end
38
38
 
39
39
  class AccountState
40
40
  attr_accessor account_id: ::String
41
- attr_accessor resource_state: Types::ResourceState
42
41
  attr_accessor state: Types::State
42
+ attr_accessor resource_state: Types::ResourceState
43
43
  SENSITIVE: []
44
44
  end
45
45
 
@@ -47,15 +47,15 @@ module Aws::Inspector2
47
47
  attr_accessor account_aggregation: Types::AccountAggregation
48
48
  attr_accessor ami_aggregation: Types::AmiAggregation
49
49
  attr_accessor aws_ecr_container_aggregation: Types::AwsEcrContainerAggregation
50
- attr_accessor code_repository_aggregation: Types::CodeRepositoryAggregation
51
50
  attr_accessor ec2_instance_aggregation: Types::Ec2InstanceAggregation
52
51
  attr_accessor finding_type_aggregation: Types::FindingTypeAggregation
53
52
  attr_accessor image_layer_aggregation: Types::ImageLayerAggregation
54
- attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregation
55
- attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregation
56
53
  attr_accessor package_aggregation: Types::PackageAggregation
57
54
  attr_accessor repository_aggregation: Types::RepositoryAggregation
58
55
  attr_accessor title_aggregation: Types::TitleAggregation
56
+ attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregation
57
+ attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregation
58
+ attr_accessor code_repository_aggregation: Types::CodeRepositoryAggregation
59
59
  attr_accessor unknown: untyped
60
60
  SENSITIVE: []
61
61
 
@@ -65,24 +65,24 @@ module Aws::Inspector2
65
65
  end
66
66
  class AwsEcrContainerAggregation < AggregationRequest
67
67
  end
68
- class CodeRepositoryAggregation < AggregationRequest
69
- end
70
68
  class Ec2InstanceAggregation < AggregationRequest
71
69
  end
72
70
  class FindingTypeAggregation < AggregationRequest
73
71
  end
74
72
  class ImageLayerAggregation < AggregationRequest
75
73
  end
76
- class LambdaFunctionAggregation < AggregationRequest
77
- end
78
- class LambdaLayerAggregation < AggregationRequest
79
- end
80
74
  class PackageAggregation < AggregationRequest
81
75
  end
82
76
  class RepositoryAggregation < AggregationRequest
83
77
  end
84
78
  class TitleAggregation < AggregationRequest
85
79
  end
80
+ class LambdaLayerAggregation < AggregationRequest
81
+ end
82
+ class LambdaFunctionAggregation < AggregationRequest
83
+ end
84
+ class CodeRepositoryAggregation < AggregationRequest
85
+ end
86
86
  class Unknown < AggregationRequest
87
87
  end
88
88
  end
@@ -91,15 +91,15 @@ module Aws::Inspector2
91
91
  attr_accessor account_aggregation: Types::AccountAggregationResponse
92
92
  attr_accessor ami_aggregation: Types::AmiAggregationResponse
93
93
  attr_accessor aws_ecr_container_aggregation: Types::AwsEcrContainerAggregationResponse
94
- attr_accessor code_repository_aggregation: Types::CodeRepositoryAggregationResponse
95
94
  attr_accessor ec2_instance_aggregation: Types::Ec2InstanceAggregationResponse
96
95
  attr_accessor finding_type_aggregation: Types::FindingTypeAggregationResponse
97
96
  attr_accessor image_layer_aggregation: Types::ImageLayerAggregationResponse
98
- attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregationResponse
99
- attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregationResponse
100
97
  attr_accessor package_aggregation: Types::PackageAggregationResponse
101
98
  attr_accessor repository_aggregation: Types::RepositoryAggregationResponse
102
99
  attr_accessor title_aggregation: Types::TitleAggregationResponse
100
+ attr_accessor lambda_layer_aggregation: Types::LambdaLayerAggregationResponse
101
+ attr_accessor lambda_function_aggregation: Types::LambdaFunctionAggregationResponse
102
+ attr_accessor code_repository_aggregation: Types::CodeRepositoryAggregationResponse
103
103
  attr_accessor unknown: untyped
104
104
  SENSITIVE: []
105
105
 
@@ -109,46 +109,46 @@ module Aws::Inspector2
109
109
  end
110
110
  class AwsEcrContainerAggregation < AggregationResponse
111
111
  end
112
- class CodeRepositoryAggregation < AggregationResponse
113
- end
114
112
  class Ec2InstanceAggregation < AggregationResponse
115
113
  end
116
114
  class FindingTypeAggregation < AggregationResponse
117
115
  end
118
116
  class ImageLayerAggregation < AggregationResponse
119
117
  end
120
- class LambdaFunctionAggregation < AggregationResponse
121
- end
122
- class LambdaLayerAggregation < AggregationResponse
123
- end
124
118
  class PackageAggregation < AggregationResponse
125
119
  end
126
120
  class RepositoryAggregation < AggregationResponse
127
121
  end
128
122
  class TitleAggregation < AggregationResponse
129
123
  end
124
+ class LambdaLayerAggregation < AggregationResponse
125
+ end
126
+ class LambdaFunctionAggregation < AggregationResponse
127
+ end
128
+ class CodeRepositoryAggregation < AggregationResponse
129
+ end
130
130
  class Unknown < AggregationResponse
131
131
  end
132
132
  end
133
133
 
134
134
  class AmiAggregation
135
135
  attr_accessor amis: ::Array[Types::StringFilter]
136
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_INSTANCES")
137
136
  attr_accessor sort_order: ("ASC" | "DESC")
137
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_INSTANCES")
138
138
  SENSITIVE: []
139
139
  end
140
140
 
141
141
  class AmiAggregationResponse
142
- attr_accessor account_id: ::String
143
- attr_accessor affected_instances: ::Integer
144
142
  attr_accessor ami: ::String
143
+ attr_accessor account_id: ::String
145
144
  attr_accessor severity_counts: Types::SeverityCounts
145
+ attr_accessor affected_instances: ::Integer
146
146
  SENSITIVE: []
147
147
  end
148
148
 
149
149
  class AssociateConfigurationRequest
150
- attr_accessor resource: Types::CodeSecurityResource
151
150
  attr_accessor scan_configuration_arn: ::String
151
+ attr_accessor resource: Types::CodeSecurityResource
152
152
  SENSITIVE: []
153
153
  end
154
154
 
@@ -171,65 +171,65 @@ module Aws::Inspector2
171
171
  end
172
172
 
173
173
  class AutoEnable
174
- attr_accessor code_repository: bool
175
174
  attr_accessor ec2: bool
176
175
  attr_accessor ecr: bool
177
176
  attr_accessor lambda: bool
178
177
  attr_accessor lambda_code: bool
178
+ attr_accessor code_repository: bool
179
179
  SENSITIVE: []
180
180
  end
181
181
 
182
182
  class AwsEc2InstanceDetails
183
- attr_accessor iam_instance_profile_arn: ::String
183
+ attr_accessor type: ::String
184
184
  attr_accessor image_id: ::String
185
185
  attr_accessor ip_v4_addresses: ::Array[::String]
186
186
  attr_accessor ip_v6_addresses: ::Array[::String]
187
187
  attr_accessor key_name: ::String
188
+ attr_accessor iam_instance_profile_arn: ::String
189
+ attr_accessor vpc_id: ::String
190
+ attr_accessor subnet_id: ::String
188
191
  attr_accessor launched_at: ::Time
189
192
  attr_accessor platform: ::String
190
- attr_accessor subnet_id: ::String
191
- attr_accessor type: ::String
192
- attr_accessor vpc_id: ::String
193
193
  SENSITIVE: []
194
194
  end
195
195
 
196
196
  class AwsEcrContainerAggregation
197
- attr_accessor architectures: ::Array[Types::StringFilter]
197
+ attr_accessor resource_ids: ::Array[Types::StringFilter]
198
198
  attr_accessor image_shas: ::Array[Types::StringFilter]
199
- attr_accessor image_tags: ::Array[Types::StringFilter]
200
- attr_accessor in_use_count: ::Array[Types::NumberFilter]
201
- attr_accessor last_in_use_at: ::Array[Types::DateFilter]
202
199
  attr_accessor repositories: ::Array[Types::StringFilter]
203
- attr_accessor resource_ids: ::Array[Types::StringFilter]
204
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
200
+ attr_accessor architectures: ::Array[Types::StringFilter]
201
+ attr_accessor image_tags: ::Array[Types::StringFilter]
205
202
  attr_accessor sort_order: ("ASC" | "DESC")
203
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
204
+ attr_accessor last_in_use_at: ::Array[Types::DateFilter]
205
+ attr_accessor in_use_count: ::Array[Types::NumberFilter]
206
206
  SENSITIVE: []
207
207
  end
208
208
 
209
209
  class AwsEcrContainerAggregationResponse
210
- attr_accessor account_id: ::String
211
- attr_accessor architecture: ::String
210
+ attr_accessor resource_id: ::String
212
211
  attr_accessor image_sha: ::String
213
- attr_accessor image_tags: ::Array[::String]
214
- attr_accessor in_use_count: ::Integer
215
- attr_accessor last_in_use_at: ::Time
216
212
  attr_accessor repository: ::String
217
- attr_accessor resource_id: ::String
213
+ attr_accessor architecture: ::String
214
+ attr_accessor image_tags: ::Array[::String]
215
+ attr_accessor account_id: ::String
218
216
  attr_accessor severity_counts: Types::SeverityCounts
217
+ attr_accessor last_in_use_at: ::Time
218
+ attr_accessor in_use_count: ::Integer
219
219
  SENSITIVE: []
220
220
  end
221
221
 
222
222
  class AwsEcrContainerImageDetails
223
- attr_accessor architecture: ::String
224
- attr_accessor author: ::String
225
- attr_accessor image_hash: ::String
223
+ attr_accessor repository_name: ::String
226
224
  attr_accessor image_tags: ::Array[::String]
227
- attr_accessor in_use_count: ::Integer
228
- attr_accessor last_in_use_at: ::Time
229
- attr_accessor platform: ::String
230
225
  attr_accessor pushed_at: ::Time
226
+ attr_accessor author: ::String
227
+ attr_accessor architecture: ::String
228
+ attr_accessor image_hash: ::String
231
229
  attr_accessor registry: ::String
232
- attr_accessor repository_name: ::String
230
+ attr_accessor platform: ::String
231
+ attr_accessor last_in_use_at: ::Time
232
+ attr_accessor in_use_count: ::Integer
233
233
  SENSITIVE: []
234
234
  end
235
235
 
@@ -252,16 +252,16 @@ module Aws::Inspector2
252
252
  end
253
253
 
254
254
  class AwsLambdaFunctionDetails
255
- attr_accessor architectures: ::Array[("X86_64" | "ARM64")]
256
- attr_accessor code_sha_256: ::String
257
- attr_accessor execution_role_arn: ::String
258
255
  attr_accessor function_name: ::String
259
- attr_accessor last_modified_at: ::Time
260
- attr_accessor layers: ::Array[::String]
261
- attr_accessor package_type: ("IMAGE" | "ZIP")
262
256
  attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10" | "PYTHON_3_11" | "DOTNETCORE_3_1" | "DOTNET_6" | "DOTNET_7" | "RUBY_2_7" | "RUBY_3_2")
257
+ attr_accessor code_sha_256: ::String
263
258
  attr_accessor version: ::String
259
+ attr_accessor execution_role_arn: ::String
260
+ attr_accessor layers: ::Array[::String]
264
261
  attr_accessor vpc_config: Types::LambdaVpcConfig
262
+ attr_accessor package_type: ("IMAGE" | "ZIP")
263
+ attr_accessor architectures: ::Array[("X86_64" | "ARM64")]
264
+ attr_accessor last_modified_at: ::Time
265
265
  SENSITIVE: []
266
266
  end
267
267
 
@@ -320,8 +320,8 @@ module Aws::Inspector2
320
320
  end
321
321
 
322
322
  class BatchGetFindingDetailsResponse
323
- attr_accessor errors: ::Array[Types::FindingDetailsError]
324
323
  attr_accessor finding_details: ::Array[Types::FindingDetail]
324
+ attr_accessor errors: ::Array[Types::FindingDetailsError]
325
325
  SENSITIVE: []
326
326
  end
327
327
 
@@ -379,14 +379,14 @@ module Aws::Inspector2
379
379
  end
380
380
 
381
381
  class CisCheckAggregation
382
- attr_accessor account_id: ::String
383
- attr_accessor check_description: ::String
382
+ attr_accessor scan_arn: ::String
384
383
  attr_accessor check_id: ::String
384
+ attr_accessor title: ::String
385
+ attr_accessor check_description: ::String
385
386
  attr_accessor level: ("LEVEL_1" | "LEVEL_2")
386
- attr_accessor platform: ::String
387
- attr_accessor scan_arn: ::String
387
+ attr_accessor account_id: ::String
388
388
  attr_accessor status_counts: Types::StatusCounts
389
- attr_accessor title: ::String
389
+ attr_accessor platform: ::String
390
390
  SENSITIVE: []
391
391
  end
392
392
 
@@ -403,8 +403,8 @@ module Aws::Inspector2
403
403
  end
404
404
 
405
405
  class CisNumberFilter
406
- attr_accessor lower_inclusive: ::Integer
407
406
  attr_accessor upper_inclusive: ::Integer
407
+ attr_accessor lower_inclusive: ::Integer
408
408
  SENSITIVE: []
409
409
  end
410
410
 
@@ -415,75 +415,75 @@ module Aws::Inspector2
415
415
  end
416
416
 
417
417
  class CisScan
418
- attr_accessor failed_checks: ::Integer
419
418
  attr_accessor scan_arn: ::String
420
419
  attr_accessor scan_configuration_arn: ::String
421
- attr_accessor scan_date: ::Time
420
+ attr_accessor status: ("FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS")
422
421
  attr_accessor scan_name: ::String
422
+ attr_accessor scan_date: ::Time
423
+ attr_accessor failed_checks: ::Integer
424
+ attr_accessor total_checks: ::Integer
425
+ attr_accessor targets: Types::CisTargets
423
426
  attr_accessor scheduled_by: ::String
424
427
  attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
425
- attr_accessor status: ("FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS")
426
- attr_accessor targets: Types::CisTargets
427
- attr_accessor total_checks: ::Integer
428
428
  SENSITIVE: []
429
429
  end
430
430
 
431
431
  class CisScanConfiguration
432
- attr_accessor owner_id: ::String
433
432
  attr_accessor scan_configuration_arn: ::String
433
+ attr_accessor owner_id: ::String
434
434
  attr_accessor scan_name: ::String
435
- attr_accessor schedule: Types::Schedule
436
435
  attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
437
- attr_accessor tags: ::Hash[::String, ::String]
436
+ attr_accessor schedule: Types::Schedule
438
437
  attr_accessor targets: Types::CisTargets
438
+ attr_accessor tags: ::Hash[::String, ::String]
439
439
  SENSITIVE: []
440
440
  end
441
441
 
442
442
  class CisScanResultDetails
443
+ attr_accessor scan_arn: ::String
443
444
  attr_accessor account_id: ::String
444
- attr_accessor check_description: ::String
445
- attr_accessor check_id: ::String
446
- attr_accessor finding_arn: ::String
447
- attr_accessor level: ("LEVEL_1" | "LEVEL_2")
445
+ attr_accessor target_resource_id: ::String
448
446
  attr_accessor platform: ::String
449
- attr_accessor remediation: ::String
450
- attr_accessor scan_arn: ::String
451
447
  attr_accessor status: ("PASSED" | "FAILED" | "SKIPPED")
452
448
  attr_accessor status_reason: ::String
453
- attr_accessor target_resource_id: ::String
449
+ attr_accessor check_id: ::String
454
450
  attr_accessor title: ::String
451
+ attr_accessor check_description: ::String
452
+ attr_accessor remediation: ::String
453
+ attr_accessor level: ("LEVEL_1" | "LEVEL_2")
454
+ attr_accessor finding_arn: ::String
455
455
  SENSITIVE: []
456
456
  end
457
457
 
458
458
  class CisScanResultDetailsFilterCriteria
459
- attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
460
- attr_accessor finding_arn_filters: ::Array[Types::CisStringFilter]
461
459
  attr_accessor finding_status_filters: ::Array[Types::CisFindingStatusFilter]
462
- attr_accessor security_level_filters: ::Array[Types::CisSecurityLevelFilter]
460
+ attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
463
461
  attr_accessor title_filters: ::Array[Types::CisStringFilter]
462
+ attr_accessor security_level_filters: ::Array[Types::CisSecurityLevelFilter]
463
+ attr_accessor finding_arn_filters: ::Array[Types::CisStringFilter]
464
464
  SENSITIVE: []
465
465
  end
466
466
 
467
467
  class CisScanResultsAggregatedByChecksFilterCriteria
468
468
  attr_accessor account_id_filters: ::Array[Types::CisStringFilter]
469
469
  attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
470
- attr_accessor failed_resources_filters: ::Array[Types::CisNumberFilter]
470
+ attr_accessor title_filters: ::Array[Types::CisStringFilter]
471
471
  attr_accessor platform_filters: ::Array[Types::CisStringFilter]
472
+ attr_accessor failed_resources_filters: ::Array[Types::CisNumberFilter]
472
473
  attr_accessor security_level_filters: ::Array[Types::CisSecurityLevelFilter]
473
- attr_accessor title_filters: ::Array[Types::CisStringFilter]
474
474
  SENSITIVE: []
475
475
  end
476
476
 
477
477
  class CisScanResultsAggregatedByTargetResourceFilterCriteria
478
478
  attr_accessor account_id_filters: ::Array[Types::CisStringFilter]
479
- attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
480
- attr_accessor failed_checks_filters: ::Array[Types::CisNumberFilter]
481
- attr_accessor platform_filters: ::Array[Types::CisStringFilter]
482
479
  attr_accessor status_filters: ::Array[Types::CisResultStatusFilter]
480
+ attr_accessor check_id_filters: ::Array[Types::CisStringFilter]
483
481
  attr_accessor target_resource_id_filters: ::Array[Types::CisStringFilter]
484
482
  attr_accessor target_resource_tag_filters: ::Array[Types::TagFilter]
483
+ attr_accessor platform_filters: ::Array[Types::CisStringFilter]
485
484
  attr_accessor target_status_filters: ::Array[Types::CisTargetStatusFilter]
486
485
  attr_accessor target_status_reason_filters: ::Array[Types::CisTargetStatusReasonFilter]
486
+ attr_accessor failed_checks_filters: ::Array[Types::CisNumberFilter]
487
487
  SENSITIVE: []
488
488
  end
489
489
 
@@ -500,9 +500,9 @@ module Aws::Inspector2
500
500
  end
501
501
 
502
502
  class CisSessionMessage
503
- attr_accessor cis_rule_details: ::String
504
503
  attr_accessor rule_id: ::String
505
504
  attr_accessor status: ("FAILED" | "PASSED" | "NOT_EVALUATED" | "INFORMATIONAL" | "UNKNOWN" | "NOT_APPLICABLE" | "ERROR")
505
+ attr_accessor cis_rule_details: ::String
506
506
  SENSITIVE: []
507
507
  end
508
508
 
@@ -513,12 +513,12 @@ module Aws::Inspector2
513
513
  end
514
514
 
515
515
  class CisTargetResourceAggregation
516
- attr_accessor account_id: ::String
517
- attr_accessor platform: ::String
518
516
  attr_accessor scan_arn: ::String
519
- attr_accessor status_counts: Types::StatusCounts
520
517
  attr_accessor target_resource_id: ::String
518
+ attr_accessor account_id: ::String
521
519
  attr_accessor target_resource_tags: ::Hash[::String, ::Array[::String]]
520
+ attr_accessor status_counts: Types::StatusCounts
521
+ attr_accessor platform: ::String
522
522
  attr_accessor target_status: ("TIMED_OUT" | "CANCELLED" | "COMPLETED")
523
523
  attr_accessor target_status_reason: ("SCAN_IN_PROGRESS" | "UNSUPPORTED_OS" | "SSM_UNMANAGED")
524
524
  SENSITIVE: []
@@ -543,17 +543,17 @@ module Aws::Inspector2
543
543
  end
544
544
 
545
545
  class CisaData
546
- attr_accessor action: ::String
547
546
  attr_accessor date_added: ::Time
548
547
  attr_accessor date_due: ::Time
548
+ attr_accessor action: ::String
549
549
  SENSITIVE: []
550
550
  end
551
551
 
552
552
  class ClusterDetails
553
- attr_accessor cluster_metadata: Types::ClusterMetadata
554
553
  attr_accessor last_in_use: ::Time
555
554
  attr_accessor running_unit_count: ::Integer
556
555
  attr_accessor stopped_unit_count: ::Integer
556
+ attr_accessor cluster_metadata: Types::ClusterMetadata
557
557
  SENSITIVE: []
558
558
  end
559
559
 
@@ -583,10 +583,10 @@ module Aws::Inspector2
583
583
  end
584
584
 
585
585
  class CodeFilePath
586
- attr_accessor end_line: ::Integer
587
586
  attr_accessor file_name: ::String
588
587
  attr_accessor file_path: ::String
589
588
  attr_accessor start_line: ::Integer
589
+ attr_accessor end_line: ::Integer
590
590
  SENSITIVE: []
591
591
  end
592
592
 
@@ -599,57 +599,57 @@ module Aws::Inspector2
599
599
  class CodeRepositoryAggregation
600
600
  attr_accessor project_names: ::Array[Types::StringFilter]
601
601
  attr_accessor provider_types: ::Array[Types::StringFilter]
602
- attr_accessor resource_ids: ::Array[Types::StringFilter]
603
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
604
602
  attr_accessor sort_order: ("ASC" | "DESC")
603
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
604
+ attr_accessor resource_ids: ::Array[Types::StringFilter]
605
605
  SENSITIVE: []
606
606
  end
607
607
 
608
608
  class CodeRepositoryAggregationResponse
609
- attr_accessor account_id: ::String
610
- attr_accessor exploit_available_active_findings_count: ::Integer
611
- attr_accessor fix_available_active_findings_count: ::Integer
612
609
  attr_accessor project_names: ::String
613
610
  attr_accessor provider_type: ::String
614
- attr_accessor resource_id: ::String
615
611
  attr_accessor severity_counts: Types::SeverityCounts
612
+ attr_accessor exploit_available_active_findings_count: ::Integer
613
+ attr_accessor fix_available_active_findings_count: ::Integer
614
+ attr_accessor account_id: ::String
615
+ attr_accessor resource_id: ::String
616
616
  SENSITIVE: []
617
617
  end
618
618
 
619
619
  class CodeRepositoryDetails
620
- attr_accessor integration_arn: ::String
621
620
  attr_accessor project_name: ::String
621
+ attr_accessor integration_arn: ::String
622
622
  attr_accessor provider_type: ("GITHUB" | "GITLAB_SELF_MANAGED")
623
623
  SENSITIVE: []
624
624
  end
625
625
 
626
626
  class CodeRepositoryMetadata
627
- attr_accessor integration_arn: ::String
628
- attr_accessor last_scanned_commit_id: ::String
629
- attr_accessor on_demand_scan: Types::CodeRepositoryOnDemandScan
630
627
  attr_accessor project_name: ::String
628
+ attr_accessor integration_arn: ::String
631
629
  attr_accessor provider_type: ::String
632
630
  attr_accessor provider_type_visibility: ::String
631
+ attr_accessor last_scanned_commit_id: ::String
633
632
  attr_accessor scan_configuration: Types::ProjectCodeSecurityScanConfiguration
633
+ attr_accessor on_demand_scan: Types::CodeRepositoryOnDemandScan
634
634
  SENSITIVE: []
635
635
  end
636
636
 
637
637
  class CodeRepositoryOnDemandScan
638
- attr_accessor last_scan_at: ::Time
639
638
  attr_accessor last_scanned_commit_id: ::String
639
+ attr_accessor last_scan_at: ::Time
640
640
  attr_accessor scan_status: Types::ScanStatus
641
641
  SENSITIVE: []
642
642
  end
643
643
 
644
644
  class CodeSecurityIntegrationSummary
645
- attr_accessor created_on: ::Time
646
645
  attr_accessor integration_arn: ::String
647
- attr_accessor last_update_on: ::Time
648
646
  attr_accessor name: ::String
647
+ attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
649
648
  attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
650
649
  attr_accessor status_reason: ::String
650
+ attr_accessor created_on: ::Time
651
+ attr_accessor last_update_on: ::Time
651
652
  attr_accessor tags: ::Hash[::String, ::String]
652
- attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
653
653
  SENSITIVE: []
654
654
  end
655
655
 
@@ -665,8 +665,8 @@ module Aws::Inspector2
665
665
  end
666
666
 
667
667
  class CodeSecurityScanConfiguration
668
- attr_accessor continuous_integration_scan_configuration: Types::ContinuousIntegrationScanConfiguration
669
668
  attr_accessor periodic_scan_configuration: Types::PeriodicScanConfiguration
669
+ attr_accessor continuous_integration_scan_configuration: Types::ContinuousIntegrationScanConfiguration
670
670
  attr_accessor rule_set_categories: ::Array[("SAST" | "IAC" | "SCA")]
671
671
  SENSITIVE: []
672
672
  end
@@ -677,49 +677,49 @@ module Aws::Inspector2
677
677
  end
678
678
 
679
679
  class CodeSecurityScanConfigurationSummary
680
- attr_accessor continuous_integration_scan_supported_events: ::Array[("PULL_REQUEST" | "PUSH")]
681
- attr_accessor frequency_expression: ::String
680
+ attr_accessor scan_configuration_arn: ::String
682
681
  attr_accessor name: ::String
683
682
  attr_accessor owner_account_id: ::String
684
683
  attr_accessor periodic_scan_frequency: ("WEEKLY" | "MONTHLY" | "NEVER")
684
+ attr_accessor frequency_expression: ::String
685
+ attr_accessor continuous_integration_scan_supported_events: ::Array[("PULL_REQUEST" | "PUSH")]
685
686
  attr_accessor rule_set_categories: ::Array[("SAST" | "IAC" | "SCA")]
686
- attr_accessor scan_configuration_arn: ::String
687
687
  attr_accessor scope_settings: Types::ScopeSettings
688
688
  attr_accessor tags: ::Hash[::String, ::String]
689
689
  SENSITIVE: []
690
690
  end
691
691
 
692
692
  class CodeSnippetError
693
+ attr_accessor finding_arn: ::String
693
694
  attr_accessor error_code: ("INTERNAL_ERROR" | "ACCESS_DENIED" | "CODE_SNIPPET_NOT_FOUND" | "INVALID_INPUT")
694
695
  attr_accessor error_message: ::String
695
- attr_accessor finding_arn: ::String
696
696
  SENSITIVE: []
697
697
  end
698
698
 
699
699
  class CodeSnippetResult
700
- attr_accessor code_snippet: ::Array[Types::CodeLine]
701
- attr_accessor end_line: ::Integer
702
700
  attr_accessor finding_arn: ::String
703
701
  attr_accessor start_line: ::Integer
702
+ attr_accessor end_line: ::Integer
703
+ attr_accessor code_snippet: ::Array[Types::CodeLine]
704
704
  attr_accessor suggested_fixes: ::Array[Types::SuggestedFix]
705
705
  SENSITIVE: []
706
706
  end
707
707
 
708
708
  class CodeVulnerabilityDetails
709
- attr_accessor cwes: ::Array[::String]
710
- attr_accessor detector_id: ::String
711
- attr_accessor detector_name: ::String
712
- attr_accessor detector_tags: ::Array[::String]
713
709
  attr_accessor file_path: Types::CodeFilePath
710
+ attr_accessor detector_tags: ::Array[::String]
714
711
  attr_accessor reference_urls: ::Array[::String]
715
712
  attr_accessor rule_id: ::String
716
713
  attr_accessor source_lambda_layer_arn: ::String
714
+ attr_accessor detector_id: ::String
715
+ attr_accessor detector_name: ::String
716
+ attr_accessor cwes: ::Array[::String]
717
717
  SENSITIVE: []
718
718
  end
719
719
 
720
720
  class ComputePlatform
721
- attr_accessor product: ::String
722
721
  attr_accessor vendor: ::String
722
+ attr_accessor product: ::String
723
723
  attr_accessor version: ::String
724
724
  SENSITIVE: []
725
725
  end
@@ -743,33 +743,33 @@ module Aws::Inspector2
743
743
  end
744
744
 
745
745
  class CoverageDateFilter
746
- attr_accessor end_inclusive: ::Time
747
746
  attr_accessor start_inclusive: ::Time
747
+ attr_accessor end_inclusive: ::Time
748
748
  SENSITIVE: []
749
749
  end
750
750
 
751
751
  class CoverageFilterCriteria
752
+ attr_accessor scan_status_code: ::Array[Types::CoverageStringFilter]
753
+ attr_accessor scan_status_reason: ::Array[Types::CoverageStringFilter]
752
754
  attr_accessor account_id: ::Array[Types::CoverageStringFilter]
753
- attr_accessor code_repository_project_name: ::Array[Types::CoverageStringFilter]
754
- attr_accessor code_repository_provider_type: ::Array[Types::CoverageStringFilter]
755
- attr_accessor code_repository_provider_type_visibility: ::Array[Types::CoverageStringFilter]
756
- attr_accessor ec2_instance_tags: ::Array[Types::CoverageMapFilter]
757
- attr_accessor ecr_image_in_use_count: ::Array[Types::CoverageNumberFilter]
758
- attr_accessor ecr_image_last_in_use_at: ::Array[Types::CoverageDateFilter]
759
- attr_accessor ecr_image_tags: ::Array[Types::CoverageStringFilter]
755
+ attr_accessor resource_id: ::Array[Types::CoverageStringFilter]
756
+ attr_accessor resource_type: ::Array[Types::CoverageStringFilter]
757
+ attr_accessor scan_type: ::Array[Types::CoverageStringFilter]
760
758
  attr_accessor ecr_repository_name: ::Array[Types::CoverageStringFilter]
761
- attr_accessor image_pulled_at: ::Array[Types::CoverageDateFilter]
759
+ attr_accessor ecr_image_tags: ::Array[Types::CoverageStringFilter]
760
+ attr_accessor ec2_instance_tags: ::Array[Types::CoverageMapFilter]
762
761
  attr_accessor lambda_function_name: ::Array[Types::CoverageStringFilter]
763
- attr_accessor lambda_function_runtime: ::Array[Types::CoverageStringFilter]
764
762
  attr_accessor lambda_function_tags: ::Array[Types::CoverageMapFilter]
763
+ attr_accessor lambda_function_runtime: ::Array[Types::CoverageStringFilter]
765
764
  attr_accessor last_scanned_at: ::Array[Types::CoverageDateFilter]
766
- attr_accessor last_scanned_commit_id: ::Array[Types::CoverageStringFilter]
767
- attr_accessor resource_id: ::Array[Types::CoverageStringFilter]
768
- attr_accessor resource_type: ::Array[Types::CoverageStringFilter]
769
765
  attr_accessor scan_mode: ::Array[Types::CoverageStringFilter]
770
- attr_accessor scan_status_code: ::Array[Types::CoverageStringFilter]
771
- attr_accessor scan_status_reason: ::Array[Types::CoverageStringFilter]
772
- attr_accessor scan_type: ::Array[Types::CoverageStringFilter]
766
+ attr_accessor image_pulled_at: ::Array[Types::CoverageDateFilter]
767
+ attr_accessor ecr_image_last_in_use_at: ::Array[Types::CoverageDateFilter]
768
+ attr_accessor ecr_image_in_use_count: ::Array[Types::CoverageNumberFilter]
769
+ attr_accessor code_repository_project_name: ::Array[Types::CoverageStringFilter]
770
+ attr_accessor code_repository_provider_type: ::Array[Types::CoverageStringFilter]
771
+ attr_accessor code_repository_provider_type_visibility: ::Array[Types::CoverageStringFilter]
772
+ attr_accessor last_scanned_commit_id: ::Array[Types::CoverageStringFilter]
773
773
  SENSITIVE: []
774
774
  end
775
775
 
@@ -781,8 +781,8 @@ module Aws::Inspector2
781
781
  end
782
782
 
783
783
  class CoverageNumberFilter
784
- attr_accessor lower_inclusive: ::Integer
785
784
  attr_accessor upper_inclusive: ::Integer
785
+ attr_accessor lower_inclusive: ::Integer
786
786
  SENSITIVE: []
787
787
  end
788
788
 
@@ -793,23 +793,23 @@ module Aws::Inspector2
793
793
  end
794
794
 
795
795
  class CoveredResource
796
- attr_accessor account_id: ::String
797
- attr_accessor last_scanned_at: ::Time
796
+ attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
798
797
  attr_accessor resource_id: ::String
798
+ attr_accessor account_id: ::String
799
+ attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
800
+ attr_accessor scan_status: Types::ScanStatus
799
801
  attr_accessor resource_metadata: Types::ResourceScanMetadata
800
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
802
+ attr_accessor last_scanned_at: ::Time
801
803
  attr_accessor scan_mode: ("EC2_SSM_AGENT_BASED" | "EC2_AGENTLESS")
802
- attr_accessor scan_status: Types::ScanStatus
803
- attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
804
804
  SENSITIVE: []
805
805
  end
806
806
 
807
807
  class CreateCisScanConfigurationRequest
808
808
  attr_accessor scan_name: ::String
809
- attr_accessor schedule: Types::Schedule
810
809
  attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
811
- attr_accessor tags: ::Hash[::String, ::String]
810
+ attr_accessor schedule: Types::Schedule
812
811
  attr_accessor targets: Types::CreateCisTargets
812
+ attr_accessor tags: ::Hash[::String, ::String]
813
813
  SENSITIVE: []
814
814
  end
815
815
 
@@ -825,24 +825,24 @@ module Aws::Inspector2
825
825
  end
826
826
 
827
827
  class CreateCodeSecurityIntegrationRequest
828
- attr_accessor details: Types::CreateIntegrationDetail
829
828
  attr_accessor name: ::String
830
- attr_accessor tags: ::Hash[::String, ::String]
831
829
  attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
830
+ attr_accessor details: Types::CreateIntegrationDetail
831
+ attr_accessor tags: ::Hash[::String, ::String]
832
832
  SENSITIVE: []
833
833
  end
834
834
 
835
835
  class CreateCodeSecurityIntegrationResponse
836
- attr_accessor authorization_url: ::String
837
836
  attr_accessor integration_arn: ::String
838
837
  attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
838
+ attr_accessor authorization_url: ::String
839
839
  SENSITIVE: [:authorization_url]
840
840
  end
841
841
 
842
842
  class CreateCodeSecurityScanConfigurationRequest
843
- attr_accessor configuration: Types::CodeSecurityScanConfiguration
844
- attr_accessor level: ("ORGANIZATION" | "ACCOUNT")
845
843
  attr_accessor name: ::String
844
+ attr_accessor level: ("ORGANIZATION" | "ACCOUNT")
845
+ attr_accessor configuration: Types::CodeSecurityScanConfiguration
846
846
  attr_accessor scope_settings: Types::ScopeSettings
847
847
  attr_accessor tags: ::Hash[::String, ::String]
848
848
  SENSITIVE: []
@@ -858,8 +858,8 @@ module Aws::Inspector2
858
858
  attr_accessor description: ::String
859
859
  attr_accessor filter_criteria: Types::FilterCriteria
860
860
  attr_accessor name: ::String
861
- attr_accessor reason: ::String
862
861
  attr_accessor tags: ::Hash[::String, ::String]
862
+ attr_accessor reason: ::String
863
863
  SENSITIVE: []
864
864
  end
865
865
 
@@ -881,9 +881,9 @@ module Aws::Inspector2
881
881
  end
882
882
 
883
883
  class CreateGitLabSelfManagedIntegrationDetail
884
- attr_accessor access_token: ::String
885
884
  attr_accessor instance_url: ::String
886
- SENSITIVE: [:access_token, :instance_url]
885
+ attr_accessor access_token: ::String
886
+ SENSITIVE: [:instance_url, :access_token]
887
887
  end
888
888
 
889
889
  class CreateIntegrationDetail
@@ -898,8 +898,8 @@ module Aws::Inspector2
898
898
  end
899
899
 
900
900
  class CreateSbomExportRequest
901
- attr_accessor report_format: ("CYCLONEDX_1_4" | "SPDX_2_3")
902
901
  attr_accessor resource_filter_criteria: Types::ResourceFilterCriteria
902
+ attr_accessor report_format: ("CYCLONEDX_1_4" | "SPDX_2_3")
903
903
  attr_accessor s3_destination: Types::Destination
904
904
  SENSITIVE: []
905
905
  end
@@ -924,8 +924,8 @@ module Aws::Inspector2
924
924
  class CvssScore
925
925
  attr_accessor base_score: ::Float
926
926
  attr_accessor scoring_vector: ::String
927
- attr_accessor source: ::String
928
927
  attr_accessor version: ::String
928
+ attr_accessor source: ::String
929
929
  SENSITIVE: []
930
930
  end
931
931
 
@@ -936,12 +936,12 @@ module Aws::Inspector2
936
936
  end
937
937
 
938
938
  class CvssScoreDetails
939
- attr_accessor adjustments: ::Array[Types::CvssScoreAdjustment]
939
+ attr_accessor score_source: ::String
940
940
  attr_accessor cvss_source: ::String
941
+ attr_accessor version: ::String
941
942
  attr_accessor score: ::Float
942
- attr_accessor score_source: ::String
943
943
  attr_accessor scoring_vector: ::String
944
- attr_accessor version: ::String
944
+ attr_accessor adjustments: ::Array[Types::CvssScoreAdjustment]
945
945
  SENSITIVE: []
946
946
  end
947
947
 
@@ -951,8 +951,8 @@ module Aws::Inspector2
951
951
  end
952
952
 
953
953
  class DateFilter
954
- attr_accessor end_inclusive: ::Time
955
954
  attr_accessor start_inclusive: ::Time
955
+ attr_accessor end_inclusive: ::Time
956
956
  SENSITIVE: []
957
957
  end
958
958
 
@@ -1047,8 +1047,8 @@ module Aws::Inspector2
1047
1047
  end
1048
1048
 
1049
1049
  class DisassociateConfigurationRequest
1050
- attr_accessor resource: Types::CodeSecurityResource
1051
1050
  attr_accessor scan_configuration_arn: ::String
1051
+ attr_accessor resource: Types::CodeSecurityResource
1052
1052
  SENSITIVE: []
1053
1053
  end
1054
1054
 
@@ -1074,29 +1074,29 @@ module Aws::Inspector2
1074
1074
 
1075
1075
  class Ec2InstanceAggregation
1076
1076
  attr_accessor amis: ::Array[Types::StringFilter]
1077
+ attr_accessor operating_systems: ::Array[Types::StringFilter]
1077
1078
  attr_accessor instance_ids: ::Array[Types::StringFilter]
1078
1079
  attr_accessor instance_tags: ::Array[Types::MapFilter]
1079
- attr_accessor operating_systems: ::Array[Types::StringFilter]
1080
- attr_accessor sort_by: ("NETWORK_FINDINGS" | "CRITICAL" | "HIGH" | "ALL")
1081
1080
  attr_accessor sort_order: ("ASC" | "DESC")
1081
+ attr_accessor sort_by: ("NETWORK_FINDINGS" | "CRITICAL" | "HIGH" | "ALL")
1082
1082
  SENSITIVE: []
1083
1083
  end
1084
1084
 
1085
1085
  class Ec2InstanceAggregationResponse
1086
- attr_accessor account_id: ::String
1087
- attr_accessor ami: ::String
1088
1086
  attr_accessor instance_id: ::String
1089
- attr_accessor instance_tags: ::Hash[::String, ::String]
1090
- attr_accessor network_findings: ::Integer
1087
+ attr_accessor ami: ::String
1091
1088
  attr_accessor operating_system: ::String
1089
+ attr_accessor instance_tags: ::Hash[::String, ::String]
1090
+ attr_accessor account_id: ::String
1092
1091
  attr_accessor severity_counts: Types::SeverityCounts
1092
+ attr_accessor network_findings: ::Integer
1093
1093
  SENSITIVE: []
1094
1094
  end
1095
1095
 
1096
1096
  class Ec2Metadata
1097
+ attr_accessor tags: ::Hash[::String, ::String]
1097
1098
  attr_accessor ami_id: ::String
1098
1099
  attr_accessor platform: ("WINDOWS" | "LINUX" | "UNKNOWN" | "MACOS")
1099
- attr_accessor tags: ::Hash[::String, ::String]
1100
1100
  SENSITIVE: []
1101
1101
  end
1102
1102
 
@@ -1107,9 +1107,9 @@ module Aws::Inspector2
1107
1107
  end
1108
1108
 
1109
1109
  class EcrConfiguration
1110
+ attr_accessor rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
1110
1111
  attr_accessor pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")
1111
1112
  attr_accessor pull_date_rescan_mode: ("LAST_PULL_DATE" | "LAST_IN_USE_AT")
1112
- attr_accessor rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
1113
1113
  SENSITIVE: []
1114
1114
  end
1115
1115
 
@@ -1119,10 +1119,10 @@ module Aws::Inspector2
1119
1119
  end
1120
1120
 
1121
1121
  class EcrContainerImageMetadata
1122
+ attr_accessor tags: ::Array[::String]
1122
1123
  attr_accessor image_pulled_at: ::Time
1123
- attr_accessor in_use_count: ::Integer
1124
1124
  attr_accessor last_in_use_at: ::Time
1125
- attr_accessor tags: ::Array[::String]
1125
+ attr_accessor in_use_count: ::Integer
1126
1126
  SENSITIVE: []
1127
1127
  end
1128
1128
 
@@ -1133,17 +1133,17 @@ module Aws::Inspector2
1133
1133
  end
1134
1134
 
1135
1135
  class EcrRescanDurationState
1136
- attr_accessor pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")
1137
- attr_accessor pull_date_rescan_mode: ("LAST_PULL_DATE" | "LAST_IN_USE_AT")
1138
1136
  attr_accessor rescan_duration: ("LIFETIME" | "DAYS_30" | "DAYS_180" | "DAYS_14" | "DAYS_60" | "DAYS_90")
1139
1137
  attr_accessor status: ("SUCCESS" | "PENDING" | "FAILED")
1140
1138
  attr_accessor updated_at: ::Time
1139
+ attr_accessor pull_date_rescan_duration: ("DAYS_14" | "DAYS_30" | "DAYS_60" | "DAYS_90" | "DAYS_180")
1140
+ attr_accessor pull_date_rescan_mode: ("LAST_PULL_DATE" | "LAST_IN_USE_AT")
1141
1141
  SENSITIVE: []
1142
1142
  end
1143
1143
 
1144
1144
  class EnableDelegatedAdminAccountRequest
1145
- attr_accessor client_token: ::String
1146
1145
  attr_accessor delegated_admin_account_id: ::String
1146
+ attr_accessor client_token: ::String
1147
1147
  SENSITIVE: []
1148
1148
  end
1149
1149
 
@@ -1154,8 +1154,8 @@ module Aws::Inspector2
1154
1154
 
1155
1155
  class EnableRequest
1156
1156
  attr_accessor account_ids: ::Array[::String]
1157
- attr_accessor client_token: ::String
1158
1157
  attr_accessor resource_types: ::Array[("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE" | "CODE_REPOSITORY")]
1158
+ attr_accessor client_token: ::String
1159
1159
  SENSITIVE: []
1160
1160
  end
1161
1161
 
@@ -1176,15 +1176,15 @@ module Aws::Inspector2
1176
1176
  end
1177
1177
 
1178
1178
  class Evidence
1179
- attr_accessor evidence_detail: ::String
1180
1179
  attr_accessor evidence_rule: ::String
1180
+ attr_accessor evidence_detail: ::String
1181
1181
  attr_accessor severity: ::String
1182
1182
  SENSITIVE: []
1183
1183
  end
1184
1184
 
1185
1185
  class ExploitObserved
1186
- attr_accessor first_seen: ::Time
1187
1186
  attr_accessor last_seen: ::Time
1187
+ attr_accessor first_seen: ::Time
1188
1188
  SENSITIVE: []
1189
1189
  end
1190
1190
 
@@ -1195,16 +1195,16 @@ module Aws::Inspector2
1195
1195
 
1196
1196
  class FailedAccount
1197
1197
  attr_accessor account_id: ::String
1198
+ attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
1199
+ attr_accessor resource_status: Types::ResourceStatus
1198
1200
  attr_accessor error_code: ("ALREADY_ENABLED" | "ENABLE_IN_PROGRESS" | "DISABLE_IN_PROGRESS" | "SUSPEND_IN_PROGRESS" | "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "SSM_UNAVAILABLE" | "SSM_THROTTLED" | "EVENTBRIDGE_UNAVAILABLE" | "EVENTBRIDGE_THROTTLED" | "RESOURCE_SCAN_NOT_DISABLED" | "DISASSOCIATE_ALL_MEMBERS" | "ACCOUNT_IS_ISOLATED" | "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED" | "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED")
1199
1201
  attr_accessor error_message: ::String
1200
- attr_accessor resource_status: Types::ResourceStatus
1201
- attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
1202
1202
  SENSITIVE: []
1203
1203
  end
1204
1204
 
1205
1205
  class FailedAssociationResult
1206
- attr_accessor resource: Types::CodeSecurityResource
1207
1206
  attr_accessor scan_configuration_arn: ::String
1207
+ attr_accessor resource: Types::CodeSecurityResource
1208
1208
  attr_accessor status_code: ("INTERNAL_ERROR" | "ACCESS_DENIED" | "SCAN_CONFIGURATION_NOT_FOUND" | "INVALID_INPUT" | "RESOURCE_NOT_FOUND" | "QUOTA_EXCEEDED")
1209
1209
  attr_accessor status_message: ::String
1210
1210
  SENSITIVE: []
@@ -1218,128 +1218,128 @@ module Aws::Inspector2
1218
1218
  end
1219
1219
 
1220
1220
  class Filter
1221
- attr_accessor action: ("NONE" | "SUPPRESS")
1222
1221
  attr_accessor arn: ::String
1223
- attr_accessor created_at: ::Time
1222
+ attr_accessor owner_id: ::String
1223
+ attr_accessor name: ::String
1224
1224
  attr_accessor criteria: Types::FilterCriteria
1225
+ attr_accessor action: ("NONE" | "SUPPRESS")
1226
+ attr_accessor created_at: ::Time
1227
+ attr_accessor updated_at: ::Time
1225
1228
  attr_accessor description: ::String
1226
- attr_accessor name: ::String
1227
- attr_accessor owner_id: ::String
1228
1229
  attr_accessor reason: ::String
1229
1230
  attr_accessor tags: ::Hash[::String, ::String]
1230
- attr_accessor updated_at: ::Time
1231
1231
  SENSITIVE: []
1232
1232
  end
1233
1233
 
1234
1234
  class FilterCriteria
1235
+ attr_accessor finding_arn: ::Array[Types::StringFilter]
1235
1236
  attr_accessor aws_account_id: ::Array[Types::StringFilter]
1236
- attr_accessor code_repository_project_name: ::Array[Types::StringFilter]
1237
- attr_accessor code_repository_provider_type: ::Array[Types::StringFilter]
1238
- attr_accessor code_vulnerability_detector_name: ::Array[Types::StringFilter]
1239
- attr_accessor code_vulnerability_detector_tags: ::Array[Types::StringFilter]
1240
- attr_accessor code_vulnerability_file_path: ::Array[Types::StringFilter]
1241
- attr_accessor component_id: ::Array[Types::StringFilter]
1242
- attr_accessor component_type: ::Array[Types::StringFilter]
1237
+ attr_accessor finding_type: ::Array[Types::StringFilter]
1238
+ attr_accessor severity: ::Array[Types::StringFilter]
1239
+ attr_accessor first_observed_at: ::Array[Types::DateFilter]
1240
+ attr_accessor last_observed_at: ::Array[Types::DateFilter]
1241
+ attr_accessor updated_at: ::Array[Types::DateFilter]
1242
+ attr_accessor finding_status: ::Array[Types::StringFilter]
1243
+ attr_accessor title: ::Array[Types::StringFilter]
1244
+ attr_accessor inspector_score: ::Array[Types::NumberFilter]
1245
+ attr_accessor resource_type: ::Array[Types::StringFilter]
1246
+ attr_accessor resource_id: ::Array[Types::StringFilter]
1247
+ attr_accessor resource_tags: ::Array[Types::MapFilter]
1243
1248
  attr_accessor ec2_instance_image_id: ::Array[Types::StringFilter]
1244
- attr_accessor ec2_instance_subnet_id: ::Array[Types::StringFilter]
1245
1249
  attr_accessor ec2_instance_vpc_id: ::Array[Types::StringFilter]
1246
- attr_accessor ecr_image_architecture: ::Array[Types::StringFilter]
1247
- attr_accessor ecr_image_hash: ::Array[Types::StringFilter]
1248
- attr_accessor ecr_image_in_use_count: ::Array[Types::NumberFilter]
1249
- attr_accessor ecr_image_last_in_use_at: ::Array[Types::DateFilter]
1250
+ attr_accessor ec2_instance_subnet_id: ::Array[Types::StringFilter]
1250
1251
  attr_accessor ecr_image_pushed_at: ::Array[Types::DateFilter]
1252
+ attr_accessor ecr_image_architecture: ::Array[Types::StringFilter]
1251
1253
  attr_accessor ecr_image_registry: ::Array[Types::StringFilter]
1252
1254
  attr_accessor ecr_image_repository_name: ::Array[Types::StringFilter]
1253
1255
  attr_accessor ecr_image_tags: ::Array[Types::StringFilter]
1254
- attr_accessor epss_score: ::Array[Types::NumberFilter]
1255
- attr_accessor exploit_available: ::Array[Types::StringFilter]
1256
- attr_accessor finding_arn: ::Array[Types::StringFilter]
1257
- attr_accessor finding_status: ::Array[Types::StringFilter]
1258
- attr_accessor finding_type: ::Array[Types::StringFilter]
1259
- attr_accessor first_observed_at: ::Array[Types::DateFilter]
1260
- attr_accessor fix_available: ::Array[Types::StringFilter]
1261
- attr_accessor inspector_score: ::Array[Types::NumberFilter]
1262
- attr_accessor lambda_function_execution_role_arn: ::Array[Types::StringFilter]
1263
- attr_accessor lambda_function_last_modified_at: ::Array[Types::DateFilter]
1264
- attr_accessor lambda_function_layers: ::Array[Types::StringFilter]
1265
- attr_accessor lambda_function_name: ::Array[Types::StringFilter]
1266
- attr_accessor lambda_function_runtime: ::Array[Types::StringFilter]
1267
- attr_accessor last_observed_at: ::Array[Types::DateFilter]
1268
- attr_accessor network_protocol: ::Array[Types::StringFilter]
1256
+ attr_accessor ecr_image_hash: ::Array[Types::StringFilter]
1257
+ attr_accessor ecr_image_last_in_use_at: ::Array[Types::DateFilter]
1258
+ attr_accessor ecr_image_in_use_count: ::Array[Types::NumberFilter]
1269
1259
  attr_accessor port_range: ::Array[Types::PortRangeFilter]
1270
- attr_accessor related_vulnerabilities: ::Array[Types::StringFilter]
1271
- attr_accessor resource_id: ::Array[Types::StringFilter]
1272
- attr_accessor resource_tags: ::Array[Types::MapFilter]
1273
- attr_accessor resource_type: ::Array[Types::StringFilter]
1274
- attr_accessor severity: ::Array[Types::StringFilter]
1275
- attr_accessor title: ::Array[Types::StringFilter]
1276
- attr_accessor updated_at: ::Array[Types::DateFilter]
1277
- attr_accessor vendor_severity: ::Array[Types::StringFilter]
1260
+ attr_accessor network_protocol: ::Array[Types::StringFilter]
1261
+ attr_accessor component_id: ::Array[Types::StringFilter]
1262
+ attr_accessor component_type: ::Array[Types::StringFilter]
1278
1263
  attr_accessor vulnerability_id: ::Array[Types::StringFilter]
1279
1264
  attr_accessor vulnerability_source: ::Array[Types::StringFilter]
1265
+ attr_accessor vendor_severity: ::Array[Types::StringFilter]
1280
1266
  attr_accessor vulnerable_packages: ::Array[Types::PackageFilter]
1267
+ attr_accessor related_vulnerabilities: ::Array[Types::StringFilter]
1268
+ attr_accessor fix_available: ::Array[Types::StringFilter]
1269
+ attr_accessor lambda_function_name: ::Array[Types::StringFilter]
1270
+ attr_accessor lambda_function_layers: ::Array[Types::StringFilter]
1271
+ attr_accessor lambda_function_runtime: ::Array[Types::StringFilter]
1272
+ attr_accessor lambda_function_last_modified_at: ::Array[Types::DateFilter]
1273
+ attr_accessor lambda_function_execution_role_arn: ::Array[Types::StringFilter]
1274
+ attr_accessor exploit_available: ::Array[Types::StringFilter]
1275
+ attr_accessor code_vulnerability_detector_name: ::Array[Types::StringFilter]
1276
+ attr_accessor code_vulnerability_detector_tags: ::Array[Types::StringFilter]
1277
+ attr_accessor code_vulnerability_file_path: ::Array[Types::StringFilter]
1278
+ attr_accessor epss_score: ::Array[Types::NumberFilter]
1279
+ attr_accessor code_repository_project_name: ::Array[Types::StringFilter]
1280
+ attr_accessor code_repository_provider_type: ::Array[Types::StringFilter]
1281
1281
  SENSITIVE: []
1282
1282
  end
1283
1283
 
1284
1284
  class Finding
1285
+ attr_accessor finding_arn: ::String
1285
1286
  attr_accessor aws_account_id: ::String
1286
- attr_accessor code_vulnerability_details: Types::CodeVulnerabilityDetails
1287
+ attr_accessor type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
1287
1288
  attr_accessor description: ::String
1288
- attr_accessor epss: Types::EpssDetails
1289
- attr_accessor exploit_available: ("YES" | "NO")
1290
- attr_accessor exploitability_details: Types::ExploitabilityDetails
1291
- attr_accessor finding_arn: ::String
1289
+ attr_accessor title: ::String
1290
+ attr_accessor remediation: Types::Remediation
1291
+ attr_accessor severity: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNTRIAGED")
1292
1292
  attr_accessor first_observed_at: ::Time
1293
- attr_accessor fix_available: ("YES" | "NO" | "PARTIAL")
1293
+ attr_accessor last_observed_at: ::Time
1294
+ attr_accessor updated_at: ::Time
1295
+ attr_accessor status: ("ACTIVE" | "SUPPRESSED" | "CLOSED")
1296
+ attr_accessor resources: ::Array[Types::Resource]
1294
1297
  attr_accessor inspector_score: ::Float
1295
1298
  attr_accessor inspector_score_details: Types::InspectorScoreDetails
1296
- attr_accessor last_observed_at: ::Time
1297
1299
  attr_accessor network_reachability_details: Types::NetworkReachabilityDetails
1298
1300
  attr_accessor package_vulnerability_details: Types::PackageVulnerabilityDetails
1299
- attr_accessor remediation: Types::Remediation
1300
- attr_accessor resources: ::Array[Types::Resource]
1301
- attr_accessor severity: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNTRIAGED")
1302
- attr_accessor status: ("ACTIVE" | "SUPPRESSED" | "CLOSED")
1303
- attr_accessor title: ::String
1304
- attr_accessor type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
1305
- attr_accessor updated_at: ::Time
1301
+ attr_accessor fix_available: ("YES" | "NO" | "PARTIAL")
1302
+ attr_accessor exploit_available: ("YES" | "NO")
1303
+ attr_accessor exploitability_details: Types::ExploitabilityDetails
1304
+ attr_accessor code_vulnerability_details: Types::CodeVulnerabilityDetails
1305
+ attr_accessor epss: Types::EpssDetails
1306
1306
  SENSITIVE: []
1307
1307
  end
1308
1308
 
1309
1309
  class FindingDetail
1310
+ attr_accessor finding_arn: ::String
1310
1311
  attr_accessor cisa_data: Types::CisaData
1311
- attr_accessor cwes: ::Array[::String]
1312
- attr_accessor epss_score: ::Float
1312
+ attr_accessor risk_score: ::Integer
1313
1313
  attr_accessor evidences: ::Array[Types::Evidence]
1314
+ attr_accessor ttps: ::Array[::String]
1315
+ attr_accessor tools: ::Array[::String]
1314
1316
  attr_accessor exploit_observed: Types::ExploitObserved
1315
- attr_accessor finding_arn: ::String
1316
1317
  attr_accessor reference_urls: ::Array[::String]
1317
- attr_accessor risk_score: ::Integer
1318
- attr_accessor tools: ::Array[::String]
1319
- attr_accessor ttps: ::Array[::String]
1318
+ attr_accessor cwes: ::Array[::String]
1319
+ attr_accessor epss_score: ::Float
1320
1320
  SENSITIVE: []
1321
1321
  end
1322
1322
 
1323
1323
  class FindingDetailsError
1324
+ attr_accessor finding_arn: ::String
1324
1325
  attr_accessor error_code: ("INTERNAL_ERROR" | "ACCESS_DENIED" | "FINDING_DETAILS_NOT_FOUND" | "INVALID_INPUT")
1325
1326
  attr_accessor error_message: ::String
1326
- attr_accessor finding_arn: ::String
1327
1327
  SENSITIVE: []
1328
1328
  end
1329
1329
 
1330
1330
  class FindingTypeAggregation
1331
1331
  attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
1332
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")
1333
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1332
+ attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
1334
1333
  attr_accessor sort_order: ("ASC" | "DESC")
1334
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1335
1335
  SENSITIVE: []
1336
1336
  end
1337
1337
 
1338
1338
  class FindingTypeAggregationResponse
1339
1339
  attr_accessor account_id: ::String
1340
+ attr_accessor severity_counts: Types::SeverityCounts
1340
1341
  attr_accessor exploit_available_count: ::Integer
1341
1342
  attr_accessor fix_available_count: ::Integer
1342
- attr_accessor severity_counts: Types::SeverityCounts
1343
1343
  SENSITIVE: []
1344
1344
  end
1345
1345
 
@@ -1350,10 +1350,10 @@ module Aws::Inspector2
1350
1350
  end
1351
1351
 
1352
1352
  class FreeTrialInfo
1353
- attr_accessor end: ::Time
1353
+ attr_accessor type: ("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE" | "CODE_REPOSITORY")
1354
1354
  attr_accessor start: ::Time
1355
+ attr_accessor end: ::Time
1355
1356
  attr_accessor status: ("ACTIVE" | "INACTIVE")
1356
- attr_accessor type: ("EC2" | "ECR" | "LAMBDA" | "LAMBDA_CODE" | "CODE_REPOSITORY")
1357
1357
  SENSITIVE: []
1358
1358
  end
1359
1359
 
@@ -1365,33 +1365,33 @@ module Aws::Inspector2
1365
1365
  end
1366
1366
 
1367
1367
  class GetCisScanReportRequest
1368
- attr_accessor report_format: ("PDF" | "CSV")
1369
1368
  attr_accessor scan_arn: ::String
1370
1369
  attr_accessor target_accounts: ::Array[::String]
1370
+ attr_accessor report_format: ("PDF" | "CSV")
1371
1371
  SENSITIVE: []
1372
1372
  end
1373
1373
 
1374
1374
  class GetCisScanReportResponse
1375
- attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
1376
1375
  attr_accessor url: ::String
1376
+ attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
1377
1377
  SENSITIVE: []
1378
1378
  end
1379
1379
 
1380
1380
  class GetCisScanResultDetailsRequest
1381
+ attr_accessor scan_arn: ::String
1382
+ attr_accessor target_resource_id: ::String
1381
1383
  attr_accessor account_id: ::String
1382
1384
  attr_accessor filter_criteria: Types::CisScanResultDetailsFilterCriteria
1383
- attr_accessor max_results: ::Integer
1384
- attr_accessor next_token: ::String
1385
- attr_accessor scan_arn: ::String
1386
1385
  attr_accessor sort_by: ("CHECK_ID" | "STATUS")
1387
1386
  attr_accessor sort_order: ("ASC" | "DESC")
1388
- attr_accessor target_resource_id: ::String
1387
+ attr_accessor next_token: ::String
1388
+ attr_accessor max_results: ::Integer
1389
1389
  SENSITIVE: []
1390
1390
  end
1391
1391
 
1392
1392
  class GetCisScanResultDetailsResponse
1393
- attr_accessor next_token: ::String
1394
1393
  attr_accessor scan_result_details: ::Array[Types::CisScanResultDetails]
1394
+ attr_accessor next_token: ::String
1395
1395
  SENSITIVE: []
1396
1396
  end
1397
1397
 
@@ -1415,15 +1415,15 @@ module Aws::Inspector2
1415
1415
  end
1416
1416
 
1417
1417
  class GetCodeSecurityIntegrationResponse
1418
- attr_accessor authorization_url: ::String
1419
- attr_accessor created_on: ::Time
1420
1418
  attr_accessor integration_arn: ::String
1421
- attr_accessor last_update_on: ::Time
1422
1419
  attr_accessor name: ::String
1420
+ attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
1423
1421
  attr_accessor status: ("PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING")
1424
1422
  attr_accessor status_reason: ::String
1423
+ attr_accessor created_on: ::Time
1424
+ attr_accessor last_update_on: ::Time
1425
1425
  attr_accessor tags: ::Hash[::String, ::String]
1426
- attr_accessor type: ("GITLAB_SELF_MANAGED" | "GITHUB")
1426
+ attr_accessor authorization_url: ::String
1427
1427
  SENSITIVE: [:authorization_url]
1428
1428
  end
1429
1429
 
@@ -1433,13 +1433,13 @@ module Aws::Inspector2
1433
1433
  end
1434
1434
 
1435
1435
  class GetCodeSecurityScanConfigurationResponse
1436
+ attr_accessor scan_configuration_arn: ::String
1437
+ attr_accessor name: ::String
1436
1438
  attr_accessor configuration: Types::CodeSecurityScanConfiguration
1437
- attr_accessor created_at: ::Time
1438
- attr_accessor last_updated_at: ::Time
1439
1439
  attr_accessor level: ("ORGANIZATION" | "ACCOUNT")
1440
- attr_accessor name: ::String
1441
- attr_accessor scan_configuration_arn: ::String
1442
1440
  attr_accessor scope_settings: Types::ScopeSettings
1441
+ attr_accessor created_at: ::Time
1442
+ attr_accessor last_updated_at: ::Time
1443
1443
  attr_accessor tags: ::Hash[::String, ::String]
1444
1444
  SENSITIVE: []
1445
1445
  end
@@ -1451,14 +1451,14 @@ module Aws::Inspector2
1451
1451
  end
1452
1452
 
1453
1453
  class GetCodeSecurityScanResponse
1454
- attr_accessor account_id: ::String
1455
- attr_accessor created_at: ::Time
1456
- attr_accessor last_commit_id: ::String
1457
- attr_accessor resource: Types::CodeSecurityResource
1458
1454
  attr_accessor scan_id: ::String
1455
+ attr_accessor resource: Types::CodeSecurityResource
1456
+ attr_accessor account_id: ::String
1459
1457
  attr_accessor status: ("IN_PROGRESS" | "SUCCESSFUL" | "FAILED" | "SKIPPED")
1460
1458
  attr_accessor status_reason: ::String
1459
+ attr_accessor created_at: ::Time
1461
1460
  attr_accessor updated_at: ::Time
1461
+ attr_accessor last_commit_id: ::String
1462
1462
  SENSITIVE: []
1463
1463
  end
1464
1464
 
@@ -1466,8 +1466,8 @@ module Aws::Inspector2
1466
1466
  end
1467
1467
 
1468
1468
  class GetConfigurationResponse
1469
- attr_accessor ec2_configuration: Types::Ec2ConfigurationState
1470
1469
  attr_accessor ecr_configuration: Types::EcrConfigurationState
1470
+ attr_accessor ec2_configuration: Types::Ec2ConfigurationState
1471
1471
  SENSITIVE: []
1472
1472
  end
1473
1473
 
@@ -1483,16 +1483,16 @@ module Aws::Inspector2
1483
1483
  end
1484
1484
 
1485
1485
  class GetEc2DeepInspectionConfigurationResponse
1486
- attr_accessor error_message: ::String
1487
- attr_accessor org_package_paths: ::Array[::String]
1488
1486
  attr_accessor package_paths: ::Array[::String]
1487
+ attr_accessor org_package_paths: ::Array[::String]
1489
1488
  attr_accessor status: ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
1489
+ attr_accessor error_message: ::String
1490
1490
  SENSITIVE: []
1491
1491
  end
1492
1492
 
1493
1493
  class GetEncryptionKeyRequest
1494
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
1495
1494
  attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
1495
+ attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
1496
1496
  SENSITIVE: []
1497
1497
  end
1498
1498
 
@@ -1507,12 +1507,12 @@ module Aws::Inspector2
1507
1507
  end
1508
1508
 
1509
1509
  class GetFindingsReportStatusResponse
1510
- attr_accessor destination: Types::Destination
1510
+ attr_accessor report_id: ::String
1511
+ attr_accessor status: ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1511
1512
  attr_accessor error_code: ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
1512
1513
  attr_accessor error_message: ::String
1514
+ attr_accessor destination: Types::Destination
1513
1515
  attr_accessor filter_criteria: Types::FilterCriteria
1514
- attr_accessor report_id: ::String
1515
- attr_accessor status: ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1516
1516
  SENSITIVE: []
1517
1517
  end
1518
1518
 
@@ -1532,30 +1532,30 @@ module Aws::Inspector2
1532
1532
  end
1533
1533
 
1534
1534
  class GetSbomExportResponse
1535
+ attr_accessor report_id: ::String
1536
+ attr_accessor format: ("CYCLONEDX_1_4" | "SPDX_2_3")
1537
+ attr_accessor status: ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1535
1538
  attr_accessor error_code: ("INTERNAL_ERROR" | "INVALID_PERMISSIONS" | "NO_FINDINGS_FOUND" | "BUCKET_NOT_FOUND" | "INCOMPATIBLE_BUCKET_REGION" | "MALFORMED_KMS_KEY")
1536
1539
  attr_accessor error_message: ::String
1537
- attr_accessor filter_criteria: Types::ResourceFilterCriteria
1538
- attr_accessor format: ("CYCLONEDX_1_4" | "SPDX_2_3")
1539
- attr_accessor report_id: ::String
1540
1540
  attr_accessor s3_destination: Types::Destination
1541
- attr_accessor status: ("SUCCEEDED" | "IN_PROGRESS" | "CANCELLED" | "FAILED")
1541
+ attr_accessor filter_criteria: Types::ResourceFilterCriteria
1542
1542
  SENSITIVE: []
1543
1543
  end
1544
1544
 
1545
1545
  class ImageLayerAggregation
1546
- attr_accessor layer_hashes: ::Array[Types::StringFilter]
1547
1546
  attr_accessor repositories: ::Array[Types::StringFilter]
1548
1547
  attr_accessor resource_ids: ::Array[Types::StringFilter]
1549
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1548
+ attr_accessor layer_hashes: ::Array[Types::StringFilter]
1550
1549
  attr_accessor sort_order: ("ASC" | "DESC")
1550
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1551
1551
  SENSITIVE: []
1552
1552
  end
1553
1553
 
1554
1554
  class ImageLayerAggregationResponse
1555
- attr_accessor account_id: ::String
1556
- attr_accessor layer_hash: ::String
1557
1555
  attr_accessor repository: ::String
1558
1556
  attr_accessor resource_id: ::String
1557
+ attr_accessor layer_hash: ::String
1558
+ attr_accessor account_id: ::String
1559
1559
  attr_accessor severity_counts: Types::SeverityCounts
1560
1560
  SENSITIVE: []
1561
1561
  end
@@ -1572,101 +1572,101 @@ module Aws::Inspector2
1572
1572
  end
1573
1573
 
1574
1574
  class LambdaFunctionAggregation
1575
- attr_accessor function_names: ::Array[Types::StringFilter]
1576
- attr_accessor function_tags: ::Array[Types::MapFilter]
1577
1575
  attr_accessor resource_ids: ::Array[Types::StringFilter]
1576
+ attr_accessor function_names: ::Array[Types::StringFilter]
1578
1577
  attr_accessor runtimes: ::Array[Types::StringFilter]
1579
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1578
+ attr_accessor function_tags: ::Array[Types::MapFilter]
1580
1579
  attr_accessor sort_order: ("ASC" | "DESC")
1580
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1581
1581
  SENSITIVE: []
1582
1582
  end
1583
1583
 
1584
1584
  class LambdaFunctionAggregationResponse
1585
- attr_accessor account_id: ::String
1586
- attr_accessor function_name: ::String
1587
- attr_accessor lambda_tags: ::Hash[::String, ::String]
1588
- attr_accessor last_modified_at: ::Time
1589
1585
  attr_accessor resource_id: ::String
1586
+ attr_accessor function_name: ::String
1590
1587
  attr_accessor runtime: ::String
1588
+ attr_accessor lambda_tags: ::Hash[::String, ::String]
1589
+ attr_accessor account_id: ::String
1591
1590
  attr_accessor severity_counts: Types::SeverityCounts
1591
+ attr_accessor last_modified_at: ::Time
1592
1592
  SENSITIVE: []
1593
1593
  end
1594
1594
 
1595
1595
  class LambdaFunctionMetadata
1596
- attr_accessor function_name: ::String
1597
1596
  attr_accessor function_tags: ::Hash[::String, ::String]
1598
1597
  attr_accessor layers: ::Array[::String]
1598
+ attr_accessor function_name: ::String
1599
1599
  attr_accessor runtime: ("NODEJS" | "NODEJS_12_X" | "NODEJS_14_X" | "NODEJS_16_X" | "JAVA_8" | "JAVA_8_AL2" | "JAVA_11" | "PYTHON_3_7" | "PYTHON_3_8" | "PYTHON_3_9" | "UNSUPPORTED" | "NODEJS_18_X" | "GO_1_X" | "JAVA_17" | "PYTHON_3_10" | "PYTHON_3_11" | "DOTNETCORE_3_1" | "DOTNET_6" | "DOTNET_7" | "RUBY_2_7" | "RUBY_3_2")
1600
1600
  SENSITIVE: []
1601
1601
  end
1602
1602
 
1603
1603
  class LambdaLayerAggregation
1604
1604
  attr_accessor function_names: ::Array[Types::StringFilter]
1605
- attr_accessor layer_arns: ::Array[Types::StringFilter]
1606
1605
  attr_accessor resource_ids: ::Array[Types::StringFilter]
1607
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1606
+ attr_accessor layer_arns: ::Array[Types::StringFilter]
1608
1607
  attr_accessor sort_order: ("ASC" | "DESC")
1608
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1609
1609
  SENSITIVE: []
1610
1610
  end
1611
1611
 
1612
1612
  class LambdaLayerAggregationResponse
1613
- attr_accessor account_id: ::String
1614
1613
  attr_accessor function_name: ::String
1615
- attr_accessor layer_arn: ::String
1616
1614
  attr_accessor resource_id: ::String
1615
+ attr_accessor layer_arn: ::String
1616
+ attr_accessor account_id: ::String
1617
1617
  attr_accessor severity_counts: Types::SeverityCounts
1618
1618
  SENSITIVE: []
1619
1619
  end
1620
1620
 
1621
1621
  class LambdaVpcConfig
1622
- attr_accessor security_group_ids: ::Array[::String]
1623
1622
  attr_accessor subnet_ids: ::Array[::String]
1623
+ attr_accessor security_group_ids: ::Array[::String]
1624
1624
  attr_accessor vpc_id: ::String
1625
1625
  SENSITIVE: []
1626
1626
  end
1627
1627
 
1628
1628
  class ListAccountPermissionsRequest
1629
+ attr_accessor service: ("EC2" | "ECR" | "LAMBDA")
1629
1630
  attr_accessor max_results: ::Integer
1630
1631
  attr_accessor next_token: ::String
1631
- attr_accessor service: ("EC2" | "ECR" | "LAMBDA")
1632
1632
  SENSITIVE: []
1633
1633
  end
1634
1634
 
1635
1635
  class ListAccountPermissionsResponse
1636
- attr_accessor next_token: ::String
1637
1636
  attr_accessor permissions: ::Array[Types::Permission]
1637
+ attr_accessor next_token: ::String
1638
1638
  SENSITIVE: []
1639
1639
  end
1640
1640
 
1641
1641
  class ListCisScanConfigurationsFilterCriteria
1642
- attr_accessor scan_configuration_arn_filters: ::Array[Types::CisStringFilter]
1643
1642
  attr_accessor scan_name_filters: ::Array[Types::CisStringFilter]
1644
1643
  attr_accessor target_resource_tag_filters: ::Array[Types::TagFilter]
1644
+ attr_accessor scan_configuration_arn_filters: ::Array[Types::CisStringFilter]
1645
1645
  SENSITIVE: []
1646
1646
  end
1647
1647
 
1648
1648
  class ListCisScanConfigurationsRequest
1649
1649
  attr_accessor filter_criteria: Types::ListCisScanConfigurationsFilterCriteria
1650
- attr_accessor max_results: ::Integer
1651
- attr_accessor next_token: ::String
1652
1650
  attr_accessor sort_by: ("SCAN_NAME" | "SCAN_CONFIGURATION_ARN")
1653
1651
  attr_accessor sort_order: ("ASC" | "DESC")
1652
+ attr_accessor next_token: ::String
1653
+ attr_accessor max_results: ::Integer
1654
1654
  SENSITIVE: []
1655
1655
  end
1656
1656
 
1657
1657
  class ListCisScanConfigurationsResponse
1658
- attr_accessor next_token: ::String
1659
1658
  attr_accessor scan_configurations: ::Array[Types::CisScanConfiguration]
1659
+ attr_accessor next_token: ::String
1660
1660
  SENSITIVE: []
1661
1661
  end
1662
1662
 
1663
1663
  class ListCisScanResultsAggregatedByChecksRequest
1664
- attr_accessor filter_criteria: Types::CisScanResultsAggregatedByChecksFilterCriteria
1665
- attr_accessor max_results: ::Integer
1666
- attr_accessor next_token: ::String
1667
1664
  attr_accessor scan_arn: ::String
1665
+ attr_accessor filter_criteria: Types::CisScanResultsAggregatedByChecksFilterCriteria
1668
1666
  attr_accessor sort_by: ("CHECK_ID" | "TITLE" | "PLATFORM" | "FAILED_COUNTS" | "SECURITY_LEVEL")
1669
1667
  attr_accessor sort_order: ("ASC" | "DESC")
1668
+ attr_accessor next_token: ::String
1669
+ attr_accessor max_results: ::Integer
1670
1670
  SENSITIVE: []
1671
1671
  end
1672
1672
 
@@ -1677,54 +1677,54 @@ module Aws::Inspector2
1677
1677
  end
1678
1678
 
1679
1679
  class ListCisScanResultsAggregatedByTargetResourceRequest
1680
- attr_accessor filter_criteria: Types::CisScanResultsAggregatedByTargetResourceFilterCriteria
1681
- attr_accessor max_results: ::Integer
1682
- attr_accessor next_token: ::String
1683
1680
  attr_accessor scan_arn: ::String
1681
+ attr_accessor filter_criteria: Types::CisScanResultsAggregatedByTargetResourceFilterCriteria
1684
1682
  attr_accessor sort_by: ("RESOURCE_ID" | "FAILED_COUNTS" | "ACCOUNT_ID" | "PLATFORM" | "TARGET_STATUS" | "TARGET_STATUS_REASON")
1685
1683
  attr_accessor sort_order: ("ASC" | "DESC")
1684
+ attr_accessor next_token: ::String
1685
+ attr_accessor max_results: ::Integer
1686
1686
  SENSITIVE: []
1687
1687
  end
1688
1688
 
1689
1689
  class ListCisScanResultsAggregatedByTargetResourceResponse
1690
- attr_accessor next_token: ::String
1691
1690
  attr_accessor target_resource_aggregations: ::Array[Types::CisTargetResourceAggregation]
1691
+ attr_accessor next_token: ::String
1692
1692
  SENSITIVE: []
1693
1693
  end
1694
1694
 
1695
1695
  class ListCisScansFilterCriteria
1696
- attr_accessor failed_checks_filters: ::Array[Types::CisNumberFilter]
1697
- attr_accessor scan_arn_filters: ::Array[Types::CisStringFilter]
1698
- attr_accessor scan_at_filters: ::Array[Types::CisDateFilter]
1699
- attr_accessor scan_configuration_arn_filters: ::Array[Types::CisStringFilter]
1700
1696
  attr_accessor scan_name_filters: ::Array[Types::CisStringFilter]
1697
+ attr_accessor target_resource_tag_filters: ::Array[Types::TagFilter]
1698
+ attr_accessor target_resource_id_filters: ::Array[Types::CisStringFilter]
1701
1699
  attr_accessor scan_status_filters: ::Array[Types::CisScanStatusFilter]
1700
+ attr_accessor scan_at_filters: ::Array[Types::CisDateFilter]
1701
+ attr_accessor scan_configuration_arn_filters: ::Array[Types::CisStringFilter]
1702
+ attr_accessor scan_arn_filters: ::Array[Types::CisStringFilter]
1702
1703
  attr_accessor scheduled_by_filters: ::Array[Types::CisStringFilter]
1704
+ attr_accessor failed_checks_filters: ::Array[Types::CisNumberFilter]
1703
1705
  attr_accessor target_account_id_filters: ::Array[Types::CisStringFilter]
1704
- attr_accessor target_resource_id_filters: ::Array[Types::CisStringFilter]
1705
- attr_accessor target_resource_tag_filters: ::Array[Types::TagFilter]
1706
1706
  SENSITIVE: []
1707
1707
  end
1708
1708
 
1709
1709
  class ListCisScansRequest
1710
- attr_accessor detail_level: ("ORGANIZATION" | "MEMBER")
1711
1710
  attr_accessor filter_criteria: Types::ListCisScansFilterCriteria
1712
- attr_accessor max_results: ::Integer
1713
- attr_accessor next_token: ::String
1711
+ attr_accessor detail_level: ("ORGANIZATION" | "MEMBER")
1714
1712
  attr_accessor sort_by: ("STATUS" | "SCHEDULED_BY" | "SCAN_START_DATE" | "FAILED_CHECKS")
1715
1713
  attr_accessor sort_order: ("ASC" | "DESC")
1714
+ attr_accessor next_token: ::String
1715
+ attr_accessor max_results: ::Integer
1716
1716
  SENSITIVE: []
1717
1717
  end
1718
1718
 
1719
1719
  class ListCisScansResponse
1720
- attr_accessor next_token: ::String
1721
1720
  attr_accessor scans: ::Array[Types::CisScan]
1721
+ attr_accessor next_token: ::String
1722
1722
  SENSITIVE: []
1723
1723
  end
1724
1724
 
1725
1725
  class ListCodeSecurityIntegrationsRequest
1726
- attr_accessor max_results: ::Integer
1727
1726
  attr_accessor next_token: ::String
1727
+ attr_accessor max_results: ::Integer
1728
1728
  SENSITIVE: []
1729
1729
  end
1730
1730
 
@@ -1735,9 +1735,9 @@ module Aws::Inspector2
1735
1735
  end
1736
1736
 
1737
1737
  class ListCodeSecurityScanConfigurationAssociationsRequest
1738
- attr_accessor max_results: ::Integer
1739
- attr_accessor next_token: ::String
1740
1738
  attr_accessor scan_configuration_arn: ::String
1739
+ attr_accessor next_token: ::String
1740
+ attr_accessor max_results: ::Integer
1741
1741
  SENSITIVE: []
1742
1742
  end
1743
1743
 
@@ -1748,8 +1748,8 @@ module Aws::Inspector2
1748
1748
  end
1749
1749
 
1750
1750
  class ListCodeSecurityScanConfigurationsRequest
1751
- attr_accessor max_results: ::Integer
1752
1751
  attr_accessor next_token: ::String
1752
+ attr_accessor max_results: ::Integer
1753
1753
  SENSITIVE: []
1754
1754
  end
1755
1755
 
@@ -1760,15 +1760,15 @@ module Aws::Inspector2
1760
1760
  end
1761
1761
 
1762
1762
  class ListCoverageRequest
1763
- attr_accessor filter_criteria: Types::CoverageFilterCriteria
1764
1763
  attr_accessor max_results: ::Integer
1765
1764
  attr_accessor next_token: ::String
1765
+ attr_accessor filter_criteria: Types::CoverageFilterCriteria
1766
1766
  SENSITIVE: []
1767
1767
  end
1768
1768
 
1769
1769
  class ListCoverageResponse
1770
- attr_accessor covered_resources: ::Array[Types::CoveredResource]
1771
1770
  attr_accessor next_token: ::String
1771
+ attr_accessor covered_resources: ::Array[Types::CoveredResource]
1772
1772
  SENSITIVE: []
1773
1773
  end
1774
1774
 
@@ -1781,8 +1781,8 @@ module Aws::Inspector2
1781
1781
 
1782
1782
  class ListCoverageStatisticsResponse
1783
1783
  attr_accessor counts_by_group: ::Array[Types::Counts]
1784
- attr_accessor next_token: ::String
1785
1784
  attr_accessor total_counts: ::Integer
1785
+ attr_accessor next_token: ::String
1786
1786
  SENSITIVE: []
1787
1787
  end
1788
1788
 
@@ -1799,10 +1799,10 @@ module Aws::Inspector2
1799
1799
  end
1800
1800
 
1801
1801
  class ListFiltersRequest
1802
- attr_accessor action: ("NONE" | "SUPPRESS")
1803
1802
  attr_accessor arns: ::Array[::String]
1804
- attr_accessor max_results: ::Integer
1803
+ attr_accessor action: ("NONE" | "SUPPRESS")
1805
1804
  attr_accessor next_token: ::String
1805
+ attr_accessor max_results: ::Integer
1806
1806
  SENSITIVE: []
1807
1807
  end
1808
1808
 
@@ -1813,39 +1813,39 @@ module Aws::Inspector2
1813
1813
  end
1814
1814
 
1815
1815
  class ListFindingAggregationsRequest
1816
- attr_accessor account_ids: ::Array[Types::StringFilter]
1817
- attr_accessor aggregation_request: Types::AggregationRequest
1818
1816
  attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY")
1819
- attr_accessor max_results: ::Integer
1820
1817
  attr_accessor next_token: ::String
1818
+ attr_accessor max_results: ::Integer
1819
+ attr_accessor account_ids: ::Array[Types::StringFilter]
1820
+ attr_accessor aggregation_request: Types::AggregationRequest
1821
1821
  SENSITIVE: []
1822
1822
  end
1823
1823
 
1824
1824
  class ListFindingAggregationsResponse
1825
1825
  attr_accessor aggregation_type: ("FINDING_TYPE" | "PACKAGE" | "TITLE" | "REPOSITORY" | "AMI" | "AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER" | "IMAGE_LAYER" | "ACCOUNT" | "AWS_LAMBDA_FUNCTION" | "LAMBDA_LAYER" | "CODE_REPOSITORY")
1826
- attr_accessor next_token: ::String
1827
1826
  attr_accessor responses: ::Array[Types::AggregationResponse]
1827
+ attr_accessor next_token: ::String
1828
1828
  SENSITIVE: []
1829
1829
  end
1830
1830
 
1831
1831
  class ListFindingsRequest
1832
- attr_accessor filter_criteria: Types::FilterCriteria
1833
1832
  attr_accessor max_results: ::Integer
1834
1833
  attr_accessor next_token: ::String
1834
+ attr_accessor filter_criteria: Types::FilterCriteria
1835
1835
  attr_accessor sort_criteria: Types::SortCriteria
1836
1836
  SENSITIVE: []
1837
1837
  end
1838
1838
 
1839
1839
  class ListFindingsResponse
1840
- attr_accessor findings: ::Array[Types::Finding]
1841
1840
  attr_accessor next_token: ::String
1841
+ attr_accessor findings: ::Array[Types::Finding]
1842
1842
  SENSITIVE: []
1843
1843
  end
1844
1844
 
1845
1845
  class ListMembersRequest
1846
+ attr_accessor only_associated: bool
1846
1847
  attr_accessor max_results: ::Integer
1847
1848
  attr_accessor next_token: ::String
1848
- attr_accessor only_associated: bool
1849
1849
  SENSITIVE: []
1850
1850
  end
1851
1851
 
@@ -1866,9 +1866,9 @@ module Aws::Inspector2
1866
1866
  end
1867
1867
 
1868
1868
  class ListUsageTotalsRequest
1869
- attr_accessor account_ids: ::Array[::String]
1870
1869
  attr_accessor max_results: ::Integer
1871
1870
  attr_accessor next_token: ::String
1871
+ attr_accessor account_ids: ::Array[::String]
1872
1872
  SENSITIVE: []
1873
1873
  end
1874
1874
 
@@ -1887,8 +1887,8 @@ module Aws::Inspector2
1887
1887
 
1888
1888
  class Member
1889
1889
  attr_accessor account_id: ::String
1890
- attr_accessor delegated_admin_account_id: ::String
1891
1890
  attr_accessor relationship_status: ("CREATED" | "INVITED" | "DISABLED" | "ENABLED" | "REMOVED" | "RESIGNED" | "DELETED" | "EMAIL_VERIFICATION_IN_PROGRESS" | "EMAIL_VERIFICATION_FAILED" | "REGION_DISABLED" | "ACCOUNT_SUSPENDED" | "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER")
1891
+ attr_accessor delegated_admin_account_id: ::String
1892
1892
  attr_accessor updated_at: ::Time
1893
1893
  SENSITIVE: []
1894
1894
  end
@@ -1901,14 +1901,14 @@ module Aws::Inspector2
1901
1901
 
1902
1902
  class MemberAccountEc2DeepInspectionStatusState
1903
1903
  attr_accessor account_id: ::String
1904
- attr_accessor error_message: ::String
1905
1904
  attr_accessor status: ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
1905
+ attr_accessor error_message: ::String
1906
1906
  SENSITIVE: []
1907
1907
  end
1908
1908
 
1909
1909
  class MonthlySchedule
1910
- attr_accessor day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")
1911
1910
  attr_accessor start_time: Types::Time
1911
+ attr_accessor day: ("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")
1912
1912
  SENSITIVE: []
1913
1913
  end
1914
1914
 
@@ -1918,15 +1918,15 @@ module Aws::Inspector2
1918
1918
  end
1919
1919
 
1920
1920
  class NetworkReachabilityDetails
1921
- attr_accessor network_path: Types::NetworkPath
1922
1921
  attr_accessor open_port_range: Types::PortRange
1923
1922
  attr_accessor protocol: ("TCP" | "UDP")
1923
+ attr_accessor network_path: Types::NetworkPath
1924
1924
  SENSITIVE: []
1925
1925
  end
1926
1926
 
1927
1927
  class NumberFilter
1928
- attr_accessor lower_inclusive: ::Float
1929
1928
  attr_accessor upper_inclusive: ::Float
1929
+ attr_accessor lower_inclusive: ::Float
1930
1930
  SENSITIVE: []
1931
1931
  end
1932
1932
 
@@ -1935,41 +1935,41 @@ module Aws::Inspector2
1935
1935
 
1936
1936
  class PackageAggregation
1937
1937
  attr_accessor package_names: ::Array[Types::StringFilter]
1938
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1939
1938
  attr_accessor sort_order: ("ASC" | "DESC")
1939
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
1940
1940
  SENSITIVE: []
1941
1941
  end
1942
1942
 
1943
1943
  class PackageAggregationResponse
1944
- attr_accessor account_id: ::String
1945
1944
  attr_accessor package_name: ::String
1945
+ attr_accessor account_id: ::String
1946
1946
  attr_accessor severity_counts: Types::SeverityCounts
1947
1947
  SENSITIVE: []
1948
1948
  end
1949
1949
 
1950
1950
  class PackageFilter
1951
- attr_accessor architecture: Types::StringFilter
1952
- attr_accessor epoch: Types::NumberFilter
1953
- attr_accessor file_path: Types::StringFilter
1954
1951
  attr_accessor name: Types::StringFilter
1952
+ attr_accessor version: Types::StringFilter
1953
+ attr_accessor epoch: Types::NumberFilter
1955
1954
  attr_accessor release: Types::StringFilter
1956
- attr_accessor source_lambda_layer_arn: Types::StringFilter
1955
+ attr_accessor architecture: Types::StringFilter
1957
1956
  attr_accessor source_layer_hash: Types::StringFilter
1958
- attr_accessor version: Types::StringFilter
1957
+ attr_accessor source_lambda_layer_arn: Types::StringFilter
1958
+ attr_accessor file_path: Types::StringFilter
1959
1959
  SENSITIVE: []
1960
1960
  end
1961
1961
 
1962
1962
  class PackageVulnerabilityDetails
1963
+ attr_accessor vulnerability_id: ::String
1964
+ attr_accessor vulnerable_packages: ::Array[Types::VulnerablePackage]
1965
+ attr_accessor source: ::String
1963
1966
  attr_accessor cvss: ::Array[Types::CvssScore]
1964
- attr_accessor reference_urls: ::Array[::String]
1965
1967
  attr_accessor related_vulnerabilities: ::Array[::String]
1966
- attr_accessor source: ::String
1967
1968
  attr_accessor source_url: ::String
1968
- attr_accessor vendor_created_at: ::Time
1969
1969
  attr_accessor vendor_severity: ::String
1970
+ attr_accessor vendor_created_at: ::Time
1970
1971
  attr_accessor vendor_updated_at: ::Time
1971
- attr_accessor vulnerability_id: ::String
1972
- attr_accessor vulnerable_packages: ::Array[Types::VulnerablePackage]
1972
+ attr_accessor reference_urls: ::Array[::String]
1973
1973
  SENSITIVE: []
1974
1974
  end
1975
1975
 
@@ -1980,8 +1980,8 @@ module Aws::Inspector2
1980
1980
  end
1981
1981
 
1982
1982
  class Permission
1983
- attr_accessor operation: ("ENABLE_SCANNING" | "DISABLE_SCANNING" | "ENABLE_REPOSITORY" | "DISABLE_REPOSITORY")
1984
1983
  attr_accessor service: ("EC2" | "ECR" | "LAMBDA")
1984
+ attr_accessor operation: ("ENABLE_SCANNING" | "DISABLE_SCANNING" | "ENABLE_REPOSITORY" | "DISABLE_REPOSITORY")
1985
1985
  SENSITIVE: []
1986
1986
  end
1987
1987
 
@@ -1998,14 +1998,14 @@ module Aws::Inspector2
1998
1998
  end
1999
1999
 
2000
2000
  class ProjectCodeSecurityScanConfiguration
2001
- attr_accessor continuous_integration_scan_configurations: ::Array[Types::ProjectContinuousIntegrationScanConfiguration]
2002
2001
  attr_accessor periodic_scan_configurations: ::Array[Types::ProjectPeriodicScanConfiguration]
2002
+ attr_accessor continuous_integration_scan_configurations: ::Array[Types::ProjectContinuousIntegrationScanConfiguration]
2003
2003
  SENSITIVE: []
2004
2004
  end
2005
2005
 
2006
2006
  class ProjectContinuousIntegrationScanConfiguration
2007
- attr_accessor rule_set_categories: ::Array[("SAST" | "IAC" | "SCA")]
2008
2007
  attr_accessor supported_event: ("PULL_REQUEST" | "PUSH")
2008
+ attr_accessor rule_set_categories: ::Array[("SAST" | "IAC" | "SCA")]
2009
2009
  SENSITIVE: []
2010
2010
  end
2011
2011
 
@@ -2016,8 +2016,8 @@ module Aws::Inspector2
2016
2016
  end
2017
2017
 
2018
2018
  class Recommendation
2019
- attr_accessor url: ::String
2020
2019
  attr_accessor text: ::String
2020
+ attr_accessor url: ::String
2021
2021
  SENSITIVE: []
2022
2022
  end
2023
2023
 
@@ -2028,22 +2028,22 @@ module Aws::Inspector2
2028
2028
 
2029
2029
  class RepositoryAggregation
2030
2030
  attr_accessor repositories: ::Array[Types::StringFilter]
2031
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_IMAGES")
2032
2031
  attr_accessor sort_order: ("ASC" | "DESC")
2032
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL" | "AFFECTED_IMAGES")
2033
2033
  SENSITIVE: []
2034
2034
  end
2035
2035
 
2036
2036
  class RepositoryAggregationResponse
2037
- attr_accessor account_id: ::String
2038
- attr_accessor affected_images: ::Integer
2039
2037
  attr_accessor repository: ::String
2038
+ attr_accessor account_id: ::String
2040
2039
  attr_accessor severity_counts: Types::SeverityCounts
2040
+ attr_accessor affected_images: ::Integer
2041
2041
  SENSITIVE: []
2042
2042
  end
2043
2043
 
2044
2044
  class ResetEncryptionKeyRequest
2045
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2046
2045
  attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
2046
+ attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2047
2047
  SENSITIVE: []
2048
2048
  end
2049
2049
 
@@ -2051,12 +2051,12 @@ module Aws::Inspector2
2051
2051
  end
2052
2052
 
2053
2053
  class Resource
2054
- attr_accessor details: Types::ResourceDetails
2054
+ attr_accessor type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2055
2055
  attr_accessor id: ::String
2056
2056
  attr_accessor partition: ::String
2057
2057
  attr_accessor region: ::String
2058
2058
  attr_accessor tags: ::Hash[::String, ::String]
2059
- attr_accessor type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2059
+ attr_accessor details: Types::ResourceDetails
2060
2060
  SENSITIVE: []
2061
2061
  end
2062
2062
 
@@ -2070,13 +2070,13 @@ module Aws::Inspector2
2070
2070
 
2071
2071
  class ResourceFilterCriteria
2072
2072
  attr_accessor account_id: ::Array[Types::ResourceStringFilter]
2073
- attr_accessor ec2_instance_tags: ::Array[Types::ResourceMapFilter]
2074
- attr_accessor ecr_image_tags: ::Array[Types::ResourceStringFilter]
2073
+ attr_accessor resource_id: ::Array[Types::ResourceStringFilter]
2074
+ attr_accessor resource_type: ::Array[Types::ResourceStringFilter]
2075
2075
  attr_accessor ecr_repository_name: ::Array[Types::ResourceStringFilter]
2076
2076
  attr_accessor lambda_function_name: ::Array[Types::ResourceStringFilter]
2077
+ attr_accessor ecr_image_tags: ::Array[Types::ResourceStringFilter]
2078
+ attr_accessor ec2_instance_tags: ::Array[Types::ResourceMapFilter]
2077
2079
  attr_accessor lambda_function_tags: ::Array[Types::ResourceMapFilter]
2078
- attr_accessor resource_id: ::Array[Types::ResourceStringFilter]
2079
- attr_accessor resource_type: ::Array[Types::ResourceStringFilter]
2080
2080
  SENSITIVE: []
2081
2081
  end
2082
2082
 
@@ -2093,29 +2093,29 @@ module Aws::Inspector2
2093
2093
  end
2094
2094
 
2095
2095
  class ResourceScanMetadata
2096
- attr_accessor code_repository: Types::CodeRepositoryMetadata
2097
- attr_accessor ec2: Types::Ec2Metadata
2098
- attr_accessor ecr_image: Types::EcrContainerImageMetadata
2099
2096
  attr_accessor ecr_repository: Types::EcrRepositoryMetadata
2097
+ attr_accessor ecr_image: Types::EcrContainerImageMetadata
2098
+ attr_accessor ec2: Types::Ec2Metadata
2100
2099
  attr_accessor lambda_function: Types::LambdaFunctionMetadata
2100
+ attr_accessor code_repository: Types::CodeRepositoryMetadata
2101
2101
  SENSITIVE: []
2102
2102
  end
2103
2103
 
2104
2104
  class ResourceState
2105
- attr_accessor code_repository: Types::State
2106
2105
  attr_accessor ec2: Types::State
2107
2106
  attr_accessor ecr: Types::State
2108
2107
  attr_accessor lambda: Types::State
2109
2108
  attr_accessor lambda_code: Types::State
2109
+ attr_accessor code_repository: Types::State
2110
2110
  SENSITIVE: []
2111
2111
  end
2112
2112
 
2113
2113
  class ResourceStatus
2114
- attr_accessor code_repository: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2115
2114
  attr_accessor ec2: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2116
2115
  attr_accessor ecr: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2117
2116
  attr_accessor lambda: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2118
2117
  attr_accessor lambda_code: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2118
+ attr_accessor code_repository: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2119
2119
  SENSITIVE: []
2120
2120
  end
2121
2121
 
@@ -2126,27 +2126,27 @@ module Aws::Inspector2
2126
2126
  end
2127
2127
 
2128
2128
  class ScanStatus
2129
- attr_accessor reason: ("PENDING_INITIAL_SCAN" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "UNMANAGED_EC2_INSTANCE" | "UNSUPPORTED_OS" | "SCAN_ELIGIBILITY_EXPIRED" | "RESOURCE_TERMINATED" | "SUCCESSFUL" | "NO_RESOURCES_FOUND" | "IMAGE_SIZE_EXCEEDED" | "SCAN_FREQUENCY_MANUAL" | "SCAN_FREQUENCY_SCAN_ON_PUSH" | "EC2_INSTANCE_STOPPED" | "PENDING_DISABLE" | "NO_INVENTORY" | "STALE_INVENTORY" | "EXCLUDED_BY_TAG" | "UNSUPPORTED_RUNTIME" | "UNSUPPORTED_MEDIA_TYPE" | "UNSUPPORTED_CONFIG_FILE" | "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" | "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "DEEP_INSPECTION_NO_INVENTORY" | "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" | "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" | "PENDING_REVIVAL_SCAN" | "INTEGRATION_CONNECTION_LOST" | "ACCESS_DENIED_TO_ENCRYPTION_KEY" | "UNSUPPORTED_LANGUAGE" | "NO_SCAN_CONFIGURATION_ASSOCIATED" | "SCAN_IN_PROGRESS")
2130
2129
  attr_accessor status_code: ("ACTIVE" | "INACTIVE")
2130
+ attr_accessor reason: ("PENDING_INITIAL_SCAN" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "UNMANAGED_EC2_INSTANCE" | "UNSUPPORTED_OS" | "SCAN_ELIGIBILITY_EXPIRED" | "RESOURCE_TERMINATED" | "SUCCESSFUL" | "NO_RESOURCES_FOUND" | "IMAGE_SIZE_EXCEEDED" | "SCAN_FREQUENCY_MANUAL" | "SCAN_FREQUENCY_SCAN_ON_PUSH" | "EC2_INSTANCE_STOPPED" | "PENDING_DISABLE" | "NO_INVENTORY" | "STALE_INVENTORY" | "EXCLUDED_BY_TAG" | "UNSUPPORTED_RUNTIME" | "UNSUPPORTED_MEDIA_TYPE" | "UNSUPPORTED_CONFIG_FILE" | "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" | "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" | "DEEP_INSPECTION_NO_INVENTORY" | "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" | "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" | "PENDING_REVIVAL_SCAN" | "INTEGRATION_CONNECTION_LOST" | "ACCESS_DENIED_TO_ENCRYPTION_KEY" | "UNSUPPORTED_LANGUAGE" | "NO_SCAN_CONFIGURATION_ASSOCIATED" | "SCAN_IN_PROGRESS")
2131
2131
  SENSITIVE: []
2132
2132
  end
2133
2133
 
2134
2134
  class Schedule
2135
- attr_accessor daily: Types::DailySchedule
2136
- attr_accessor monthly: Types::MonthlySchedule
2137
2135
  attr_accessor one_time: Types::OneTimeSchedule
2136
+ attr_accessor daily: Types::DailySchedule
2138
2137
  attr_accessor weekly: Types::WeeklySchedule
2138
+ attr_accessor monthly: Types::MonthlySchedule
2139
2139
  attr_accessor unknown: untyped
2140
2140
  SENSITIVE: []
2141
2141
 
2142
- class Daily < Schedule
2143
- end
2144
- class Monthly < Schedule
2145
- end
2146
2142
  class OneTime < Schedule
2147
2143
  end
2144
+ class Daily < Schedule
2145
+ end
2148
2146
  class Weekly < Schedule
2149
2147
  end
2148
+ class Monthly < Schedule
2149
+ end
2150
2150
  class Unknown < Schedule
2151
2151
  end
2152
2152
  end
@@ -2168,8 +2168,8 @@ module Aws::Inspector2
2168
2168
  end
2169
2169
 
2170
2170
  class SearchVulnerabilitiesResponse
2171
- attr_accessor next_token: ::String
2172
2171
  attr_accessor vulnerabilities: ::Array[Types::Vulnerability]
2172
+ attr_accessor next_token: ::String
2173
2173
  SENSITIVE: []
2174
2174
  end
2175
2175
 
@@ -2183,9 +2183,9 @@ module Aws::Inspector2
2183
2183
  end
2184
2184
 
2185
2185
  class SendCisSessionTelemetryRequest
2186
- attr_accessor messages: ::Array[Types::CisSessionMessage]
2187
2186
  attr_accessor scan_job_id: ::String
2188
2187
  attr_accessor session_token: ::String
2188
+ attr_accessor messages: ::Array[Types::CisSessionMessage]
2189
2189
  SENSITIVE: []
2190
2190
  end
2191
2191
 
@@ -2200,9 +2200,9 @@ module Aws::Inspector2
2200
2200
 
2201
2201
  class SeverityCounts
2202
2202
  attr_accessor all: ::Integer
2203
- attr_accessor critical: ::Integer
2204
- attr_accessor high: ::Integer
2205
2203
  attr_accessor medium: ::Integer
2204
+ attr_accessor high: ::Integer
2205
+ attr_accessor critical: ::Integer
2206
2206
  SENSITIVE: []
2207
2207
  end
2208
2208
 
@@ -2218,8 +2218,8 @@ module Aws::Inspector2
2218
2218
  end
2219
2219
 
2220
2220
  class StartCisSessionRequest
2221
- attr_accessor message: Types::StartCisSessionMessage
2222
2221
  attr_accessor scan_job_id: ::String
2222
+ attr_accessor message: Types::StartCisSessionMessage
2223
2223
  SENSITIVE: []
2224
2224
  end
2225
2225
 
@@ -2239,52 +2239,52 @@ module Aws::Inspector2
2239
2239
  end
2240
2240
 
2241
2241
  class State
2242
+ attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2242
2243
  attr_accessor error_code: ("ALREADY_ENABLED" | "ENABLE_IN_PROGRESS" | "DISABLE_IN_PROGRESS" | "SUSPEND_IN_PROGRESS" | "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "INTERNAL_ERROR" | "SSM_UNAVAILABLE" | "SSM_THROTTLED" | "EVENTBRIDGE_UNAVAILABLE" | "EVENTBRIDGE_THROTTLED" | "RESOURCE_SCAN_NOT_DISABLED" | "DISASSOCIATE_ALL_MEMBERS" | "ACCOUNT_IS_ISOLATED" | "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED" | "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED")
2243
2244
  attr_accessor error_message: ::String
2244
- attr_accessor status: ("ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "SUSPENDING" | "SUSPENDED")
2245
2245
  SENSITIVE: []
2246
2246
  end
2247
2247
 
2248
2248
  class StatusCounts
2249
2249
  attr_accessor failed: ::Integer
2250
- attr_accessor passed: ::Integer
2251
2250
  attr_accessor skipped: ::Integer
2251
+ attr_accessor passed: ::Integer
2252
2252
  SENSITIVE: []
2253
2253
  end
2254
2254
 
2255
2255
  class Step
2256
- attr_accessor component_arn: ::String
2257
2256
  attr_accessor component_id: ::String
2258
2257
  attr_accessor component_type: ::String
2258
+ attr_accessor component_arn: ::String
2259
2259
  SENSITIVE: []
2260
2260
  end
2261
2261
 
2262
2262
  class StopCisMessageProgress
2263
- attr_accessor error_checks: ::Integer
2263
+ attr_accessor total_checks: ::Integer
2264
+ attr_accessor successful_checks: ::Integer
2264
2265
  attr_accessor failed_checks: ::Integer
2265
- attr_accessor informational_checks: ::Integer
2266
- attr_accessor not_applicable_checks: ::Integer
2267
2266
  attr_accessor not_evaluated_checks: ::Integer
2268
- attr_accessor successful_checks: ::Integer
2269
- attr_accessor total_checks: ::Integer
2270
2267
  attr_accessor unknown_checks: ::Integer
2268
+ attr_accessor not_applicable_checks: ::Integer
2269
+ attr_accessor informational_checks: ::Integer
2270
+ attr_accessor error_checks: ::Integer
2271
2271
  SENSITIVE: []
2272
2272
  end
2273
2273
 
2274
2274
  class StopCisSessionMessage
2275
- attr_accessor benchmark_profile: ::String
2276
- attr_accessor benchmark_version: ::String
2277
- attr_accessor compute_platform: Types::ComputePlatform
2278
- attr_accessor progress: Types::StopCisMessageProgress
2279
- attr_accessor reason: ::String
2280
2275
  attr_accessor status: ("SUCCESS" | "FAILED" | "INTERRUPTED" | "UNSUPPORTED_OS")
2276
+ attr_accessor reason: ::String
2277
+ attr_accessor progress: Types::StopCisMessageProgress
2278
+ attr_accessor compute_platform: Types::ComputePlatform
2279
+ attr_accessor benchmark_version: ::String
2280
+ attr_accessor benchmark_profile: ::String
2281
2281
  SENSITIVE: []
2282
2282
  end
2283
2283
 
2284
2284
  class StopCisSessionRequest
2285
- attr_accessor message: Types::StopCisSessionMessage
2286
2285
  attr_accessor scan_job_id: ::String
2287
2286
  attr_accessor session_token: ::String
2287
+ attr_accessor message: Types::StopCisSessionMessage
2288
2288
  SENSITIVE: []
2289
2289
  end
2290
2290
 
@@ -2298,14 +2298,14 @@ module Aws::Inspector2
2298
2298
  end
2299
2299
 
2300
2300
  class SuccessfulAssociationResult
2301
- attr_accessor resource: Types::CodeSecurityResource
2302
2301
  attr_accessor scan_configuration_arn: ::String
2302
+ attr_accessor resource: Types::CodeSecurityResource
2303
2303
  SENSITIVE: []
2304
2304
  end
2305
2305
 
2306
2306
  class SuggestedFix
2307
- attr_accessor code: ::String
2308
2307
  attr_accessor description: ::String
2308
+ attr_accessor code: ::String
2309
2309
  SENSITIVE: []
2310
2310
  end
2311
2311
 
@@ -2338,20 +2338,20 @@ module Aws::Inspector2
2338
2338
  end
2339
2339
 
2340
2340
  class TitleAggregation
2341
- attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
2342
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION")
2343
- attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
2344
- attr_accessor sort_order: ("ASC" | "DESC")
2345
2341
  attr_accessor titles: ::Array[Types::StringFilter]
2346
2342
  attr_accessor vulnerability_ids: ::Array[Types::StringFilter]
2343
+ attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2344
+ attr_accessor sort_order: ("ASC" | "DESC")
2345
+ attr_accessor sort_by: ("CRITICAL" | "HIGH" | "ALL")
2346
+ attr_accessor finding_type: ("NETWORK_REACHABILITY" | "PACKAGE_VULNERABILITY" | "CODE_VULNERABILITY")
2347
2347
  SENSITIVE: []
2348
2348
  end
2349
2349
 
2350
2350
  class TitleAggregationResponse
2351
- attr_accessor account_id: ::String
2352
- attr_accessor severity_counts: Types::SeverityCounts
2353
2351
  attr_accessor title: ::String
2354
2352
  attr_accessor vulnerability_id: ::String
2353
+ attr_accessor account_id: ::String
2354
+ attr_accessor severity_counts: Types::SeverityCounts
2355
2355
  SENSITIVE: []
2356
2356
  end
2357
2357
 
@@ -2367,8 +2367,8 @@ module Aws::Inspector2
2367
2367
  class UpdateCisScanConfigurationRequest
2368
2368
  attr_accessor scan_configuration_arn: ::String
2369
2369
  attr_accessor scan_name: ::String
2370
- attr_accessor schedule: Types::Schedule
2371
2370
  attr_accessor security_level: ("LEVEL_1" | "LEVEL_2")
2371
+ attr_accessor schedule: Types::Schedule
2372
2372
  attr_accessor targets: Types::UpdateCisTargets
2373
2373
  SENSITIVE: []
2374
2374
  end
@@ -2385,8 +2385,8 @@ module Aws::Inspector2
2385
2385
  end
2386
2386
 
2387
2387
  class UpdateCodeSecurityIntegrationRequest
2388
- attr_accessor details: Types::UpdateIntegrationDetails
2389
2388
  attr_accessor integration_arn: ::String
2389
+ attr_accessor details: Types::UpdateIntegrationDetails
2390
2390
  SENSITIVE: []
2391
2391
  end
2392
2392
 
@@ -2397,8 +2397,8 @@ module Aws::Inspector2
2397
2397
  end
2398
2398
 
2399
2399
  class UpdateCodeSecurityScanConfigurationRequest
2400
- attr_accessor configuration: Types::CodeSecurityScanConfiguration
2401
2400
  attr_accessor scan_configuration_arn: ::String
2401
+ attr_accessor configuration: Types::CodeSecurityScanConfiguration
2402
2402
  SENSITIVE: []
2403
2403
  end
2404
2404
 
@@ -2408,8 +2408,8 @@ module Aws::Inspector2
2408
2408
  end
2409
2409
 
2410
2410
  class UpdateConfigurationRequest
2411
- attr_accessor ec2_configuration: Types::Ec2Configuration
2412
2411
  attr_accessor ecr_configuration: Types::EcrConfiguration
2412
+ attr_accessor ec2_configuration: Types::Ec2Configuration
2413
2413
  SENSITIVE: []
2414
2414
  end
2415
2415
 
@@ -2423,17 +2423,17 @@ module Aws::Inspector2
2423
2423
  end
2424
2424
 
2425
2425
  class UpdateEc2DeepInspectionConfigurationResponse
2426
- attr_accessor error_message: ::String
2427
- attr_accessor org_package_paths: ::Array[::String]
2428
2426
  attr_accessor package_paths: ::Array[::String]
2427
+ attr_accessor org_package_paths: ::Array[::String]
2429
2428
  attr_accessor status: ("ACTIVATED" | "DEACTIVATED" | "PENDING" | "FAILED")
2429
+ attr_accessor error_message: ::String
2430
2430
  SENSITIVE: []
2431
2431
  end
2432
2432
 
2433
2433
  class UpdateEncryptionKeyRequest
2434
2434
  attr_accessor kms_key_id: ::String
2435
- attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2436
2435
  attr_accessor scan_type: ("NETWORK" | "PACKAGE" | "CODE")
2436
+ attr_accessor resource_type: ("AWS_EC2_INSTANCE" | "AWS_ECR_CONTAINER_IMAGE" | "AWS_ECR_REPOSITORY" | "AWS_LAMBDA_FUNCTION" | "CODE_REPOSITORY")
2437
2437
  SENSITIVE: []
2438
2438
  end
2439
2439
 
@@ -2443,9 +2443,9 @@ module Aws::Inspector2
2443
2443
  class UpdateFilterRequest
2444
2444
  attr_accessor action: ("NONE" | "SUPPRESS")
2445
2445
  attr_accessor description: ::String
2446
- attr_accessor filter_arn: ::String
2447
2446
  attr_accessor filter_criteria: Types::FilterCriteria
2448
2447
  attr_accessor name: ::String
2448
+ attr_accessor filter_arn: ::String
2449
2449
  attr_accessor reason: ::String
2450
2450
  SENSITIVE: []
2451
2451
  end
@@ -2467,15 +2467,15 @@ module Aws::Inspector2
2467
2467
  end
2468
2468
 
2469
2469
  class UpdateIntegrationDetails
2470
- attr_accessor github: Types::UpdateGitHubIntegrationDetail
2471
2470
  attr_accessor gitlab_self_managed: Types::UpdateGitLabSelfManagedIntegrationDetail
2471
+ attr_accessor github: Types::UpdateGitHubIntegrationDetail
2472
2472
  attr_accessor unknown: untyped
2473
2473
  SENSITIVE: []
2474
2474
 
2475
- class Github < UpdateIntegrationDetails
2476
- end
2477
2475
  class GitlabSelfManaged < UpdateIntegrationDetails
2478
2476
  end
2477
+ class Github < UpdateIntegrationDetails
2478
+ end
2479
2479
  class Unknown < UpdateIntegrationDetails
2480
2480
  end
2481
2481
  end
@@ -2499,10 +2499,10 @@ module Aws::Inspector2
2499
2499
  end
2500
2500
 
2501
2501
  class Usage
2502
- attr_accessor currency: ("USD")
2503
- attr_accessor estimated_monthly_cost: ::Float
2502
+ attr_accessor type: ("EC2_INSTANCE_HOURS" | "ECR_INITIAL_SCAN" | "ECR_RESCAN" | "LAMBDA_FUNCTION_HOURS" | "LAMBDA_FUNCTION_CODE_HOURS" | "CODE_REPOSITORY_SAST" | "CODE_REPOSITORY_IAC" | "CODE_REPOSITORY_SCA" | "EC2_AGENTLESS_INSTANCE_HOURS")
2504
2503
  attr_accessor total: ::Float
2505
- attr_accessor type: ("EC2_INSTANCE_HOURS" | "ECR_INITIAL_SCAN" | "ECR_RESCAN" | "LAMBDA_FUNCTION_HOURS" | "LAMBDA_FUNCTION_CODE_HOURS" | "CODE_REPOSITORY_SAST" | "CODE_REPOSITORY_IAC" | "CODE_REPOSITORY_SCA")
2504
+ attr_accessor estimated_monthly_cost: ::Float
2505
+ attr_accessor currency: ("USD")
2506
2506
  SENSITIVE: []
2507
2507
  end
2508
2508
 
@@ -2513,57 +2513,57 @@ module Aws::Inspector2
2513
2513
  end
2514
2514
 
2515
2515
  class ValidationException
2516
- attr_accessor fields: ::Array[Types::ValidationExceptionField]
2517
2516
  attr_accessor message: ::String
2518
2517
  attr_accessor reason: ("CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER")
2518
+ attr_accessor fields: ::Array[Types::ValidationExceptionField]
2519
2519
  SENSITIVE: []
2520
2520
  end
2521
2521
 
2522
2522
  class ValidationExceptionField
2523
- attr_accessor message: ::String
2524
2523
  attr_accessor name: ::String
2524
+ attr_accessor message: ::String
2525
2525
  SENSITIVE: []
2526
2526
  end
2527
2527
 
2528
2528
  class Vulnerability
2529
- attr_accessor atig_data: Types::AtigData
2530
- attr_accessor cisa_data: Types::CisaData
2531
- attr_accessor cvss2: Types::Cvss2
2532
- attr_accessor cvss3: Types::Cvss3
2529
+ attr_accessor id: ::String
2533
2530
  attr_accessor cwes: ::Array[::String]
2531
+ attr_accessor cisa_data: Types::CisaData
2532
+ attr_accessor source: ("NVD")
2534
2533
  attr_accessor description: ::String
2535
- attr_accessor detection_platforms: ::Array[::String]
2536
- attr_accessor epss: Types::Epss
2537
- attr_accessor exploit_observed: Types::ExploitObserved
2538
- attr_accessor id: ::String
2539
- attr_accessor reference_urls: ::Array[::String]
2534
+ attr_accessor atig_data: Types::AtigData
2535
+ attr_accessor vendor_severity: ::String
2536
+ attr_accessor cvss3: Types::Cvss3
2540
2537
  attr_accessor related_vulnerabilities: ::Array[::String]
2541
- attr_accessor source: ("NVD")
2542
- attr_accessor source_url: ::String
2538
+ attr_accessor cvss2: Types::Cvss2
2543
2539
  attr_accessor vendor_created_at: ::Time
2544
- attr_accessor vendor_severity: ::String
2545
2540
  attr_accessor vendor_updated_at: ::Time
2541
+ attr_accessor source_url: ::String
2542
+ attr_accessor reference_urls: ::Array[::String]
2543
+ attr_accessor exploit_observed: Types::ExploitObserved
2544
+ attr_accessor detection_platforms: ::Array[::String]
2545
+ attr_accessor epss: Types::Epss
2546
2546
  SENSITIVE: []
2547
2547
  end
2548
2548
 
2549
2549
  class VulnerablePackage
2550
- attr_accessor arch: ::String
2550
+ attr_accessor name: ::String
2551
+ attr_accessor version: ::String
2552
+ attr_accessor source_layer_hash: ::String
2551
2553
  attr_accessor epoch: ::Integer
2554
+ attr_accessor release: ::String
2555
+ attr_accessor arch: ::String
2556
+ attr_accessor package_manager: ("BUNDLER" | "CARGO" | "COMPOSER" | "NPM" | "NUGET" | "PIPENV" | "POETRY" | "YARN" | "GOBINARY" | "GOMOD" | "JAR" | "OS" | "PIP" | "PYTHONPKG" | "NODEPKG" | "POM" | "GEMSPEC" | "DOTNET_CORE")
2552
2557
  attr_accessor file_path: ::String
2553
2558
  attr_accessor fixed_in_version: ::String
2554
- attr_accessor name: ::String
2555
- attr_accessor package_manager: ("BUNDLER" | "CARGO" | "COMPOSER" | "NPM" | "NUGET" | "PIPENV" | "POETRY" | "YARN" | "GOBINARY" | "GOMOD" | "JAR" | "OS" | "PIP" | "PYTHONPKG" | "NODEPKG" | "POM" | "GEMSPEC" | "DOTNET_CORE")
2556
- attr_accessor release: ::String
2557
2559
  attr_accessor remediation: ::String
2558
2560
  attr_accessor source_lambda_layer_arn: ::String
2559
- attr_accessor source_layer_hash: ::String
2560
- attr_accessor version: ::String
2561
2561
  SENSITIVE: []
2562
2562
  end
2563
2563
 
2564
2564
  class WeeklySchedule
2565
- attr_accessor days: ::Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")]
2566
2565
  attr_accessor start_time: Types::Time
2566
+ attr_accessor days: ::Array[("SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT")]
2567
2567
  SENSITIVE: []
2568
2568
  end
2569
2569
  end