aws-sdk-macie2 1.36.0 → 1.37.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: b8077f09a4929af02ed105741ad4af57bf5c04511824e6aff860993a6c5183ad
4
- data.tar.gz: 43684e403dd640dcb7df7fcbf7ef39a0ed27a0787eacdf1d6966b380c6a75a7c
3
+ metadata.gz: b086895233d4958a2117880a24d4dc137bc825ff6e2cd94aa0d13e26c9e5b71a
4
+ data.tar.gz: 7727d3ee465c5819ecc6540132bdf07949ce9911d1a2d8f8be82908b9ac4ab78
5
5
  SHA512:
6
- metadata.gz: b7aa2d0fa91715f8aab2aa97efa885513a51726e611dd4ca00b4359779b6331d4d90eb39f5636a00d1e7644b1216a77f160342cfbf3660b4c68244d4088b84d7
7
- data.tar.gz: 2f434e772cdb835146b58089095b0ae05476421d3eed4025a84824033f79c251492f2cd367d2843d274b373bffed2b1ee761aef37d4fb57e977c5f1097c78f58
6
+ metadata.gz: d6aadad4eb74d639a90a1b69f3104f9812ed94cde75af40d9b6499f166fcf88990b5c017263eafe852b6e6c95cd1e2dc2cc6eaef70cda05f2b4893ce35174462
7
+ data.tar.gz: bc7796545722bd00d0d89c7d8d2382c54cc1db31484bd3f1f8d92229bf54367b17a6e3c86f26b9386801f15346e2718e8d47ab9ae13e44edef25da3aca9a07f2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2021-11-03)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for specifying the severity of findings that a custom data identifier produces, based on the number of occurrences of text that matches the detection criteria.
8
+
4
9
  1.36.0 (2021-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -594,6 +594,22 @@ module Aws::Macie2
594
594
  #
595
595
  # @option params [String] :regex
596
596
  #
597
+ # @option params [Array<Types::SeverityLevel>] :severity_levels
598
+ # The severity to assign to findings that the custom data identifier
599
+ # produces, based on the number of occurrences of text that matches the
600
+ # custom data identifier's detection criteria. You can specify as many
601
+ # as three SeverityLevel objects in this array, one for each severity:
602
+ # LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences
603
+ # thresholds must be in ascending order by severity, moving from LOW to
604
+ # HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an
605
+ # S3 object contains fewer occurrences than the lowest specified
606
+ # threshold, Amazon Macie doesn't create a finding.
607
+ #
608
+ # If you don't specify any values for this array, Macie creates
609
+ # findings for S3 objects that contain at least one occurrence of text
610
+ # that matches the detection criteria, and Macie automatically assigns
611
+ # the MEDIUM severity to those findings.
612
+ #
597
613
  # @option params [Hash<String,String>] :tags
598
614
  # A string-to-string map of key-value pairs that specifies the tags
599
615
  # (keys and values) for a classification job, custom data identifier,
@@ -613,6 +629,12 @@ module Aws::Macie2
613
629
  # maximum_match_distance: 1,
614
630
  # name: "__string",
615
631
  # regex: "__string",
632
+ # severity_levels: [
633
+ # {
634
+ # occurrences_threshold: 1, # required
635
+ # severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
636
+ # },
637
+ # ],
616
638
  # tags: {
617
639
  # "__string" => "__string",
618
640
  # },
@@ -1459,6 +1481,7 @@ module Aws::Macie2
1459
1481
  # * {Types::GetCustomDataIdentifierResponse#maximum_match_distance #maximum_match_distance} => Integer
1460
1482
  # * {Types::GetCustomDataIdentifierResponse#name #name} => String
1461
1483
  # * {Types::GetCustomDataIdentifierResponse#regex #regex} => String
1484
+ # * {Types::GetCustomDataIdentifierResponse#severity_levels #severity_levels} => Array&lt;Types::SeverityLevel&gt;
1462
1485
  # * {Types::GetCustomDataIdentifierResponse#tags #tags} => Hash&lt;String,String&gt;
1463
1486
  #
1464
1487
  # @example Request syntax with placeholder values
@@ -1481,6 +1504,9 @@ module Aws::Macie2
1481
1504
  # resp.maximum_match_distance #=> Integer
1482
1505
  # resp.name #=> String
1483
1506
  # resp.regex #=> String
1507
+ # resp.severity_levels #=> Array
1508
+ # resp.severity_levels[0].occurrences_threshold #=> Integer
1509
+ # resp.severity_levels[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
1484
1510
  # resp.tags #=> Hash
1485
1511
  # resp.tags["__string"] #=> String
1486
1512
  #
@@ -2880,8 +2906,8 @@ module Aws::Macie2
2880
2906
  req.send_request(options)
2881
2907
  end
2882
2908
 
2883
- # Enables an Amazon Macie administrator to suspend or re-enable a member
2884
- # account.
2909
+ # Enables an Amazon Macie administrator to suspend or re-enable Macie
2910
+ # for a member account.
2885
2911
  #
2886
2912
  # @option params [required, String] :id
2887
2913
  #
@@ -2941,7 +2967,7 @@ module Aws::Macie2
2941
2967
  params: params,
2942
2968
  config: config)
