aws-sdk-guardduty 1.63.0 → 1.64.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 +129 -23
- data/lib/aws-sdk-guardduty/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-guardduty/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-guardduty/types.rb +39 -23
- data/lib/aws-sdk-guardduty.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78e8f067f6feba2d1554a082f114522049a2909c60e2ad2a1350406f8faaadc2
|
|
4
|
+
data.tar.gz: 6b1ce72b1ec4a0146929d0d03f56009852bed286c58468cc8c0fe7f923bd7c82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83f8254fcb76d99239163e9a5e94978d56fd1e14e32810d94aef3977fab88ff51c989689f74f7b8b95c872b403dfaf3b98e39035a26f5e303de782c9c8499a34
|
|
7
|
+
data.tar.gz: 73b0d404b2eddd2fdb3d69a93fbae813c9d9c7c3b973cc95f672a6fa8c21fed19ac1c1b655c003b38e43ce663de629e7550bd49c6d7d5ac3c0b3bc0c841bd3f0
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.64.0
|
|
@@ -473,6 +473,15 @@ module Aws::GuardDuty
|
|
|
473
473
|
# You can have only one detector per account per Region. All data
|
|
474
474
|
# sources are enabled in a new detector by default.
|
|
475
475
|
#
|
|
476
|
+
# There might be regional differences because some data sources might
|
|
477
|
+
# not be available in all the Amazon Web Services Regions where
|
|
478
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
479
|
+
# and endpoints][1].
|
|
480
|
+
#
|
|
481
|
+
#
|
|
482
|
+
#
|
|
483
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
484
|
+
#
|
|
476
485
|
# @option params [required, Boolean] :enable
|
|
477
486
|
# A Boolean value that specifies whether the detector is to be enabled.
|
|
478
487
|
#
|
|
@@ -488,6 +497,15 @@ module Aws::GuardDuty
|
|
|
488
497
|
# @option params [Types::DataSourceConfigurations] :data_sources
|
|
489
498
|
# Describes which data sources will be enabled for the detector.
|
|
490
499
|
#
|
|
500
|
+
# There might be regional differences because some data sources might
|
|
501
|
+
# not be available in all the Amazon Web Services Regions where
|
|
502
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
503
|
+
# and endpoints][1].
|
|
504
|
+
#
|
|
505
|
+
#
|
|
506
|
+
#
|
|
507
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
508
|
+
#
|
|
491
509
|
# @option params [Hash<String,String>] :tags
|
|
492
510
|
# The tags to be added to a new detector resource.
|
|
493
511
|
#
|
|
@@ -550,9 +568,9 @@ module Aws::GuardDuty
|
|
|
550
568
|
# is considered to be an invalid character.
|
|
551
569
|
#
|
|
552
570
|
# @option params [String] :description
|
|
553
|
-
# The description of the filter. Valid
|
|
554
|
-
#
|
|
555
|
-
#
|
|
571
|
+
# The description of the filter. Valid characters include alphanumeric
|
|
572
|
+
# characters, and special characters such as `-`, `.`, `:`, `\{ \}`, `[
|
|
573
|
+
# ]`, `( )`, `/`, `\t`, `\n`, `\x0B`, `\f`, `\r`, `_`, and whitespace.
|
|
556
574
|
#
|
|
557
575
|
# @option params [String] :action
|
|
558
576
|
# Specifies the action that is to be applied to the findings that match
|
|
@@ -573,8 +591,6 @@ module Aws::GuardDuty
|
|
|
573
591
|
#
|
|
574
592
|
# * region
|
|
575
593
|
#
|
|
576
|
-
# * confidence
|
|
577
|
-
#
|
|
578
594
|
# * id
|
|
579
595
|
#
|
|
580
596
|
# * resource.accessKeyDetails.accessKeyId
|
|
@@ -673,13 +689,6 @@ module Aws::GuardDuty
|
|
|
673
689
|
#
|
|
674
690
|
# * resource.s3BucketDetails.type
|
|
675
691
|
#
|
|
676
|
-
# * service.archived
|
|
677
|
-
#
|
|
678
|
-
# When this attribute is set to TRUE, only archived findings are
|
|
679
|
-
# listed. When it's set to FALSE, only unarchived findings are
|
|
680
|
-
# listed. When this attribute is not set, all existing findings are
|
|
681
|
-
# listed.
|
|
682
|
-
#
|
|
683
692
|
# * service.resourceRole
|
|
684
693
|
#
|
|
685
694
|
# * severity
|
|
@@ -764,7 +773,7 @@ module Aws::GuardDuty
|
|
|
764
773
|
# @option params [required, String] :name
|
|
765
774
|
# The user-friendly name to identify the IPSet.
|
|
766
775
|
#
|
|
767
|
-
# Allowed characters are
|
|
776
|
+
# Allowed characters are alphanumeric, whitespace, dash (-), and
|
|
768
777
|
# underscores (\_).
|
|
769
778
|
#
|
|
770
779
|
# @option params [required, String] :format
|
|
@@ -828,9 +837,9 @@ module Aws::GuardDuty
|
|
|
828
837
|
# administrator account, which must enable GuardDuty prior to being
|
|
829
838
|
# added as a member.
|
|
830
839
|
#
|
|
831
|
-
# If you are adding accounts by invitation use this action after
|
|
832
|
-
# GuardDuty has
|
|
833
|
-
# using [
|
|
840
|
+
# If you are adding accounts by invitation, use this action after
|
|
841
|
+
# GuardDuty has bee enabled in potential member accounts and before
|
|
842
|
+
# using [InviteMembers][1].
|
|
834
843
|
#
|
|
835
844
|
#
|
|
836
845
|
#
|
|
@@ -925,9 +934,9 @@ module Aws::GuardDuty
|
|
|
925
934
|
req.send_request(options)
|
|
926
935
|
end
|
|
927
936
|
|
|
928
|
-
# Generates
|
|
937
|
+
# Generates sample findings of types specified by the list of finding
|
|
929
938
|
# types. If 'NULL' is specified for `findingTypes`, the API generates
|
|
930
|
-
#
|
|
939
|
+
# sample findings of all supported finding types.
|
|
931
940
|
#
|
|
932
941
|
# @option params [required, String] :detector_id
|
|
933
942
|
# The ID of the detector to create sample findings for.
|
|
@@ -1254,6 +1263,15 @@ module Aws::GuardDuty
|
|
|
1254
1263
|
# malware scans for their own accounts. An administrator can view the
|
|
1255
1264
|
# malware scans for all the member accounts.
|
|
1256
1265
|
#
|
|
1266
|
+
# There might be regional differences because some data sources might
|
|
1267
|
+
# not be available in all the Amazon Web Services Regions where
|
|
1268
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
1269
|
+
# and endpoints][1].
|
|
1270
|
+
#
|
|
1271
|
+
#
|
|
1272
|
+
#
|
|
1273
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
1274
|
+
#
|
|
1257
1275
|
# @option params [required, String] :detector_id
|
|
1258
1276
|
# The unique ID of the detector that the request is associated with.
|
|
1259
1277
|
#
|
|
@@ -1274,7 +1292,12 @@ module Aws::GuardDuty
|
|
|
1274
1292
|
# entries.
|
|
1275
1293
|
#
|
|
1276
1294
|
# @option params [Types::SortCriteria] :sort_criteria
|
|
1277
|
-
# Represents the criteria used for sorting scan entries.
|
|
1295
|
+
# Represents the criteria used for sorting scan entries. The [
|
|
1296
|
+
# `attributeName` ][1] is required and it must be `scanStartTime`.
|
|
1297
|
+
#
|
|
1298
|
+
#
|
|
1299
|
+
#
|
|
1300
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_SortCriteria.html#guardduty-Type-SortCriteria-attributeName
|
|
1278
1301
|
#
|
|
1279
1302
|
# @return [Types::DescribeMalwareScansResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1280
1303
|
#
|
|
@@ -1346,6 +1369,15 @@ module Aws::GuardDuty
|
|
|
1346
1369
|
# Returns information about the account selected as the delegated
|
|
1347
1370
|
# administrator for GuardDuty.
|
|
1348
1371
|
#
|
|
1372
|
+
# There might be regional differences because some data sources might
|
|
1373
|
+
# not be available in all the Amazon Web Services Regions where
|
|
1374
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
1375
|
+
# and endpoints][1].
|
|
1376
|
+
#
|
|
1377
|
+
#
|
|
1378
|
+
#
|
|
1379
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
1380
|
+
#
|
|
1349
1381
|
# @option params [required, String] :detector_id
|
|
1350
1382
|
# The ID of the detector to retrieve information about the delegated
|
|
1351
1383
|
# administrator from.
|
|
@@ -1587,6 +1619,15 @@ module Aws::GuardDuty
|
|
|
1587
1619
|
|
|
1588
1620
|
# Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
|
1589
1621
|
#
|
|
1622
|
+
# There might be regional differences because some data sources might
|
|
1623
|
+
# not be available in all the Amazon Web Services Regions where
|
|
1624
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
1625
|
+
# and endpoints][1].
|
|
1626
|
+
#
|
|
1627
|
+
#
|
|
1628
|
+
#
|
|
1629
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
1630
|
+
#
|
|
1590
1631
|
# @option params [required, String] :detector_id
|
|
1591
1632
|
# The unique ID of the detector that you want to get.
|
|
1592
1633
|
#
|
|
@@ -2128,6 +2169,15 @@ module Aws::GuardDuty
|
|
|
2128
2169
|
|
|
2129
2170
|
# Returns the details of the malware scan settings.
|
|
2130
2171
|
#
|
|
2172
|
+
# There might be regional differences because some data sources might
|
|
2173
|
+
# not be available in all the Amazon Web Services Regions where
|
|
2174
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
2175
|
+
# and endpoints][1].
|
|
2176
|
+
#
|
|
2177
|
+
#
|
|
2178
|
+
#
|
|
2179
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
2180
|
+
#
|
|
2131
2181
|
# @option params [required, String] :detector_id
|
|
2132
2182
|
# The unique ID of the detector that the scan setting is associated
|
|
2133
2183
|
# with.
|
|
@@ -2199,6 +2249,15 @@ module Aws::GuardDuty
|
|
|
2199
2249
|
# Describes which data sources are enabled for the member account's
|
|
2200
2250
|
# detector.
|
|
2201
2251
|
#
|
|
2252
|
+
# There might be regional differences because some data sources might
|
|
2253
|
+
# not be available in all the Amazon Web Services Regions where
|
|
2254
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
2255
|
+
# and endpoints][1].
|
|
2256
|
+
#
|
|
2257
|
+
#
|
|
2258
|
+
#
|
|
2259
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
2260
|
+
#
|
|
2202
2261
|
# @option params [required, String] :detector_id
|
|
2203
2262
|
# The detector ID for the administrator account.
|
|
2204
2263
|
#
|
|
@@ -3278,6 +3337,15 @@ module Aws::GuardDuty
|
|
|
3278
3337
|
|
|
3279
3338
|
# Updates the Amazon GuardDuty detector specified by the detectorId.
|
|
3280
3339
|
#
|
|
3340
|
+
# There might be regional differences because some data sources might
|
|
3341
|
+
# not be available in all the Amazon Web Services Regions where
|
|
3342
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
3343
|
+
# and endpoints][1].
|
|
3344
|
+
#
|
|
3345
|
+
#
|
|
3346
|
+
#
|
|
3347
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
3348
|
+
#
|
|
3281
3349
|
# @option params [required, String] :detector_id
|
|
3282
3350
|
# The unique ID of the detector to update.
|
|
3283
3351
|
#
|
|
@@ -3291,6 +3359,15 @@ module Aws::GuardDuty
|
|
|
3291
3359
|
# @option params [Types::DataSourceConfigurations] :data_sources
|
|
3292
3360
|
# Describes which data sources will be updated.
|
|
3293
3361
|
#
|
|
3362
|
+
# There might be regional differences because some data sources might
|
|
3363
|
+
# not be available in all the Amazon Web Services Regions where
|
|
3364
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
3365
|
+
# and endpoints][1].
|
|
3366
|
+
#
|
|
3367
|
+
#
|
|
3368
|
+
#
|
|
3369
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
3370
|
+
#
|
|
3294
3371
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3295
3372
|
#
|
|
3296
3373
|
# @example Request syntax with placeholder values
|
|
@@ -3335,9 +3412,11 @@ module Aws::GuardDuty
|
|
|
3335
3412
|
# The name of the filter.
|
|
3336
3413
|
#
|
|
3337
3414
|
# @option params [String] :description
|
|
3338
|
-
# The description of the filter. Valid
|
|
3339
|
-
#
|
|
3340
|
-
#
|
|
3415
|
+
# The description of the filter. Valid characters include alphanumeric
|
|
3416
|
+
# characters, and special characters such as hyphen, period, colon,
|
|
3417
|
+
# underscore, parentheses (`\{ \}`, `[ ]`, and `( )`), forward slash,
|
|
3418
|
+
# horizontal tab, vertical tab, newline, form feed, return, and
|
|
3419
|
+
# whitespace.
|
|
3341
3420
|
#
|
|
3342
3421
|
# @option params [String] :action
|
|
3343
3422
|
# Specifies the action that is to be applied to the findings that match
|
|
@@ -3474,6 +3553,15 @@ module Aws::GuardDuty
|
|
|
3474
3553
|
|
|
3475
3554
|
# Updates the malware scan settings.
|
|
3476
3555
|
#
|
|
3556
|
+
# There might be regional differences because some data sources might
|
|
3557
|
+
# not be available in all the Amazon Web Services Regions where
|
|
3558
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
3559
|
+
# and endpoints][1].
|
|
3560
|
+
#
|
|
3561
|
+
#
|
|
3562
|
+
#
|
|
3563
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
3564
|
+
#
|
|
3477
3565
|
# @option params [required, String] :detector_id
|
|
3478
3566
|
# The unique ID of the detector that specifies the GuardDuty service
|
|
3479
3567
|
# where you want to update scan settings.
|
|
@@ -3527,6 +3615,15 @@ module Aws::GuardDuty
|
|
|
3527
3615
|
|
|
3528
3616
|
# Contains information on member accounts to be updated.
|
|
3529
3617
|
#
|
|
3618
|
+
# There might be regional differences because some data sources might
|
|
3619
|
+
# not be available in all the Amazon Web Services Regions where
|
|
3620
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
3621
|
+
# and endpoints][1].
|
|
3622
|
+
#
|
|
3623
|
+
#
|
|
3624
|
+
#
|
|
3625
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
3626
|
+
#
|
|
3530
3627
|
# @option params [required, String] :detector_id
|
|
3531
3628
|
# The detector ID of the administrator account.
|
|
3532
3629
|
#
|
|
@@ -3579,6 +3676,15 @@ module Aws::GuardDuty
|
|
|
3579
3676
|
|
|
3580
3677
|
# Updates the delegated administrator account with the values provided.
|
|
3581
3678
|
#
|
|
3679
|
+
# There might be regional differences because some data sources might
|
|
3680
|
+
# not be available in all the Amazon Web Services Regions where
|
|
3681
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
3682
|
+
# and endpoints][1].
|
|
3683
|
+
#
|
|
3684
|
+
#
|
|
3685
|
+
#
|
|
3686
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
3687
|
+
#
|
|
3582
3688
|
# @option params [required, String] :detector_id
|
|
3583
3689
|
# The ID of the detector to update the delegated administrator for.
|
|
3584
3690
|
#
|
|
@@ -3715,7 +3821,7 @@ module Aws::GuardDuty
|
|
|
3715
3821
|
params: params,
|
|
3716
3822
|
config: config)
|
|
3717
3823
|
context[:gem_name] = 'aws-sdk-guardduty'
|
|
3718
|
-
context[:gem_version] = '1.
|
|
3824
|
+
context[:gem_version] = '1.64.0'
|
|
3719
3825
|
Seahorse::Client::Request.new(handlers, context)
|
|
3720
3826
|
end
|
|
3721
3827
|
|
|
@@ -50,9 +50,6 @@ module Aws::GuardDuty
|
|
|
50
50
|
|
|
51
51
|
def initialize(options = {})
|
|
52
52
|
self[:region] = options[:region]
|
|
53
|
-
if self[:region].nil?
|
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
|
55
|
-
end
|
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
58
55
|
if self[:use_dual_stack].nil?
|
|
@@ -14,39 +14,42 @@ module Aws::GuardDuty
|
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
|
-
if
|
|
18
|
-
if Aws::Endpoints::Matchers.
|
|
19
|
-
|
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
|
-
end
|
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
24
|
-
end
|
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
26
20
|
end
|
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
|
28
|
-
|
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://guardduty-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
30
|
-
end
|
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
32
23
|
end
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
25
|
+
end
|
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://guardduty-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
37
31
|
end
|
|
38
|
-
|
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
39
33
|
end
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://guardduty.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
38
|
+
end
|
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://guardduty-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
40
|
+
end
|
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
42
|
+
end
|
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
44
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://guardduty.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
46
|
+
end
|
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
45
48
|
end
|
|
46
|
-
|
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://guardduty.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
47
50
|
end
|
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://guardduty.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
49
51
|
end
|
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
|
51
54
|
|
|
52
55
|
end
|
|
@@ -647,6 +647,15 @@ module Aws::GuardDuty
|
|
|
647
647
|
#
|
|
648
648
|
# @!attribute [rw] data_sources
|
|
649
649
|
# Describes which data sources will be enabled for the detector.
|
|
650
|
+
#
|
|
651
|
+
# There might be regional differences because some data sources might
|
|
652
|
+
# not be available in all the Amazon Web Services Regions where
|
|
653
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
654
|
+
# and endpoints][1].
|
|
655
|
+
#
|
|
656
|
+
#
|
|
657
|
+
#
|
|
658
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
650
659
|
# @return [Types::DataSourceConfigurations]
|
|
651
660
|
#
|
|
652
661
|
# @!attribute [rw] tags
|
|
@@ -695,9 +704,10 @@ module Aws::GuardDuty
|
|
|
695
704
|
# @return [String]
|
|
696
705
|
#
|
|
697
706
|
# @!attribute [rw] description
|
|
698
|
-
# The description of the filter. Valid
|
|
699
|
-
#
|
|
700
|
-
#
|
|
707
|
+
# The description of the filter. Valid characters include alphanumeric
|
|
708
|
+
# characters, and special characters such as `-`, `.`, `:`, `\{ \}`,
|
|
709
|
+
# `[ ]`, `( )`, `/`, `\t`, `\n`, `\x0B`, `\f`, `\r`, `_`, and
|
|
710
|
+
# whitespace.
|
|
701
711
|
# @return [String]
|
|
702
712
|
#
|
|
703
713
|
# @!attribute [rw] action
|
|
@@ -721,8 +731,6 @@ module Aws::GuardDuty
|
|
|
721
731
|
#
|
|
722
732
|
# * region
|
|
723
733
|
#
|
|
724
|
-
# * confidence
|
|
725
|
-
#
|
|
726
734
|
# * id
|
|
727
735
|
#
|
|
728
736
|
# * resource.accessKeyDetails.accessKeyId
|
|
@@ -821,13 +829,6 @@ module Aws::GuardDuty
|
|
|
821
829
|
#
|
|
822
830
|
# * resource.s3BucketDetails.type
|
|
823
831
|
#
|
|
824
|
-
# * service.archived
|
|
825
|
-
#
|
|
826
|
-
# When this attribute is set to TRUE, only archived findings are
|
|
827
|
-
# listed. When it's set to FALSE, only unarchived findings are
|
|
828
|
-
# listed. When this attribute is not set, all existing findings are
|
|
829
|
-
# listed.
|
|
830
|
-
#
|
|
831
832
|
# * service.resourceRole
|
|
832
833
|
#
|
|
833
834
|
# * severity
|
|
@@ -887,7 +888,7 @@ module Aws::GuardDuty
|
|
|
887
888
|
# @!attribute [rw] name
|
|
888
889
|
# The user-friendly name to identify the IPSet.
|
|
889
890
|
#
|
|
890
|
-
# Allowed characters are
|
|
891
|
+
# Allowed characters are alphanumeric, whitespace, dash (-), and
|
|
891
892
|
# underscores (\_).
|
|
892
893
|
# @return [String]
|
|
893
894
|
#
|
|
@@ -1476,7 +1477,12 @@ module Aws::GuardDuty
|
|
|
1476
1477
|
# @return [Types::FilterCriteria]
|
|
1477
1478
|
#
|
|
1478
1479
|
# @!attribute [rw] sort_criteria
|
|
1479
|
-
# Represents the criteria used for sorting scan entries.
|
|
1480
|
+
# Represents the criteria used for sorting scan entries. The [
|
|
1481
|
+
# `attributeName` ][1] is required and it must be `scanStartTime`.
|
|
1482
|
+
#
|
|
1483
|
+
#
|
|
1484
|
+
#
|
|
1485
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_SortCriteria.html#guardduty-Type-SortCriteria-attributeName
|
|
1480
1486
|
# @return [Types::SortCriteria]
|
|
1481
1487
|
#
|
|
1482
1488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeMalwareScansRequest AWS API Documentation
|
|
@@ -4584,9 +4590,8 @@ module Aws::GuardDuty
|
|
|
4584
4590
|
# with the activity that prompted GuardDuty to generate a finding.
|
|
4585
4591
|
#
|
|
4586
4592
|
# @!attribute [rw] access_key_details
|
|
4587
|
-
# The IAM access key details (
|
|
4588
|
-
#
|
|
4589
|
-
# finding.
|
|
4593
|
+
# The IAM access key details (user information) of a user that engaged
|
|
4594
|
+
# in the activity that prompted GuardDuty to generate a finding.
|
|
4590
4595
|
# @return [Types::AccessKeyDetails]
|
|
4591
4596
|
#
|
|
4592
4597
|
# @!attribute [rw] s3_bucket_details
|
|
@@ -5163,8 +5168,8 @@ module Aws::GuardDuty
|
|
|
5163
5168
|
# Contains information about the criteria used for sorting findings.
|
|
5164
5169
|
#
|
|
5165
5170
|
# @!attribute [rw] attribute_name
|
|
5166
|
-
# Represents the finding attribute
|
|
5167
|
-
# findings
|
|
5171
|
+
# Represents the finding attribute, such as `accountId`, that sorts
|
|
5172
|
+
# the findings.
|
|
5168
5173
|
# @return [String]
|
|
5169
5174
|
#
|
|
5170
5175
|
# @!attribute [rw] order_by
|
|
@@ -5374,7 +5379,7 @@ module Aws::GuardDuty
|
|
|
5374
5379
|
# Represents the reason the scan was triggered.
|
|
5375
5380
|
#
|
|
5376
5381
|
# @!attribute [rw] guard_duty_finding_id
|
|
5377
|
-
# The ID of the GuardDuty finding that triggered the
|
|
5382
|
+
# The ID of the GuardDuty finding that triggered the malware scan.
|
|
5378
5383
|
# @return [String]
|
|
5379
5384
|
#
|
|
5380
5385
|
# @!attribute [rw] description
|
|
@@ -5481,6 +5486,15 @@ module Aws::GuardDuty
|
|
|
5481
5486
|
#
|
|
5482
5487
|
# @!attribute [rw] data_sources
|
|
5483
5488
|
# Describes which data sources will be updated.
|
|
5489
|
+
#
|
|
5490
|
+
# There might be regional differences because some data sources might
|
|
5491
|
+
# not be available in all the Amazon Web Services Regions where
|
|
5492
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
|
5493
|
+
# and endpoints][1].
|
|
5494
|
+
#
|
|
5495
|
+
#
|
|
5496
|
+
#
|
|
5497
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
|
5484
5498
|
# @return [Types::DataSourceConfigurations]
|
|
5485
5499
|
#
|
|
5486
5500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
|
|
@@ -5508,9 +5522,11 @@ module Aws::GuardDuty
|
|
|
5508
5522
|
# @return [String]
|
|
5509
5523
|
#
|
|
5510
5524
|
# @!attribute [rw] description
|
|
5511
|
-
# The description of the filter. Valid
|
|
5512
|
-
#
|
|
5513
|
-
#
|
|
5525
|
+
# The description of the filter. Valid characters include alphanumeric
|
|
5526
|
+
# characters, and special characters such as hyphen, period, colon,
|
|
5527
|
+
# underscore, parentheses (`\{ \}`, `[ ]`, and `( )`), forward slash,
|
|
5528
|
+
# horizontal tab, vertical tab, newline, form feed, return, and
|
|
5529
|
+
# whitespace.
|
|
5514
5530
|
# @return [String]
|
|
5515
5531
|
#
|
|
5516
5532
|
# @!attribute [rw] action
|
data/lib/aws-sdk-guardduty.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.64.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|