aws-sdk-securityhub 1.139.0 → 1.141.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2043c777be32b764cf0c02247299f9c90698b2650e9a9cf67caf4208efbec1bf
4
- data.tar.gz: ffb5423f9aa507893f731b563dbde9d0eb273df2cffdf184f2ddc9392a1c7b4b
3
+ metadata.gz: 5d74a286abaf21b247a0f617e23001313fc65ca362bf878041681b8fe0dfac01
4
+ data.tar.gz: 9b974f7946a85094c9174ff0295c2d9b23aadba89889df56910cb0b3c6e48ed2
5
5
  SHA512:
6
- metadata.gz: b0e44c8db811109676547dfe34a5a7182f746cce393c3069ad4f9d7c2996c907ec1bcf663c064539bdcf8e3d3ae3ca0628930dcbdc689c16462fcd7952c0df9b
7
- data.tar.gz: 992fb9a6dea8f91bdd02e64cc7ca8053773efd9e153039594507cd1bae18dae3ab1d6dd881242fc34c6107e62fa553cd2dbb22bf1fe1f75b89e73646a3d3c548
6
+ metadata.gz: 5a63efac53f373025a3fd8c99e696960c47be38266f07f22dffb90395d2dbdb2c3d251e1bc6af872d2bf16e26bb6d80f017e29fc548ee6b2dab22bdec61ebc94
7
+ data.tar.gz: 799dd51cf62d42d9f6cdebc99e5902a195f1163402367fe557ff352945fa794699fca39f37be1927db7d035f4d7b52c9269ba0d682aac26f29875325733f28cd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.141.0 (2025-08-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.140.0 (2025-08-01)
10
+ ------------------
11
+
12
+ * Feature - Release new resource detail type CodeRepository
13
+
4
14
  1.139.0 (2025-07-31)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.139.0
1
+ 1.141.0
@@ -95,8 +95,8 @@ module Aws::SecurityHub
95
95
  # class name or an instance of a plugin class.
96
96
  #
97
97
  # @option options [required, Aws::CredentialProvider] :credentials
98
- # Your AWS credentials used for authentication. This can be an instance of any one of the
99
- # following classes:
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
100
  #
101
101
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
102
  # credentials.
@@ -124,8 +124,7 @@ module Aws::SecurityHub
124
124
  # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
125
  # from the Cognito Identity service.
126
126
  #
127
- # When `:credentials` are not configured directly, the following
128
- # locations will be searched for credentials:
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
129
128
  #
130
129
  # * `Aws.config[:credentials]`
131
130
  #
@@ -139,12 +138,10 @@ module Aws::SecurityHub
139
138
  #
140
139
  # * `~/.aws/config`
141
140
  #
142
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
143
- # are very aggressive. Construct and pass an instance of
144
- # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
145
- # enable retries and extended timeouts. Instance profile credential
146
- # fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
147
- # to `true`.
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
148
145
  #
149
146
  # @option options [required, String] :region
150
147
  # The AWS region to connect to. The configured `:region` is
@@ -377,8 +374,8 @@ module Aws::SecurityHub
377
374
  # `Aws::Telemetry::OTelProvider` for telemetry provider.
378
375
  #
379
376
  # @option options [Aws::TokenProvider] :token_provider
380
- # Your Bearer token used for authentication. This can be an instance of any one of the
381
- # following classes:
377
+ # Your Bearer token used for authentication. This can be any class that includes and implements
378
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
382
379
  #
383
380
  # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
384
381
  # tokens.
@@ -6261,10 +6258,10 @@ module Aws::SecurityHub
6261
6258
  req.send_request(options)
6262
6259
  end
6263
6260
 
6264
- # Returns the history of a Security Hub finding for the past 90 days.
6265
- # The history includes changes made to any fields in the Amazon Web
6266
- # Services Security Finding Format (ASFF) except top-level timestamp
6267
- # fields, such as the `CreatedAt` and `UpdatedAt` fields.
6261
+ # Returns the history of a Security Hub finding. The history includes
6262
+ # changes made to any fields in the Amazon Web Services Security Finding
6263
+ # Format (ASFF) except top-level timestamp fields, such as the
6264
+ # `CreatedAt` and `UpdatedAt` fields.
6268
6265
  #
6269
6266
  # This operation might return fewer results than the maximum number of
6270
6267
  # results (`MaxResults`) specified in a request, even when more results
@@ -6289,10 +6286,10 @@ module Aws::SecurityHub
6289
6286
  # called. If you provide a value for `EndTime` but not for `StartTime`,
6290
6287
  # Security Hub returns finding history from the [CreatedAt][1] timestamp
6291
6288
  # of the finding to the `EndTime`. If you provide neither `StartTime`
6292
- # nor `EndTime`, Security Hub returns finding history from the CreatedAt
6293
- # timestamp of the finding to the time at which the API is called. In
6294
- # all of these scenarios, the response is limited to 100 results, and
6295
- # the maximum time period is limited to 90 days.
6289
+ # nor `EndTime`, Security Hub returns finding history from the
6290
+ # `CreatedAt` timestamp of the finding to the time at which the API is
6291
+ # called. In all of these scenarios, the response is limited to 100
6292
+ # results.
6296
6293
  #
6297
6294
  # For more information about the validation and formatting of timestamp
6298
6295
  # fields in Security Hub, see [Timestamps][2].
@@ -6313,10 +6310,10 @@ module Aws::SecurityHub
6313
6310
  # called. If you provide a value for `EndTime` but not for `StartTime`,
6314
6311
  # Security Hub returns finding history from the [CreatedAt][1] timestamp
6315
6312
  # of the finding to the `EndTime`. If you provide neither `StartTime`
6316
- # nor `EndTime`, Security Hub returns finding history from the CreatedAt
6317
- # timestamp of the finding to the time at which the API is called. In
6318
- # all of these scenarios, the response is limited to 100 results, and
6319
- # the maximum time period is limited to 90 days.
6313
+ # nor `EndTime`, Security Hub returns finding history from the
6314
+ # `CreatedAt` timestamp of the finding to the time at which the API is
6315
+ # called. In all of these scenarios, the response is limited to 100
6316
+ # results.
6320
6317
  #
6321
6318
  # For more information about the validation and formatting of timestamp
6322
6319
  # fields in Security Hub, see [Timestamps][2].
@@ -12198,7 +12195,7 @@ module Aws::SecurityHub
12198
12195
  tracer: tracer
12199
12196
  )