2943
2969
  context[:gem_name] = 'aws-sdk-macie2'
2944
- context[:gem_version] = '1.36.0'
2970
+ context[:gem_version] = '1.37.0'
2945
2971
  Seahorse::Client::Request.new(handlers, context)
2946
2972
  end
2947
2973
 
@@ -73,6 +73,7 @@ module Aws::Macie2
73
73
  CustomDetection = Shapes::StructureShape.new(name: 'CustomDetection')
74
74
  CustomDetections = Shapes::ListShape.new(name: 'CustomDetections')
75
75
  DailySchedule = Shapes::StructureShape.new(name: 'DailySchedule')
76
+ DataIdentifierSeverity = Shapes::StringShape.new(name: 'DataIdentifierSeverity')
76
77
  DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
77
78
  DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
78
79
  DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
@@ -259,6 +260,8 @@ module Aws::Macie2
259
260
  SessionIssuer = Shapes::StructureShape.new(name: 'SessionIssuer')
260
261
  Severity = Shapes::StructureShape.new(name: 'Severity')
261
262
  SeverityDescription = Shapes::StringShape.new(name: 'SeverityDescription')
263
+ SeverityLevel = Shapes::StructureShape.new(name: 'SeverityLevel')
264
+ SeverityLevelList = Shapes::ListShape.new(name: 'SeverityLevelList')
262
265
  SharedAccess = Shapes::StringShape.new(name: 'SharedAccess')
263
266
  SimpleCriterionForJob = Shapes::StructureShape.new(name: 'SimpleCriterionForJob')
264
267
  SimpleCriterionKeyForJob = Shapes::StringShape.new(name: 'SimpleCriterionKeyForJob')
@@ -553,6 +556,7 @@ module Aws::Macie2
553
556
  CreateCustomDataIdentifierRequest.add_member(:maximum_match_distance, Shapes::ShapeRef.new(shape: __integer, location_name: "maximumMatchDistance"))
554
557
  CreateCustomDataIdentifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
555
558
  CreateCustomDataIdentifierRequest.add_member(:regex, Shapes::ShapeRef.new(shape: __string, location_name: "regex"))
559
+ CreateCustomDataIdentifierRequest.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelList, location_name: "severityLevels"))
556
560
  CreateCustomDataIdentifierRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
557
561
  CreateCustomDataIdentifierRequest.struct_class = Types::CreateCustomDataIdentifierRequest
558
562
 
@@ -838,6 +842,7 @@ module Aws::Macie2
838
842
  GetCustomDataIdentifierResponse.add_member(:maximum_match_distance, Shapes::ShapeRef.new(shape: __integer, location_name: "maximumMatchDistance"))
839
843
  GetCustomDataIdentifierResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
840
844
  GetCustomDataIdentifierResponse.add_member(:regex, Shapes::ShapeRef.new(shape: __string, location_name: "regex"))
845
+ GetCustomDataIdentifierResponse.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelList, location_name: "severityLevels"))
841
846
  GetCustomDataIdentifierResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
842
847
  GetCustomDataIdentifierResponse.struct_class = Types::GetCustomDataIdentifierResponse
843
848
 
@@ -1328,6 +1333,12 @@ module Aws::Macie2
1328
1333
  Severity.add_member(:score, Shapes::ShapeRef.new(shape: __long, location_name: "score"))
1329
1334
  Severity.struct_class = Types::Severity
1330
1335
 
