aws-sdk-inspector 1.8.0 → 1.9.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: df0d6b49a5c8b031995afc2a2748adb5c1c93083
4
- data.tar.gz: bfa6b261fc25c0fdb1d5e1582b66d5f387291b74
3
+ metadata.gz: 7937cf46ee016b030887cd949cae6db66f770c0c
4
+ data.tar.gz: 19e8a228e6ba494b3296ac3fba8a60a08649f995
5
5
  SHA512:
6
- metadata.gz: 4db83ccd011b27c8d3633e91628b7e83b4a6d5f6201f616255af938b52ff5432d4e0c7dffdbce7440487084f0e1e1d58f21c5b559cd34626572c17b870974e80
7
- data.tar.gz: 581c78c24da23cd4a1929cf4fb200e66f14532282c0f2f708666fc8548cd193109d1dfaf22b561bfaae868ac65d37d41a5f805171bdc4dbbe0d146bea79bad8f
6
+ metadata.gz: c408438a4bfaccae5ec0f3f88944572b36db79f760e42f413d07f8ff62a976c288aebf5d5102e72b944ffa0a495111d3d308a40afc23b3e5582095e6dc4c9f38
7
+ data.tar.gz: f3ad1bfe1ffacc5f36b0494186d7d12e95c2ba202b4e16b33f8a391e8c85c4d9118d8e1e581e29d47b68fe08bcc8d91bc0f20ff67009fa69cecadc371d6e32c4
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-inspector/customizations'
42
42
  # @service
43
43
  module Aws::Inspector
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -1050,6 +1050,25 @@ module Aws::Inspector
1050
1050
  # resp.findings[0].asset_attributes.hostname #=> String
1051
1051
  # resp.findings[0].asset_attributes.ipv4_addresses #=> Array
1052
1052
  # resp.findings[0].asset_attributes.ipv4_addresses[0] #=> String
1053
+ # resp.findings[0].asset_attributes.tags #=> Array
1054
+ # resp.findings[0].asset_attributes.tags[0].key #=> String
1055
+ # resp.findings[0].asset_attributes.tags[0].value #=> String
1056
+ # resp.findings[0].asset_attributes.network_interfaces #=> Array
1057
+ # resp.findings[0].asset_attributes.network_interfaces[0].network_interface_id #=> String
1058
+ # resp.findings[0].asset_attributes.network_interfaces[0].subnet_id #=> String
1059
+ # resp.findings[0].asset_attributes.network_interfaces[0].vpc_id #=> String
1060
+ # resp.findings[0].asset_attributes.network_interfaces[0].private_dns_name #=> String
1061
+ # resp.findings[0].asset_attributes.network_interfaces[0].private_ip_address #=> String
1062
+ # resp.findings[0].asset_attributes.network_interfaces[0].private_ip_addresses #=> Array
1063
+ # resp.findings[0].asset_attributes.network_interfaces[0].private_ip_addresses[0].private_dns_name #=> String
1064
+ # resp.findings[0].asset_attributes.network_interfaces[0].private_ip_addresses[0].private_ip_address #=> String
1065
+ # resp.findings[0].asset_attributes.network_interfaces[0].public_dns_name #=> String
1066
+ # resp.findings[0].asset_attributes.network_interfaces[0].public_ip #=> String
1067
+ # resp.findings[0].asset_attributes.network_interfaces[0].ipv6_addresses #=> Array
1068
+ # resp.findings[0].asset_attributes.network_interfaces[0].ipv6_addresses[0] #=> String
1069
+ # resp.findings[0].asset_attributes.network_interfaces[0].security_groups #=> Array
1070
+ # resp.findings[0].asset_attributes.network_interfaces[0].security_groups[0].group_name #=> String
1071
+ # resp.findings[0].asset_attributes.network_interfaces[0].security_groups[0].group_id #=> String
1053
1072
  # resp.findings[0].id #=> String
1054
1073
  # resp.findings[0].title #=> String
1055
1074
  # resp.findings[0].description #=> String
@@ -2807,7 +2826,7 @@ module Aws::Inspector
2807
2826
  params: params,
2808
2827
  config: config)
2809
2828
  context[:gem_name] = 'aws-sdk-inspector'
2810
- context[:gem_version] = '1.8.0'
2829
+ context[:gem_version] = '1.9.0'
2811
2830
  Seahorse::Client::Request.new(handlers, context)
2812
2831
  end
2813
2832
 
@@ -130,6 +130,7 @@ module Aws::Inspector
130
130
  IocConfidence = Shapes::IntegerShape.new(name: 'IocConfidence')
131
131
  Ipv4Address = Shapes::StringShape.new(name: 'Ipv4Address')