12200
12197
  context[:gem_name] = 'aws-sdk-securityhub'
12201
- context[:gem_version] = '1.139.0'
12198
+ context[:gem_version] = '1.141.0'
12202
12199
  Seahorse::Client::Request.new(handlers, context)
12203
12200
  end
12204
12201
 
@@ -770,6 +770,7 @@ module Aws::SecurityHub
770
770
  ClassificationStatus = Shapes::StructureShape.new(name: 'ClassificationStatus')
771
771
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
772
772
  CloudWatchLogsLogGroupArnConfigDetails = Shapes::StructureShape.new(name: 'CloudWatchLogsLogGroupArnConfigDetails')
773
+ CodeRepositoryDetails = Shapes::StructureShape.new(name: 'CodeRepositoryDetails')
773
774
  CodeVulnerabilitiesFilePath = Shapes::StructureShape.new(name: 'CodeVulnerabilitiesFilePath')
774
775
  Compliance = Shapes::StructureShape.new(name: 'Compliance')
775
776
  ComplianceStatus = Shapes::StringShape.new(name: 'ComplianceStatus')
@@ -5477,6 +5478,11 @@ module Aws::SecurityHub
5477
5478
  CloudWatchLogsLogGroupArnConfigDetails.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Id"))
5478
5479
  CloudWatchLogsLogGroupArnConfigDetails.struct_class = Types::CloudWatchLogsLogGroupArnConfigDetails
5479
5480
 
