aws-sdk-guardduty 1.0.0 → 1.1.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
  SHA1:
3
- metadata.gz: d66acf57e236c091dadaf105b3db48f2ba8bf684
4
- data.tar.gz: 1c28e5744f475c04010ecb29db3398f0528fc085
3
+ metadata.gz: 98aea5e55885bcbab59358204749832dadf04b9c
4
+ data.tar.gz: b1a5e53c18b73c4bd6ef5b12d6e1b9657efe2c1d
5
5
  SHA512:
6
- metadata.gz: f4d00f3c519dc630fbfd43f4f01e5bc7a3366b9892a32f918d03847611941b9defc80ad6351a282f5b333368ca3d6f38a3d1cce2cc080387e1bb41063ec76605
7
- data.tar.gz: ba25304ffd4482f98aa8241ddbf499735412892ae66aad572d9ba130f3e09a41913affac014eee3372d4d25d4f57f7e48cf6767e99fcb2eb1ee1f91d19c0dad7
6
+ metadata.gz: 1b8b310c99ebb6cc294f8ff4bdaa117ac32a69c6795fde7be4c9b5f09bd9db631916150ea7b6b5d3fc14928d83b0635d97b6b11ad54930141abb6f3ac6756e67
7
+ data.tar.gz: 8c59fda8e03fd3048d08feb4f84ca696ca7fc7aa2b7462e3921e4101e5a75c0d9cb5c6864907bd840b557520409c6e9dab1f465cae19cba6c3c8223695cec1e7
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-guardduty/customizations'
42
42
  # @service
43
43
  module Aws::GuardDuty
44
44
 
45
- GEM_VERSION = '1.0.0'
45
+ GEM_VERSION = '1.1.0'
46
46
 
47
47
  end
@@ -692,6 +692,10 @@ module Aws::GuardDuty
692
692
  # resp.findings[0].id #=> String
693
693
  # resp.findings[0].partition #=> String
694
694
  # resp.findings[0].region #=> String
695
+ # resp.findings[0].resource.access_key_details.access_key_id #=> String
696
+ # resp.findings[0].resource.access_key_details.principal_id #=> String
697
+ # resp.findings[0].resource.access_key_details.user_name #=> String
698
+ # resp.findings[0].resource.access_key_details.user_type #=> String
695
699
  # resp.findings[0].resource.instance_details.availability_zone #=> String
696
700
  # resp.findings[0].resource.instance_details.iam_instance_profile.arn #=> String
697
701
  # resp.findings[0].resource.instance_details.iam_instance_profile.id #=> String
@@ -1553,7 +1557,7 @@ module Aws::GuardDuty
1553
1557
  params: params,
1554
1558
  config: config)
1555
1559
  context[:gem_name] = 'aws-sdk-guardduty'
1556
- context[:gem_version] = '1.0.0'
1560
+ context[:gem_version] = '1.1.0'
1557
1561
  Seahorse::Client::Request.new(handlers, context)
1558
1562
  end
1559
1563
 
@@ -13,6 +13,7 @@ module Aws::GuardDuty
13
13
 
14
14
  AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
15
15
  AcceptInvitationResponse = Shapes::StructureShape.new(name: 'AcceptInvitationResponse')
16
+ AccessKeyDetails = Shapes::StructureShape.new(name: 'AccessKeyDetails')
16
17
  AccountDetail = Shapes::StructureShape.new(name: 'AccountDetail')
17
18
  AccountDetails = Shapes::ListShape.new(name: 'AccountDetails')
18
19
  AccountId = Shapes::StringShape.new(name: 'AccountId')
@@ -188,6 +189,12 @@ module Aws::GuardDuty
188
189
 
189
190
  AcceptInvitationResponse.struct_class = Types::AcceptInvitationResponse
190
191
 
192
+ AccessKeyDetails.add_member(:access_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "accessKeyId"))
193
+ AccessKeyDetails.add_member(:principal_id, Shapes::ShapeRef.new(shape: __string, location_name: "principalId"))
194
+ AccessKeyDetails.add_member(:user_name, Shapes::ShapeRef.new(shape: __string, location_name: "userName"))
195
+ AccessKeyDetails.add_member(:user_type, Shapes::ShapeRef.new(shape: __string, location_name: "userType"))
196
+ AccessKeyDetails.struct_class = Types::AccessKeyDetails
197
+
191
198
  AccountDetail.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
192
199
  AccountDetail.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
193
200
  AccountDetail.struct_class = Types::AccountDetail
@@ -600,6 +607,7 @@ module Aws::GuardDuty
600
607
  RemotePortDetails.add_member(:port_name, Shapes::ShapeRef.new(shape: __string, location_name: "portName"))
601
608
  RemotePortDetails.struct_class = Types::RemotePortDetails
602
609
 
610
+ Resource.add_member(:access_key_details, Shapes::ShapeRef.new(shape: AccessKeyDetails, location_name: "accessKeyDetails"))
603
611
  Resource.add_member(:instance_details, Shapes::ShapeRef.new(shape: InstanceDetails, location_name: "instanceDetails"))
604
612
  Resource.add_member(:resource_type, Shapes::ShapeRef.new(shape: __string, location_name: "resourceType"))
605
613
  Resource.struct_class = Types::Resource
@@ -45,6 +45,35 @@ module Aws::GuardDuty
45
45
  #
46
46
  class AcceptInvitationResponse < Aws::EmptyStructure; end
47
47
 
48
+ # The IAM access key details (IAM user information) of a user that
49
+ # engaged in the activity that prompted GuardDuty to generate a finding.
50
+ #
51
+ # @!attribute [rw] access_key_id
52
+ # Access key ID of the user.
53
+ # @return [String]
54
+ #
55
+ # @!attribute [rw] principal_id
56
+ # The principal ID of the user.
57
+ # @return [String]
58
+ #
59
+ # @!attribute [rw] user_name
60
+ # The name of the user.
61
+ # @return [String]
62
+ #
63
+ # @!attribute [rw] user_type
64
+ # The type of the user.
65
+ # @return [String]
66
+ #
67
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccessKeyDetails AWS API Documentation
68
+ #
69
+ class AccessKeyDetails < Struct.new(
70
+ :access_key_id,
71
+ :principal_id,
72
+ :user_name,
73
+ :user_type)
74
+ include Aws::Structure
75
+ end
76
+
48
77
  # An object containing the member's accountId and email address.
49
78
  #
50
79
  # @note When making an API call, you may pass AccountDetail
@@ -2055,6 +2084,12 @@ module Aws::GuardDuty
2055
2084
  # The AWS resource associated with the activity that prompted GuardDuty
2056
2085
  # to generate a finding.
2057
2086
  #
2087
+ # @!attribute [rw] access_key_details
2088
+ # The IAM access key details (IAM user information) of a user that
2089
+ # engaged in the activity that prompted GuardDuty to generate a
2090
+ # finding.
2091
+ # @return [Types::AccessKeyDetails]
2092
+ #
2058
2093
  # @!attribute [rw] instance_details
2059
2094
  # The information about the EC2 instance associated with the activity
2060
2095
  # that prompted GuardDuty to generate a finding.
@@ -2067,6 +2102,7 @@ module Aws::GuardDuty
2067
2102
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource AWS API Documentation
2068
2103
  #
2069
2104
  class Resource < Struct.new(
2105
+ :access_key_details,
2070
2106
  :instance_details,
2071
2107
  :resource_type)
2072
2108
  include Aws::Structure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-guardduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.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: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2018-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core