aws-sdk-securityhub 1.139.0 → 1.140.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +13 -13
- data/lib/aws-sdk-securityhub/client_api.rb +7 -0
- data/lib/aws-sdk-securityhub/types.rb +39 -7
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +5 -0
- data/sig/types.rbs +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79f37c52458fecc482dd41d12172bd16753b2f45777ea9294baa2e058fe2dbb3
|
4
|
+
data.tar.gz: 4725b4c3cf20d62591d53126d9d3e4a2c0adbf7d7b598981d1f13f989a02d29b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6b20e570d38ac7b75a67340d6e26858763ecb849401b5ddddcd1bb460d7879aa5196eadd088c6dc904588b5a135a9f8ba9ec2311428c9980d0ff9f9157d9ed2
|
7
|
+
data.tar.gz: bc2252c3586084c932b0989befb2d6bbd58d18f5b31a0ae6dd1e77228b44ae62dbc277ce00ab19d8004d3588930cdf7df5f5017de8efab8662a3ac2ea4dd2bbe
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.140.0
|
@@ -6261,10 +6261,10 @@ module Aws::SecurityHub
|
|
6261
6261
|
req.send_request(options)
|
6262
6262
|
end
|
6263
6263
|
|
6264
|
-
# Returns the history of a Security Hub finding
|
6265
|
-
#
|
6266
|
-
#
|
6267
|
-
#
|
6264
|
+
# Returns the history of a Security Hub finding. The history includes
|
6265
|
+
# changes made to any fields in the Amazon Web Services Security Finding
|
6266
|
+
# Format (ASFF) except top-level timestamp fields, such as the
|
6267
|
+
# `CreatedAt` and `UpdatedAt` fields.
|
6268
6268
|
#
|
6269
6269
|
# This operation might return fewer results than the maximum number of
|
6270
6270
|
# results (`MaxResults`) specified in a request, even when more results
|
@@ -6289,10 +6289,10 @@ module Aws::SecurityHub
|
|
6289
6289
|
# called. If you provide a value for `EndTime` but not for `StartTime`,
|
6290
6290
|
# Security Hub returns finding history from the [CreatedAt][1] timestamp
|
6291
6291
|
# of the finding to the `EndTime`. If you provide neither `StartTime`
|
6292
|
-
# nor `EndTime`, Security Hub returns finding history from the
|
6293
|
-
# timestamp of the finding to the time at which the API is
|
6294
|
-
# all of these scenarios, the response is limited to 100
|
6295
|
-
#
|
6292
|
+
# nor `EndTime`, Security Hub returns finding history from the
|
6293
|
+
# `CreatedAt` timestamp of the finding to the time at which the API is
|
6294
|
+
# called. In all of these scenarios, the response is limited to 100
|
6295
|
+
# results.
|
6296
6296
|
#
|
6297
6297
|
# For more information about the validation and formatting of timestamp
|
6298
6298
|
# fields in Security Hub, see [Timestamps][2].
|
@@ -6313,10 +6313,10 @@ module Aws::SecurityHub
|
|
6313
6313
|
# called. If you provide a value for `EndTime` but not for `StartTime`,
|
6314
6314
|
# Security Hub returns finding history from the [CreatedAt][1] timestamp
|
6315
6315
|
# of the finding to the `EndTime`. If you provide neither `StartTime`
|
6316
|
-
# nor `EndTime`, Security Hub returns finding history from the
|
6317
|
-
# timestamp of the finding to the time at which the API is
|
6318
|
-
# all of these scenarios, the response is limited to 100
|
6319
|
-
#
|
6316
|
+
# nor `EndTime`, Security Hub returns finding history from the
|
6317
|
+
# `CreatedAt` timestamp of the finding to the time at which the API is
|
6318
|
+
# called. In all of these scenarios, the response is limited to 100
|
6319
|
+
# results.
|
6320
6320
|
#
|
6321
6321
|
# For more information about the validation and formatting of timestamp
|
6322
6322
|
# fields in Security Hub, see [Timestamps][2].
|
@@ -12198,7 +12198,7 @@ module Aws::SecurityHub
|
|
12198
12198
|
tracer: tracer
|
12199
12199
|
)
|
12200
12200
|
context[:gem_name] = 'aws-sdk-securityhub'
|
12201
|
-
context[:gem_version] = '1.
|
12201
|
+
context[:gem_version] = '1.140.0'
|
12202
12202
|
Seahorse::Client::Request.new(handlers, context)
|
12203
12203
|
end
|
12204
12204
|
|
@@ -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
|
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
|
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
|
data/lib/aws-sdk-securityhub.rb
CHANGED
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
|
|