aws-sdk-auditmanager 1.2.0 → 1.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d4d965569d905a36de4d74fce0dc842ae0123e7c8ca9a4a08204b5114a3bddb
4
- data.tar.gz: 37568fc66963f57cb77291c1c771d334b19d7e8acdb2d0accfdfdb1c93670488
3
+ metadata.gz: 22f308bc935d8db7f6669212549e9b08d1bcd6ddfa0504f550d6a866e48b109a
4
+ data.tar.gz: 3ee5ea01046baf58ca9420cfa9abf622e294f78d4c3225b20d6413b299317467
5
5
  SHA512:
6
- metadata.gz: 1d03b7e9a4c09a9b328cdc8e302a0324bb65a4eff72d79689a6dc5b675a6991d0107b2248c3223c370beb05fe4a51f1ec4aa96bf781cb6baf559e235fe560090
7
- data.tar.gz: edca55ae169008492b23978059c91a24c141430819233570b867c612ccf09e93034a168228013e177141c67e36a7c1ebbd23b38b4b1221b8623ca3ac670f0978
6
+ metadata.gz: bd2f463514b067246e72232f7eeb8ac2ab3ed06691cac6ffc1949c8d30c5da685bd938cd1592aa879dd39bb44d830e1ff6f95f1b8497001aa97856783f544ed1
7
+ data.tar.gz: 3cacb0bb1310916d905cb9362a93385b4019ae726886655e1923784b65009b372f6051fea8793ce25293f9b47c88e9bb6344109a3125f772b6b07ddba04f7fa6
data/CHANGELOG.md ADDED
@@ -0,0 +1,43 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.7.0 (2021-05-05)
5
+ ------------------
6
+
7
+ * Feature - This release updates the CreateAssessmentFrameworkControlSet and UpdateAssessmentFrameworkControlSet API data types. For both of these data types, the control set name is now a required attribute.
8
+
9
+ 1.6.0 (2021-04-27)
10
+ ------------------
11
+
12
+ * Feature - This release restricts using backslashes in control, assessment, and framework names. The controlSetName field of the UpdateAssessmentFrameworkControlSet API now allows strings without backslashes.
13
+
14
+ 1.5.0 (2021-04-05)
15
+ ------------------
16
+
17
+ * Feature - AWS Audit Manager has updated the GetAssessment API operation to include a new response field called userRole. The userRole field indicates the role information and IAM ARN of the API caller.
18
+
19
+ 1.4.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.3.0 (2021-02-03)
25
+ ------------------
26
+
27
+ * Feature - This release adds AccessDeniedException to GetServicesInScope API.
28
+
29
+ 1.2.0 (2021-02-02)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.1.0 (2021-01-12)
35
+ ------------------
36
+
37
+ * Feature - This release introduces tag support for assessment frameworks. You can now add, remove, and get tags from existing frameworks, and specify the tags to apply when creating a custom framework.
38
+
39
+ 1.0.0 (2020-12-08)
40
+ ------------------
41
+
42
+ * Feature - Initial release of `aws-sdk-auditmanager`.
43
+
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.7.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-auditmanager/customizations'
48
48
  # @!group service
49
49
  module Aws::AuditManager
50
50
 
51
- GEM_VERSION = '1.2.0'
51
+ GEM_VERSION = '1.7.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -765,7 +765,7 @@ module Aws::AuditManager
765
765
  # compliance_type: "ComplianceType",
766
766
  # control_sets: [ # required
767
767
  # {
768
- # name: "ControlSetName",
768
+ # name: "ControlSetName", # required
769
769
  # controls: [
770
770
  # {
771
771
  # id: "UUID",
@@ -1156,6 +1156,7 @@ module Aws::AuditManager
1156
1156
  # @return [Types::GetAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1157
1157
  #
1158
1158
  # * {Types::GetAssessmentResponse#assessment #assessment} => Types::Assessment
1159
+ # * {Types::GetAssessmentResponse#user_role #user_role} => Types::Role
1159
1160
  #
1160
1161
  # @example Request syntax with placeholder values
1161
1162
  #
@@ -1242,6 +1243,8 @@ module Aws::AuditManager
1242
1243
  # resp.assessment.framework.control_sets[0].manual_evidence_count #=> Integer
1243
1244
  # resp.assessment.tags #=> Hash
1244
1245
  # resp.assessment.tags["TagKey"] #=> String
1246
+ # resp.user_role.role_type #=> String, one of "PROCESS_OWNER", "RESOURCE_OWNER"
1247
+ # resp.user_role.role_arn #=> String
1245
1248
  #
1246
1249
  # @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment AWS API Documentation
1247
1250
  #
@@ -2638,8 +2641,8 @@ module Aws::AuditManager
2638
2641
  # compliance_type: "ComplianceType",
2639
2642
  # control_sets: [ # required
2640
2643
  # {
2641
- # id: "UUID",
2642
- # name: "ControlSetName",
2644
+ # id: "ControlSetName",
2645
+ # name: "ControlSetName", # required
2643
2646
  # controls: [
2644
2647
  # {
2645
2648
  # id: "UUID",