1336
+ SeverityLevel.add_member(:occurrences_threshold, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "occurrencesThreshold"))
1337
+ SeverityLevel.add_member(:severity, Shapes::ShapeRef.new(shape: DataIdentifierSeverity, required: true, location_name: "severity"))
1338
+ SeverityLevel.struct_class = Types::SeverityLevel
1339
+
1340
+ SeverityLevelList.member = Shapes::ShapeRef.new(shape: SeverityLevel)
1341
+
1331
1342
  SimpleCriterionForJob.add_member(:comparator, Shapes::ShapeRef.new(shape: JobComparator, location_name: "comparator"))
1332
1343
  SimpleCriterionForJob.add_member(:key, Shapes::ShapeRef.new(shape: SimpleCriterionKeyForJob, location_name: "key"))
1333
1344
  SimpleCriterionForJob.add_member(:values, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "values"))
@@ -548,10 +548,11 @@ module Aws::Macie2
548
548
  # Provides statistical data and other information about an S3 bucket
549
549
  # that Amazon Macie monitors and analyzes for your account. If an error
550
550
  # occurs when Macie attempts to retrieve and process information about
551
- # the bucket or the bucket's objects, the value for most of these
552
- # properties is null. Exceptions are accountId, bucketArn,
553
- # bucketCreatedAt, bucketName, lastUpdated, and region. To identify the
554
- # cause of the error, refer to the errorCode and errorMessage values.
551
+ # the bucket or the bucket's objects, the value for the versioning
552
+ # property is false and the value for most other properties is null.
553
+ # Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName,
554
+ # lastUpdated, and region. To identify the cause of the error, refer to
555
+ # the errorCode and errorMessage values.
555
556
  #
556
557
  # @!attribute [rw] account_id
557
558
  # @return [String]
@@ -1179,7 +1180,7 @@ module Aws::Macie2
1179
1180
  include Aws::Structure
1180
1181
  end
1181
1182
 
1182
- # Specifies the criteria and other settings for a custom data
1183
+ # Specifies the detection criteria and other settings for a custom data
1183
1184
  # identifier. You can't change a custom data identifier after you
1184
1185
  # create it. This helps ensure that you have an immutable history of
1185
1186
  # sensitive data findings and discovery results for data privacy and
@@ -1196,6 +1197,12 @@ module Aws::Macie2
1196
1197
  # maximum_match_distance: 1,
1197
1198
  # name: "__string",
1198
1199
  # regex: "__string",
1200
+ # severity_levels: [
1201
+ # {
1202
+ # occurrences_threshold: 1, # required
1203
+ # severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
1204
+ # },
1205
+ # ],
1199
1206
  # tags: {
1200
1207
  # "__string" => "__string",
1201
1208
  # },
@@ -1224,6 +1231,23 @@ module Aws::Macie2
1224
1231
  # @!attribute [rw] regex
1225
1232
  # @return [String]
1226
1233
  #
1234
+ # @!attribute [rw] severity_levels
1235
+ # The severity to assign to findings that the custom data identifier
1236
+ # produces, based on the number of occurrences of text that matches
1237
+ # the custom data identifier's detection criteria. You can specify as
1238
+ # many as three SeverityLevel objects in this array, one for each
1239
+ # severity: LOW, MEDIUM, or HIGH. If you specify more than one, the
1240
+ # occurrences thresholds must be in ascending order by severity,
1241
+ # moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and
1242
+ # 100 for HIGH. If an S3 object contains fewer occurrences than the
1243
+ # lowest specified threshold, Amazon Macie doesn't create a finding.
1244
+ #
1245
+ # If you don't specify any values for this array, Macie creates
1246
+ # findings for S3 objects that contain at least one occurrence of text
1247
+ # that matches the detection criteria, and Macie automatically assigns
1248
+ # the MEDIUM severity to those findings.
1249
+ # @return [Array<Types::SeverityLevel>]
1250
+ #
1227
1251
  # @!attribute [rw] tags
1228
1252
  # A string-to-string map of key-value pairs that specifies the tags
1229
1253
  # (keys and values) for a classification job, custom data identifier,
@@ -1240,6 +1264,7 @@ module Aws::Macie2
1240
1264
  :maximum_match_distance,
1241
1265
  :name,
1242
1266
  :regex,
1267
+ :severity_levels,
1243
1268
  :tags)
1244
1269
  SENSITIVE = []
1245
1270
  include Aws::Structure
@@ -1445,8 +1470,7 @@ module Aws::Macie2
1445
1470
  include Aws::Structure
1446
1471
  end
1447
1472
 
1448
- # Specifies the types of findings to include in a set of sample findings
1449
- # that Amazon Macie creates.
1473
+ # Specifies the types of sample findings to create.
1450
1474
  #
