aws-sdk-auditmanager 1.4.0 → 1.5.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: 4c0995769316041150856eafb90b93c390474559395f992bcc38b858bdde689e
4
- data.tar.gz: c0ecd7dbb2d246e89e1ccb0cad37bef33edf34ec6ddd76bf14c8e1183bf03165
3
+ metadata.gz: 360c22a34db8e17a4bf7416cd2c28b452fc2e4467841f2c70792e73dfc78f11c
4
+ data.tar.gz: 4eb526102f38154dbf4755f74a54329befae8dfc5d75ef7a49243039b36560ee
5
5
  SHA512:
6
- metadata.gz: 78ea748db9e6314b44dc184142f4e8c17c6d1c88e5bbe0a04695507c46db4c4aa3d5929eb786d4d30f9d956faab7a1c7202032f511f08c3fa8be203a4e819bf6
7
- data.tar.gz: 597d81981150ff2eda9e773e219a800ccbd1f0a2a8438f63a17265cac22d1a3209fd541d741ac3830d3bb0ab152bda54798f2d91f21f03bdc32c94da0047c5ac
6
+ metadata.gz: 8f3df5dd3c65f5970333576716b810a2be03486f4da0b199a943873c6bd395b519c96cc9bb23e58f4c14c1510fd373d6b1061026fb79848d4cabb17c53923633
7
+ data.tar.gz: c0fcb4534b4481501525a145c2696b1af52643e6e6ee0c1ecc8ba5008df2afa513fb85a7a9c6bf48bda2f44061c67c6d1b2bf0ac2edd6dfb6c7358ad50dde9bd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2021-04-05)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.4.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -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.4.0'
51
+ GEM_VERSION = '1.5.0'
52
52
 
53
53
  end
@@ -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
  #
@@ -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.4.0'
3016
+ context[:gem_version] = '1.5.0'
3014
3017
  Seahorse::Client::Request.new(handlers, context)
3015
3018
  end
3016
3019
 
@@ -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"))
@@ -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
@@ -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
@@ -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
  #
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.4.0
4
+ version: 1.5.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-03-10 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-auditmanager
70
- 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
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths: