aws-sdk-guardduty 1.167.0 → 1.168.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-guardduty/client.rb +4 -1
- data/lib/aws-sdk-guardduty/client_api.rb +1 -0
- data/lib/aws-sdk-guardduty/types.rb +30 -1
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/errors.rbs +5 -5
- data/sig/types.rbs +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fc789bd70c1c224f66723b6fb055b16df2b5f89532f0d17df1dbe4f73ac8e1c
|
|
4
|
+
data.tar.gz: 3faeb5b6a9cf58b826e05774797067e7c733b9cf95eca103db839b0a2857846a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1de4b48b0861710e6f2b969e5395d26133fb4e6c81daf8e8fc9a3c4f298723945710bc2d7be81ca5863b43e860c5be80b2f36bb20df21ab1ea3411e9cf0b8bb2
|
|
7
|
+
data.tar.gz: 9de7481b24bf4c4b219b24e45e652c202c293a36758dc282f21eafca1b31bec6ae1589cf5a289f71a4f6db0833a836b79e7af559c790c684f72cd06dfe687bd7
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.168.0
|
|
@@ -2593,6 +2593,7 @@ module Aws::GuardDuty
|
|
|
2593
2593
|
# destination_properties: { # required
|
|
2594
2594
|
# destination_arn: "String",
|
|
2595
2595
|
# kms_key_arn: "String",
|
|
2596
|
+
# expected_bucket_owner: "AccountId",
|
|
2596
2597
|
# },
|
|
2597
2598
|
# client_token: "ClientToken",
|
|
2598
2599
|
# tags: {
|
|
@@ -3570,6 +3571,7 @@ module Aws::GuardDuty
|
|
|
3570
3571
|
# resp.publishing_failure_start_timestamp #=> Integer
|
|
3571
3572
|
# resp.destination_properties.destination_arn #=> String
|
|
3572
3573
|
# resp.destination_properties.kms_key_arn #=> String
|
|
3574
|
+
# resp.destination_properties.expected_bucket_owner #=> String
|
|
3573
3575
|
# resp.tags #=> Hash
|
|
3574
3576
|
# resp.tags["TagKey"] #=> String
|
|
3575
3577
|
#
|
|
@@ -9542,6 +9544,7 @@ module Aws::GuardDuty
|
|
|
9542
9544
|
# destination_properties: {
|
|
9543
9545
|
# destination_arn: "String",
|
|
9544
9546
|
# kms_key_arn: "String",
|
|
9547
|
+
# expected_bucket_owner: "AccountId",
|
|
9545
9548
|
# },
|
|
9546
9549
|
# })
|
|
9547
9550
|
#
|
|
@@ -9744,7 +9747,7 @@ module Aws::GuardDuty
|
|
|
9744
9747
|
tracer: tracer
|
|
9745
9748
|
)
|
|
9746
9749
|
context[:gem_name] = 'aws-sdk-guardduty'
|
|
9747
|
-
context[:gem_version] = '1.
|
|
9750
|
+
context[:gem_version] = '1.168.0'
|
|
9748
9751
|
Seahorse::Client::Request.new(handlers, context)
|
|
9749
9752
|
end
|
|
9750
9753
|
|
|
@@ -1476,6 +1476,7 @@ module Aws::GuardDuty
|
|
|
1476
1476
|
|
|
1477
1477
|
DestinationProperties.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "destinationArn"))
|
|
1478
1478
|
DestinationProperties.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
|
|
1479
|
+
DestinationProperties.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
|
1479
1480
|
DestinationProperties.struct_class = Types::DestinationProperties
|
|
1480
1481
|
|
|
1481
1482
|
Destinations.member = Shapes::ShapeRef.new(shape: Destination)
|
|
@@ -4709,11 +4709,40 @@ module Aws::GuardDuty
|
|
|
4709
4709
|
# The ARN of the KMS key to use for encryption.
|
|
4710
4710
|
# @return [String]
|
|
4711
4711
|
#
|
|
4712
|
+
# @!attribute [rw] expected_bucket_owner
|
|
4713
|
+
# The 12-digit Amazon Web Services account ID of the account that owns
|
|
4714
|
+
# the Amazon S3 bucket specified in the `DestinationArn` parameter.
|
|
4715
|
+
#
|
|
4716
|
+
# When you provide this value, GuardDuty verifies that the specified
|
|
4717
|
+
# account owns the bucket before it exports findings. If the account
|
|
4718
|
+
# ID doesn't match the actual owner of the bucket, GuardDuty doesn't
|
|
4719
|
+
# export findings to that bucket. This helps prevent GuardDuty from
|
|
4720
|
+
# exporting your findings to a bucket that a different Amazon Web
|
|
4721
|
+
# Services account owns (for example, if the original bucket was
|
|
4722
|
+
# deleted and its name was later claimed by another account). If you
|
|
4723
|
+
# don't specify this value, GuardDuty doesn't perform this
|
|
4724
|
+
# verification. GuardDuty strongly recommends that you provide the
|
|
4725
|
+
# expected bucket owner when possible.
|
|
4726
|
+
#
|
|
4727
|
+
# When you update a publishing destination, omitting this field leaves
|
|
4728
|
+
# the currently stored value unchanged. This field appears in the
|
|
4729
|
+
# response only if it was provided when the publishing destination was
|
|
4730
|
+
# created or updated.
|
|
4731
|
+
#
|
|
4732
|
+
# For more information, see [Verifying the Amazon S3 bucket owner][1]
|
|
4733
|
+
# in the *Amazon GuardDuty User Guide*.
|
|
4734
|
+
#
|
|
4735
|
+
#
|
|
4736
|
+
#
|
|
4737
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html#guardduty-exportfindings-expected-bucket-owner
|
|
4738
|
+
# @return [String]
|
|
4739
|
+
#
|
|
4712
4740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DestinationProperties AWS API Documentation
|
|
4713
4741
|
#
|
|
4714
4742
|
class DestinationProperties < Struct.new(
|
|
4715
4743
|
:destination_arn,
|
|
4716
|
-
:kms_key_arn
|
|
4744
|
+
:kms_key_arn,
|
|
4745
|
+
:expected_bucket_owner)
|
|
4717
4746
|
SENSITIVE = []
|
|
4718
4747
|
include Aws::Structure
|
|
4719
4748
|
end
|
data/lib/aws-sdk-guardduty.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -249,7 +249,8 @@ module Aws
|
|
|
249
249
|
destination_type: ("S3"),
|
|
250
250
|
destination_properties: {
|
|
251
251
|
destination_arn: ::String?,
|
|
252
|
-
kms_key_arn: ::String
|
|
252
|
+
kms_key_arn: ::String?,
|
|
253
|
+
expected_bucket_owner: ::String?
|
|
253
254
|
},
|
|
254
255
|
?client_token: ::String,
|
|
255
256
|
?tags: Hash[::String, ::String]
|
|
@@ -1468,7 +1469,8 @@ module Aws
|
|
|
1468
1469
|
destination_id: ::String,
|
|
1469
1470
|
?destination_properties: {
|
|
1470
1471
|
destination_arn: ::String?,
|
|
1471
|
-
kms_key_arn: ::String
|
|
1472
|
+
kms_key_arn: ::String?,
|
|
1473
|
+
expected_bucket_owner: ::String?
|
|
1472
1474
|
}
|
|
1473
1475
|
) -> _UpdatePublishingDestinationResponseSuccess
|
|
1474
1476
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePublishingDestinationResponseSuccess
|
data/sig/errors.rbs
CHANGED
|
@@ -11,23 +11,23 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class AccessDeniedException <
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
def type: () -> ::String
|
|
17
17
|
end
|
|
18
|
-
class BadRequestException <
|
|
18
|
+
class BadRequestException < ServiceError
|
|
19
19
|
def message: () -> ::String
|
|
20
20
|
def type: () -> ::String
|
|
21
21
|
end
|
|
22
|
-
class ConflictException <
|
|
22
|
+
class ConflictException < ServiceError
|
|
23
23
|
def message: () -> ::String
|
|
24
24
|
def type: () -> ::String
|
|
25
25
|
end
|
|
26
|
-
class InternalServerErrorException <
|
|
26
|
+
class InternalServerErrorException < ServiceError
|
|
27
27
|
def message: () -> ::String
|
|
28
28
|
def type: () -> ::String
|
|
29
29
|
end
|
|
30
|
-
class ResourceNotFoundException <
|
|
30
|
+
class ResourceNotFoundException < ServiceError
|
|
31
31
|
def message: () -> ::String
|
|
32
32
|
def type: () -> ::String
|
|
33
33
|
end
|
data/sig/types.rbs
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-guardduty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.168.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.258.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|