aws-sdk-guardduty 1.1.0 → 1.2.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 +15 -1
- data/lib/aws-sdk-guardduty/client_api.rb +14 -0
- data/lib/aws-sdk-guardduty/types.rb +42 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93bb1cd7535c8429f46eeea784ce93f05fdb72ef
|
4
|
+
data.tar.gz: 276ff0dd9f6174f2f24f35e2238aa5decc0a4cd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc97b52d4679ceb92c3c68dc6508dbe479b0d0b079b237c8a1a145e74b87ca6366780782a95d744b8039083f7f5fd20b57ebc12ba9205838391264f433266057
|
7
|
+
data.tar.gz: 13eae935dd8cc15ffd1b89adddc87c73b6fd7b4dc7e82676413f0f2fb355c91b03e70f31aebd831734cd256acf83c56d36af7b790a7af02eb90d04b8c08c8881
|
data/lib/aws-sdk-guardduty.rb
CHANGED
@@ -760,6 +760,20 @@ module Aws::GuardDuty
|
|
760
760
|
# resp.findings[0].service.action.network_connection_action.remote_ip_details.organization.org #=> String
|
761
761
|
# resp.findings[0].service.action.network_connection_action.remote_port_details.port #=> Integer
|
762
762
|
# resp.findings[0].service.action.network_connection_action.remote_port_details.port_name #=> String
|
763
|
+
# resp.findings[0].service.action.port_probe_action.blocked #=> Boolean
|
764
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details #=> Array
|
765
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].local_port_details.port #=> Integer
|
766
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].local_port_details.port_name #=> String
|
767
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.city.city_name #=> String
|
768
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.country.country_code #=> String
|
769
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.country.country_name #=> String
|
770
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.geo_location.lat #=> Float
|
771
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.geo_location.lon #=> Float
|
772
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.ip_address_v4 #=> String
|
773
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.asn #=> String
|
774
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.asn_org #=> String
|
775
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.isp #=> String
|
776
|
+
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.org #=> String
|
763
777
|
# resp.findings[0].service.archived #=> Boolean
|
764
778
|
# resp.findings[0].service.count #=> Integer
|
765
779
|
# resp.findings[0].service.detector_id #=> String
|
@@ -1557,7 +1571,7 @@ module Aws::GuardDuty
|
|
1557
1571
|
params: params,
|
1558
1572
|
config: config)
|
1559
1573
|
context[:gem_name] = 'aws-sdk-guardduty'
|
1560
|
-
context[:gem_version] = '1.
|
1574
|
+
context[:gem_version] = '1.2.0'
|
1561
1575
|
Seahorse::Client::Request.new(handlers, context)
|
1562
1576
|
end
|
1563
1577
|
|
@@ -119,6 +119,7 @@ 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')
|
122
123
|
ListThreatIntelSetsRequest = Shapes::StructureShape.new(name: 'ListThreatIntelSetsRequest')
|
123
124
|
ListThreatIntelSetsResponse = Shapes::StructureShape.new(name: 'ListThreatIntelSetsResponse')
|
124
125
|
LocalPortDetails = Shapes::StructureShape.new(name: 'LocalPortDetails')
|
@@ -139,6 +140,8 @@ module Aws::GuardDuty
|
|
139
140
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
140
141
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
141
142
|
Organization = Shapes::StructureShape.new(name: 'Organization')
|
143
|
+
PortProbeAction = Shapes::StructureShape.new(name: 'PortProbeAction')
|
144
|
+
PortProbeDetail = Shapes::StructureShape.new(name: 'PortProbeDetail')
|
142
145
|
PrivateDnsName = Shapes::StringShape.new(name: 'PrivateDnsName')
|
143
146
|
PrivateIpAddress = Shapes::StringShape.new(name: 'PrivateIpAddress')
|
144
147
|
PrivateIpAddressDetails = Shapes::StructureShape.new(name: 'PrivateIpAddressDetails')
|
@@ -207,6 +210,7 @@ module Aws::GuardDuty
|
|
207
210
|
Action.add_member(:aws_api_call_action, Shapes::ShapeRef.new(shape: AwsApiCallAction, location_name: "awsApiCallAction"))
|
208
211
|
Action.add_member(:dns_request_action, Shapes::ShapeRef.new(shape: DnsRequestAction, location_name: "dnsRequestAction"))
|
209
212
|
Action.add_member(:network_connection_action, Shapes::ShapeRef.new(shape: NetworkConnectionAction, location_name: "networkConnectionAction"))
|
213
|
+
Action.add_member(:port_probe_action, Shapes::ShapeRef.new(shape: PortProbeAction, location_name: "portProbeAction"))
|
210
214
|
Action.struct_class = Types::Action
|
211
215
|
|
212
216
|
ArchiveFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
@@ -519,6 +523,8 @@ module Aws::GuardDuty
|
|
519
523
|
ListMembersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
520
524
|
ListMembersResponse.struct_class = Types::ListMembersResponse
|
521
525
|
|
526
|
+
ListOfPortProbeDetail.member = Shapes::ShapeRef.new(shape: PortProbeDetail)
|
527
|
+
|
522
528
|
ListThreatIntelSetsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "detectorId"))
|
523
529
|
ListThreatIntelSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
524
530
|
ListThreatIntelSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -584,6 +590,14 @@ module Aws::GuardDuty
|
|
584
590
|
Organization.add_member(:org, Shapes::ShapeRef.new(shape: __string, location_name: "org"))
|
585
591
|
Organization.struct_class = Types::Organization
|
586
592
|
|
593
|
+
PortProbeAction.add_member(:blocked, Shapes::ShapeRef.new(shape: __boolean, location_name: "blocked"))
|
594
|
+
PortProbeAction.add_member(:port_probe_details, Shapes::ShapeRef.new(shape: ListOfPortProbeDetail, location_name: "portProbeDetails"))
|
595
|
+
PortProbeAction.struct_class = Types::PortProbeAction
|
596
|
+
|
597
|
+
PortProbeDetail.add_member(:local_port_details, Shapes::ShapeRef.new(shape: LocalPortDetails, location_name: "localPortDetails"))
|
598
|
+
PortProbeDetail.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
|
599
|
+
PortProbeDetail.struct_class = Types::PortProbeDetail
|
600
|
+
|
587
601
|
PrivateIpAddressDetails.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: PrivateDnsName, location_name: "privateDnsName"))
|
588
602
|
PrivateIpAddressDetails.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: PrivateIpAddress, location_name: "privateIpAddress"))
|
589
603
|
PrivateIpAddressDetails.struct_class = Types::PrivateIpAddressDetails
|
@@ -120,13 +120,18 @@ module Aws::GuardDuty
|
|
120
120
|
# finding.
|
121
121
|
# @return [Types::NetworkConnectionAction]
|
122
122
|
#
|
123
|
+
# @!attribute [rw] port_probe_action
|
124
|
+
# Information about the PORT\_PROBE action described in this finding.
|
125
|
+
# @return [Types::PortProbeAction]
|
126
|
+
#
|
123
127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action AWS API Documentation
|
124
128
|
#
|
125
129
|
class Action < Struct.new(
|
126
130
|
:action_type,
|
127
131
|
:aws_api_call_action,
|
128
132
|
:dns_request_action,
|
129
|
-
:network_connection_action
|
133
|
+
:network_connection_action,
|
134
|
+
:port_probe_action)
|
130
135
|
include Aws::Structure
|
131
136
|
end
|
132
137
|
|
@@ -1994,6 +1999,42 @@ module Aws::GuardDuty
|
|
1994
1999
|
include Aws::Structure
|
1995
2000
|
end
|
1996
2001
|
|
2002
|
+
# Information about the PORT\_PROBE action described in this finding.
|
2003
|
+
#
|
2004
|
+
# @!attribute [rw] blocked
|
2005
|
+
# Port probe blocked information.
|
2006
|
+
# @return [Boolean]
|
2007
|
+
#
|
2008
|
+
# @!attribute [rw] port_probe_details
|
2009
|
+
# A list of port probe details objects.
|
2010
|
+
# @return [Array<Types::PortProbeDetail>]
|
2011
|
+
#
|
2012
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PortProbeAction AWS API Documentation
|
2013
|
+
#
|
2014
|
+
class PortProbeAction < Struct.new(
|
2015
|
+
:blocked,
|
2016
|
+
:port_probe_details)
|
2017
|
+
include Aws::Structure
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
# Details about the port probe finding.
|
2021
|
+
#
|
2022
|
+
# @!attribute [rw] local_port_details
|
2023
|
+
# Local port information of the connection.
|
2024
|
+
# @return [Types::LocalPortDetails]
|
2025
|
+
#
|
2026
|
+
# @!attribute [rw] remote_ip_details
|
2027
|
+
# Remote IP information of the connection.
|
2028
|
+
# @return [Types::RemoteIpDetails]
|
2029
|
+
#
|
2030
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/PortProbeDetail AWS API Documentation
|
2031
|
+
#
|
2032
|
+
class PortProbeDetail < Struct.new(
|
2033
|
+
:local_port_details,
|
2034
|
+
:remote_ip_details)
|
2035
|
+
include Aws::Structure
|
2036
|
+
end
|
2037
|
+
|
1997
2038
|
# Other private IP address information of the EC2 instance.
|
1998
2039
|
#
|
1999
2040
|
# @!attribute [rw] private_dns_name
|
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.2.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-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|