aws-sdk-inspector2 1.52.0 → 1.54.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.
@@ -12,6 +12,9 @@ module Aws::Inspector2
12
12
 
13
13
  # You do not have sufficient access to perform this action.
14
14
  #
15
+ # For `Enable`, you receive this error if you attempt to use a feature
16
+ # in an unsupported Amazon Web Services Region.
17
+ #
15
18
  # @!attribute [rw] message
16
19
  # @return [String]
17
20
  #
@@ -152,6 +155,11 @@ module Aws::Inspector2
152
155
  # on Amazon ECR container images.
153
156
  # @return [Types::AwsEcrContainerAggregation]
154
157
  #
158
+ # @!attribute [rw] code_repository_aggregation
159
+ # An object that contains details about an aggregation request based
160
+ # on code repositories.
161
+ # @return [Types::CodeRepositoryAggregation]
162
+ #
155
163
  # @!attribute [rw] ec2_instance_aggregation
156
164
  # An object that contains details about an aggregation request based
157
165
  # on Amazon EC2 instances.
@@ -198,6 +206,7 @@ module Aws::Inspector2
198
206
  :account_aggregation,
199
207
  :ami_aggregation,
200
208
  :aws_ecr_container_aggregation,
209
+ :code_repository_aggregation,
201
210
  :ec2_instance_aggregation,
202
211
  :finding_type_aggregation,
203
212
  :image_layer_aggregation,
@@ -214,6 +223,7 @@ module Aws::Inspector2
214
223
  class AccountAggregation < AggregationRequest; end
215
224
  class AmiAggregation < AggregationRequest; end
216
225
  class AwsEcrContainerAggregation < AggregationRequest; end
226
+ class CodeRepositoryAggregation < AggregationRequest; end
217
227
  class Ec2InstanceAggregation < AggregationRequest; end
218
228
  class FindingTypeAggregation < AggregationRequest; end
219
229
  class ImageLayerAggregation < AggregationRequest; end
@@ -245,6 +255,11 @@ module Aws::Inspector2
245
255
  # on Amazon ECR container images.
246
256
  # @return [Types::AwsEcrContainerAggregationResponse]
247
257
  #
258
+ # @!attribute [rw] code_repository_aggregation
259
+ # An object that contains details about an aggregation response based
260
+ # on code repositories.
261
+ # @return [Types::CodeRepositoryAggregationResponse]
262
+ #
248
263
  # @!attribute [rw] ec2_instance_aggregation
249
264
  # An object that contains details about an aggregation response based
250
265
  # on Amazon EC2 instances.
@@ -289,6 +304,7 @@ module Aws::Inspector2
289
304
  :account_aggregation,
290
305
  :ami_aggregation,
291
306
  :aws_ecr_container_aggregation,
307
+ :code_repository_aggregation,
292
308
  :ec2_instance_aggregation,
293
309
  :finding_type_aggregation,
294
310
  :image_layer_aggregation,
@@ -305,6 +321,7 @@ module Aws::Inspector2
305
321
  class AccountAggregation < AggregationResponse; end
306
322
  class AmiAggregation < AggregationResponse; end
307
323
  class AwsEcrContainerAggregation < AggregationResponse; end
324
+ class CodeRepositoryAggregation < AggregationResponse; end
308
325
  class Ec2InstanceAggregation < AggregationResponse; end
309
326
  class FindingTypeAggregation < AggregationResponse; end
310
327
  class ImageLayerAggregation < AggregationResponse; end
@@ -370,6 +387,27 @@ module Aws::Inspector2
370
387
  include Aws::Structure
371
388
  end
372
389
 
390
+ # Contains details about a request to associate a code repository with a
391
+ # scan configuration.
392
+ #
393
+ # @!attribute [rw] resource
394
+ # Identifies a specific resource in a code repository that will be
395
+ # scanned.
396
+ # @return [Types::CodeSecurityResource]
397
+ #
398
+ # @!attribute [rw] scan_configuration_arn
399
+ # The Amazon Resource Name (ARN) of the scan configuration.
400
+ # @return [String]
401
+ #
402
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateConfigurationRequest AWS API Documentation
403
+ #
404
+ class AssociateConfigurationRequest < Struct.new(
405
+ :resource,
406
+ :scan_configuration_arn)
407
+ SENSITIVE = []
408
+ include Aws::Structure
409
+ end
410
+
373
411
  # @!attribute [rw] account_id
374
412
  # The Amazon Web Services account ID of the member account to be
375
413
  # associated.
@@ -434,6 +472,11 @@ module Aws::Inspector2
434
472
  # Represents which scan types are automatically enabled for new members
435
473
  # of your Amazon Inspector organization.
436
474
  #
475
+ # @!attribute [rw] code_repository
476
+ # Represents whether code repository scans are automatically enabled
477
+ # for new members of your Amazon Inspector organization.
478
+ # @return [Boolean]
479
+ #
437
480
  # @!attribute [rw] ec2
438
481
  # Represents whether Amazon EC2 scans are automatically enabled for
439
482
  # new members of your Amazon Inspector organization.
@@ -452,12 +495,13 @@ module Aws::Inspector2
452
495
  #
453
496
  # @!attribute [rw] lambda_code
454
497
  # Represents whether Lambda code scans are automatically enabled for
455
- # new members of your Amazon Inspector organization. </p>
498
+ # new members of your Amazon Inspector organization.
456
499
  # @return [Boolean]
457
500
  #
458
501
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AutoEnable AWS API Documentation
459
502
  #