132
132
  Ipv4AddressList = Shapes::ListShape.new(name: 'Ipv4AddressList')
133
+ Ipv6Addresses = Shapes::ListShape.new(name: 'Ipv6Addresses')
133
134
  KernelVersion = Shapes::StringShape.new(name: 'KernelVersion')
134
135
  LimitExceededErrorCode = Shapes::StringShape.new(name: 'LimitExceededErrorCode')
135
136
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -160,6 +161,8 @@ module Aws::Inspector
160
161
  Message = Shapes::StringShape.new(name: 'Message')
161
162
  MessageType = Shapes::StringShape.new(name: 'MessageType')
162
163
  NamePattern = Shapes::StringShape.new(name: 'NamePattern')
164
+ NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
165
+ NetworkInterfaces = Shapes::ListShape.new(name: 'NetworkInterfaces')
163
166
  NoSuchEntityErrorCode = Shapes::StringShape.new(name: 'NoSuchEntityErrorCode')
164
167
  NoSuchEntityException = Shapes::StructureShape.new(name: 'NoSuchEntityException')
165
168
  NumericSeverity = Shapes::FloatShape.new(name: 'NumericSeverity')
@@ -171,6 +174,8 @@ module Aws::Inspector
171
174
  PreviewAgentsResponse = Shapes::StructureShape.new(name: 'PreviewAgentsResponse')
172
175
  PreviewGenerationInProgressException = Shapes::StructureShape.new(name: 'PreviewGenerationInProgressException')
173
176
  PreviewStatus = Shapes::StringShape.new(name: 'PreviewStatus')
177
+ PrivateIp = Shapes::StructureShape.new(name: 'PrivateIp')
178
+ PrivateIpAddresses = Shapes::ListShape.new(name: 'PrivateIpAddresses')
174
179
  ProviderName = Shapes::StringShape.new(name: 'ProviderName')
175
180
  RegisterCrossAccountAccessRoleRequest = Shapes::StructureShape.new(name: 'RegisterCrossAccountAccessRoleRequest')
176
181
  RemoveAttributesFromFindingsRequest = Shapes::StructureShape.new(name: 'RemoveAttributesFromFindingsRequest')
@@ -191,6 +196,8 @@ module Aws::Inspector
191
196
  ScopeList = Shapes::ListShape.new(name: 'ScopeList')
192
197
  ScopeType = Shapes::StringShape.new(name: 'ScopeType')
193
198
  ScopeValue = Shapes::StringShape.new(name: 'ScopeValue')
199
+ SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
200
+ SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
194
201
  ServiceName = Shapes::StringShape.new(name: 'ServiceName')
195
202
  ServiceTemporarilyUnavailableException = Shapes::StructureShape.new(name: 'ServiceTemporarilyUnavailableException')
196
203
  SetTagsForResourceRequest = Shapes::StructureShape.new(name: 'SetTagsForResourceRequest')
@@ -207,6 +214,7 @@ module Aws::Inspector
207
214
  TagKey = Shapes::StringShape.new(name: 'TagKey')
208
215
  TagList = Shapes::ListShape.new(name: 'TagList')
209
216
  TagValue = Shapes::StringShape.new(name: 'TagValue')
217
+ Tags = Shapes::ListShape.new(name: 'Tags')
210
218
  TelemetryMetadata = Shapes::StructureShape.new(name: 'TelemetryMetadata')
211
219
  TelemetryMetadataList = Shapes::ListShape.new(name: 'TelemetryMetadataList')
212
220
  Text = Shapes::StringShape.new(name: 'Text')
@@ -360,6 +368,8 @@ module Aws::Inspector
360
368
  AssetAttributes.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
361
369
  AssetAttributes.add_member(:hostname, Shapes::ShapeRef.new(shape: Hostname, location_name: "hostname"))
362
370
  AssetAttributes.add_member(:ipv4_addresses, Shapes::ShapeRef.new(shape: Ipv4AddressList, location_name: "ipv4Addresses"))
371
+ AssetAttributes.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
372
+ AssetAttributes.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaces, location_name: "networkInterfaces"))
363
373
  AssetAttributes.struct_class = Types::AssetAttributes
364
374
 
365
375
  Attribute.add_member(:key, Shapes::ShapeRef.new(shape: AttributeKey, required: true, location_name: "key"))
@@ -574,6 +584,8 @@ module Aws::Inspector
574
584
 
575
585
  Ipv4AddressList.member = Shapes::ShapeRef.new(shape: Ipv4Address)
576
586
 
587
+ Ipv6Addresses.member = Shapes::ShapeRef.new(shape: Text)
588
+
577
589
  ListAssessmentRunAgentsRequest.add_member(:assessment_run_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assessmentRunArn"))
578
590
  ListAssessmentRunAgentsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: AgentFilter, location_name: "filter"))