1451
1475
  # @note When making an API call, you may pass CreateSampleFindingsRequest
1452
1476
  # data as a hash:
@@ -2741,8 +2765,8 @@ module Aws::Macie2
2741
2765
  include Aws::Structure
2742
2766
  end
2743
2767
 
2744
- # Provides information about the criteria and other settings for a
2745
- # custom data identifier.
2768
+ # Provides information about the detection criteria and other settings
2769
+ # for a custom data identifier.
2746
2770
  #
2747
2771
  # @!attribute [rw] arn
2748
2772
  # @return [String]
@@ -2774,6 +2798,23 @@ module Aws::Macie2
2774
2798
  # @!attribute [rw] regex
2775
2799
  # @return [String]
2776
2800
  #
2801
+ # @!attribute [rw] severity_levels
2802
+ # The severity to assign to findings that the custom data identifier
2803
+ # produces, based on the number of occurrences of text that matches
2804
+ # the custom data identifier's detection criteria. You can specify as
2805
+ # many as three SeverityLevel objects in this array, one for each
2806
+ # severity: LOW, MEDIUM, or HIGH. If you specify more than one, the
2807
+ # occurrences thresholds must be in ascending order by severity,
2808
+ # moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and
2809
+ # 100 for HIGH. If an S3 object contains fewer occurrences than the
2810
+ # lowest specified threshold, Amazon Macie doesn't create a finding.
2811
+ #
2812
+ # If you don't specify any values for this array, Macie creates
2813
+ # findings for S3 objects that contain at least one occurrence of text
2814
+ # that matches the detection criteria, and Macie automatically assigns
2815
+ # the MEDIUM severity to those findings.
2816
+ # @return [Array<Types::SeverityLevel>]
2817
+ #
2777
2818
  # @!attribute [rw] tags
2778
2819
  # A string-to-string map of key-value pairs that specifies the tags
2779
2820
  # (keys and values) for a classification job, custom data identifier,
@@ -2793,6 +2834,7 @@ module Aws::Macie2
2793
2834
  :maximum_match_distance,
2794
2835
  :name,
2795
2836
  :regex,
2837
+ :severity_levels,
2796
2838
  :tags)
2797
2839
  SENSITIVE = []
2798
2840
  include Aws::Structure
@@ -5889,6 +5931,36 @@ module Aws::Macie2
5889
5931
  include Aws::Structure
5890
5932
  end
5891
5933
 
5934
+ # Specifies a severity level for findings that a custom data identifier
5935
+ # produces. A severity level determines which severity is assigned to
5936
+ # the findings, based on the number of occurrences of text that matches
5937
+ # the custom data identifier's detection criteria.
5938
+ #
5939
+ # @note When making an API call, you may pass SeverityLevel
5940
+ # data as a hash:
5941
+ #
5942
+ # {
5943
+ # occurrences_threshold: 1, # required
5944
+ # severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
5945
+ # }
5946
+ #
5947
+ # @!attribute [rw] occurrences_threshold
5948
+ # @return [Integer]
5949
+ #
5950
+ # @!attribute [rw] severity
5951
+ # The severity of a finding, ranging from LOW, for least severe, to
5952
+ # HIGH, for most severe. Valid values are:
5953
+ # @return [String]
5954
+ #
5955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SeverityLevel AWS API Documentation
5956
+ #
5957
+ class SeverityLevel < Struct.new(
5958
+ :occurrences_threshold,
5959
+ :severity)
5960
+ SENSITIVE = []
5961
+ include Aws::Structure
5962
+ end
5963
+
5892
5964
  # Specifies a property-based condition that determines whether an S3
5893
5965
  # bucket is included or excluded from a classification job.
5894
5966
  #
@@ -6457,7 +6529,7 @@ module Aws::Macie2
6457
6529
  #
6458
6530
  class UpdateMacieSessionResponse < Aws::EmptyStructure; end
6459
6531
 
6460
- # Suspends (pauses) or re-enables an Amazon Macie member account.
6532
+ # Suspends (pauses) or re-enables Amazon Macie for a member account.
6461
6533
  #
6462
6534
  # @note When making an API call, you may pass UpdateMemberSessionRequest
6463
6535
  # data as a hash:
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
48
48
  # @!group service
49
49
  module Aws::Macie2
50
50
 
51
- GEM_VERSION = '1.36.0'
51
+ GEM_VERSION = '1.37.0'
52
52
 
53
53
  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.36.0
4
+ version: 1.37.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: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core