460
503
  class AutoEnable < Struct.new(
504
+ :code_repository,
461
505
  :ec2,
462
506
  :ecr,
463
507
  :lambda,
@@ -845,6 +889,70 @@ module Aws::Inspector2
845
889
  include Aws::Structure
846
890
  end
847
891
 
892
+ # @!attribute [rw] associate_configuration_requests
893
+ # A list of code repositories to associate with the specified scan
894
+ # configuration.
895
+ # @return [Array<Types::AssociateConfigurationRequest>]
896
+ #
897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchAssociateCodeSecurityScanConfigurationRequest AWS API Documentation
898
+ #
899
+ class BatchAssociateCodeSecurityScanConfigurationRequest < Struct.new(
900
+ :associate_configuration_requests)
901
+ SENSITIVE = []
902
+ include Aws::Structure
903
+ end
904
+
905
+ # @!attribute [rw] failed_associations
906
+ # Details of any code repositories that failed to be associated with
907
+ # the scan configuration.
908
+ # @return [Array<Types::FailedAssociationResult>]
909
+ #
910
+ # @!attribute [rw] successful_associations
911
+ # Details of code repositories that were successfully associated with
912
+ # the scan configuration.
913
+ # @return [Array<Types::SuccessfulAssociationResult>]
914
+ #
915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchAssociateCodeSecurityScanConfigurationResponse AWS API Documentation
916
+ #
917
+ class BatchAssociateCodeSecurityScanConfigurationResponse < Struct.new(
918
+ :failed_associations,
919
+ :successful_associations)
920
+ SENSITIVE = []
921
+ include Aws::Structure
922
+ end
923
+
924
+ # @!attribute [rw] disassociate_configuration_requests
925
+ # A list of code repositories to disassociate from the specified scan
926
+ # configuration.
927
+ # @return [Array<Types::DisassociateConfigurationRequest>]
928
+ #
929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchDisassociateCodeSecurityScanConfigurationRequest AWS API Documentation
930
+ #
931
+ class BatchDisassociateCodeSecurityScanConfigurationRequest < Struct.new(
932
+ :disassociate_configuration_requests)
933
+ SENSITIVE = []
934
+ include Aws::Structure
935
+ end
936
+
937
+ # @!attribute [rw] failed_associations
938
+ # Details of any code repositories that failed to be disassociated
939
+ # from the scan configuration.
940
+ # @return [Array<Types::FailedAssociationResult>]
941
+ #
942
+ # @!attribute [rw] successful_associations
943
+ # Details of code repositories that were successfully disassociated
944
+ # from the scan configuration.
945
+ # @return [Array<Types::SuccessfulAssociationResult>]
946
+ #
947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchDisassociateCodeSecurityScanConfigurationResponse AWS API Documentation
948
+ #
949
+ class BatchDisassociateCodeSecurityScanConfigurationResponse < Struct.new(
950
+ :failed_associations,
951
+ :successful_associations)
952
+ SENSITIVE = []
953
+ include Aws::Structure
954
+ end
955
+
848
956
  # @!attribute [rw] account_ids
849
957
  # The 12-digit Amazon Web Services account IDs of the accounts to
850
958
  # retrieve Amazon Inspector status for.
@@ -973,7 +1081,6 @@ module Aws::Inspector2
973
1081
  # @!attribute [rw] account_ids
974
1082
  # The unique identifiers for the Amazon Web Services accounts to
975
1083
  # retrieve Amazon Inspector deep inspection activation status for.
976
- # </p>
977
1084
  # @return [Array<String>]
978
1085
  #
979
1086
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatusRequest AWS API Documentation
@@ -987,12 +1094,11 @@ module Aws::Inspector2
987
1094
  # @!attribute [rw] account_ids
988
1095
  # An array of objects that provide details on the activation status of
989
1096
  # Amazon Inspector deep inspection for each of the requested accounts.
990
- # </p>
991
1097
  # @return [Array<Types::MemberAccountEc2DeepInspectionStatusState>]
992
1098
  #
993
1099
  # @!attribute [rw] failed_account_ids
994
1100
  # An array of objects that provide details on any accounts that failed
995
- # to activate Amazon Inspector deep inspection and why. </p>
1101
+ # to activate Amazon Inspector deep inspection and why.
996
1102
  # @return [Array<Types::FailedMemberAccountEc2DeepInspectionStatusState>]
997
1103
  #
998
1104
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetMemberEc2DeepInspectionStatusResponse AWS API Documentation
@@ -1871,6 +1977,358 @@ module Aws::Inspector2
1871
1977
  include Aws::Structure
1872
1978
  end
1873
1979
 
1980
+ # The details that define an aggregation based on code repositories.
1981
+ #
1982
+ # @!attribute [rw] project_names
1983
+ # The project names to include in the aggregation results.
1984
+ # @return [Array<Types::StringFilter>]
1985
+ #
1986
+ # @!attribute [rw] provider_types
1987
+ # The repository provider types to include in the aggregation results.
1988
+ # @return [Array<Types::StringFilter>]
1989
+ #
1990
+ # @!attribute [rw] resource_ids
1991
+ # The resource IDs to include in the aggregation results.
1992
+ # @return [Array<Types::StringFilter>]
1993
+ #
1994
+ # @!attribute [rw] sort_by
1995
+ # The value to sort results by in the code repository aggregation.
1996
+ # @return [String]
1997
+ #
1998
+ # @!attribute [rw] sort_order
1999
+ # The order to sort results by (ascending or descending) in the code
2000
+ # repository aggregation.
2001
+ # @return [String]
2002
+ #
2003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeRepositoryAggregation AWS API Documentation
2004
+ #
2005
+ class CodeRepositoryAggregation < Struct.new(
2006
+ :project_names,
2007
+ :provider_types,
2008
+ :resource_ids,
2009
+ :sort_by,
2010
+ :sort_order)
2011
+ SENSITIVE = []
2012
+ include Aws::Structure
2013
+ end
2014
+
2015
+ # A response that contains the results of a finding aggregation by code
2016
+ # repository.
2017
+ #
2018
+ # @!attribute [rw] account_id
2019
+ # The Amazon Web Services account ID associated with the code
2020
+ # repository.
2021
+ # @return [String]
2022
+ #
2023
+ # @!attribute [rw] exploit_available_active_findings_count
2024
+ # The number of active findings that have an exploit available for the
2025
+ # code repository.
2026
+ # @return [Integer]
2027
+ #
2028
+ # @!attribute [rw] fix_available_active_findings_count
2029
+ # The number of active findings that have a fix available for the code
2030
+ # repository.
2031
+ # @return [Integer]
2032
+ #
2033
+ # @!attribute [rw] project_names
2034
+ # The names of the projects associated with the code repository.
2035
+ # @return [String]
2036
+ #
2037
+ # @!attribute [rw] provider_type
2038
+ # The type of repository provider for the code repository.
2039
+ # @return [String]
2040
+ #
2041
+ # @!attribute [rw] resource_id
2042
+ # The resource ID of the code repository.
2043
+ # @return [String]
2044
+ #
2045
+ # @!attribute [rw] severity_counts
2046
+ # An object that contains the counts of aggregated finding per
2047
+ # severity.
2048
+ # @return [Types::SeverityCounts]
2049
+ #
2050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeRepositoryAggregationResponse AWS API Documentation
2051
+ #
2052
+ class CodeRepositoryAggregationResponse < Struct.new(
2053
+ :account_id,
2054
+ :exploit_available_active_findings_count,
2055
+ :fix_available_active_findings_count,
2056
+ :project_names,
2057
+ :provider_type,
2058
+ :resource_id,
2059
+ :severity_counts)
2060
+ SENSITIVE = []
2061
+ include Aws::Structure
2062
+ end
2063
+
2064
+ # Contains details about a code repository associated with a finding.
2065
+ #
2066
+ # @!attribute [rw] integration_arn
2067
+ # The Amazon Resource Name (ARN) of the code security integration
2068
+ # associated with the repository.
2069
+ # @return [String]
2070
+ #
2071
+ # @!attribute [rw] project_name
2072
+ # The name of the project in the code repository.
2073
+ # @return [String]
2074
+ #
2075
+ # @!attribute [rw] provider_type
2076
+ # The type of repository provider (such as GitHub, GitLab, etc.).
2077
+ # @return [String]
2078
+ #
2079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeRepositoryDetails AWS API Documentation
2080
+ #
2081
+ class CodeRepositoryDetails < Struct.new(
2082
+ :integration_arn,
2083
+ :project_name,
2084
+ :provider_type)
2085
+ SENSITIVE = []
2086
+ include Aws::Structure
2087
+ end
2088
+
2089
+ # Contains metadata information about a code repository that is being
2090
+ # scanned by Amazon Inspector.
2091
+ #
2092
+ # @!attribute [rw] integration_arn
2093
+ # The Amazon Resource Name (ARN) of the code security integration
2094
+ # associated with the repository.
2095
+ # @return [String]
2096
+ #
2097
+ # @!attribute [rw] last_scanned_commit_id
2098
+ # The ID of the last commit that was scanned in the repository.
2099
+ # @return [String]
2100
+ #
2101
+ # @!attribute [rw] on_demand_scan
2102
+ # Information about on-demand scans performed on the repository.
2103
+ # @return [Types::CodeRepositoryOnDemandScan]
2104
+ #
2105
+ # @!attribute [rw] project_name
2106
+ # The name of the project in the code repository.
2107
+ # @return [String]
2108
+ #
2109
+ # @!attribute [rw] provider_type
2110
+ # The type of repository provider (such as GitHub, GitLab, etc.).
2111
+ # @return [String]
2112
+ #
2113
+ # @!attribute [rw] provider_type_visibility
2114
+ # The visibility setting of the repository (public or private).
2115
+ # @return [String]
2116
+ #
2117
+ # @!attribute [rw] scan_configuration
2118
+ # The scan configuration settings applied to the code repository.
2119
+ # @return [Types::ProjectCodeSecurityScanConfiguration]
2120
+ #
2121
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeRepositoryMetadata AWS API Documentation
2122
+ #
2123
+ class CodeRepositoryMetadata < Struct.new(
2124
+ :integration_arn,
2125
+ :last_scanned_commit_id,
2126
+ :on_demand_scan,
2127
+ :project_name,
2128
+ :provider_type,
2129
+ :provider_type_visibility,
2130
+ :scan_configuration)
2131
+ SENSITIVE = []
2132
+ include Aws::Structure
2133
+ end
2134
+
2135
+ # Contains information about on-demand scans performed on a code
2136
+ # repository.
2137
+ #
2138
+ # @!attribute [rw] last_scan_at
2139
+ # The timestamp when the last on-demand scan was performed.
2140
+ # @return [Time]
2141
+ #
2142
+ # @!attribute [rw] last_scanned_commit_id
2143
+ # The ID of the last commit that was scanned during an on-demand scan.
2144
+ # @return [String]
2145
+ #
2146
+ # @!attribute [rw] scan_status
2147
+ # The status of the scan.
2148
+ # @return [Types::ScanStatus]
2149
+ #
2150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeRepositoryOnDemandScan AWS API Documentation
2151
+ #
2152
+ class CodeRepositoryOnDemandScan < Struct.new(
2153
+ :last_scan_at,
2154
+ :last_scanned_commit_id,
2155
+ :scan_status)
2156
+ SENSITIVE = []
2157
+ include Aws::Structure
2158
+ end
2159
+
2160
+ # A summary of information about a code security integration.
2161
+ #
2162
+ # @!attribute [rw] created_on
2163
+ # The timestamp when the code security integration was created.
2164
+ # @return [Time]
2165
+ #
2166
+ # @!attribute [rw] integration_arn
2167
+ # The Amazon Resource Name (ARN) of the code security integration.
2168
+ # @return [String]
2169
+ #
2170
+ # @!attribute [rw] last_update_on
2171
+ # The timestamp when the code security integration was last updated.
2172
+ # @return [Time]
2173
+ #
2174
+ # @!attribute [rw] name
2175
+ # The name of the code security integration.
2176
+ # @return [String]
2177
+ #
2178
+ # @!attribute [rw] status
2179
+ # The current status of the code security integration.
2180
+ # @return [String]
2181
+ #
2182
+ # @!attribute [rw] status_reason
2183
+ # The reason for the current status of the code security integration.
2184
+ # @return [String]
2185
+ #
2186
+ # @!attribute [rw] tags
2187
+ # The tags associated with the code security integration.
2188
+ # @return [Hash<String,String>]
2189
+ #
2190
+ # @!attribute [rw] type
2191
+ # The type of repository provider for the integration.
2192
+ # @return [String]
2193
+ #
2194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeSecurityIntegrationSummary AWS API Documentation
2195
+ #
2196
+ class CodeSecurityIntegrationSummary < Struct.new(
2197
+ :created_on,
2198
+ :integration_arn,
2199
+ :last_update_on,
2200
+ :name,
2201
+ :status,
2202
+ :status_reason,
2203
+ :tags,
2204
+ :type)
2205
+ SENSITIVE = []
2206
+ include Aws::Structure
2207
+ end
2208
+
2209
+ # Identifies a specific resource in a code repository that will be
2210
+ # scanned.
2211
+ #
2212
+ # @note CodeSecurityResource is a union - when making an API calls you must set exactly one of the members.
2213
+ #
2214
+ # @note CodeSecurityResource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CodeSecurityResource corresponding to the set member.
2215
+ #
2216
+ # @!attribute [rw] project_id
2217
+ # The unique identifier of the project in the code repository.
2218
+ # @return [String]
2219
+ #
2220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeSecurityResource AWS API Documentation
2221
+ #
2222
+ class CodeSecurityResource < Struct.new(
2223
+ :project_id,
2224
+ :unknown)
2225
+ SENSITIVE = []
2226
+ include Aws::Structure
2227
+ include Aws::Structure::Union
2228
+
2229
+ class ProjectId < CodeSecurityResource; end
2230
+ class Unknown < CodeSecurityResource; end
2231
+ end
2232
+
2233
+ # Contains the configuration settings for code security scans.
2234
+ #
2235
+ # @!attribute [rw] continuous_integration_scan_configuration
2236
+ # Configuration settings for continuous integration scans that run
2237
+ # automatically when code changes are made.
2238
+ # @return [Types::ContinuousIntegrationScanConfiguration]
2239
+ #
2240
+ # @!attribute [rw] periodic_scan_configuration
2241
+ # Configuration settings for periodic scans that run on a scheduled
2242
+ # basis.
2243
+ # @return [Types::PeriodicScanConfiguration]
2244
+ #
2245
+ # @!attribute [rw] rule_set_categories
2246
+ # The categories of security rules to be applied during the scan.
2247
+ # @return [Array<String>]
2248
+ #
2249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeSecurityScanConfiguration AWS API Documentation
2250
+ #
2251
+ class CodeSecurityScanConfiguration < Struct.new(
2252
+ :continuous_integration_scan_configuration,
2253
+ :periodic_scan_configuration,
2254
+ :rule_set_categories)
2255
+ SENSITIVE = []
2256
+ include Aws::Structure
2257
+ end
2258
+
2259
+ # A summary of an association between a code repository and a scan
2260
+ # configuration.
2261
+ #
2262
+ # @!attribute [rw] resource
2263
+ # Identifies a specific resource in a code repository that will be
2264
+ # scanned.
2265
+ # @return [Types::CodeSecurityResource]
2266
+ #
2267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeSecurityScanConfigurationAssociationSummary AWS API Documentation
2268
+ #
2269
+ class CodeSecurityScanConfigurationAssociationSummary < Struct.new(
2270
+ :resource)
2271
+ SENSITIVE = []
2272
+ include Aws::Structure
2273
+ end
2274
+
2275
+ # A summary of information about a code security scan configuration.
2276
+ #
2277
+ # @!attribute [rw] continuous_integration_scan_supported_events
2278
+ # The repository events that trigger continuous integration scans.
2279
+ # @return [Array<String>]
2280
+ #
2281
+ # @!attribute [rw] frequency_expression
2282
+ # The schedule expression for periodic scans, in cron format.
2283
+ # @return [String]
2284
+ #
2285
+ # @!attribute [rw] name
2286
+ # The name of the scan configuration.
2287
+ # @return [String]
2288
+ #
2289
+ # @!attribute [rw] owner_account_id
2290
+ # The Amazon Web Services account ID that owns the scan configuration.
2291
+ # @return [String]
2292
+ #
2293
+ # @!attribute [rw] periodic_scan_frequency
2294
+ # The frequency at which periodic scans are performed.
2295
+ # @return [String]
2296
+ #
2297
+ # @!attribute [rw] rule_set_categories
2298
+ # The categories of security rules applied during the scan.
2299
+ # @return [Array<String>]
2300
+ #
2301
+ # @!attribute [rw] scan_configuration_arn
2302
+ # The Amazon Resource Name (ARN) of the scan configuration.
2303
+ # @return [String]
2304
+ #
2305
+ # @!attribute [rw] scope_settings
2306
+ # The scope settings that define which repositories will be scanned.
2307
+ # If the `ScopeSetting` parameter is `ALL` the scan configuration
2308
+ # applies to all existing and future projects imported into Amazon
2309
+ # Inspector.
2310
+ # @return [Types::ScopeSettings]
2311
+ #
2312
+ # @!attribute [rw] tags
2313
+ # The tags associated with the scan configuration.
2314
+ # @return [Hash<String,String>]
2315
+ #
2316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CodeSecurityScanConfigurationSummary AWS API Documentation
2317
+ #
2318
+ class CodeSecurityScanConfigurationSummary < Struct.new(
2319
+ :continuous_integration_scan_supported_events,
2320
+ :frequency_expression,
2321
+ :name,
2322
+ :owner_account_id,
2323
+ :periodic_scan_frequency,
2324
+ :rule_set_categories,
2325
+ :scan_configuration_arn,
2326
+ :scope_settings,
2327
+ :tags)
2328
+ SENSITIVE = []
2329
+ include Aws::Structure
2330
+ end
2331
+
1874
2332
  # Contains information about any errors encountered while trying to
1875
2333
  # retrieve a code snippet.
1876
2334
  #
@@ -2033,7 +2491,8 @@ module Aws::Inspector2
2033
2491
  include Aws::Structure
2034
2492
  end
2035
2493
 
2036
- # A conflict occurred.
2494
+ # A conflict occurred. This exception occurs when the same resource is
2495
+ # being modified by concurrent requests.
2037
2496
  #
2038
2497
  # @!attribute [rw] message
2039
2498
  # @return [String]
@@ -2056,6 +2515,22 @@ module Aws::Inspector2
2056
2515
  include Aws::Structure
2057
2516
  end
2058
2517
 
2518
+ # Configuration settings for continuous integration scans that run
2519
+ # automatically when code changes are made.
2520
+ #
2521
+ # @!attribute [rw] supported_events
2522
+ # The repository events that trigger continuous integration scans,
2523
+ # such as pull requests or commits.
2524
+ # @return [Array<String>]
2525
+ #
2526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ContinuousIntegrationScanConfiguration AWS API Documentation
2527
+ #
2528
+ class ContinuousIntegrationScanConfiguration < Struct.new(
2529
+ :supported_events)
2530
+ SENSITIVE = []
2531
+ include Aws::Structure
2532
+ end
2533
+
2059
2534
  # a structure that contains information on the count of resources within
2060
2535
  # a group.
2061
2536
  #
@@ -2105,6 +2580,20 @@ module Aws::Inspector2
2105
2580
  # statistics for.
2106
2581
  # @return [Array<Types::CoverageStringFilter>]
2107
2582
  #
2583
+ # @!attribute [rw] code_repository_project_name
2584
+ # Filter criteria for code repositories based on project name.
2585
+ # @return [Array<Types::CoverageStringFilter>]
2586
+ #
2587
+ # @!attribute [rw] code_repository_provider_type
2588
+ # Filter criteria for code repositories based on provider type (such
2589
+ # as GitHub, GitLab, etc.).
2590
+ # @return [Array<Types::CoverageStringFilter>]
2591
+ #
2592
+ # @!attribute [rw] code_repository_provider_type_visibility
2593
+ # Filter criteria for code repositories based on visibility setting
2594
+ # (public or private).
2595
+ # @return [Array<Types::CoverageStringFilter>]
2596
+ #
2108
2597
  # @!attribute [rw] ec2_instance_tags
2109
2598
  # The Amazon EC2 instance tags to filter on.
2110
2599
  # @return [Array<Types::CoverageMapFilter>]
@@ -2150,6 +2639,11 @@ module Aws::Inspector2
2150
2639
  # time range.
2151
2640
  # @return [Array<Types::CoverageDateFilter>]
2152
2641
  #
2642
+ # @!attribute [rw] last_scanned_commit_id
2643
+ # Filter criteria for code repositories based on the ID of the last
2644
+ # scanned commit.
2645
+ # @return [Array<Types::CoverageStringFilter>]
2646
+ #
2153
2647
  # @!attribute [rw] resource_id
2154
2648
  # An array of Amazon Web Services resource IDs to return coverage
2155
2649
  # statistics for.
@@ -2187,6 +2681,9 @@ module Aws::Inspector2
2187
2681
  #
2188
2682
  class CoverageFilterCriteria < Struct.new(
2189
2683
  :account_id,
2684
+ :code_repository_project_name,
2685
+ :code_repository_provider_type,
2686
+ :code_repository_provider_type_visibility,
2190
2687
  :ec2_instance_tags,
2191
2688
  :ecr_image_in_use_count,
2192
2689
  :ecr_image_last_in_use_at,
@@ -2197,6 +2694,7 @@ module Aws::Inspector2
2197
2694
  :lambda_function_runtime,
2198
2695
  :lambda_function_tags,
2199
2696
  :last_scanned_at,
2697
+ :last_scanned_commit_id,
2200
2698
  :resource_id,
2201
2699
  :resource_type,
2202
2700
  :scan_mode,
@@ -2383,12 +2881,114 @@ module Aws::Inspector2
2383
2881
  include Aws::Structure
2384
2882
  end
2385
2883
 
2386
- # @!attribute [rw] action
2387
- # Defines the action that is to be applied to the findings that match
2388
- # the filter.
2884
+ # @!attribute [rw] details
2885
+ # The integration details specific to the repository provider type.
2886
+ # @return [Types::CreateIntegrationDetail]
2887
+ #
2888
+ # @!attribute [rw] name
2889
+ # The name of the code security integration.
2389
2890
  # @return [String]
2390
2891
  #
2391
- # @!attribute [rw] description
2892
+ # @!attribute [rw] tags
2893
+ # The tags to apply to the code security integration.
2894
+ # @return [Hash<String,String>]
2895
+ #
2896
+ # @!attribute [rw] type
2897
+ # The type of repository provider for the integration.
2898
+ # @return [String]
2899
+ #
2900
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCodeSecurityIntegrationRequest AWS API Documentation
2901
+ #
2902
+ class CreateCodeSecurityIntegrationRequest < Struct.new(
2903
+ :details,
2904
+ :name,
2905
+ :tags,
2906
+ :type)
2907
+ SENSITIVE = []
2908
+ include Aws::Structure
2909
+ end
2910
+
2911
+ # @!attribute [rw] authorization_url
2912
+ # The URL used to authorize the integration with the repository
2913
+ # provider.
2914
+ # @return [String]
2915
+ #
2916
+ # @!attribute [rw] integration_arn
2917
+ # The Amazon Resource Name (ARN) of the created code security
2918
+ # integration.
2919
+ # @return [String]
2920
+ #
2921
+ # @!attribute [rw] status
2922
+ # The current status of the code security integration.
2923
+ # @return [String]
2924
+ #
2925
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCodeSecurityIntegrationResponse AWS API Documentation
2926
+ #
2927
+ class CreateCodeSecurityIntegrationResponse < Struct.new(
2928
+ :authorization_url,
2929
+ :integration_arn,
2930
+ :status)
2931
+ SENSITIVE = [:authorization_url]
2932
+ include Aws::Structure
2933
+ end
2934
+
2935
+ # @!attribute [rw] configuration
2936
+ # The configuration settings for the code security scan.
2937
+ # @return [Types::CodeSecurityScanConfiguration]
2938
+ #
2939
+ # @!attribute [rw] level
2940
+ # The security level for the scan configuration.
2941
+ # @return [String]
2942
+ #
2943
+ # @!attribute [rw] name
2944
+ # The name of the scan configuration.
2945
+ # @return [String]
2946
+ #
2947
+ # @!attribute [rw] scope_settings
2948
+ # The scope settings that define which repositories will be scanned.
2949
+ # Include this parameter to create a default scan configuration.
2950
+ # Otherwise Amazon Inspector creates a general scan configuration.
2951
+ #
2952
+ # A default scan configuration automatically applies to all existing
2953
+ # and future projects imported into Amazon Inspector. Use the
2954
+ # `BatchAssociateCodeSecurityScanConfiguration` operation to associate
2955
+ # a general scan configuration with projects.
2956
+ # @return [Types::ScopeSettings]
2957
+ #
2958
+ # @!attribute [rw] tags
2959
+ # The tags to apply to the scan configuration.
2960
+ # @return [Hash<String,String>]
2961
+ #
2962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCodeSecurityScanConfigurationRequest AWS API Documentation
2963
+ #
2964
+ class CreateCodeSecurityScanConfigurationRequest < Struct.new(
2965
+ :configuration,
2966
+ :level,
2967
+ :name,
2968
+ :scope_settings,
2969
+ :tags)
2970
+ SENSITIVE = []
2971
+ include Aws::Structure
2972
+ end
2973
+
2974
+ # @!attribute [rw] scan_configuration_arn
2975
+ # The Amazon Resource Name (ARN) of the created scan configuration.
2976
+ # @return [String]
2977
+ #
2978
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateCodeSecurityScanConfigurationResponse AWS API Documentation
2979
+ #
2980
+ class CreateCodeSecurityScanConfigurationResponse < Struct.new(
2981
+ :scan_configuration_arn)
2982
+ SENSITIVE = []
2983
+ include Aws::Structure
2984
+ end
2985
+
2986
+ # @!attribute [rw] action
2987
+ # Defines the action that is to be applied to the findings that match
2988
+ # the filter.
2989
+ # @return [String]
2990
+ #
2991
+ # @!attribute [rw] description
2392
2992
  # A description of the filter.
2393
2993
  # @return [String]
2394
2994
  #
@@ -2469,6 +3069,50 @@ module Aws::Inspector2
2469
3069
  include Aws::Structure
2470
3070
  end
2471
3071
 
3072
+ # Contains details required to create an integration with a self-managed
3073
+ # GitLab instance.
3074
+ #
3075
+ # @!attribute [rw] access_token
3076
+ # The personal access token used to authenticate with the self-managed
3077
+ # GitLab instance.
3078
+ # @return [String]
3079
+ #
3080
+ # @!attribute [rw] instance_url
3081
+ # The URL of the self-managed GitLab instance.
3082
+ # @return [String]
3083
+ #
3084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateGitLabSelfManagedIntegrationDetail AWS API Documentation
3085
+ #
3086
+ class CreateGitLabSelfManagedIntegrationDetail < Struct.new(
3087
+ :access_token,
3088
+ :instance_url)
3089
+ SENSITIVE = [:access_token, :instance_url]
3090
+ include Aws::Structure
3091
+ end
3092
+
3093
+ # Contains details required to create a code security integration with a
3094
+ # specific repository provider.
3095
+ #
3096
+ # @note CreateIntegrationDetail is a union - when making an API calls you must set exactly one of the members.
3097
+ #
3098
+ # @!attribute [rw] gitlab_self_managed
3099
+ # Details specific to creating an integration with a self-managed
3100
+ # GitLab instance.
3101
+ # @return [Types::CreateGitLabSelfManagedIntegrationDetail]
3102
+ #
3103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateIntegrationDetail AWS API Documentation
3104
+ #
3105
+ class CreateIntegrationDetail < Struct.new(
3106
+ :gitlab_self_managed,
3107
+ :unknown)
3108
+ SENSITIVE = []
3109
+ include Aws::Structure
3110
+ include Aws::Structure::Union
3111
+
3112
+ class GitlabSelfManaged < CreateIntegrationDetail; end
3113
+ class Unknown < CreateIntegrationDetail; end
3114
+ end
3115
+
2472
3116
  # @!attribute [rw] report_format
2473
3117
  # The output format for the software bill of materials (SBOM) report.
2474
3118
  # @return [String]
@@ -2733,6 +3377,56 @@ module Aws::Inspector2
2733
3377
  include Aws::Structure
2734
3378
  end
2735
3379
 
3380
+ # @!attribute [rw] integration_arn
3381
+ # The Amazon Resource Name (ARN) of the code security integration to
3382
+ # delete.
3383
+ # @return [String]
3384
+ #
3385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteCodeSecurityIntegrationRequest AWS API Documentation
3386
+ #
3387
+ class DeleteCodeSecurityIntegrationRequest < Struct.new(
3388
+ :integration_arn)
3389
+ SENSITIVE = []
3390
+ include Aws::Structure
3391
+ end
3392
+
3393
+ # @!attribute [rw] integration_arn
3394
+ # The Amazon Resource Name (ARN) of the deleted code security
3395
+ # integration.
3396
+ # @return [String]
3397
+ #
3398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteCodeSecurityIntegrationResponse AWS API Documentation
3399
+ #
3400
+ class DeleteCodeSecurityIntegrationResponse < Struct.new(
3401
+ :integration_arn)
3402
+ SENSITIVE = []
3403
+ include Aws::Structure
3404
+ end
3405
+
3406
+ # @!attribute [rw] scan_configuration_arn
3407
+ # The Amazon Resource Name (ARN) of the scan configuration to delete.
3408
+ # @return [String]
3409
+ #
3410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteCodeSecurityScanConfigurationRequest AWS API Documentation
3411
+ #
3412
+ class DeleteCodeSecurityScanConfigurationRequest < Struct.new(
3413
+ :scan_configuration_arn)
3414
+ SENSITIVE = []
3415
+ include Aws::Structure
3416
+ end
3417
+
3418
+ # @!attribute [rw] scan_configuration_arn
3419
+ # The Amazon Resource Name (ARN) of the deleted scan configuration.
3420
+ # @return [String]
3421
+ #
3422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteCodeSecurityScanConfigurationResponse AWS API Documentation
3423
+ #
3424
+ class DeleteCodeSecurityScanConfigurationResponse < Struct.new(
3425
+ :scan_configuration_arn)
3426
+ SENSITIVE = []
3427
+ include Aws::Structure
3428
+ end
3429
+
2736
3430
  # @!attribute [rw] arn
2737
3431
  # The Amazon Resource Number (ARN) of the filter to be deleted.
2738
3432
  # @return [String]
@@ -2871,6 +3565,28 @@ module Aws::Inspector2
2871
3565
  include Aws::Structure
2872
3566
  end
2873
3567
 
3568
+ # Contains details about a request to disassociate a code repository
3569
+ # from a scan configuration.
3570
+ #
3571
+ # @!attribute [rw] resource
3572
+ # Identifies a specific resource in a code repository that will be
3573
+ # scanned.
3574
+ # @return [Types::CodeSecurityResource]
3575
+ #
3576
+ # @!attribute [rw] scan_configuration_arn
3577
+ # The Amazon Resource Name (ARN) of the scan configuration to
3578
+ # disassociate from a code repository.
3579
+ # @return [String]
3580
+ #
3581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateConfigurationRequest AWS API Documentation
3582
+ #
3583
+ class DisassociateConfigurationRequest < Struct.new(
3584
+ :resource,
3585
+ :scan_configuration_arn)
3586
+ SENSITIVE = []
3587
+ include Aws::Structure
3588
+ end
3589
+
2874
3590
  # @!attribute [rw] account_id
2875
3591
  # The Amazon Web Services account ID of the member account to
2876
3592
  # disassociate.
@@ -3168,7 +3884,7 @@ module Aws::Inspector2
3168
3884
  # @return [String]
3169
3885
  #
3170
3886
  # @!attribute [rw] rescan_duration
3171
- # The rescan duration configured for image push date. </p>
3887
+ # The rescan duration configured for image push date.
3172
3888
  # @return [String]
3173
3889
  #
3174
3890
  # @!attribute [rw] status
@@ -3396,6 +4112,39 @@ module Aws::Inspector2
3396
4112
  include Aws::Structure
3397
4113
  end
3398
4114
 
4115
+ # Details about a failed attempt to associate or disassociate a code
4116
+ # repository with a scan configuration.
4117
+ #
4118
+ # @!attribute [rw] resource
4119
+ # Identifies a specific resource in a code repository that will be
4120
+ # scanned.
4121
+ # @return [Types::CodeSecurityResource]
4122
+ #
4123
+ # @!attribute [rw] scan_configuration_arn
4124
+ # The Amazon Resource Name (ARN) of the scan configuration that failed
4125
+ # to be associated or disassociated.
4126
+ # @return [String]
4127
+ #
4128
+ # @!attribute [rw] status_code
4129
+ # The status code indicating why the association or disassociation
4130
+ # failed.
4131
+ # @return [String]
4132
+ #
4133
+ # @!attribute [rw] status_message
4134
+ # A message explaining why the association or disassociation failed.
4135
+ # @return [String]
4136
+ #
4137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/FailedAssociationResult AWS API Documentation
4138
+ #
4139
+ class FailedAssociationResult < Struct.new(
4140
+ :resource,
4141
+ :scan_configuration_arn,
4142
+ :status_code,
4143
+ :status_message)
4144
+ SENSITIVE = []
4145
+ include Aws::Structure
4146
+ end
4147
+
3399
4148
  # An object that contains details about a member account in your
3400
4149
  # organization that failed to activate Amazon Inspector deep inspection.
3401
4150
  #
@@ -3493,6 +4242,16 @@ module Aws::Inspector2
3493
4242
  # findings.
3494
4243
  # @return [Array<Types::StringFilter>]
3495
4244
  #
4245
+ # @!attribute [rw] code_repository_project_name
4246
+ # Filter criteria for findings based on the project name in a code
4247
+ # repository.
4248
+ # @return [Array<Types::StringFilter>]
4249
+ #
4250
+ # @!attribute [rw] code_repository_provider_type
4251
+ # Filter criteria for findings based on the repository provider type
4252
+ # (such as GitHub, GitLab, etc.).
4253
+ # @return [Array<Types::StringFilter>]
4254
+ #
3496
4255
  # @!attribute [rw] code_vulnerability_detector_name
3497
4256
  # The name of the detector used to identify a code vulnerability in a
3498
4257
  # Lambda function used to filter findings.
@@ -3708,6 +4467,8 @@ module Aws::Inspector2
3708
4467
  #
3709
4468
  class FilterCriteria < Struct.new(
3710
4469
  :aws_account_id,
4470
+ :code_repository_project_name,
4471
+ :code_repository_provider_type,
3711
4472
  :code_vulnerability_detector_name,
3712
4473
  :code_vulnerability_detector_tags,
3713
4474
  :code_vulnerability_file_path,
@@ -4275,126 +5036,326 @@ module Aws::Inspector2
4275
5036
  include Aws::Structure
4276
5037
  end
4277
5038
 
4278
- # @api private
4279
- #
4280
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationRequest AWS API Documentation
4281
- #
4282
- class GetConfigurationRequest < Aws::EmptyStructure; end
4283
-
4284
- # @!attribute [rw] ec2_configuration
4285
- # Specifies how the Amazon EC2 automated scan mode is currently
4286
- # configured for your environment.
4287
- # @return [Types::Ec2ConfigurationState]
4288
- #
4289
- # @!attribute [rw] ecr_configuration
4290
- # Specifies how the ECR automated re-scan duration is currently
4291
- # configured for your environment.
4292
- # @return [Types::EcrConfigurationState]
4293
- #
4294
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationResponse AWS API Documentation
4295
- #
4296
- class GetConfigurationResponse < Struct.new(
4297
- :ec2_configuration,
4298
- :ecr_configuration)
4299
- SENSITIVE = []
4300
- include Aws::Structure
4301
- end
4302
-
4303
- # @api private
4304
- #
4305
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccountRequest AWS API Documentation
5039
+ # @!attribute [rw] integration_arn
5040
+ # The Amazon Resource Name (ARN) of the code security integration to
5041
+ # retrieve.
5042
+ # @return [String]
4306
5043
  #
4307
- class GetDelegatedAdminAccountRequest < Aws::EmptyStructure; end
4308
-
4309
- # @!attribute [rw] delegated_admin
4310
- # The Amazon Web Services account ID of the Amazon Inspector delegated
4311
- # administrator.
4312
- # @return [Types::DelegatedAdmin]
5044
+ # @!attribute [rw] tags
5045
+ # The tags associated with the code security integration.
5046
+ # @return [Hash<String,String>]
4313
5047
  #
4314
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccountResponse AWS API Documentation
5048
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCodeSecurityIntegrationRequest AWS API Documentation
4315
5049
  #
4316
- class GetDelegatedAdminAccountResponse < Struct.new(
4317
- :delegated_admin)
5050
+ class GetCodeSecurityIntegrationRequest < Struct.new(
5051
+ :integration_arn,
5052
+ :tags)
4318
5053
  SENSITIVE = []
4319
5054
  include Aws::Structure
4320
5055
  end
4321
5056
 
4322
- # @api private
5057
+ # @!attribute [rw] authorization_url
5058
+ # The URL used to authorize the integration with the repository
5059
+ # provider. This is only returned if reauthorization is required to
5060
+ # fix a connection issue. Otherwise, it is null.
5061
+ # @return [String]
4323
5062
  #
4324
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationRequest AWS API Documentation
5063
+ # @!attribute [rw] created_on
5064
+ # The timestamp when the code security integration was created.
5065
+ # @return [Time]
4325
5066
  #
4326
- class GetEc2DeepInspectionConfigurationRequest < Aws::EmptyStructure; end
4327
-
4328
- # @!attribute [rw] error_message
4329
- # An error message explaining why Amazon Inspector deep inspection
4330
- # configurations could not be retrieved for your account.
5067
+ # @!attribute [rw] integration_arn
5068
+ # The Amazon Resource Name (ARN) of the code security integration.
4331
5069
  # @return [String]
4332
5070
  #
4333
- # @!attribute [rw] org_package_paths
4334
- # The Amazon Inspector deep inspection custom paths for your
4335
- # organization.
4336
- # @return [Array<String>]
5071
+ # @!attribute [rw] last_update_on
5072
+ # The timestamp when the code security integration was last updated.
5073
+ # @return [Time]
4337
5074
  #
4338
- # @!attribute [rw] package_paths
4339
- # The Amazon Inspector deep inspection custom paths for your account.
4340
- # @return [Array<String>]
5075
+ # @!attribute [rw] name
5076
+ # The name of the code security integration.
5077
+ # @return [String]
4341
5078
  #
4342
5079
  # @!attribute [rw] status
4343
- # The activation status of Amazon Inspector deep inspection in your
4344
- # account.
5080
+ # The current status of the code security integration.
4345
5081
  # @return [String]
4346
5082
  #
4347
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationResponse AWS API Documentation
4348
- #
4349
- class GetEc2DeepInspectionConfigurationResponse < Struct.new(
4350
- :error_message,
4351
- :org_package_paths,
4352
- :package_paths,
4353
- :status)
4354
- SENSITIVE = []
4355
- include Aws::Structure
4356
- end
4357
-
4358
- # @!attribute [rw] resource_type
4359
- # The resource type the key encrypts.
5083
+ # @!attribute [rw] status_reason
5084
+ # The reason for the current status of the code security integration.
4360
5085
  # @return [String]
4361
5086
  #
4362
- # @!attribute [rw] scan_type
4363
- # The scan type the key encrypts.
5087
+ # @!attribute [rw] tags
5088
+ # The tags associated with the code security integration.
5089
+ # @return [Hash<String,String>]
5090
+ #
5091
+ # @!attribute [rw] type
5092
+ # The type of repository provider for the integration.
4364
5093
  # @return [String]
4365
5094
  #
4366
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKeyRequest AWS API Documentation
5095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCodeSecurityIntegrationResponse AWS API Documentation
4367
5096
  #
4368
- class GetEncryptionKeyRequest < Struct.new(
4369
- :resource_type,
4370
- :scan_type)
4371
- SENSITIVE = []
5097
+ class GetCodeSecurityIntegrationResponse < Struct.new(
5098
+ :authorization_url,
5099
+ :created_on,
5100
+ :integration_arn,
5101
+ :last_update_on,
5102
+ :name,
5103
+ :status,
5104
+ :status_reason,
5105
+ :tags,
5106
+ :type)
5107
+ SENSITIVE = [:authorization_url]
4372
5108
  include Aws::Structure
4373
5109
  end
4374
5110
 
4375
- # @!attribute [rw] kms_key_id
4376
- # A kms key ID.
5111
+ # @!attribute [rw] scan_configuration_arn
5112
+ # The Amazon Resource Name (ARN) of the scan configuration to
5113
+ # retrieve.
4377
5114
  # @return [String]
4378
5115
  #
4379
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKeyResponse AWS API Documentation
5116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCodeSecurityScanConfigurationRequest AWS API Documentation
4380
5117
  #
4381
- class GetEncryptionKeyResponse < Struct.new(
4382
- :kms_key_id)
5118
+ class GetCodeSecurityScanConfigurationRequest < Struct.new(
5119
+ :scan_configuration_arn)
4383
5120
  SENSITIVE = []
4384
5121
  include Aws::Structure
4385
5122
  end
4386
5123
 
4387
- # @!attribute [rw] report_id
4388
- # The ID of the report to retrieve the status of.
4389
- # @return [String]
5124
+ # @!attribute [rw] configuration
5125
+ # The configuration settings for the code security scan.
5126
+ # @return [Types::CodeSecurityScanConfiguration]
4390
5127
  #
4391
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatusRequest AWS API Documentation
5128
+ # @!attribute [rw] created_at
5129
+ # The timestamp when the scan configuration was created.
5130
+ # @return [Time]
4392
5131
  #
4393
- class GetFindingsReportStatusRequest < Struct.new(
4394
- :report_id)
4395
- SENSITIVE = []
4396
- include Aws::Structure
4397
- end
5132
+ # @!attribute [rw] last_updated_at
5133
+ # The timestamp when the scan configuration was last updated.
5134
+ # @return [Time]
5135
+ #
5136
+ # @!attribute [rw] level
5137
+ # The security level for the scan configuration.
5138
+ # @return [String]
5139
+ #
5140
+ # @!attribute [rw] name
5141
+ # The name of the scan configuration.
5142
+ # @return [String]
5143
+ #
5144
+ # @!attribute [rw] scan_configuration_arn
5145
+ # The Amazon Resource Name (ARN) of the scan configuration.
5146
+ # @return [String]
5147
+ #
5148
+ # @!attribute [rw] scope_settings
5149
+ # The scope settings that define which repositories will be scanned.
5150
+ # If the `ScopeSetting` parameter is `ALL` the scan configuration
5151
+ # applies to all existing and future projects imported into Amazon
5152
+ # Inspector.
5153
+ # @return [Types::ScopeSettings]
5154
+ #
5155
+ # @!attribute [rw] tags
5156
+ # The tags associated with the scan configuration.
5157
+ # @return [Hash<String,String>]
5158
+ #
5159
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCodeSecurityScanConfigurationResponse AWS API Documentation
5160
+ #
5161
+ class GetCodeSecurityScanConfigurationResponse < Struct.new(
5162
+ :configuration,
5163
+ :created_at,
5164
+ :last_updated_at,
5165
+ :level,
5166
+ :name,
5167
+ :scan_configuration_arn,
5168
+ :scope_settings,
5169
+ :tags)
5170
+ SENSITIVE = []
5171
+ include Aws::Structure
5172
+ end
5173
+
5174
+ # @!attribute [rw] resource
5175
+ # The resource identifier for the code repository that was scanned.
5176
+ # @return [Types::CodeSecurityResource]
5177
+ #
5178
+ # @!attribute [rw] scan_id
5179
+ # The unique identifier of the scan to retrieve.
5180
+ # @return [String]
5181
+ #
5182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCodeSecurityScanRequest AWS API Documentation
5183
+ #
5184
+ class GetCodeSecurityScanRequest < Struct.new(
5185
+ :resource,
5186
+ :scan_id)
5187
+ SENSITIVE = []
5188
+ include Aws::Structure
5189
+ end
5190
+
5191
+ # @!attribute [rw] account_id
5192
+ # The Amazon Web Services account ID associated with the scan.
5193
+ # @return [String]
5194
+ #
5195
+ # @!attribute [rw] created_at
5196
+ # The timestamp when the scan was created.
5197
+ # @return [Time]
5198
+ #
5199
+ # @!attribute [rw] last_commit_id
5200
+ # The identifier of the last commit that was scanned. This is only
5201
+ # returned if the scan was successful or skipped.
5202
+ # @return [String]
5203
+ #
5204
+ # @!attribute [rw] resource
5205
+ # The resource identifier for the code repository that was scanned.
5206
+ # @return [Types::CodeSecurityResource]
5207
+ #
5208
+ # @!attribute [rw] scan_id
5209
+ # The unique identifier of the scan.
5210
+ # @return [String]
5211
+ #
5212
+ # @!attribute [rw] status
5213
+ # The current status of the scan.
5214
+ # @return [String]
5215
+ #
5216
+ # @!attribute [rw] status_reason
5217
+ # The reason for the current status of the scan.
5218
+ # @return [String]
5219
+ #
5220
+ # @!attribute [rw] updated_at
5221
+ # The timestamp when the scan was last updated.
5222
+ # @return [Time]
5223
+ #
5224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetCodeSecurityScanResponse AWS API Documentation
5225
+ #
5226
+ class GetCodeSecurityScanResponse < Struct.new(
5227
+ :account_id,
5228
+ :created_at,
5229
+ :last_commit_id,
5230
+ :resource,
5231
+ :scan_id,
5232
+ :status,
5233
+ :status_reason,
5234
+ :updated_at)
5235
+ SENSITIVE = []
5236
+ include Aws::Structure
5237
+ end
5238
+
5239
+ # @api private
5240
+ #
5241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationRequest AWS API Documentation
5242
+ #
5243
+ class GetConfigurationRequest < Aws::EmptyStructure; end
5244
+
5245
+ # @!attribute [rw] ec2_configuration
5246
+ # Specifies how the Amazon EC2 automated scan mode is currently
5247
+ # configured for your environment.
5248
+ # @return [Types::Ec2ConfigurationState]
5249
+ #
5250
+ # @!attribute [rw] ecr_configuration
5251
+ # Specifies how the ECR automated re-scan duration is currently
5252
+ # configured for your environment.
5253
+ # @return [Types::EcrConfigurationState]
5254
+ #
5255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetConfigurationResponse AWS API Documentation
5256
+ #
5257
+ class GetConfigurationResponse < Struct.new(
5258
+ :ec2_configuration,
5259
+ :ecr_configuration)
5260
+ SENSITIVE = []
5261
+ include Aws::Structure
5262
+ end
5263
+
5264
+ # @api private
5265
+ #
5266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccountRequest AWS API Documentation
5267
+ #
5268
+ class GetDelegatedAdminAccountRequest < Aws::EmptyStructure; end
5269
+
5270
+ # @!attribute [rw] delegated_admin
5271
+ # The Amazon Web Services account ID of the Amazon Inspector delegated
5272
+ # administrator.
5273
+ # @return [Types::DelegatedAdmin]
5274
+ #
5275
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccountResponse AWS API Documentation
5276
+ #
5277
+ class GetDelegatedAdminAccountResponse < Struct.new(
5278
+ :delegated_admin)
5279
+ SENSITIVE = []
5280
+ include Aws::Structure
5281
+ end
5282
+
5283
+ # @api private
5284
+ #
5285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationRequest AWS API Documentation
5286
+ #
5287
+ class GetEc2DeepInspectionConfigurationRequest < Aws::EmptyStructure; end
5288
+
5289
+ # @!attribute [rw] error_message
5290
+ # An error message explaining why Amazon Inspector deep inspection
5291
+ # configurations could not be retrieved for your account.
5292
+ # @return [String]
5293
+ #
5294
+ # @!attribute [rw] org_package_paths
5295
+ # The Amazon Inspector deep inspection custom paths for your
5296
+ # organization.
5297
+ # @return [Array<String>]
5298
+ #
5299
+ # @!attribute [rw] package_paths
5300
+ # The Amazon Inspector deep inspection custom paths for your account.
5301
+ # @return [Array<String>]
5302
+ #
5303
+ # @!attribute [rw] status
5304
+ # The activation status of Amazon Inspector deep inspection in your
5305
+ # account.
5306
+ # @return [String]
5307
+ #
5308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEc2DeepInspectionConfigurationResponse AWS API Documentation
5309
+ #
5310
+ class GetEc2DeepInspectionConfigurationResponse < Struct.new(
5311
+ :error_message,
5312
+ :org_package_paths,
5313
+ :package_paths,
5314
+ :status)
5315
+ SENSITIVE = []
5316
+ include Aws::Structure
5317
+ end
5318
+
5319
+ # @!attribute [rw] resource_type
5320
+ # The resource type the key encrypts.
5321
+ # @return [String]
5322
+ #
5323
+ # @!attribute [rw] scan_type
5324
+ # The scan type the key encrypts.
5325
+ # @return [String]
5326
+ #
5327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKeyRequest AWS API Documentation
5328
+ #
5329
+ class GetEncryptionKeyRequest < Struct.new(
5330
+ :resource_type,
5331
+ :scan_type)
5332
+ SENSITIVE = []
5333
+ include Aws::Structure
5334
+ end
5335
+
5336
+ # @!attribute [rw] kms_key_id
5337
+ # A kms key ID.
5338
+ # @return [String]
5339
+ #
5340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetEncryptionKeyResponse AWS API Documentation
5341
+ #
5342
+ class GetEncryptionKeyResponse < Struct.new(
5343
+ :kms_key_id)
5344
+ SENSITIVE = []
5345
+ include Aws::Structure
5346
+ end
5347
+
5348
+ # @!attribute [rw] report_id
5349
+ # The ID of the report to retrieve the status of.
5350
+ # @return [String]
5351
+ #
5352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatusRequest AWS API Documentation
5353
+ #
5354
+ class GetFindingsReportStatusRequest < Struct.new(
5355
+ :report_id)
5356
+ SENSITIVE = []
5357
+ include Aws::Structure
5358
+ end
4398
5359
 
4399
5360
  # @!attribute [rw] destination
4400
5361
  # The destination of the report.
@@ -5209,6 +6170,142 @@ module Aws::Inspector2
5209
6170
  include Aws::Structure
5210
6171
  end
5211
6172
 
6173
+ # @!attribute [rw] max_results
6174
+ # The maximum number of results to return in a single call.
6175
+ # @return [Integer]
6176
+ #
6177
+ # @!attribute [rw] next_token
6178
+ # A token to use for paginating results that are returned in the
6179
+ # response. Set the value of this parameter to null for the first
6180
+ # request. For subsequent calls, use the NextToken value returned from
6181
+ # the previous request to continue listing results after the first
6182
+ # page.
6183
+ # @return [String]
6184
+ #
6185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCodeSecurityIntegrationsRequest AWS API Documentation
6186
+ #
6187
+ class ListCodeSecurityIntegrationsRequest < Struct.new(
6188
+ :max_results,
6189
+ :next_token)
6190
+ SENSITIVE = []
6191
+ include Aws::Structure
6192
+ end
6193
+
6194
+ # @!attribute [rw] integrations
6195
+ # A list of code security integration summaries.
6196
+ # @return [Array<Types::CodeSecurityIntegrationSummary>]
6197
+ #
6198
+ # @!attribute [rw] next_token
6199
+ # A token to use for paginating results that are returned in the
6200
+ # response. Set the value of this parameter to null for the first
6201
+ # request. For subsequent calls, use the NextToken value returned from
6202
+ # the previous request to continue listing results after the first
6203
+ # page.
6204
+ # @return [String]
6205
+ #
6206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCodeSecurityIntegrationsResponse AWS API Documentation
6207
+ #
6208
+ class ListCodeSecurityIntegrationsResponse < Struct.new(
6209
+ :integrations,
6210
+ :next_token)
6211
+ SENSITIVE = []
6212
+ include Aws::Structure
6213
+ end
6214
+
6215
+ # @!attribute [rw] max_results
6216
+ # The maximum number of results to return in the response. If your
6217
+ # request would return more than the maximum the response will return
6218
+ # a `nextToken` value, use this value when you call the action again
6219
+ # to get the remaining results.
6220
+ # @return [Integer]
6221
+ #
6222
+ # @!attribute [rw] next_token
6223
+ # A token to use for paginating results that are returned in the
6224
+ # response. Set the value of this parameter to null for the first
6225
+ # request to a list action. For subsequent calls, use the `NextToken`
6226
+ # value returned from the previous request to continue listing results
6227
+ # after the first page.
6228
+ # @return [String]
6229
+ #
6230
+ # @!attribute [rw] scan_configuration_arn
6231
+ # The Amazon Resource Name (ARN) of the scan configuration to list
6232
+ # associations for.
6233
+ # @return [String]
6234
+ #
6235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCodeSecurityScanConfigurationAssociationsRequest AWS API Documentation
6236
+ #
6237
+ class ListCodeSecurityScanConfigurationAssociationsRequest < Struct.new(
6238
+ :max_results,
6239
+ :next_token,
6240
+ :scan_configuration_arn)
6241
+ SENSITIVE = []
6242
+ include Aws::Structure
6243
+ end
6244
+
6245
+ # @!attribute [rw] associations
6246
+ # A list of associations between code repositories and scan
6247
+ # configurations.
6248
+ # @return [Array<Types::CodeSecurityScanConfigurationAssociationSummary>]
6249
+ #
6250
+ # @!attribute [rw] next_token
6251
+ # A token to use for paginating results that are returned in the
6252
+ # response. Set the value of this parameter to null for the first
6253
+ # request to a list action. For subsequent calls, use the `NextToken`
6254
+ # value returned from the previous request to continue listing results
6255
+ # after the first page.
6256
+ # @return [String]
6257
+ #
6258
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCodeSecurityScanConfigurationAssociationsResponse AWS API Documentation
6259
+ #
6260
+ class ListCodeSecurityScanConfigurationAssociationsResponse < Struct.new(
6261
+ :associations,
6262
+ :next_token)
6263
+ SENSITIVE = []
6264
+ include Aws::Structure
6265
+ end
6266
+
6267
+ # @!attribute [rw] max_results
6268
+ # The maximum number of results to return in a single call.
6269
+ # @return [Integer]
6270
+ #
6271
+ # @!attribute [rw] next_token
6272
+ # A token to use for paginating results that are returned in the
6273
+ # response. Set the value of this parameter to null for the first
6274
+ # request. For subsequent calls, use the NextToken value returned from
6275
+ # the previous request to continue listing results after the first
6276
+ # page.
6277
+ # @return [String]
6278
+ #
6279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCodeSecurityScanConfigurationsRequest AWS API Documentation
6280
+ #
6281
+ class ListCodeSecurityScanConfigurationsRequest < Struct.new(
6282
+ :max_results,
6283
+ :next_token)
6284
+ SENSITIVE = []
6285
+ include Aws::Structure
6286
+ end
6287
+
6288
+ # @!attribute [rw] configurations
6289
+ # A list of code security scan configuration summaries.
6290
+ # @return [Array<Types::CodeSecurityScanConfigurationSummary>]
6291
+ #
6292
+ # @!attribute [rw] next_token
6293
+ # A token to use for paginating results that are returned in the
6294
+ # response. Set the value of this parameter to null for the first
6295
+ # request. For subsequent calls, use the NextToken value returned from
6296
+ # the previous request to continue listing results after the first
6297
+ # page.
6298
+ # @return [String]
6299
+ #
6300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCodeSecurityScanConfigurationsResponse AWS API Documentation
6301
+ #
6302
+ class ListCodeSecurityScanConfigurationsResponse < Struct.new(
6303
+ :configurations,
6304
+ :next_token)
6305
+ SENSITIVE = []
6306
+ include Aws::Structure
6307
+ end
6308
+
5212
6309
  # @!attribute [rw] filter_criteria
5213
6310
  # An object that contains details on the filters to apply to the
5214
6311
  # coverage data for your environment.
@@ -6019,6 +7116,32 @@ module Aws::Inspector2
6019
7116
  include Aws::Structure
6020
7117
  end
6021
7118
 
7119
+ # Configuration settings for periodic scans that run on a scheduled
7120
+ # basis.
7121
+ #
7122
+ # @!attribute [rw] frequency
7123
+ # The frequency at which periodic scans are performed (such as weekly
7124
+ # or monthly).
7125
+ #
7126
+ # If you don't provide the `frequencyExpression` Amazon Inspector
7127
+ # chooses day for the scan to run. If you provide the
7128
+ # `frequencyExpression`, the schedule must match the specified
7129
+ # `frequency`.
7130
+ # @return [String]
7131
+ #
7132
+ # @!attribute [rw] frequency_expression
7133
+ # The schedule expression for periodic scans, in cron format.
7134
+ # @return [String]
7135
+ #
7136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/PeriodicScanConfiguration AWS API Documentation
7137
+ #
7138
+ class PeriodicScanConfiguration < Struct.new(
7139
+ :frequency,
7140
+ :frequency_expression)
7141
+ SENSITIVE = []
7142
+ include Aws::Structure
7143
+ end
7144
+
6022
7145
  # Contains information on the permissions an account has within Amazon
6023
7146
  # Inspector.
6024
7147
  #
@@ -6065,15 +7188,80 @@ module Aws::Inspector2
6065
7188
  # The port number the port range begins at.
6066
7189
  # @return [Integer]
6067
7190
  #
6068
- # @!attribute [rw] end_inclusive
6069
- # The port number the port range ends at.
6070
- # @return [Integer]
7191
+ # @!attribute [rw] end_inclusive
7192
+ # The port number the port range ends at.
7193
+ # @return [Integer]
7194
+ #
7195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/PortRangeFilter AWS API Documentation
7196
+ #
7197
+ class PortRangeFilter < Struct.new(
7198
+ :begin_inclusive,
7199
+ :end_inclusive)
7200
+ SENSITIVE = []
7201
+ include Aws::Structure
7202
+ end
7203
+
7204
+ # Contains the scan configuration settings applied to a specific project
7205
+ # in a code repository.
7206
+ #
7207
+ # @!attribute [rw] continuous_integration_scan_configurations
7208
+ # The continuous integration scan configurations applied to the
7209
+ # project.
7210
+ # @return [Array<Types::ProjectContinuousIntegrationScanConfiguration>]
7211
+ #
7212
+ # @!attribute [rw] periodic_scan_configurations
7213
+ # The periodic scan configurations applied to the project.
7214
+ # @return [Array<Types::ProjectPeriodicScanConfiguration>]
7215
+ #
7216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ProjectCodeSecurityScanConfiguration AWS API Documentation
7217
+ #
7218
+ class ProjectCodeSecurityScanConfiguration < Struct.new(
7219
+ :continuous_integration_scan_configurations,
7220
+ :periodic_scan_configurations)
7221
+ SENSITIVE = []
7222
+ include Aws::Structure
7223
+ end
7224
+
7225
+ # Contains the continuous integration scan configuration settings
7226
+ # applied to a specific project.
7227
+ #
7228
+ # @!attribute [rw] rule_set_categories
7229
+ # The categories of security rules applied during continuous
7230
+ # integration scans for the project.
7231
+ # @return [Array<String>]
7232
+ #
7233
+ # @!attribute [rw] supported_event
7234
+ # The repository event that triggers continuous integration scans for
7235
+ # the project.
7236
+ # @return [String]
7237
+ #
7238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ProjectContinuousIntegrationScanConfiguration AWS API Documentation
7239
+ #
7240
+ class ProjectContinuousIntegrationScanConfiguration < Struct.new(
7241
+ :rule_set_categories,
7242
+ :supported_event)
7243
+ SENSITIVE = []
7244
+ include Aws::Structure
7245
+ end
7246
+
7247
+ # Contains the periodic scan configuration settings applied to a
7248
+ # specific project.
7249
+ #
7250
+ # @!attribute [rw] frequency_expression
7251
+ # The schedule expression for periodic scans, in cron format, applied
7252
+ # to the project.
7253
+ # @return [String]
7254
+ #
7255
+ # @!attribute [rw] rule_set_categories
7256
+ # The categories of security rules applied during periodic scans for
7257
+ # the project.
7258
+ # @return [Array<String>]
6071
7259
  #
6072
- # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/PortRangeFilter AWS API Documentation
7260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ProjectPeriodicScanConfiguration AWS API Documentation
6073
7261
  #
6074
- class PortRangeFilter < Struct.new(
6075
- :begin_inclusive,
6076
- :end_inclusive)
7262
+ class ProjectPeriodicScanConfiguration < Struct.new(
7263
+ :frequency_expression,
7264
+ :rule_set_categories)
6077
7265
  SENSITIVE = []
6078
7266
  include Aws::Structure
6079
7267
  end
@@ -6246,12 +7434,18 @@ module Aws::Inspector2
6246
7434
  # function affected by a finding.
6247
7435
  # @return [Types::AwsLambdaFunctionDetails]
6248
7436
  #
7437
+ # @!attribute [rw] code_repository
7438
+ # Contains details about a code repository resource associated with a
7439
+ # finding.
7440
+ # @return [Types::CodeRepositoryDetails]
7441
+ #
6249
7442
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceDetails AWS API Documentation
6250
7443
  #
6251
7444
  class ResourceDetails < Struct.new(
6252
7445
  :aws_ec2_instance,
6253
7446
  :aws_ecr_container_image,
6254
- :aws_lambda_function)
7447
+ :aws_lambda_function,
7448
+ :code_repository)
6255
7449
  SENSITIVE = []
6256
7450
  include Aws::Structure
6257
7451
  end
@@ -6349,6 +7543,11 @@ module Aws::Inspector2
6349
7543
  # An object that contains details about the metadata for an Amazon ECR
6350
7544
  # resource.
6351
7545
  #
7546
+ # @!attribute [rw] code_repository
7547
+ # Contains metadata about scan coverage for a code repository
7548
+ # resource.
7549
+ # @return [Types::CodeRepositoryMetadata]
7550
+ #
6352
7551
  # @!attribute [rw] ec2
6353
7552
  # An object that contains metadata details for an Amazon EC2 instance.
6354
7553
  # @return [Types::Ec2Metadata]
@@ -6371,6 +7570,7 @@ module Aws::Inspector2
6371
7570
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceScanMetadata AWS API Documentation
6372
7571
  #
6373
7572
  class ResourceScanMetadata < Struct.new(
7573
+ :code_repository,
6374
7574
  :ec2,
6375
7575
  :ecr_image,
6376
7576
  :ecr_repository,
@@ -6382,6 +7582,11 @@ module Aws::Inspector2
6382
7582
  # Details the state of Amazon Inspector for each resource type Amazon
6383
7583
  # Inspector scans.
6384
7584
  #
7585
+ # @!attribute [rw] code_repository
7586
+ # An object that described the state of Amazon Inspector scans for an
7587
+ # account.
7588
+ # @return [Types::State]
7589
+ #
6385
7590
  # @!attribute [rw] ec2
6386
7591
  # An object detailing the state of Amazon Inspector scanning for
6387
7592
  # Amazon EC2 resources.
@@ -6405,6 +7610,7 @@ module Aws::Inspector2
6405
7610
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceState AWS API Documentation
6406
7611
  #
6407
7612
  class ResourceState < Struct.new(
7613
+ :code_repository,
6408
7614
  :ec2,
6409
7615
  :ecr,
6410
7616
  :lambda,
@@ -6416,6 +7622,10 @@ module Aws::Inspector2
6416
7622
  # Details the status of Amazon Inspector for each resource type Amazon
6417
7623
  # Inspector scans.
6418
7624
  #
7625
+ # @!attribute [rw] code_repository
7626
+ # The status of Amazon Inspector scanning for code repositories.
7627
+ # @return [String]
7628
+ #
6419
7629
  # @!attribute [rw] ec2
6420
7630
  # The status of Amazon Inspector scanning for Amazon EC2 resources.
6421
7631
  # @return [String]
@@ -6437,6 +7647,7 @@ module Aws::Inspector2
6437
7647
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ResourceStatus AWS API Documentation
6438
7648
  #
6439
7649
  class ResourceStatus < Struct.new(
7650
+ :code_repository,
6440
7651
  :ec2,
6441
7652
  :ecr,
6442
7653
  :lambda,
@@ -6469,109 +7680,121 @@ module Aws::Inspector2
6469
7680
  # @!attribute [rw] reason
6470
7681
  # The scan status. Possible return values and descriptions are:
6471
7682
  #
6472
- # `PENDING_INITIAL_SCAN` - This resource has been identified for
6473
- # scanning, results will be available soon.
6474
- #
6475
7683
  # `ACCESS_DENIED` - Resource access policy restricting Amazon
6476
7684
  # Inspector access. Please update the IAM policy.
6477
7685
  #
7686
+ # `ACCESS_DENIED_TO_ENCRYPTION_KEY` - The KMS key policy doesn't
7687
+ # allow Amazon Inspector access. Update the key policy.
7688
+ #
7689
+ # `DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED` - Amazon Inspector
7690
+ # failed to extract the package inventory because the package
7691
+ # collection time exceeding the maximum threshold of 15 minutes.
7692
+ #
7693
+ # `DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED` - The SSM agent
7694
+ # couldn't send inventory to Amazon Inspector because the SSM quota
7695
+ # for Inventory data collected per instance per day has already been
7696
+ # reached for this instance.
7697
+ #
7698
+ # `DEEP_INSPECTION_NO_INVENTORY` - The Amazon Inspector plugin hasn't
7699
+ # yet been able to collect an inventory of packages for this instance.
7700
+ # This is usually the result of a pending scan, however, if this
7701
+ # status persists after 6 hours, use SSM to ensure that the required
7702
+ # Amazon Inspector associations exist and are running for the
7703
+ # instance.
7704
+ #
7705
+ # `DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED` - The instance
7706
+ # has exceeded the 5000 package limit for Amazon Inspector Deep
7707
+ # inspection. To resume Deep inspection for this instance you can try
7708
+ # to adjust the custom paths associated with the account.
7709
+ #
7710
+ # `EC2_INSTANCE_STOPPED` - This EC2 instance is in a stopped state,
7711
+ # therefore, Amazon Inspector will pause scanning. The existing
7712
+ # findings will continue to exist until the instance is terminated.
7713
+ # Once the instance is re-started, Inspector will automatically start
7714
+ # scanning the instance again. Please note that you will not be
7715
+ # charged for this instance while it's in a stopped state.
7716
+ #
7717
+ # `EXCLUDED_BY_TAG` - This resource was not scanned because it has
7718
+ # been excluded by a tag.
7719
+ #
7720
+ # `IMAGE_SIZE_EXCEEDED` - Reserved for future use.
7721
+ #
7722
+ # `INTEGRATION_CONNNECTION_LOST` - Amazon Inspector couldn't
7723
+ # communicate with the source code management platform.
7724
+ #
6478
7725
  # `INTERNAL_ERROR` - Amazon Inspector has encountered an internal
6479
7726
  # error for this resource. Amazon Inspector service will automatically
6480
7727
  # resolve the issue and resume the scanning. No action required from
6481
7728
  # the user.
6482
7729
  #
6483
- # `UNMANAGED_EC2_INSTANCE` - The EC2 instance is not managed by SSM,
6484
- # please use the following SSM automation to remediate the issue:
6485
- # [https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html][1].
6486
- # Once the instance becomes managed by SSM, Inspector will
6487
- # automatically begin scanning this instance.
7730
+ # `NO INVENTORY` - Amazon Inspector couldn't find software
7731
+ # application inventory to scan for vulnerabilities. This might be
7732
+ # caused due to required Amazon Inspector associations being deleted
7733
+ # or failing to run on your resource. Please verify the status of
7734
+ # `InspectorInventoryCollection-do-not-delete` association in the SSM
7735
+ # console for the resource. Additionally, you can verify the
7736
+ # instance's inventory in the SSM Fleet Manager console.
6488
7737
  #
6489
- # `UNSUPPORTED_OS` - Amazon Inspector does not support this OS,
6490
- # architecture, or image manifest type at this time. To see a complete
6491
- # list of supported operating systems see:
6492
- # [https://docs.aws.amazon.com/inspector/latest/user/supported.html](
6493
- # https://docs.aws.amazon.com/inspector/latest/user/supported.html).
7738
+ # `NO_RESOURCES_FOUND` - Reserved for future use.
6494
7739
  #
6495
- # `SCAN_ELIGIBILITY_EXPIRED` - The configured scan duration has lapsed
6496
- # for this image.
7740
+ # `NO_SCAN_CONFIGURATION_ASSOCIATED` - The code repository resource
7741
+ # doesn't have an associated scan configuration.
7742
+ #
7743
+ # `PENDING_DISABLE` - This resource is pending cleanup during
7744
+ # disablement. The customer will not be billed while a resource is in
7745
+ # the pending disable status.
7746
+ #
7747
+ # `PENDING_INITIAL_SCAN` - This resource has been identified for
7748
+ # scanning, results will be available soon.
6497
7749
  #
6498
7750
  # `RESOURCE_TERMINATED` - This resource has been terminated. The
6499
7751
  # findings and coverage associated with this resource are in the
6500
7752
  # process of being cleaned up.
6501
7753
  #
6502
- # `SUCCESSFUL` - The scan was successful.
6503
- #
6504
- # `NO_RESOURCES_FOUND` - Reserved for future use.
6505
- #
6506
- # `IMAGE_SIZE_EXCEEDED` - Reserved for future use.
7754
+ # `SCAN_ELIGIBILITY_EXPIRED` - The configured scan duration has lapsed
7755
+ # for this image.
6507
7756
  #
6508
7757
  # `SCAN_FREQUENCY_MANUAL` - This image will not be covered by Amazon
6509
7758
  # Inspector due to the repository scan frequency configuration.
6510
7759
  #
6511
- # `SCAN_FREQUENCY_SCAN_ON_PUSH `- This image will be scanned one time
7760
+ # `SCAN_FREQUENCY_SCAN_ON_PUSH` - This image will be scanned one time
6512
7761
  # and will not new findings because of the scan frequency
6513
7762
  # configuration.
6514
7763
  #
6515
- # `EC2_INSTANCE_STOPPED` - This EC2 instance is in a stopped state,
6516
- # therefore, Amazon Inspector will pause scanning. The existing
6517
- # findings will continue to exist until the instance is terminated.
6518
- # Once the instance is re-started, Inspector will automatically start
6519
- # scanning the instance again. Please note that you will not be
6520
- # charged for this instance while it’s in a stopped state.
6521
- #
6522
- # `PENDING_DISABLE` - This resource is pending cleanup during
6523
- # disablement. The customer will not be billed while a resource is in
6524
- # the pending disable status.
6525
- #
6526
- # `NO INVENTORY` - Amazon Inspector couldn’t find software application
6527
- # inventory to scan for vulnerabilities. This might be caused due to
6528
- # required Amazon Inspector associations being deleted or failing to
6529
- # run on your resource. Please verify the status of
6530
- # `InspectorInventoryCollection-do-not-delete` association in the SSM
6531
- # console for the resource. Additionally, you can verify the
6532
- # instance’s inventory in the SSM Fleet Manager console.
7764
+ # `SCAN_IN_PROGRESS` - The resource is currently being scanned.
6533
7765
  #
6534
- # `STALE_INVENTORY` - Amazon Inspector wasnt able to collect an
7766
+ # `STALE_INVENTORY` - Amazon Inspector wasn't able to collect an
6535
7767
  # updated software application inventory in the last 7 days. Please
6536
7768
  # confirm the required Amazon Inspector associations still exist and
6537
7769
  # you can still see an updated inventory in the SSM console.
6538
7770
  #
6539
- # `EXCLUDED_BY_TAG` - This resource was not scanned because it has
6540
- # been excluded by a tag.
6541
- #
6542
- # `UNSUPPORTED_RUNTIME` - The function was not scanned because it has
6543
- # an unsupported runtime. To see a complete list of supported runtimes
6544
- # see:
6545
- # [https://docs.aws.amazon.com/inspector/latest/user/supported.html](
6546
- # https://docs.aws.amazon.com/inspector/latest/user/supported.html).
7771
+ # `SUCCESSFUL` - The scan was successful.
6547
7772
  #
6548
- # `UNSUPPORTED_MEDIA_TYPE `- The ECR image has an unsupported media
6549
- # type.
7773
+ # `UNMANAGED_EC2_INSTANCE` - The EC2 instance is not managed by SSM,
7774
+ # please use the following SSM automation to remediate the issue:
7775
+ # [https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html][1].
7776
+ # Once the instance becomes managed by SSM, Inspector will
7777
+ # automatically begin scanning this instance.
6550
7778
  #
6551
7779
  # `UNSUPPORTED_CONFIG_FILE` - Reserved for future use.
6552
7780
  #
6553
- # `DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED` - The instance
6554
- # has exceeded the 5000 package limit for Amazon Inspector Deep
6555
- # inspection. To resume Deep inspection for this instance you can try
6556
- # to adjust the custom paths associated with the account.
6557
- #
6558
- # `DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED` - The SSM agent
6559
- # couldn't send inventory to Amazon Inspector because the SSM quota
6560
- # for Inventory data collected per instance per day has already been
6561
- # reached for this instance.
6562
- #
6563
- # `DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED` - Amazon Inspector
6564
- # failed to extract the package inventory because the package
6565
- # collection time exceeding the maximum threshold of 15 minutes.
7781
+ # `UNSUPPORTED_LANGUAGE` - The scan was unsuccessful because the
7782
+ # repository contains files in an unsupported programming language.
6566
7783
  #
6567
- # `DEEP_INSPECTION_NO_INVENTORY` The Amazon Inspector plugin hasn't
6568
- # yet been able to collect an inventory of packages for this instance.
6569
- # This is usually the result of a pending scan, however, if this
6570
- # status persists after 6 hours, use SSM to ensure that the required
6571
- # Amazon Inspector associations exist and are running for the
6572
- # instance.
7784
+ # `UNSUPPORTED_MEDIA_TYPE `- The ECR image has an unsupported media
7785
+ # type.
6573
7786
  #
7787
+ # `UNSUPPORTED_OS` - Amazon Inspector does not support this OS,
7788
+ # architecture, or image manifest type at this time. To see a complete
7789
+ # list of supported operating systems see:
7790
+ # [https://docs.aws.amazon.com/inspector/latest/user/supported.html](
7791
+ # https://docs.aws.amazon.com/inspector/latest/user/supported.html).
6574
7792
  #
7793
+ # `UNSUPPORTED_RUNTIME` - The function was not scanned because it has
7794
+ # an unsupported runtime. To see a complete list of supported runtimes
7795
+ # see:
7796
+ # [https://docs.aws.amazon.com/inspector/latest/user/supported.html](
7797
+ # https://docs.aws.amazon.com/inspector/latest/user/supported.html).
6575
7798
  #
6576
7799
  #
6577
7800
  #
@@ -6632,6 +7855,24 @@ module Aws::Inspector2
6632
7855
  class Unknown < Schedule; end
6633
7856
  end
6634
7857
 
7858
+ # Defines the scope of repositories to be included in code security
7859
+ # scans.
7860
+ #
7861
+ # @!attribute [rw] project_selection_scope
7862
+ # The scope of projects to be selected for scanning within the
7863
+ # integrated repositories. Setting the value to `ALL` applies the
7864
+ # scope settings to all existing and future projects imported into
7865
+ # Amazon Inspector.
7866
+ # @return [String]
7867
+ #
7868
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ScopeSettings AWS API Documentation
7869
+ #
7870
+ class ScopeSettings < Struct.new(
7871
+ :project_selection_scope)
7872
+ SENSITIVE = []
7873
+ include Aws::Structure
7874
+ end
7875
+
6635
7876
  # Details on the criteria used to define the filter for a vulnerability
6636
7877
  # search.
6637
7878
  #
@@ -6836,6 +8077,44 @@ module Aws::Inspector2
6836
8077
  #
6837
8078
  class StartCisSessionResponse < Aws::EmptyStructure; end
6838
8079
 
8080
+ # @!attribute [rw] client_token
8081
+ # A unique, case-sensitive identifier that you provide to ensure the
8082
+ # idempotency of the request.
8083
+ #
8084
+ # **A suitable default value is auto-generated.** You should normally
8085
+ # not need to pass this option.
8086
+ # @return [String]
8087
+ #
8088
+ # @!attribute [rw] resource
8089
+ # The resource identifier for the code repository to scan.
8090
+ # @return [Types::CodeSecurityResource]
8091
+ #
8092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StartCodeSecurityScanRequest AWS API Documentation
8093
+ #
8094
+ class StartCodeSecurityScanRequest < Struct.new(
8095
+ :client_token,
8096
+ :resource)
8097
+ SENSITIVE = []
8098
+ include Aws::Structure
8099
+ end
8100
+
8101
+ # @!attribute [rw] scan_id
8102
+ # The unique identifier of the initiated scan.
8103
+ # @return [String]
8104
+ #
8105
+ # @!attribute [rw] status
8106
+ # The current status of the initiated scan.
8107
+ # @return [String]
8108
+ #
8109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/StartCodeSecurityScanResponse AWS API Documentation
8110
+ #
8111
+ class StartCodeSecurityScanResponse < Struct.new(
8112
+ :scan_id,
8113
+ :status)
8114
+ SENSITIVE = []
8115
+ include Aws::Structure
8116
+ end
8117
+
6839
8118
  # An object that described the state of Amazon Inspector scans for an
6840
8119
  # account.
6841
8120
  #
@@ -7045,6 +8324,28 @@ module Aws::Inspector2
7045
8324
  include Aws::Structure
7046
8325
  end
7047
8326
 
8327
+ # Details about a successful association or disassociation between a
8328
+ # code repository and a scan configuration.
8329
+ #
8330
+ # @!attribute [rw] resource
8331
+ # Identifies a specific resource in a code repository that will be
8332
+ # scanned.
8333
+ # @return [Types::CodeSecurityResource]
8334
+ #
8335
+ # @!attribute [rw] scan_configuration_arn
8336
+ # The Amazon Resource Name (ARN) of the scan configuration that was
8337
+ # successfully associated or disassociated.
8338
+ # @return [String]
8339
+ #
8340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/SuccessfulAssociationResult AWS API Documentation
8341
+ #
8342
+ class SuccessfulAssociationResult < Struct.new(
8343
+ :resource,
8344
+ :scan_configuration_arn)
8345
+ SENSITIVE = []
8346
+ include Aws::Structure
8347
+ end
8348
+
7048
8349
  # A suggested fix for a vulnerability in your Lambda function code.
7049
8350
  #
7050
8351
  # @!attribute [rw] code
@@ -7301,6 +8602,72 @@ module Aws::Inspector2
7301
8602
  include Aws::Structure
7302
8603
  end
7303
8604
 
8605
+ # @!attribute [rw] details
8606
+ # The updated integration details specific to the repository provider
8607
+ # type.
8608
+ # @return [Types::UpdateIntegrationDetails]
8609
+ #
8610
+ # @!attribute [rw] integration_arn
8611
+ # The Amazon Resource Name (ARN) of the code security integration to
8612
+ # update.
8613
+ # @return [String]
8614
+ #
8615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCodeSecurityIntegrationRequest AWS API Documentation
8616
+ #
8617
+ class UpdateCodeSecurityIntegrationRequest < Struct.new(
8618
+ :details,
8619
+ :integration_arn)
8620
+ SENSITIVE = []
8621
+ include Aws::Structure
8622
+ end
8623
+
8624
+ # @!attribute [rw] integration_arn
8625
+ # The Amazon Resource Name (ARN) of the updated code security
8626
+ # integration.
8627
+ # @return [String]
8628
+ #
8629
+ # @!attribute [rw] status
8630
+ # The current status of the updated code security integration.
8631
+ # @return [String]
8632
+ #
8633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCodeSecurityIntegrationResponse AWS API Documentation
8634
+ #
8635
+ class UpdateCodeSecurityIntegrationResponse < Struct.new(
8636
+ :integration_arn,
8637
+ :status)
8638
+ SENSITIVE = []
8639
+ include Aws::Structure
8640
+ end
8641
+
8642
+ # @!attribute [rw] configuration
8643
+ # The updated configuration settings for the code security scan.
8644
+ # @return [Types::CodeSecurityScanConfiguration]
8645
+ #
8646
+ # @!attribute [rw] scan_configuration_arn
8647
+ # The Amazon Resource Name (ARN) of the scan configuration to update.
8648
+ # @return [String]
8649
+ #
8650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCodeSecurityScanConfigurationRequest AWS API Documentation
8651
+ #
8652
+ class UpdateCodeSecurityScanConfigurationRequest < Struct.new(
8653
+ :configuration,
8654
+ :scan_configuration_arn)
8655
+ SENSITIVE = []
8656
+ include Aws::Structure
8657
+ end
8658
+
8659
+ # @!attribute [rw] scan_configuration_arn
8660
+ # The Amazon Resource Name (ARN) of the updated scan configuration.
8661
+ # @return [String]
8662
+ #
8663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateCodeSecurityScanConfigurationResponse AWS API Documentation
8664
+ #
8665
+ class UpdateCodeSecurityScanConfigurationResponse < Struct.new(
8666
+ :scan_configuration_arn)
8667
+ SENSITIVE = []
8668
+ include Aws::Structure
8669
+ end
8670
+
7304
8671
  # @!attribute [rw] ec2_configuration
7305
8672
  # Specifies how the Amazon EC2 automated scan will be updated for your
7306
8673
  # environment.
@@ -7456,6 +8823,72 @@ module Aws::Inspector2
7456
8823
  include Aws::Structure
7457
8824
  end
7458
8825
 
8826
+ # Contains details required to update an integration with GitHub.
8827
+ #
8828
+ # @!attribute [rw] code
8829
+ # The authorization code received from GitHub to update the
8830
+ # integration.
8831
+ # @return [String]
8832
+ #
8833
+ # @!attribute [rw] installation_id
8834
+ # The installation ID of the GitHub App associated with the
8835
+ # integration.
8836
+ # @return [String]
8837
+ #
8838
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitHubIntegrationDetail AWS API Documentation
8839
+ #
8840
+ class UpdateGitHubIntegrationDetail < Struct.new(
8841
+ :code,
8842
+ :installation_id)
8843
+ SENSITIVE = [:code]
8844
+ include Aws::Structure
8845
+ end
8846
+
8847
+ # Contains details required to update an integration with a self-managed
8848
+ # GitLab instance.
8849
+ #
8850
+ # @!attribute [rw] auth_code
8851
+ # The authorization code received from the self-managed GitLab
8852
+ # instance to update the integration.
8853
+ # @return [String]
8854
+ #
8855
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateGitLabSelfManagedIntegrationDetail AWS API Documentation
8856
+ #
8857
+ class UpdateGitLabSelfManagedIntegrationDetail < Struct.new(
8858
+ :auth_code)
8859
+ SENSITIVE = [:auth_code]
8860
+ include Aws::Structure
8861
+ end
8862
+
8863
+ # Contains details required to update a code security integration with a
8864
+ # specific repository provider.
8865
+ #
8866
+ # @note UpdateIntegrationDetails is a union - when making an API calls you must set exactly one of the members.
8867
+ #
8868
+ # @!attribute [rw] github
8869
+ # Details specific to updating an integration with GitHub.
8870
+ # @return [Types::UpdateGitHubIntegrationDetail]
8871
+ #
8872
+ # @!attribute [rw] gitlab_self_managed
8873
+ # Details specific to updating an integration with a self-managed
8874
+ # GitLab instance.
8875
+ # @return [Types::UpdateGitLabSelfManagedIntegrationDetail]
8876
+ #
8877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateIntegrationDetails AWS API Documentation
8878
+ #
8879
+ class UpdateIntegrationDetails < Struct.new(
8880
+ :github,
8881
+ :gitlab_self_managed,
8882
+ :unknown)
8883
+ SENSITIVE = []
8884
+ include Aws::Structure
8885
+ include Aws::Structure::Union
8886
+
8887
+ class Github < UpdateIntegrationDetails; end
8888
+ class GitlabSelfManaged < UpdateIntegrationDetails; end
8889
+ class Unknown < UpdateIntegrationDetails; end
8890
+ end
8891
+
7459
8892
  # @!attribute [rw] org_package_paths
7460
8893
  # The Amazon Inspector deep inspection custom paths you are adding for
7461
8894
  # your organization.