5481
+ CodeRepositoryDetails.add_member(:provider_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ProviderType"))
5482
+ CodeRepositoryDetails.add_member(:project_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ProjectName"))
5483
+ CodeRepositoryDetails.add_member(:code_security_integration_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CodeSecurityIntegrationArn"))
5484
+ CodeRepositoryDetails.struct_class = Types::CodeRepositoryDetails
5485
+
5480
5486
  CodeVulnerabilitiesFilePath.add_member(:end_line, Shapes::ShapeRef.new(shape: Integer, location_name: "EndLine"))
5481
5487
  CodeVulnerabilitiesFilePath.add_member(:file_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FileName"))
5482
5488
  CodeVulnerabilitiesFilePath.add_member(:file_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "FilePath"))
@@ -6933,6 +6939,7 @@ module Aws::SecurityHub
6933
6939
  ResourceDetails.add_member(:aws_msk_cluster, Shapes::ShapeRef.new(shape: AwsMskClusterDetails, location_name: "AwsMskCluster"))
6934
6940
  ResourceDetails.add_member(:aws_s3_access_point, Shapes::ShapeRef.new(shape: AwsS3AccessPointDetails, location_name: "AwsS3AccessPoint"))
6935
6941
  ResourceDetails.add_member(:aws_ec2_client_vpn_endpoint, Shapes::ShapeRef.new(shape: AwsEc2ClientVpnEndpointDetails, location_name: "AwsEc2ClientVpnEndpoint"))
6942
+ ResourceDetails.add_member(:code_repository, Shapes::ShapeRef.new(shape: CodeRepositoryDetails, location_name: "CodeRepository"))
6936
6943
  ResourceDetails.struct_class = Types::ResourceDetails
6937
6944
 
6938
6945
  ResourceFindingsSummary.add_member(:finding_type, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "FindingType"))
@@ -22427,6 +22427,33 @@ module Aws::SecurityHub
22427
22427
  include Aws::Structure
22428
22428
  end
22429
22429
 
22430
+ # Details about an external code repository with which you can connect
22431
+ # your Amazon Web Services resources. The connection is established
22432
+ # through Amazon Inspector.
22433
+ #
22434
+ # @!attribute [rw] provider_type
22435
+ # The type of repository provider.
22436
+ # @return [String]
22437
+ #
22438
+ # @!attribute [rw] project_name
22439
+ # The name of the project in the code repository.
22440
+ # @return [String]
22441
+ #
22442
+ # @!attribute [rw] code_security_integration_arn
22443
+ # The Amazon Resource Name (ARN) of the code security integration
22444
+ # associated with the repository.
22445
+ # @return [String]
22446
+ #
22447
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CodeRepositoryDetails AWS API Documentation
22448
+ #
22449
+ class CodeRepositoryDetails < Struct.new(
22450
+ :provider_type,
22451
+ :project_name,
22452
+ :code_security_integration_arn)
22453
+ SENSITIVE = []
22454
+ include Aws::Structure
22455
+ end
22456
+
22430
22457
  # Provides details about where a code vulnerability is located in your
22431
22458
  # Lambda function.
22432
22459
  #
@@ -25554,10 +25581,9 @@ module Aws::SecurityHub
25554
25581
  # `StartTime`, Security Hub returns finding history from the
25555
25582
  # [CreatedAt][1] timestamp of the finding to the `EndTime`. If you
25556
25583
  # provide neither `StartTime` nor `EndTime`, Security Hub returns
25557
- # finding history from the CreatedAt timestamp of the finding to the
25584
+ # finding history from the `CreatedAt` timestamp of the finding to the
25558
25585
  # time at which the API is called. In all of these scenarios, the
25559
- # response is limited to 100 results, and the maximum time period is
25560
- # limited to 90 days.
25586
+ # response is limited to 100 results.
25561
25587
  #
25562
25588
  # For more information about the validation and formatting of
25563
25589
  # timestamp fields in Security Hub, see [Timestamps][2].
@@ -25580,10 +25606,9 @@ module Aws::SecurityHub
25580
25606
  # `StartTime`, Security Hub returns finding history from the
25581
25607
  # [CreatedAt][1] timestamp of the finding to the `EndTime`. If you
25582
25608
  # provide neither `StartTime` nor `EndTime`, Security Hub returns
25583
- # finding history from the CreatedAt timestamp of the finding to the
25609
+ # finding history from the `CreatedAt` timestamp of the finding to the
25584
25610
  # time at which the API is called. In all of these scenarios, the
25585
- # response is limited to 100 results, and the maximum time period is
25586
- # limited to 90 days.
25611
+ # response is limited to 100 results.
25587
25612
  #
25588
25613
  # For more information about the validation and formatting of
25589
25614
  # timestamp fields in Security Hub, see [Timestamps][2].
@@ -29529,6 +29554,12 @@ module Aws::SecurityHub
29529
29554
  # sessions.
29530
29555
  # @return [Types::AwsEc2ClientVpnEndpointDetails]
29531
29556
  #
29557
+ # @!attribute [rw] code_repository
29558
+ # Details about an external code repository with which you can connect
29559
+ # your Amazon Web Services resources. The connection is established
29560
+ # through Amazon Inspector.
29561
+ # @return [Types::CodeRepositoryDetails]
29562
+ #
29532
29563
  # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ResourceDetails AWS API Documentation
29533
29564
  #
29534
29565
  class ResourceDetails < Struct.new(
@@ -29630,7 +29661,8 @@ module Aws::SecurityHub
29630
29661
  :aws_route_53_hosted_zone,
29631
29662
  :aws_msk_cluster,
29632
29663
  :aws_s3_access_point,
29633
- :aws_ec2_client_vpn_endpoint)
29664
+ :aws_ec2_client_vpn_endpoint,
29665
+ :code_repository)
29634
29666
  SENSITIVE = []
29635
29667
  include Aws::Structure
29636
29668
  end
@@ -54,7 +54,7 @@ module Aws::SecurityHub
54
54
  autoload :EndpointProvider, 'aws-sdk-securityhub/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-securityhub/endpoints'
56
56
 
57
- GEM_VERSION = '1.139.0'
57
+ GEM_VERSION = '1.141.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -4131,6 +4131,11 @@ module Aws
4131
4131
  enabled: bool?,
4132
4132
  banner_text: ::String?
4133
4133
  }?