@@ -3010,7 +3013,7 @@ module Aws::AuditManager
3010
3013
  params: params,
3011
3014
  config: config)
3012
3015
  context[:gem_name] = 'aws-sdk-auditmanager'
3013
- context[:gem_version] = '1.2.0'
3016
+ context[:gem_version] = '1.7.0'
3014
3017
  Seahorse::Client::Request.new(handlers, context)
3015
3018
  end
3016
3019
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -562,7 +562,7 @@ module Aws::AuditManager
562
562
  CreateAssessmentFrameworkControl.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "id"))
563
563
  CreateAssessmentFrameworkControl.struct_class = Types::CreateAssessmentFrameworkControl
564
564
 
565
- CreateAssessmentFrameworkControlSet.add_member(:name, Shapes::ShapeRef.new(shape: ControlSetName, location_name: "name"))
565
+ CreateAssessmentFrameworkControlSet.add_member(:name, Shapes::ShapeRef.new(shape: ControlSetName, required: true, location_name: "name"))
566
566
  CreateAssessmentFrameworkControlSet.add_member(:controls, Shapes::ShapeRef.new(shape: CreateAssessmentFrameworkControls, location_name: "controls"))
567
567
  CreateAssessmentFrameworkControlSet.struct_class = Types::CreateAssessmentFrameworkControlSet
568
568
 
@@ -768,6 +768,7 @@ module Aws::AuditManager
768
768
  GetAssessmentRequest.struct_class = Types::GetAssessmentRequest
769
769
 
770
770
  GetAssessmentResponse.add_member(:assessment, Shapes::ShapeRef.new(shape: Assessment, location_name: "assessment"))
771
+ GetAssessmentResponse.add_member(:user_role, Shapes::ShapeRef.new(shape: Role, location_name: "userRole"))
771
772
  GetAssessmentResponse.struct_class = Types::GetAssessmentResponse
772
773
 
773
774
  GetChangeLogsRequest.add_member(:assessment_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "assessmentId"))
@@ -1035,8 +1036,8 @@ module Aws::AuditManager
1035
1036
  UpdateAssessmentControlSetStatusResponse.add_member(:control_set, Shapes::ShapeRef.new(shape: AssessmentControlSet, location_name: "controlSet"))
1036
1037
  UpdateAssessmentControlSetStatusResponse.struct_class = Types::UpdateAssessmentControlSetStatusResponse
1037
1038
 
1038
- UpdateAssessmentFrameworkControlSet.add_member(:id, Shapes::ShapeRef.new(shape: UUID, location_name: "id"))
1039
- UpdateAssessmentFrameworkControlSet.add_member(:name, Shapes::ShapeRef.new(shape: ControlSetName, location_name: "name"))
1039
+ UpdateAssessmentFrameworkControlSet.add_member(:id, Shapes::ShapeRef.new(shape: ControlSetName, location_name: "id"))
1040
+ UpdateAssessmentFrameworkControlSet.add_member(:name, Shapes::ShapeRef.new(shape: ControlSetName, required: true, location_name: "name"))
1040
1041
  UpdateAssessmentFrameworkControlSet.add_member(:controls, Shapes::ShapeRef.new(shape: CreateAssessmentFrameworkControls, location_name: "controls"))
1041
1042
  UpdateAssessmentFrameworkControlSet.struct_class = Types::UpdateAssessmentFrameworkControlSet
1042
1043
 
@@ -1524,6 +1525,7 @@ module Aws::AuditManager
1524
1525
  o.http_request_uri = "/services"
1525
1526
  o.input = Shapes::ShapeRef.new(shape: GetServicesInScopeRequest)
1526
1527
  o.output = Shapes::ShapeRef.new(shape: GetServicesInScopeResponse)
1528
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1527
1529
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1528
1530
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1529
1531
  end)
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -65,7 +65,9 @@ module Aws::AuditManager
65
65
  include Aws::Structure
66
66
  end
67
67
 
68
- # You do not have sufficient access to perform this action.
68
+ # Your account is not registered with AWS Audit Manager. Check the
69
+ # delegated administrator setup on the AWS Audit Manager settings page,
70
+ # and try again.
69
71
  #
70
72
  # @!attribute [rw] message
71
73
  # @return [String]
@@ -1244,7 +1246,8 @@ module Aws::AuditManager
1244
1246
  # @return [String]
1245
1247
  #
1246
1248
  # @!attribute [rw] source_keyword
1247
- # The keyword to search for in AWS CloudTrail logs.
1249
+ # The keyword to search for in AWS CloudTrail logs, AWS Config rules,
1250
+ # AWS Security Hub checks, and AWS API names.
1248
1251
  # @return [Types::SourceKeyword]
1249
1252
  #
1250
1253
  # @!attribute [rw] source_frequency
@@ -1365,7 +1368,7 @@ module Aws::AuditManager
1365
1368
  # data as a hash:
1366
1369
  #
1367
1370
  # {
1368
- # name: "ControlSetName",
1371
+ # name: "ControlSetName", # required
1369
1372
  # controls: [
1370
1373
  # {
1371
1374
  # id: "UUID",
