aws-sdk-macie2 1.50.0 → 1.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f4648afa85d60cea8cf8c26f0d6b9bf3610891353f2bfb5b89b755c9234512b
4
- data.tar.gz: 9f35a413f4d6c2a38c2e38680a1f4eba240cf25a0df70d47f00ea8260d3bb262
3
+ metadata.gz: 3ef8e35a8d4dcae5617fa5ee2c1f26602ba892f338378f94d05888733e15b912
4
+ data.tar.gz: d717f27f9cc61ac636b2e605be22eca3664a6df2ee10b539383b44ac6a84da79
5
5
  SHA512:
6
- metadata.gz: 53bbaa983abe685cbf0af6575431182bc1c1930088381b391445d82f14c90d400ae9aae5ce682764998e5931d8d7b2d44c9d2f6d4bd76e638d47c3a10e555317
7
- data.tar.gz: 00cd4968ba24e89630fc5bbcb837a634b1705817123f00bd9180f807fcc1ee01fd42c12a221f9e9eee978a65bdd6f1ce7511b290887170d14a36d0fa6ed4eeb2
6
+ metadata.gz: 1ff41545eb2215bdc75674739da05b5bdc9e7ec5a3c873613f95f33e068151fe05ded77684ce151ba2b2918044c0d4a84413d5ddfeae9a8b14bc25378d7aa7fb
7
+ data.tar.gz: 79967082c378aa6803a8993cae1d4c7c03a5d8c622cccd02fc276fc3403cf9973683cc364eeb7eac013cc33198881aad0fb1955dcbef9e307965f534cb159efd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2023-02-23)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for a new finding type, Policy:IAMUser/S3BucketSharedWithCloudFront, and S3 bucket metadata that indicates if a bucket is shared with an Amazon CloudFront OAI or OAC.
8
+
9
+ 1.51.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.50.0 (2022-12-21)
5
17
  ------------------
6
18
 
@@ -260,4 +272,4 @@ Unreleased Changes
260
272
  1.0.0 (2020-05-13)
261
273
  ------------------
262
274
 
263
- * Feature - Initial release of `aws-sdk-macie2`.
275
+ * Feature - Initial release of `aws-sdk-macie2`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.52.0
@@ -906,7 +906,7 @@ module Aws::Macie2
906
906
  # @example Request syntax with placeholder values
907
907
  #
908
908
  # resp = client.create_sample_findings({
909
- # finding_types: ["SensitiveData:S3Object/Multiple"], # accepts SensitiveData:S3Object/Multiple, SensitiveData:S3Object/Financial, SensitiveData:S3Object/Personal, SensitiveData:S3Object/Credentials, SensitiveData:S3Object/CustomIdentifier, Policy:IAMUser/S3BucketPublic, Policy:IAMUser/S3BucketSharedExternally, Policy:IAMUser/S3BucketReplicatedExternally, Policy:IAMUser/S3BucketEncryptionDisabled, Policy:IAMUser/S3BlockPublicAccessDisabled
909
+ # finding_types: ["SensitiveData:S3Object/Multiple"], # accepts SensitiveData:S3Object/Multiple, SensitiveData:S3Object/Financial, SensitiveData:S3Object/Personal, SensitiveData:S3Object/Credentials, SensitiveData:S3Object/CustomIdentifier, Policy:IAMUser/S3BucketPublic, Policy:IAMUser/S3BucketSharedExternally, Policy:IAMUser/S3BucketReplicatedExternally, Policy:IAMUser/S3BucketEncryptionDisabled, Policy:IAMUser/S3BlockPublicAccessDisabled, Policy:IAMUser/S3BucketSharedWithCloudFront
910
910
  # })
911
911
  #
912
912
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings AWS API Documentation
@@ -2022,7 +2022,7 @@ module Aws::Macie2
2022
2022
  # resp.findings[0].severity.description #=> String, one of "Low", "Medium", "High"
2023
2023
  # resp.findings[0].severity.score #=> Integer