579
591
  ListAssessmentRunAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
@@ -659,6 +671,20 @@ module Aws::Inspector
659
671
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
660
672
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
661
673
 
674
+ NetworkInterface.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: Text, location_name: "networkInterfaceId"))
675
+ NetworkInterface.add_member(:subnet_id, Shapes::ShapeRef.new(shape: Text, location_name: "subnetId"))
676
+ NetworkInterface.add_member(:vpc_id, Shapes::ShapeRef.new(shape: Text, location_name: "vpcId"))
677
+ NetworkInterface.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: Text, location_name: "privateDnsName"))
678
+ NetworkInterface.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: Text, location_name: "privateIpAddress"))
679
+ NetworkInterface.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddresses, location_name: "privateIpAddresses"))
680
+ NetworkInterface.add_member(:public_dns_name, Shapes::ShapeRef.new(shape: Text, location_name: "publicDnsName"))
681
+ NetworkInterface.add_member(:public_ip, Shapes::ShapeRef.new(shape: Text, location_name: "publicIp"))
682
+ NetworkInterface.add_member(:ipv6_addresses, Shapes::ShapeRef.new(shape: Ipv6Addresses, location_name: "ipv6Addresses"))
683
+ NetworkInterface.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "securityGroups"))
684
+ NetworkInterface.struct_class = Types::NetworkInterface
685
+
686
+ NetworkInterfaces.member = Shapes::ShapeRef.new(shape: NetworkInterface)
687
+
662
688
  PreviewAgentsRequest.add_member(:preview_agents_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "previewAgentsArn"))
663
689
  PreviewAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
664
690
  PreviewAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PreviewAgentsMaxResults, location_name: "maxResults"))
@@ -668,6 +694,12 @@ module Aws::Inspector
668
694
  PreviewAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
669
695
  PreviewAgentsResponse.struct_class = Types::PreviewAgentsResponse
670
696
 
697
+ PrivateIp.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: Text, location_name: "privateDnsName"))
698
+ PrivateIp.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: Text, location_name: "privateIpAddress"))
699
+ PrivateIp.struct_class = Types::PrivateIp
700
+
701
+ PrivateIpAddresses.member = Shapes::ShapeRef.new(shape: PrivateIp)
702
+
671
703
  RegisterCrossAccountAccessRoleRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
672
704
  RegisterCrossAccountAccessRoleRequest.struct_class = Types::RegisterCrossAccountAccessRoleRequest
673
705
 
@@ -708,6 +740,12 @@ module Aws::Inspector
708
740
 
709
741
  ScopeList.member = Shapes::ShapeRef.new(shape: Scope)
710
742
 
743
+ SecurityGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: Text, location_name: "groupName"))
744
+ SecurityGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: Text, location_name: "groupId"))
745
+ SecurityGroup.struct_class = Types::SecurityGroup
746
+
747
+ SecurityGroups.member = Shapes::ShapeRef.new(shape: SecurityGroup)
748
+
711
749
  SetTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
712
750
  SetTagsForResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
713
751
  SetTagsForResourceRequest.struct_class = Types::SetTagsForResourceRequest
@@ -743,6 +781,8 @@ module Aws::Inspector
743
781
 
744
782
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
745
783
 
784
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
785
+
746
786
  TelemetryMetadata.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, required: true, location_name: "messageType"))
747
787
  TelemetryMetadata.add_member(:count, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "count"))
748
788
  TelemetryMetadata.add_member(:data_size, Shapes::ShapeRef.new(shape: Long, location_name: "dataSize"))
@@ -632,6 +632,15 @@ module Aws::Inspector
632
632
  # generated.
633
633
  # @return [Array<String>]
634
634
  #
635
+ # @!attribute [rw] tags
636
+ # The tags related to the EC2 instance where the finding is generated.
637
+ # @return [Array<Types::Tag>]
638
+ #
639
+ # @!attribute [rw] network_interfaces
640
+ # An array of the network interfaces interacting with the EC2 instance
641
+ # where the finding is generated.
642
+ # @return [Array<Types::NetworkInterface>]
643
+ #
635
644
  # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AssetAttributes AWS API Documentation
636
645
  #
637
646
  class AssetAttributes < Struct.new(
@@ -640,7 +649,9 @@ module Aws::Inspector
640
649
  :auto_scaling_group,
641
650
  :ami_id,
642
651
  :hostname,
643
- :ipv4_addresses)
652
+ :ipv4_addresses,
653
+ :tags,
654
+ :network_interfaces)
644
655
  include Aws::Structure
645
656
  end
646
657
 
@@ -2294,6 +2305,68 @@ module Aws::Inspector
2294
2305
  include Aws::Structure
