aws-sdk-guardduty 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/lib/aws-sdk-guardduty/client.rb +9 -5
- data/lib/aws-sdk-guardduty/client_api.rb +35 -33
- data/lib/aws-sdk-guardduty/types.rb +11 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efa5fd7d86024c8cb5c34b84c8b03206575921dd
|
4
|
+
data.tar.gz: 469e4ba1f4ebe504ac0915c044f2d46f22e61813
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e4e0302530c2782d7cac5863f129d260864d881d98d18f07c92a04b36637759094a71d3ca931d794ddb21bb9f917f43ad038b6da2d47c13d061e17a6798683
|
7
|
+
data.tar.gz: 89c867f9d4c08c7c6175335fa51bf8f5a4a76003664d9208f0b81530475d6df5b21da937ba5268a9cafd9980fb3b893bc2ed6f136098186b5939e196f7b869ff
|
data/lib/aws-sdk-guardduty.rb
CHANGED
@@ -300,8 +300,8 @@ module Aws::GuardDuty
|
|
300
300
|
# resp = client.create_members({
|
301
301
|
# account_details: [
|
302
302
|
# {
|
303
|
-
# account_id: "AccountId",
|
304
|
-
# email: "Email",
|
303
|
+
# account_id: "AccountId", # required
|
304
|
+
# email: "Email", # required
|
305
305
|
# },
|
306
306
|
# ],
|
307
307
|
# detector_id: "__string", # required
|
@@ -1024,9 +1024,12 @@ module Aws::GuardDuty
|
|
1024
1024
|
#
|
1025
1025
|
# @option params [required, String] :detector_id
|
1026
1026
|
#
|
1027
|
+
# @option params [Boolean] :disable_email_notification
|
1028
|
+
# Indicates whether invite member email notification is disabled
|
1029
|
+
#
|
1027
1030
|
# @option params [String] :message
|
1028
1031
|
# The invitation message that you want to send to the accounts that
|
1029
|
-
# you
|
1032
|
+
# you’re inviting to GuardDuty as members.
|
1030
1033
|
#
|
1031
1034
|
# @return [Types::InviteMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1032
1035
|
#
|
@@ -1037,6 +1040,7 @@ module Aws::GuardDuty
|
|
1037
1040
|
# resp = client.invite_members({
|
1038
1041
|
# account_ids: ["__string"],
|
1039
1042
|
# detector_id: "__string", # required
|
1043
|
+
# disable_email_notification: false,
|
1040
1044
|
# message: "Message",
|
1041
1045
|
# })
|
1042
1046
|
#
|
@@ -1362,7 +1366,7 @@ module Aws::GuardDuty
|
|
1362
1366
|
# Disables GuardDuty from monitoring findings of the member accounts
|
1363
1367
|
# specified by the account IDs. After running this command, a master
|
1364
1368
|
# GuardDuty account can run StartMonitoringMembers to re-enable
|
1365
|
-
# GuardDuty to monitor these members
|
1369
|
+
# GuardDuty to monitor these members’ findings.
|
1366
1370
|
#
|
1367
1371
|
# @option params [Array<String>] :account_ids
|
1368
1372
|
# A list of account IDs of the GuardDuty member accounts whose findings
|
@@ -1571,7 +1575,7 @@ module Aws::GuardDuty
|
|
1571
1575
|
params: params,
|
1572
1576
|
config: config)
|
1573
1577
|
context[:gem_name] = 'aws-sdk-guardduty'
|
1574
|
-
context[:gem_version] = '1.
|
1578
|
+
context[:gem_version] = '1.3.0'
|
1575
1579
|
Seahorse::Client::Request.new(handlers, context)
|
1576
1580
|
end
|
1577
1581
|
|
@@ -119,13 +119,10 @@ module Aws::GuardDuty
|
|
119
119
|
ListInvitationsResponse = Shapes::StructureShape.new(name: 'ListInvitationsResponse')
|
120
120
|
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
121
121
|
ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
|
122
|
-
ListOfPortProbeDetail = Shapes::ListShape.new(name: 'ListOfPortProbeDetail')
|
123
122
|
ListThreatIntelSetsRequest = Shapes::StructureShape.new(name: 'ListThreatIntelSetsRequest')
|
124
123
|
ListThreatIntelSetsResponse = Shapes::StructureShape.new(name: 'ListThreatIntelSetsResponse')
|
125
124
|
LocalPortDetails = Shapes::StructureShape.new(name: 'LocalPortDetails')
|
126
125
|
Location = Shapes::StringShape.new(name: 'Location')
|
127
|
-
MapOfCondition = Shapes::MapShape.new(name: 'MapOfCondition')
|
128
|
-
MapOfCountBySeverityFindingStatistic = Shapes::MapShape.new(name: 'MapOfCountBySeverityFindingStatistic')
|
129
126
|
Master = Shapes::StructureShape.new(name: 'Master')
|
130
127
|
MasterId = Shapes::StringShape.new(name: 'MasterId')
|
131
128
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -182,6 +179,10 @@ module Aws::GuardDuty
|
|
182
179
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
183
180
|
__double = Shapes::FloatShape.new(name: '__double')
|
184
181
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
182
|
+
__listOfPortProbeDetail = Shapes::ListShape.new(name: '__listOfPortProbeDetail')
|
183
|
+
__long = Shapes::IntegerShape.new(name: '__long')
|
184
|
+
__mapOfCondition = Shapes::MapShape.new(name: '__mapOfCondition')
|
185
|
+
__mapOfCountBySeverityFindingStatistic = Shapes::MapShape.new(name: '__mapOfCountBySeverityFindingStatistic')
|
185
186
|
__string = Shapes::StringShape.new(name: '__string')
|
186
187
|
__timestamp = Shapes::TimestampShape.new(name: '__timestamp')
|
187
188
|
|
@@ -198,8 +199,8 @@ module Aws::GuardDuty
|
|
198
199
|
AccessKeyDetails.add_member(:user_type, Shapes::ShapeRef.new(shape: __string, location_name: "userType"))
|
199
200
|
AccessKeyDetails.struct_class = Types::AccessKeyDetails
|
200
201
|
|
201
|
-
AccountDetail.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
202
|
-
AccountDetail.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
|
202
|
+
AccountDetail.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
203
|
+
AccountDetail.add_member(:email, Shapes::ShapeRef.new(shape: Email, required: true, location_name: "email"))
|
203
204
|
AccountDetail.struct_class = Types::AccountDetail
|
204
205
|
|
205
206
|
AccountDetails.member = Shapes::ShapeRef.new(shape: AccountDetail)
|
@@ -341,31 +342,31 @@ module Aws::GuardDuty
|
|
341
342
|
ErrorResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "__type"))
|
342
343
|
ErrorResponse.struct_class = Types::ErrorResponse
|
343
344
|
|
344
|
-
Finding.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
345
|
-
Finding.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
345
|
+
Finding.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "accountId"))
|
346
|
+
Finding.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
|
346
347
|
Finding.add_member(:confidence, Shapes::ShapeRef.new(shape: __double, location_name: "confidence"))
|
347
|
-
Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
|
348
|
+
Finding.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, required: true, location_name: "createdAt"))
|
348
349
|
Finding.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
349
|
-
Finding.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
350
|
+
Finding.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "id"))
|
350
351
|
Finding.add_member(:partition, Shapes::ShapeRef.new(shape: __string, location_name: "partition"))
|
351
|
-
Finding.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
|
352
|
-
Finding.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, location_name: "resource"))
|
353
|
-
Finding.add_member(:schema_version, Shapes::ShapeRef.new(shape: __string, location_name: "schemaVersion"))
|
352
|
+
Finding.add_member(:region, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "region"))
|
353
|
+
Finding.add_member(:resource, Shapes::ShapeRef.new(shape: Resource, required: true, location_name: "resource"))
|
354
|
+
Finding.add_member(:schema_version, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "schemaVersion"))
|
354
355
|
Finding.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
355
|
-
Finding.add_member(:severity, Shapes::ShapeRef.new(shape: __double, location_name: "severity"))
|
356
|
+
Finding.add_member(:severity, Shapes::ShapeRef.new(shape: __double, required: true, location_name: "severity"))
|
356
357
|
Finding.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "title"))
|
357
|
-
Finding.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
358
|
-
Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, location_name: "updatedAt"))
|
358
|
+
Finding.add_member(:type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "type"))
|
359
|
+
Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt"))
|
359
360
|
Finding.struct_class = Types::Finding
|
360
361
|
|
361
|
-
FindingCriteria.add_member(:criterion, Shapes::ShapeRef.new(shape:
|
362
|
+
FindingCriteria.add_member(:criterion, Shapes::ShapeRef.new(shape: __mapOfCondition, location_name: "criterion"))
|
362
363
|
FindingCriteria.struct_class = Types::FindingCriteria
|
363
364
|
|
364
365
|
FindingIds.member = Shapes::ShapeRef.new(shape: FindingId)
|
365
366
|
|
366
367
|
FindingStatisticTypes.member = Shapes::ShapeRef.new(shape: FindingStatisticType)
|
367
368
|
|
368
|
-
FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape:
|
369
|
+
FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: __mapOfCountBySeverityFindingStatistic, location_name: "countBySeverity"))
|
369
370
|
FindingStatistics.struct_class = Types::FindingStatistics
|
370
371
|
|
371
372
|
FindingTypes.member = Shapes::ShapeRef.new(shape: FindingType)
|
@@ -467,6 +468,7 @@ module Aws::GuardDuty
|
|
467
468
|
|
468
469
|
InviteMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
469
470
|
InviteMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
471
|
+
InviteMembersRequest.add_member(:disable_email_notification, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableEmailNotification"))
|
470
472
|
InviteMembersRequest.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
471
473
|
InviteMembersRequest.struct_class = Types::InviteMembersRequest
|
472
474
|
|
@@ -523,8 +525,6 @@ module Aws::GuardDuty
|
|
523
525
|
ListMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
524
526
|
ListMembersResponse.struct_class = Types::ListMembersResponse
|
525
527
|
|
526
|
-
ListOfPortProbeDetail.member = Shapes::ShapeRef.new(shape: PortProbeDetail)
|
527
|
-
|
528
528
|
ListThreatIntelSetsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
529
529
|
ListThreatIntelSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
530
530
|
ListThreatIntelSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -538,25 +538,19 @@ module Aws::GuardDuty
|
|
538
538
|
LocalPortDetails.add_member(:port_name, Shapes::ShapeRef.new(shape: __string, location_name: "portName"))
|
539
539
|
LocalPortDetails.struct_class = Types::LocalPortDetails
|
540
540
|
|
541
|
-
MapOfCondition.key = Shapes::ShapeRef.new(shape: __string)
|
542
|
-
MapOfCondition.value = Shapes::ShapeRef.new(shape: Condition)
|
543
|
-
|
544
|
-
MapOfCountBySeverityFindingStatistic.key = Shapes::ShapeRef.new(shape: __string)
|
545
|
-
MapOfCountBySeverityFindingStatistic.value = Shapes::ShapeRef.new(shape: CountBySeverityFindingStatistic)
|
546
|
-
|
547
541
|
Master.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
548
542
|
Master.add_member(:invitation_id, Shapes::ShapeRef.new(shape: InvitationId, location_name: "invitationId"))
|
549
543
|
Master.add_member(:invited_at, Shapes::ShapeRef.new(shape: InvitedAt, location_name: "invitedAt"))
|
550
544
|
Master.add_member(:relationship_status, Shapes::ShapeRef.new(shape: __string, location_name: "relationshipStatus"))
|
551
545
|
Master.struct_class = Types::Master
|
552
546
|
|
553
|
-
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
547
|
+
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
554
548
|
Member.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
555
|
-
Member.add_member(:email, Shapes::ShapeRef.new(shape: Email, location_name: "email"))
|
549
|
+
Member.add_member(:email, Shapes::ShapeRef.new(shape: Email, required: true, location_name: "email"))
|
556
550
|
Member.add_member(:invited_at, Shapes::ShapeRef.new(shape: InvitedAt, location_name: "invitedAt"))
|
557
|
-
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: MasterId, location_name: "masterId"))
|
558
|
-
Member.add_member(:relationship_status, Shapes::ShapeRef.new(shape: __string, location_name: "relationshipStatus"))
|
559
|
-
Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, location_name: "updatedAt"))
|
551
|
+
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: MasterId, required: true, location_name: "masterId"))
|
552
|
+
Member.add_member(:relationship_status, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "relationshipStatus"))
|
553
|
+
Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdatedAt, required: true, location_name: "updatedAt"))
|
560
554
|
Member.struct_class = Types::Member
|
561
555
|
|
562
556
|
Members.member = Shapes::ShapeRef.new(shape: Member)
|
@@ -591,7 +585,7 @@ module Aws::GuardDuty
|
|
591
585
|
Organization.struct_class = Types::Organization
|
592
586
|
|
593
587
|
PortProbeAction.add_member(:blocked, Shapes::ShapeRef.new(shape: __boolean, location_name: "blocked"))
|
594
|
-
PortProbeAction.add_member(:port_probe_details, Shapes::ShapeRef.new(shape:
|
588
|
+
PortProbeAction.add_member(:port_probe_details, Shapes::ShapeRef.new(shape: __listOfPortProbeDetail, location_name: "portProbeDetails"))
|
595
589
|
PortProbeAction.struct_class = Types::PortProbeAction
|
596
590
|
|
597
591
|
PortProbeDetail.add_member(:local_port_details, Shapes::ShapeRef.new(shape: LocalPortDetails, location_name: "localPortDetails"))
|
@@ -675,8 +669,8 @@ module Aws::GuardDuty
|
|
675
669
|
|
676
670
|
UnarchiveFindingsResponse.struct_class = Types::UnarchiveFindingsResponse
|
677
671
|
|
678
|
-
UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
679
|
-
UnprocessedAccount.add_member(:result, Shapes::ShapeRef.new(shape: __string, location_name: "result"))
|
672
|
+
UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "accountId"))
|
673
|
+
UnprocessedAccount.add_member(:result, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "result"))
|
680
674
|
UnprocessedAccount.struct_class = Types::UnprocessedAccount
|
681
675
|
|
682
676
|
UnprocessedAccounts.member = Shapes::ShapeRef.new(shape: UnprocessedAccount)
|
@@ -713,6 +707,14 @@ module Aws::GuardDuty
|
|
713
707
|
|
714
708
|
UpdateThreatIntelSetResponse.struct_class = Types::UpdateThreatIntelSetResponse
|
715
709
|
|
710
|
+
__listOfPortProbeDetail.member = Shapes::ShapeRef.new(shape: PortProbeDetail)
|
711
|
+
|
712
|
+
__mapOfCondition.key = Shapes::ShapeRef.new(shape: __string)
|
713
|
+
__mapOfCondition.value = Shapes::ShapeRef.new(shape: Condition)
|
714
|
+
|
715
|
+
__mapOfCountBySeverityFindingStatistic.key = Shapes::ShapeRef.new(shape: __string)
|
716
|
+
__mapOfCountBySeverityFindingStatistic.value = Shapes::ShapeRef.new(shape: CountBySeverityFindingStatistic)
|
717
|
+
|
716
718
|
|
717
719
|
# @api private
|
718
720
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -80,8 +80,8 @@ module Aws::GuardDuty
|
|
80
80
|
# data as a hash:
|
81
81
|
#
|
82
82
|
# {
|
83
|
-
# account_id: "AccountId",
|
84
|
-
# email: "Email",
|
83
|
+
# account_id: "AccountId", # required
|
84
|
+
# email: "Email", # required
|
85
85
|
# }
|
86
86
|
#
|
87
87
|
# @!attribute [rw] account_id
|
@@ -387,8 +387,8 @@ module Aws::GuardDuty
|
|
387
387
|
# {
|
388
388
|
# account_details: [
|
389
389
|
# {
|
390
|
-
# account_id: "AccountId",
|
391
|
-
# email: "Email",
|
390
|
+
# account_id: "AccountId", # required
|
391
|
+
# email: "Email", # required
|
392
392
|
# },
|
393
393
|
# ],
|
394
394
|
# detector_id: "__string", # required
|
@@ -1413,6 +1413,7 @@ module Aws::GuardDuty
|
|
1413
1413
|
# {
|
1414
1414
|
# account_ids: ["__string"],
|
1415
1415
|
# detector_id: "__string", # required
|
1416
|
+
# disable_email_notification: false,
|
1416
1417
|
# message: "Message",
|
1417
1418
|
# }
|
1418
1419
|
#
|
@@ -1424,9 +1425,13 @@ module Aws::GuardDuty
|
|
1424
1425
|
# @!attribute [rw] detector_id
|
1425
1426
|
# @return [String]
|
1426
1427
|
#
|
1428
|
+
# @!attribute [rw] disable_email_notification
|
1429
|
+
# Indicates whether invite member email notification is disabled
|
1430
|
+
# @return [Boolean]
|
1431
|
+
#
|
1427
1432
|
# @!attribute [rw] message
|
1428
1433
|
# The invitation message that you want to send to the accounts that
|
1429
|
-
# you
|
1434
|
+
# you’re inviting to GuardDuty as members.
|
1430
1435
|
# @return [String]
|
1431
1436
|
#
|
1432
1437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembersRequest AWS API Documentation
|
@@ -1434,6 +1439,7 @@ module Aws::GuardDuty
|
|
1434
1439
|
class InviteMembersRequest < Struct.new(
|
1435
1440
|
:account_ids,
|
1436
1441
|
:detector_id,
|
1442
|
+
:disable_email_notification,
|
1437
1443
|
:message)
|
1438
1444
|
include Aws::Structure
|
1439
1445
|
end
|
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.
|
4
|
+
version: 1.3.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: 2018-
|
11
|
+
date: 2018-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.
|
78
|
+
rubygems_version: 2.5.2.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - Amazon GuardDuty
|