2024
2024
  # resp.findings[0].title #=> String
2025
- # resp.findings[0].type #=> String, one of "SensitiveData:S3Object/Multiple", "SensitiveData:S3Object/Financial", "SensitiveData:S3Object/Personal", "SensitiveData:S3Object/Credentials", "SensitiveData:S3Object/CustomIdentifier", "Policy:IAMUser/S3BucketPublic", "Policy:IAMUser/S3BucketSharedExternally", "Policy:IAMUser/S3BucketReplicatedExternally", "Policy:IAMUser/S3BucketEncryptionDisabled", "Policy:IAMUser/S3BlockPublicAccessDisabled"
2025
+ # resp.findings[0].type #=> String, one of "SensitiveData:S3Object/Multiple", "SensitiveData:S3Object/Financial", "SensitiveData:S3Object/Personal", "SensitiveData:S3Object/Credentials", "SensitiveData:S3Object/CustomIdentifier", "Policy:IAMUser/S3BucketPublic", "Policy:IAMUser/S3BucketSharedExternally", "Policy:IAMUser/S3BucketReplicatedExternally", "Policy:IAMUser/S3BucketEncryptionDisabled", "Policy:IAMUser/S3BlockPublicAccessDisabled", "Policy:IAMUser/S3BucketSharedWithCloudFront"
2026
2026
  # resp.findings[0].updated_at #=> Time
2027
2027
  #
2028
2028
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings AWS API Documentation
@@ -3842,7 +3842,7 @@ module Aws::Macie2
3842
3842
  params: params,
3843
3843
  config: config)
3844
3844
  context[:gem_name] = 'aws-sdk-macie2'
3845
- context[:gem_version] = '1.50.0'
3845
+ context[:gem_version] = '1.52.0'
3846
3846
  Seahorse::Client::Request.new(handlers, context)
3847
3847
  end
3848
3848
 
@@ -50,9 +50,6 @@ module Aws::Macie2
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,102 +9,46 @@
9
9
 