@@ -1400,7 +1403,7 @@ module Aws::AuditManager
1400
1403
  # compliance_type: "ComplianceType",
1401
1404
  # control_sets: [ # required
1402
1405
  # {
1403
- # name: "ControlSetName",
1406
+ # name: "ControlSetName", # required
1404
1407
  # controls: [
1405
1408
  # {
1406
1409
  # id: "UUID",
@@ -1637,7 +1640,8 @@ module Aws::AuditManager
1637
1640
  # @return [String]
1638
1641
  #
1639
1642
  # @!attribute [rw] source_keyword
1640
- # The keyword to search for in AWS CloudTrail logs.
1643
+ # The keyword to search for in AWS CloudTrail logs, AWS Config rules,
1644
+ # AWS Security Hub checks, and AWS API names.
1641
1645
  # @return [Types::SourceKeyword]
1642
1646
  #
1643
1647
  # @!attribute [rw] source_frequency
@@ -2149,7 +2153,7 @@ module Aws::AuditManager
2149
2153
  # @return [String]
2150
2154
  #
2151
2155
  # @!attribute [rw] assessment_report_selection
2152
- # Specifies whether the evidence is inclded in the assessment report.
2156
+ # Specifies whether the evidence is included in the assessment report.
2153
2157
  # @return [String]
2154
2158
  #
2155
2159
  # @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/Evidence AWS API Documentation
@@ -2399,10 +2403,17 @@ module Aws::AuditManager
2399
2403
  # of an AWS Audit Manager framework.
2400
2404
  # @return [Types::Assessment]
2401
2405
  #
2406
+ # @!attribute [rw] user_role
2407
+ # The wrapper that contains the AWS Audit Manager role information of
2408
+ # the current user, such as the role type and IAM Amazon Resource Name
2409
+ # (ARN).
2410
+ # @return [Types::Role]
2411
+ #
2402
2412
  # @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentResponse AWS API Documentation
2403
2413
  #
2404
2414
  class GetAssessmentResponse < Struct.new(
2405
- :assessment)
2415
+ :assessment,
2416
+ :user_role)
2406
2417
  SENSITIVE = []
2407
2418
  include Aws::Structure
2408
2419
  end
@@ -3393,8 +3404,9 @@ module Aws::AuditManager
3393
3404
  include Aws::Structure
3394
3405
  end
3395
3406
 
3396
- # The wrapper that contains AWS Audit Manager role information, such as
3397
- # the role type and IAM Amazon Resource Name (ARN).
3407
+ # The wrapper that contains the AWS Audit Manager role information of
3408
+ # the current user, such as the role type and IAM Amazon Resource Name
3409
+ # (ARN).
3398
3410
  #
3399
3411
  # @note When making an API call, you may pass Role
3400
3412
  # data as a hash:
@@ -3534,7 +3546,8 @@ module Aws::AuditManager
3534
3546
  include Aws::Structure
3535
3547
  end
3536
3548
 
3537
- # The keyword to search for in AWS CloudTrail logs.
3549
+ # The keyword to search for in AWS CloudTrail logs, AWS Config rules,
3550
+ # AWS Security Hub checks, and AWS API names.
3538
3551
  #
3539
3552
  # @note When making an API call, you may pass SourceKeyword
3540
3553
  # data as a hash:
@@ -3549,7 +3562,8 @@ module Aws::AuditManager
3549
3562
  # @return [String]
3550
3563
  #
3551
3564
  # @!attribute [rw] keyword_value
3552
- # The value of the keyword used to search AWS CloudTrail logs when
3565
+ # The value of the keyword used to search AWS CloudTrail logs, AWS
3566
+ # Config rules, AWS Security Hub checks, and AWS API names when
3553
3567
  # mapping a control data source.
3554
3568
  # @return [String]
3555
3569
  #
@@ -3755,8 +3769,8 @@ module Aws::AuditManager
3755
3769
  # data as a hash:
3756
3770
  #
3757
3771
  # {
3758
- # id: "UUID",
3759
- # name: "ControlSetName",
3772
+ # id: "ControlSetName",
3773
+ # name: "ControlSetName", # required
3760
3774
  # controls: [
3761
3775
  # {
3762
3776
  # id: "UUID",
@@ -3796,8 +3810,8 @@ module Aws::AuditManager
3796
3810
  # compliance_type: "ComplianceType",
3797
3811
  # control_sets: [ # required
3798
3812
  # {
3799
- # id: "UUID",
3800
- # name: "ControlSetName",
3813
+ # id: "ControlSetName",
3814
+ # name: "ControlSetName", # required
3801
3815
  # controls: [
3802
3816
  # {
3803
3817
  # id: "UUID",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-auditmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.7.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-02-02 00:00:00.000000000 Z
11
+ date: 2021-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS Audit Manager. This gem is part of the
48
48
  AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-auditmanager.rb
56
59
  - lib/aws-sdk-auditmanager/client.rb
57
60
  - lib/aws-sdk-auditmanager/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-auditmanager
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-auditmanager/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-auditmanager
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-auditmanager/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - AWS Audit Manager