aws-sdk-macie2 1.25.0 → 1.30.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +298 -20
- data/lib/aws-sdk-macie2/client_api.rb +200 -0
- data/lib/aws-sdk-macie2/types.rb +1223 -187
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 232bc446a0243796309d19bf5aafdfad40b74d68b4ff0ebe1b50415be479fefd
|
4
|
+
data.tar.gz: 7785e1080209e283b6085aba928d4bd9f4a44488f05888a2b278198ce625df39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64f7b9f13447bae91c958b92a1058994df8211522f1a7fc2da58a07adcbb76ff2e32dd7b14bfb0dc27fdb66ccc22d15881c1a659b0525049c1215e17fa7bc83b
|
7
|
+
data.tar.gz: 8dc82698448743d22d131b796be529a4ec80a5b1b555e99060b2f1e7b32bfebf904696eb73ffd4b14035454753b1b554d2732c742219792d6447584bcc514ef4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2021-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Sensitive data findings in Amazon Macie now include enhanced location data for JSON and JSON Lines files
|
8
|
+
|
9
|
+
1.29.0 (2021-06-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release of the Amazon Macie API introduces stricter validation of S3 object criteria for classification jobs.
|
13
|
+
|
14
|
+
1.28.0 (2021-05-14)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release of the Amazon Macie API adds support for defining run-time, S3 bucket criteria for classification jobs. It also adds resources for querying data about AWS resources that Macie monitors.
|
18
|
+
|
19
|
+
1.27.0 (2021-04-29)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - The Amazon Macie API now provides S3 bucket metadata that indicates whether a bucket policy requires server-side encryption of objects when objects are uploaded to the bucket.
|
23
|
+
|
24
|
+
1.26.0 (2021-03-22)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This release of the Amazon Macie API adds support for publishing sensitive data findings to AWS Security Hub and specifying which categories of findings to publish to Security Hub.
|
28
|
+
|
4
29
|
1.25.0 (2021-03-10)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -410,7 +410,12 @@ module Aws::Macie2
|
|
410
410
|
#
|
411
411
|
# @option params [required, Types::S3JobDefinition] :s3_job_definition
|
412
412
|
# Specifies which S3 buckets contain the objects that a classification
|
413
|
-
# job analyzes, and the scope of that analysis.
|
413
|
+
# job analyzes, and the scope of that analysis. The bucket specification
|
414
|
+
# can be static (bucketDefinitions) or dynamic (bucketCriteria). If
|
415
|
+
# it's static, the job analyzes objects in the same predefined set of
|
416
|
+
# buckets each time the job runs. If it's dynamic, the job analyzes
|
417
|
+
# objects in any buckets that match the specified criteria each time the
|
418
|
+
# job starts to run.
|
414
419
|
#
|
415
420
|
# @option params [Integer] :sampling_percentage
|
416
421
|
#
|
@@ -449,7 +454,7 @@ module Aws::Macie2
|
|
449
454
|
# {
|
450
455
|
# simple_scope_term: {
|
451
456
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
452
|
-
# key: "
|
457
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
453
458
|
# values: ["__string"],
|
454
459
|
# },
|
455
460
|
# tag_scope_term: {
|
@@ -471,7 +476,7 @@ module Aws::Macie2
|
|
471
476
|
# {
|
472
477
|
# simple_scope_term: {
|
473
478
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
474
|
-
# key: "
|
479
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
475
480
|
# values: ["__string"],
|
476
481
|
# },
|
477
482
|
# tag_scope_term: {
|
@@ -489,6 +494,48 @@ module Aws::Macie2
|
|
489
494
|
# ],
|
490
495
|
# },
|
491
496
|
# },
|
497
|
+
# bucket_criteria: {
|
498
|
+
# excludes: {
|
499
|
+
# and: [
|
500
|
+
# {
|
501
|
+
# simple_criterion: {
|
502
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
503
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
504
|
+
# values: ["__string"],
|
505
|
+
# },
|
506
|
+
# tag_criterion: {
|
507
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
508
|
+
# tag_values: [
|
509
|
+
# {
|
510
|
+
# key: "__string",
|
511
|
+
# value: "__string",
|
512
|
+
# },
|
513
|
+
# ],
|
514
|
+
# },
|
515
|
+
# },
|
516
|
+
# ],
|
517
|
+
# },
|
518
|
+
# includes: {
|
519
|
+
# and: [
|
520
|
+
# {
|
521
|
+
# simple_criterion: {
|
522
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
523
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
524
|
+
# values: ["__string"],
|
525
|
+
# },
|
526
|
+
# tag_criterion: {
|
527
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
528
|
+
# tag_values: [
|
529
|
+
# {
|
530
|
+
# key: "__string",
|
531
|
+
# value: "__string",
|
532
|
+
# },
|
533
|
+
# ],
|
534
|
+
# },
|
535
|
+
# },
|
536
|
+
# ],
|
537
|
+
# },
|
538
|
+
# },
|
492
539
|
# },
|
493
540
|
# sampling_percentage: 1,
|
494
541
|
# schedule_frequency: {
|
@@ -687,7 +734,7 @@ module Aws::Macie2
|
|
687
734
|
# Associates an account with an Amazon Macie administrator account.
|
688
735
|
#
|
689
736
|
# @option params [required, Types::AccountDetail] :account
|
690
|
-
# Specifies details
|
737
|
+
# Specifies the details of an account to associate with an Amazon Macie
|
691
738
|
# administrator account.
|
692
739
|
#
|
693
740
|
# @option params [Hash<String,String>] :tags
|
@@ -919,6 +966,7 @@ module Aws::Macie2
|
|
919
966
|
#
|
920
967
|
# resp.buckets #=> Array
|
921
968
|
# resp.buckets[0].account_id #=> String
|
969
|
+
# resp.buckets[0].allows_unencrypted_object_uploads #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
922
970
|
# resp.buckets[0].bucket_arn #=> String
|
923
971
|
# resp.buckets[0].bucket_created_at #=> Time
|
924
972
|
# resp.buckets[0].bucket_name #=> String
|
@@ -934,6 +982,7 @@ module Aws::Macie2
|
|
934
982
|
# resp.buckets[0].object_count_by_encryption_type.kms_managed #=> Integer
|
935
983
|
# resp.buckets[0].object_count_by_encryption_type.s3_managed #=> Integer
|
936
984
|
# resp.buckets[0].object_count_by_encryption_type.unencrypted #=> Integer
|
985
|
+
# resp.buckets[0].object_count_by_encryption_type.unknown #=> Integer
|
937
986
|
# resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
|
938
987
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
|
939
988
|
# resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
|
@@ -1030,7 +1079,7 @@ module Aws::Macie2
|
|
1030
1079
|
# resp.s3_job_definition.bucket_definitions[0].buckets[0] #=> String
|
1031
1080
|
# resp.s3_job_definition.scoping.excludes.and #=> Array
|
1032
1081
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1033
|
-
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "
|
1082
|
+
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1034
1083
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values #=> Array
|
1035
1084
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values[0] #=> String
|
1036
1085
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -1041,7 +1090,7 @@ module Aws::Macie2
|
|
1041
1090
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
|
1042
1091
|
# resp.s3_job_definition.scoping.includes.and #=> Array
|
1043
1092
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1044
|
-
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "
|
1093
|
+
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1045
1094
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values #=> Array
|
1046
1095
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values[0] #=> String
|
1047
1096
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -1050,6 +1099,24 @@ module Aws::Macie2
|
|
1050
1099
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].key #=> String
|
1051
1100
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].value #=> String
|
1052
1101
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
|
1102
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and #=> Array
|
1103
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1104
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
1105
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
|
1106
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
|
1107
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1108
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
|
1109
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
|
1110
|
+
# resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
|
1111
|
+
# resp.s3_job_definition.bucket_criteria.includes.and #=> Array
|
1112
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1113
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
1114
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values #=> Array
|
1115
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
|
1116
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1117
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
|
1118
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
|
1119
|
+
# resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
|
1053
1120
|
# resp.sampling_percentage #=> Integer
|
1054
1121
|
# resp.schedule_frequency.monthly_schedule.day_of_month #=> Integer
|
1055
1122
|
# resp.schedule_frequency.weekly_schedule.day_of_week #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
|
@@ -1070,8 +1137,8 @@ module Aws::Macie2
|
|
1070
1137
|
req.send_request(options)
|
1071
1138
|
end
|
1072
1139
|
|
1073
|
-
# Retrieves the Amazon Macie configuration settings for an
|
1074
|
-
# organization.
|
1140
|
+
# Retrieves the Amazon Macie configuration settings for an Amazon Web
|
1141
|
+
# Services organization.
|
1075
1142
|
#
|
1076
1143
|
# @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1077
1144
|
#
|
@@ -1107,7 +1174,7 @@ module Aws::Macie2
|
|
1107
1174
|
end
|
1108
1175
|
|
1109
1176
|
# Disables an account as the delegated Amazon Macie administrator
|
1110
|
-
# account for an
|
1177
|
+
# account for an Amazon Web Services organization.
|
1111
1178
|
#
|
1112
1179
|
# @option params [required, String] :admin_account_id
|
1113
1180
|
#
|
@@ -1190,9 +1257,14 @@ module Aws::Macie2
|
|
1190
1257
|
#
|
1191
1258
|
# @option params [String] :finding_publishing_frequency
|
1192
1259
|
# The frequency with which Amazon Macie publishes updates to policy
|
1193
|
-
# findings for an account. This includes publishing updates to
|
1194
|
-
#
|
1195
|
-
#
|
1260
|
+
# findings for an account. This includes publishing updates to Security
|
1261
|
+
# Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
|
1262
|
+
# For more information, see [Monitoring and processing findings][1] in
|
1263
|
+
# the *Amazon Macie User Guide*. Valid values are:
|
1264
|
+
#
|
1265
|
+
#
|
1266
|
+
#
|
1267
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
1196
1268
|
#
|
1197
1269
|
# @option params [String] :status
|
1198
1270
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -1217,7 +1289,7 @@ module Aws::Macie2
|
|
1217
1289
|
end
|
1218
1290
|
|
1219
1291
|
# Designates an account as the delegated Amazon Macie administrator
|
1220
|
-
# account for an
|
1292
|
+
# account for an Amazon Web Services organization.
|
1221
1293
|
#
|
1222
1294
|
# @option params [required, String] :admin_account_id
|
1223
1295
|
#
|
@@ -1276,6 +1348,7 @@ module Aws::Macie2
|
|
1276
1348
|
# * {Types::GetBucketStatisticsResponse#bucket_count #bucket_count} => Integer
|
1277
1349
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_effective_permission #bucket_count_by_effective_permission} => Types::BucketCountByEffectivePermission
|
1278
1350
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
|
1351
|
+
# * {Types::GetBucketStatisticsResponse#bucket_count_by_object_encryption_requirement #bucket_count_by_object_encryption_requirement} => Types::BucketCountPolicyAllowsUnencryptedObjectUploads
|
1279
1352
|
# * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
|
1280
1353
|
# * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
|
1281
1354
|
# * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
|
@@ -1302,6 +1375,10 @@ module Aws::Macie2
|
|
1302
1375
|
# resp.bucket_count_by_encryption_type.kms_managed #=> Integer
|
1303
1376
|
# resp.bucket_count_by_encryption_type.s3_managed #=> Integer
|
1304
1377
|
# resp.bucket_count_by_encryption_type.unencrypted #=> Integer
|
1378
|
+
# resp.bucket_count_by_encryption_type.unknown #=> Integer
|
1379
|
+
# resp.bucket_count_by_object_encryption_requirement.allows_unencrypted_object_uploads #=> Integer
|
1380
|
+
# resp.bucket_count_by_object_encryption_requirement.denies_unencrypted_object_uploads #=> Integer
|
1381
|
+
# resp.bucket_count_by_object_encryption_requirement.unknown #=> Integer
|
1305
1382
|
# resp.bucket_count_by_shared_access_type.external #=> Integer
|
1306
1383
|
# resp.bucket_count_by_shared_access_type.internal #=> Integer
|
1307
1384
|
# resp.bucket_count_by_shared_access_type.not_shared #=> Integer
|
@@ -1607,6 +1684,7 @@ module Aws::Macie2
|
|
1607
1684
|
# resp.findings[0].policy_details.actor.user_identity.root.principal_id #=> String
|
1608
1685
|
# resp.findings[0].policy_details.actor.user_identity.type #=> String, one of "AssumedRole", "IAMUser", "FederatedUser", "Root", "AWSAccount", "AWSService"
|
1609
1686
|
# resp.findings[0].region #=> String
|
1687
|
+
# resp.findings[0].resources_affected.s3_bucket.allows_unencrypted_object_uploads #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
1610
1688
|
# resp.findings[0].resources_affected.s3_bucket.arn #=> String
|
1611
1689
|
# resp.findings[0].resources_affected.s3_bucket.created_at #=> Time
|
1612
1690
|
# resp.findings[0].resources_affected.s3_bucket.default_server_side_encryption.encryption_type #=> String, one of "NONE", "AES256", "aws:kms", "UNKNOWN"
|
@@ -1714,6 +1792,27 @@ module Aws::Macie2
|
|
1714
1792
|
req.send_request(options)
|
1715
1793
|
end
|
1716
1794
|
|
1795
|
+
# Retrieves the configuration settings for publishing findings to
|
1796
|
+
# Security Hub.
|
1797
|
+
#
|
1798
|
+
# @return [Types::GetFindingsPublicationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1799
|
+
#
|
1800
|
+
# * {Types::GetFindingsPublicationConfigurationResponse#security_hub_configuration #security_hub_configuration} => Types::SecurityHubConfiguration
|
1801
|
+
#
|
1802
|
+
# @example Response structure
|
1803
|
+
#
|
1804
|
+
# resp.security_hub_configuration.publish_classification_findings #=> Boolean
|
1805
|
+
# resp.security_hub_configuration.publish_policy_findings #=> Boolean
|
1806
|
+
#
|
1807
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration AWS API Documentation
|
1808
|
+
#
|
1809
|
+
# @overload get_findings_publication_configuration(params = {})
|
1810
|
+
# @param [Hash] params ({})
|
1811
|
+
def get_findings_publication_configuration(params = {}, options = {})
|
1812
|
+
req = build_request(:get_findings_publication_configuration, params)
|
1813
|
+
req.send_request(options)
|
1814
|
+
end
|
1815
|
+
|
1717
1816
|
# Retrieves the count of Amazon Macie membership invitations that were
|
1718
1817
|
# received by an account.
|
1719
1818
|
#
|
@@ -1998,6 +2097,24 @@ module Aws::Macie2
|
|
1998
2097
|
# resp.items[0].user_paused_details.job_expires_at #=> Time
|
1999
2098
|
# resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
2000
2099
|
# resp.items[0].user_paused_details.job_paused_at #=> Time
|
2100
|
+
# resp.items[0].bucket_criteria.excludes.and #=> Array
|
2101
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2102
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
2103
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
|
2104
|
+
# resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
|
2105
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2106
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
|
2107
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
|
2108
|
+
# resp.items[0].bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
|
2109
|
+
# resp.items[0].bucket_criteria.includes.and #=> Array
|
2110
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2111
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
|
2112
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.values #=> Array
|
2113
|
+
# resp.items[0].bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
|
2114
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
2115
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
|
2116
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
|
2117
|
+
# resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
|
2001
2118
|
# resp.next_token #=> String
|
2002
2119
|
#
|
2003
2120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
|
@@ -2237,7 +2354,7 @@ module Aws::Macie2
|
|
2237
2354
|
end
|
2238
2355
|
|
2239
2356
|
# Retrieves information about the delegated Amazon Macie administrator
|
2240
|
-
# account for an
|
2357
|
+
# account for an Amazon Web Services organization.
|
2241
2358
|
#
|
2242
2359
|
# @option params [Integer] :max_results
|
2243
2360
|
#
|
@@ -2342,6 +2459,157 @@ module Aws::Macie2
|
|
2342
2459
|
req.send_request(options)
|
2343
2460
|
end
|
2344
2461
|
|
2462
|
+
# Updates the configuration settings for publishing findings to Security
|
2463
|
+
# Hub.
|
2464
|
+
#
|
2465
|
+
# @option params [String] :client_token
|
2466
|
+
# **A suitable default value is auto-generated.** You should normally
|
2467
|
+
# not need to pass this option.**
|
2468
|
+
#
|
2469
|
+
# @option params [Types::SecurityHubConfiguration] :security_hub_configuration
|
2470
|
+
# Specifies configuration settings that determine which findings are
|
2471
|
+
# published to Security Hub automatically. For information about how
|
2472
|
+
# Macie publishes findings to Security Hub, see [Amazon Macie
|
2473
|
+
# integration with Security Hub][1] in the *Amazon Macie User Guide*.
|
2474
|
+
#
|
2475
|
+
#
|
2476
|
+
#
|
2477
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
2478
|
+
#
|
2479
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2480
|
+
#
|
2481
|
+
# @example Request syntax with placeholder values
|
2482
|
+
#
|
2483
|
+
# resp = client.put_findings_publication_configuration({
|
2484
|
+
# client_token: "__string",
|
2485
|
+
# security_hub_configuration: {
|
2486
|
+
# publish_classification_findings: false, # required
|
2487
|
+
# publish_policy_findings: false, # required
|
2488
|
+
# },
|
2489
|
+
# })
|
2490
|
+
#
|
2491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration AWS API Documentation
|
2492
|
+
#
|
2493
|
+
# @overload put_findings_publication_configuration(params = {})
|
2494
|
+
# @param [Hash] params ({})
|
2495
|
+
def put_findings_publication_configuration(params = {}, options = {})
|
2496
|
+
req = build_request(:put_findings_publication_configuration, params)
|
2497
|
+
req.send_request(options)
|
2498
|
+
end
|
2499
|
+
|
2500
|
+
# Retrieves (queries) statistical data and other information about
|
2501
|
+
# Amazon Web Services resources that Amazon Macie monitors and analyzes.
|
2502
|
+
#
|
2503
|
+
# @option params [Types::SearchResourcesBucketCriteria] :bucket_criteria
|
2504
|
+
# Specifies property- and tag-based conditions that define filter
|
2505
|
+
# criteria for including or excluding S3 buckets from the query results.
|
2506
|
+
# Exclude conditions take precedence over include conditions.
|
2507
|
+
#
|
2508
|
+
# @option params [Integer] :max_results
|
2509
|
+
#
|
2510
|
+
# @option params [String] :next_token
|
2511
|
+
#
|
2512
|
+
# @option params [Types::SearchResourcesSortCriteria] :sort_criteria
|
2513
|
+
# Specifies criteria for sorting the results of a query for information
|
2514
|
+
# about Amazon Web Services resources that Amazon Macie monitors and
|
2515
|
+
# analyzes.
|
2516
|
+
#
|
2517
|
+
# @return [Types::SearchResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2518
|
+
#
|
2519
|
+
# * {Types::SearchResourcesResponse#matching_resources #matching_resources} => Array<Types::MatchingResource>
|
2520
|
+
# * {Types::SearchResourcesResponse#next_token #next_token} => String
|
2521
|
+
#
|
2522
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2523
|
+
#
|
2524
|
+
# @example Request syntax with placeholder values
|
2525
|
+
#
|
2526
|
+
# resp = client.search_resources({
|
2527
|
+
# bucket_criteria: {
|
2528
|
+
# excludes: {
|
2529
|
+
# and: [
|
2530
|
+
# {
|
2531
|
+
# simple_criterion: {
|
2532
|
+
# comparator: "EQ", # accepts EQ, NE
|
2533
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
2534
|
+
# values: ["__string"],
|
2535
|
+
# },
|
2536
|
+
# tag_criterion: {
|
2537
|
+
# comparator: "EQ", # accepts EQ, NE
|
2538
|
+
# tag_values: [
|
2539
|
+
# {
|
2540
|
+
# key: "__string",
|
2541
|
+
# value: "__string",
|
2542
|
+
# },
|
2543
|
+
# ],
|
2544
|
+
# },
|
2545
|
+
# },
|
2546
|
+
# ],
|
2547
|
+
# },
|
2548
|
+
# includes: {
|
2549
|
+
# and: [
|
2550
|
+
# {
|
2551
|
+
# simple_criterion: {
|
2552
|
+
# comparator: "EQ", # accepts EQ, NE
|
2553
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
2554
|
+
# values: ["__string"],
|
2555
|
+
# },
|
2556
|
+
# tag_criterion: {
|
2557
|
+
# comparator: "EQ", # accepts EQ, NE
|
2558
|
+
# tag_values: [
|
2559
|
+
# {
|
2560
|
+
# key: "__string",
|
2561
|
+
# value: "__string",
|
2562
|
+
# },
|
2563
|
+
# ],
|
2564
|
+
# },
|
2565
|
+
# },
|
2566
|
+
# ],
|
2567
|
+
# },
|
2568
|
+
# },
|
2569
|
+
# max_results: 1,
|
2570
|
+
# next_token: "__string",
|
2571
|
+
# sort_criteria: {
|
2572
|
+
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, RESOURCE_NAME, S3_CLASSIFIABLE_OBJECT_COUNT, S3_CLASSIFIABLE_SIZE_IN_BYTES
|
2573
|
+
# order_by: "ASC", # accepts ASC, DESC
|
2574
|
+
# },
|
2575
|
+
# })
|
2576
|
+
#
|
2577
|
+
# @example Response structure
|
2578
|
+
#
|
2579
|
+
# resp.matching_resources #=> Array
|
2580
|
+
# resp.matching_resources[0].matching_bucket.account_id #=> String
|
2581
|
+
# resp.matching_resources[0].matching_bucket.bucket_name #=> String
|
2582
|
+
# resp.matching_resources[0].matching_bucket.classifiable_object_count #=> Integer
|
2583
|
+
# resp.matching_resources[0].matching_bucket.classifiable_size_in_bytes #=> Integer
|
2584
|
+
# resp.matching_resources[0].matching_bucket.job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2585
|
+
# resp.matching_resources[0].matching_bucket.job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2586
|
+
# resp.matching_resources[0].matching_bucket.job_details.last_job_id #=> String
|
2587
|
+
# resp.matching_resources[0].matching_bucket.job_details.last_job_run_time #=> Time
|
2588
|
+
# resp.matching_resources[0].matching_bucket.object_count #=> Integer
|
2589
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.customer_managed #=> Integer
|
2590
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.kms_managed #=> Integer
|
2591
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.s3_managed #=> Integer
|
2592
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unencrypted #=> Integer
|
2593
|
+
# resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unknown #=> Integer
|
2594
|
+
# resp.matching_resources[0].matching_bucket.size_in_bytes #=> Integer
|
2595
|
+
# resp.matching_resources[0].matching_bucket.size_in_bytes_compressed #=> Integer
|
2596
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.file_type #=> Integer
|
2597
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.storage_class #=> Integer
|
2598
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_count.total #=> Integer
|
2599
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.file_type #=> Integer
|
2600
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.storage_class #=> Integer
|
2601
|
+
# resp.matching_resources[0].matching_bucket.unclassifiable_object_size_in_bytes.total #=> Integer
|
2602
|
+
# resp.next_token #=> String
|
2603
|
+
#
|
2604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources AWS API Documentation
|
2605
|
+
#
|
2606
|
+
# @overload search_resources(params = {})
|
2607
|
+
# @param [Hash] params ({})
|
2608
|
+
def search_resources(params = {}, options = {})
|
2609
|
+
req = build_request(:search_resources, params)
|
2610
|
+
req.send_request(options)
|
2611
|
+
end
|
2612
|
+
|
2345
2613
|
# Adds or updates one or more tags (keys and values) that are associated
|
2346
2614
|
# with a classification job, custom data identifier, findings filter, or
|
2347
2615
|
# member account.
|
@@ -2481,6 +2749,10 @@ module Aws::Macie2
|
|
2481
2749
|
#
|
2482
2750
|
# @option params [Integer] :position
|
2483
2751
|
#
|
2752
|
+
# @option params [String] :client_token
|
2753
|
+
# **A suitable default value is auto-generated.** You should normally
|
2754
|
+
# not need to pass this option.**
|
2755
|
+
#
|
2484
2756
|
# @return [Types::UpdateFindingsFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2485
2757
|
#
|
2486
2758
|
# * {Types::UpdateFindingsFilterResponse#arn #arn} => String
|
@@ -2507,6 +2779,7 @@ module Aws::Macie2
|
|
2507
2779
|
# id: "__string", # required
|
2508
2780
|
# name: "__string",
|
2509
2781
|
# position: 1,
|
2782
|
+
# client_token: "__string",
|
2510
2783
|
# })
|
2511
2784
|
#
|
2512
2785
|
# @example Response structure
|
@@ -2528,9 +2801,14 @@ module Aws::Macie2
|
|
2528
2801
|
#
|
2529
2802
|
# @option params [String] :finding_publishing_frequency
|
2530
2803
|
# The frequency with which Amazon Macie publishes updates to policy
|
2531
|
-
# findings for an account. This includes publishing updates to
|
2532
|
-
#
|
2533
|
-
#
|
2804
|
+
# findings for an account. This includes publishing updates to Security
|
2805
|
+
# Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).
|
2806
|
+
# For more information, see [Monitoring and processing findings][1] in
|
2807
|
+
# the *Amazon Macie User Guide*. Valid values are:
|
2808
|
+
#
|
2809
|
+
#
|
2810
|
+
#
|
2811
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-monitor.html
|
2534
2812
|
#
|
2535
2813
|
# @option params [String] :status
|
2536
2814
|
# The status of an Amazon Macie account. Valid values are:
|
@@ -2579,8 +2857,8 @@ module Aws::Macie2
|
|
2579
2857
|
req.send_request(options)
|
2580
2858
|
end
|
2581
2859
|
|
2582
|
-
# Updates the Amazon Macie configuration settings for an
|
2583
|
-
# organization.
|
2860
|
+
# Updates the Amazon Macie configuration settings for an Amazon Web
|
2861
|
+
# Services organization.
|
2584
2862
|
#
|
2585
2863
|
# @option params [required, Boolean] :auto_enable
|
2586
2864
|
#
|
@@ -2614,7 +2892,7 @@ module Aws::Macie2
|
|
2614
2892
|
params: params,
|
2615
2893
|
config: config)
|
2616
2894
|
context[:gem_name] = 'aws-sdk-macie2'
|
2617
|
-
context[:gem_version] = '1.
|
2895
|
+
context[:gem_version] = '1.30.0'
|
2618
2896
|
Seahorse::Client::Request.new(handlers, context)
|
2619
2897
|
end
|
2620
2898
|
|