aws-sdk-guardduty 1.62.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- 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 +41 -100
- 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
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2023-02-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Updated API and data types descriptions for CreateFilter, UpdateFilter, and TriggerDetails.
|
8
|
+
|
9
|
+
1.63.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.62.0 (2022-12-16)
|
5
17
|
------------------
|
6
18
|
|
@@ -320,4 +332,4 @@ Unreleased Changes
|
|
320
332
|
1.0.0 (2017-11-29)
|
321
333
|
------------------
|
322
334
|
|
323
|
-
* Feature - Initial release of `aws-sdk-guardduty`.
|
335
|
+
* Feature - Initial release of `aws-sdk-guardduty`.
|
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?
|
@@ -9,108 +9,49 @@
|
|
9
9
|
|
10
10
|
module Aws::GuardDuty
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
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"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
21
25
|
end
|
22
|
-
|
23
|
-
|
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: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
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"
|
48
|
+
end
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://guardduty.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
50
|
+
end
|
51
|
+
end
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
53
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
54
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
55
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33
|
-
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
34
|
-
ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
|
35
|
-
aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
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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:
|
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
|