2295
2306
  end
2296
2307
 
2308
+ # Contains information about the network interfaces interacting with an
2309
+ # EC2 instance. This data type is used as one of the elements of the
2310
+ # AssetAttributes data type.
2311
+ #
2312
+ # @!attribute [rw] network_interface_id
2313
+ # The ID of the network interface.
2314
+ # @return [String]
2315
+ #
2316
+ # @!attribute [rw] subnet_id
2317
+ # The ID of a subnet associated with the network interface.
2318
+ # @return [String]
2319
+ #
2320
+ # @!attribute [rw] vpc_id
2321
+ # The ID of a VPC associated with the network interface.
2322
+ # @return [String]
2323
+ #
2324
+ # @!attribute [rw] private_dns_name
2325
+ # The name of a private DNS associated with the network interface.
2326
+ # @return [String]
2327
+ #
2328
+ # @!attribute [rw] private_ip_address
2329
+ # The private IP address associated with the network interface.
2330
+ # @return [String]
2331
+ #
2332
+ # @!attribute [rw] private_ip_addresses
2333
+ # A list of the private IP addresses associated with the network
2334
+ # interface. Includes the privateDnsName and privateIpAddress.
2335
+ # @return [Array<Types::PrivateIp>]
2336
+ #
2337
+ # @!attribute [rw] public_dns_name
2338
+ # The name of a public DNS associated with the network interface.
2339
+ # @return [String]
2340
+ #
2341
+ # @!attribute [rw] public_ip
2342
+ # The public IP address from which the network interface is reachable.
2343
+ # @return [String]
2344
+ #
2345
+ # @!attribute [rw] ipv6_addresses
2346
+ # The IP addresses associated with the network interface.
2347
+ # @return [Array<String>]
2348
+ #
2349
+ # @!attribute [rw] security_groups
2350
+ # A list of the security groups associated with the network interface.
2351
+ # Includes the groupId and groupName.
2352
+ # @return [Array<Types::SecurityGroup>]
2353
+ #
2354
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/NetworkInterface AWS API Documentation
2355
+ #
2356
+ class NetworkInterface < Struct.new(
2357
+ :network_interface_id,
2358
+ :subnet_id,
2359
+ :vpc_id,
2360
+ :private_dns_name,
2361
+ :private_ip_address,
2362
+ :private_ip_addresses,
2363
+ :public_dns_name,
2364
+ :public_ip,
2365
+ :ipv6_addresses,
2366
+ :security_groups)
2367
+ include Aws::Structure
2368
+ end
2369
+
2297
2370
  # @note When making an API call, you may pass PreviewAgentsRequest
2298
2371
  # data as a hash:
2299
2372
  #
@@ -2350,6 +2423,26 @@ module Aws::Inspector
2350
2423
  include Aws::Structure
2351
2424
  end
2352
2425
 
2426
+ # Contains information about a private IP address associated with a
2427
+ # network interface. This data type is used as a response element in the
2428
+ # DescribeFindings action.
2429
+ #
2430
+ # @!attribute [rw] private_dns_name
2431
+ # The DNS name of the private IP address.
2432
+ # @return [String]
2433
+ #
2434
+ # @!attribute [rw] private_ip_address
2435
+ # The full IP address of the network inteface.
2436
+ # @return [String]
2437
+ #
2438
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PrivateIp AWS API Documentation
2439
+ #
2440
+ class PrivateIp < Struct.new(
2441
+ :private_dns_name,
2442
+ :private_ip_address)
2443
+ include Aws::Structure
2444
+ end
2445
+
2353
2446
  # @note When making an API call, you may pass RegisterCrossAccountAccessRoleRequest
2354
2447
  # data as a hash:
2355
2448
  #
@@ -2515,6 +2608,26 @@ module Aws::Inspector
2515
2608
  include Aws::Structure
2516
2609
  end
2517
2610
 
2611
+ # Contains information about a security group associated with a network
2612
+ # interface. This data type is used as one of the elements of the
2613
+ # NetworkInterface data type.
2614
+ #
2615
+ # @!attribute [rw] group_name
2616
+ # The name of the security group.
2617
+ # @return [String]
2618
+ #
2619
+ # @!attribute [rw] group_id
2620
+ # The ID of the security group.
2621
+ # @return [String]
2622
+ #
2623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SecurityGroup AWS API Documentation
2624
+ #
2625
+ class SecurityGroup < Struct.new(
2626
+ :group_name,
2627
+ :group_id)
2628
+ include Aws::Structure
2629
+ end
2630
+
2518
2631
  # @note When making an API call, you may pass SetTagsForResourceRequest
2519
2632
  # data as a hash:
2520
2633
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-inspector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.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-09-06 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core