4134
+ }?,
4135
+ code_repository: {
4136
+ provider_type: ::String?,
4137
+ project_name: ::String?,
4138
+ code_security_integration_arn: ::String?
4134
4139
  }?
4135
4140
  }?,
4136
4141
  application_name: ::String?,
data/sig/types.rbs CHANGED
@@ -4900,6 +4900,13 @@ module Aws::SecurityHub
4900
4900
  SENSITIVE: []
4901
4901
  end
4902
4902
 
4903
+ class CodeRepositoryDetails
4904
+ attr_accessor provider_type: ::String
4905
+ attr_accessor project_name: ::String
4906
+ attr_accessor code_security_integration_arn: ::String
4907
+ SENSITIVE: []
4908
+ end
4909
+
4903
4910
  class CodeVulnerabilitiesFilePath
4904
4911
  attr_accessor end_line: ::Integer
4905
4912
  attr_accessor file_name: ::String
@@ -6767,6 +6774,7 @@ module Aws::SecurityHub
6767
6774
  attr_accessor aws_msk_cluster: Types::AwsMskClusterDetails
6768
6775
  attr_accessor aws_s3_access_point: Types::AwsS3AccessPointDetails
6769
6776
  attr_accessor aws_ec2_client_vpn_endpoint: Types::AwsEc2ClientVpnEndpointDetails
6777
+ attr_accessor code_repository: Types::CodeRepositoryDetails
6770
6778
  SENSITIVE: []
6771
6779
  end
6772
6780
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-securityhub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.139.0
4
+ version: 1.141.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services