10
10
  module Aws::Macie2
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
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
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- 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://macie2-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
+ return Aws::Endpoints::Endpoint.new(url: "https://macie2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://macie2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://macie2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
- IHRoZSBkdWFsLXN0YWNrIGVuZHBvaW50LiBJZiB0aGUgY29uZmlndXJlZCBl
38
- bmRwb2ludCBkb2VzIG5vdCBzdXBwb3J0IGR1YWwtc3RhY2ssIGRpc3BhdGNo
39
- aW5nIHRoZSByZXF1ZXN0IE1BWSByZXR1cm4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
- JSON
109
53
  end
110
54
  end
@@ -402,7 +402,7 @@ module Aws::Macie2
402
402
  end
403
403
 
404
404
  # Provides information about the number of S3 buckets that are publicly
405
- # accessible based on a combination of permissions settings for each
405
+ # accessible due to a combination of permissions settings for each
406
406
  # bucket.
407
407
  #
408
408
  # @!attribute [rw] publicly_accessible
@@ -462,7 +462,12 @@ module Aws::Macie2
462
462
  end
463
463
 
464
464
  # Provides information about the number of S3 buckets that are or
465
- # aren't shared with other Amazon Web Services accounts.
465
+ # aren't shared with other Amazon Web Services accounts, Amazon
466
+ # CloudFront origin access identities (OAIs), or CloudFront origin
467
+ # access controls (OACs). In this data, an *Amazon Macie organization*
468
+ # is defined as a set of Macie accounts that are centrally managed as a
469
+ # group of related accounts through Organizations or by Macie
470
+ # invitation.
466
471
  #
467
472
  # @!attribute [rw] external
468
473
  # @return [Integer]
@@ -584,13 +589,22 @@ module Aws::Macie2
584
589
  end
585
590
 
586
591
  # Provides statistical data and other information about an S3 bucket
587
- # that Amazon Macie monitors and analyzes for your account. If an error
588
- # occurs when Macie attempts to retrieve and process metadata from
589
- # Amazon S3 for the bucket and the bucket's objects, the value for the
590
- # versioning property is false and the value for most other properties
591
- # is null. Key exceptions are accountId, bucketArn, bucketCreatedAt,
592
- # bucketName, lastUpdated, and region. To identify the cause of the
593
- # error, refer to the errorCode and errorMessage values.
592
+ # that Amazon Macie monitors and analyzes for your account. By default,
593
+ # object count and storage size values include data for object parts
594
+ # that are the result of incomplete multipart uploads. For more
595
+ # information, see [How Macie monitors Amazon S3 data security][1] in
596
+ # the *Amazon Macie User Guide*.
597
+ #
598
+ # If an error occurs when Macie attempts to retrieve and process
599
+ # metadata from Amazon S3 for the bucket or the bucket's objects, the
600
+ # value for the versioning property is false and the value for most
601
+ # other properties is null. Key exceptions are accountId, bucketArn,
602
+ # bucketCreatedAt, bucketName, lastUpdated, and region. To identify the
603
+ # cause of the error, refer to the errorCode and errorMessage values.
604
+ #
605
+ #
606
+ #
607
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
594
608
  #
595
609
  # @!attribute [rw] account_id
596
610
  # @return [String]
@@ -2599,15 +2613,22 @@ module Aws::Macie2
2599
2613
 
2600
2614
  # Provides the results of a query that retrieved aggregated statistical
2601
2615
  # data for all the S3 buckets that Amazon Macie monitors and analyzes
2602
- # for your account.
2616
+ # for your account. By default, object count and storage size values
2617
+ # include data for object parts that are the result of incomplete
2618
+ # multipart uploads. For more information, see [How Macie monitors
2619
+ # Amazon S3 data security][1] in the *Amazon Macie User Guide*.
2620
+ #
2621
+ #
2622
+ #
2623
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
2603
2624
  #
2604
2625
  # @!attribute [rw] bucket_count
2605
2626
  # @return [Integer]
2606
2627
  #
2607
2628
  # @!attribute [rw] bucket_count_by_effective_permission
2608
2629
  # Provides information about the number of S3 buckets that are
2609
- # publicly accessible based on a combination of permissions settings
2610
- # for each bucket.
2630
+ # publicly accessible due to a combination of permissions settings for
2631
+ # each bucket.
2611
2632
  # @return [Types::BucketCountByEffectivePermission]
2612
2633
  #
2613
2634
  # @!attribute [rw] bucket_count_by_encryption_type
@@ -2630,7 +2651,12 @@ module Aws::Macie2
2630
2651
  #
2631
2652
  # @!attribute [rw] bucket_count_by_shared_access_type
2632
2653
  # Provides information about the number of S3 buckets that are or
2633
- # aren't shared with other Amazon Web Services accounts.
2654
+ # aren't shared with other Amazon Web Services accounts, Amazon
2655
+ # CloudFront origin access identities (OAIs), or CloudFront origin
2656
+ # access controls (OACs). In this data, an *Amazon Macie organization*
2657
+ # is defined as a set of Macie accounts that are centrally managed as
2658
+ # a group of related accounts through Organizations or by Macie
2659
+ # invitation.
2634
2660
  # @return [Types::BucketCountBySharedAccessType]
2635
2661
  #
2636
2662
  # @!attribute [rw] bucket_statistics_by_sensitivity
@@ -4454,12 +4480,21 @@ module Aws::Macie2
4454
4480
  end
4455
4481
 
4456
4482
  # Provides statistical data and other information about an S3 bucket
4457
- # that Amazon Macie monitors and analyzes for your account. If an error
4458
- # occurs when Macie attempts to retrieve and process information about
4459
- # the bucket or the bucket's objects, the value for most of these
4460
- # properties is null. Key exceptions are accountId and bucketName. To
4461
- # identify the cause of the error, refer to the errorCode and
4462
- # errorMessage values.
4483
+ # that Amazon Macie monitors and analyzes for your account. By default,
4484
+ # object count and storage size values include data for object parts
4485
+ # that are the result of incomplete multipart uploads. For more
4486
+ # information, see [How Macie monitors Amazon S3 data security][1] in
4487
+ # the *Amazon Macie User Guide*.
4488
+ #
4489
+ # If an error occurs when Macie attempts to retrieve and process
4490
+ # information about the bucket or the bucket's objects, the value for
4491
+ # most of these properties is null. Key exceptions are accountId and
4492
+ # bucketName. To identify the cause of the error, refer to the errorCode
4493
+ # and errorMessage values.
4494
+ #
4495
+ #
4496
+ #
4497
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
4463
4498
  #
4464
4499
  # @!attribute [rw] account_id
4465
4500
  # @return [String]
@@ -4559,12 +4594,21 @@ module Aws::Macie2
4559
4594
  #
4560
4595
  # @!attribute [rw] matching_bucket
4561
4596
  # Provides statistical data and other information about an S3 bucket
4562
- # that Amazon Macie monitors and analyzes for your account. If an
4563
- # error occurs when Macie attempts to retrieve and process information
4564
- # about the bucket or the bucket's objects, the value for most of
4565
- # these properties is null. Key exceptions are accountId and
4597
+ # that Amazon Macie monitors and analyzes for your account. By
4598
+ # default, object count and storage size values include data for
4599
+ # object parts that are the result of incomplete multipart uploads.
4600
+ # For more information, see [How Macie monitors Amazon S3 data
4601
+ # security][1] in the *Amazon Macie User Guide*.
4602
+ #
4603
+ # If an error occurs when Macie attempts to retrieve and process
4604
+ # information about the bucket or the bucket's objects, the value for
4605
+ # most of these properties is null. Key exceptions are accountId and
4566
4606
  # bucketName. To identify the cause of the error, refer to the
4567
4607
  # errorCode and errorMessage values.
4608
+ #
4609
+ #
4610
+ #
4611
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
4568
4612
  # @return [Types::MatchingBucket]
4569
4613
  #
4570
4614
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingResource AWS API Documentation
@@ -4742,13 +4786,15 @@ module Aws::Macie2
4742
4786
  # Portable Document Format file.
4743
4787
  #
4744
4788
  # @!attribute [rw] line_range
4745
- # Specifies the location of an occurrence of sensitive data in a
4746
- # non-binary text file, such as an HTML, TXT, or XML file.
4789
+ # Specifies the location of an occurrence of sensitive data in an
4790
+ # email message or a non-binary text file such as an HTML, TXT, or XML
4791
+ # file.
4747
4792
  # @return [Types::Range]
4748
4793
  #
4749
4794
  # @!attribute [rw] offset_range
4750
- # Specifies the location of an occurrence of sensitive data in a
4751
- # non-binary text file, such as an HTML, TXT, or XML file.
4795
+ # Specifies the location of an occurrence of sensitive data in an
4796
+ # email message or a non-binary text file such as an HTML, TXT, or XML
4797
+ # file.
4752
4798
  # @return [Types::Range]
4753
4799
  #
4754
4800
  # @!attribute [rw] page_number
@@ -4851,8 +4897,8 @@ module Aws::Macie2
4851
4897
  #
4852
4898
  class PutFindingsPublicationConfigurationResponse < Aws::EmptyStructure; end
4853
4899
 
4854
- # Specifies the location of an occurrence of sensitive data in a
4855
- # non-binary text file, such as an HTML, TXT, or XML file.
4900
+ # Specifies the location of an occurrence of sensitive data in an email
4901
+ # message or a non-binary text file such as an HTML, TXT, or XML file.
4856
4902
  #
4857
4903
  # @!attribute [rw] end
4858
4904
  # @return [Integer]
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-macie2/customizations'
53
53
  # @!group service
54
54
  module Aws::Macie2
55
55
 
56
- GEM_VERSION = '1.50.0'
56
+ GEM_VERSION = '1.52.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-macie2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.52.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: 2022-12-21 00:00:00.000000000 Z
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