aws-sdk-guardduty 1.99.0 → 1.101.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
  SHA256:
3
- metadata.gz: b364ffa4061f3b3f36e8a29d3292638d748c813dadde24b1cf1c431cfe1e8bcb
4
- data.tar.gz: f0a7cea0712c84f167b1009f65acff1fae0778f2168ed7d54cfaf9a4e31c3c9a
3
+ metadata.gz: 82258308cf276d8a8a27680a564a72d27fb49401a90ee35a65511446128db830
4
+ data.tar.gz: 522826cbf2c71f685fe187b7d11374f7f5eea924df32282cb7784fc125770517
5
5
  SHA512:
6
- metadata.gz: 62b83b807dc6129149b88f27537223dc9efc74fc798fe5cf72e01c11653a2e727a098f6912f73036682f103408c4949d0e255dcbaba76cdd2c6e4c70365d079c
7
- data.tar.gz: ff359f42b811c4fc6634f4f5414cceef79b765c3e2589ea52a3e3ac3a32791d25da9bfcbaba270f5b61667726ae635ac35a673b366155bb9ef4b08bca6ff8166
6
+ metadata.gz: 64dd316f6831647ea55fc44b58dac737d3c5009312851b2078322279dcec1d2876d6dc02666cd55d4cac8be879cff73e27207f8538a3e9bca1bee06c30ecf701
7
+ data.tar.gz: 36ebe50faa83abc89042b67b061f8eb6be8585f4dcdc68b785cfcdfc4c5d0bf9cb2001a9893faf11346374e90dee3835beb5253558c54e5126618502d12b02cf
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.101.0 (2024-09-20)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.100.0 (2024-09-18)
10
+ ------------------
11
+
12
+ * Feature - Add `launchType` and `sourceIPs` fields to GuardDuty findings.
13
+
4
14
  1.99.0 (2024-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.101.0
@@ -130,13 +130,15 @@ module Aws::GuardDuty
130
130
  # locations will be searched for credentials:
131
131
  #
132
132
  # * `Aws.config[:credentials]`
133
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
134
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
133
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
134
+ # `:account_id` options.
135
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
136
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
135
137
  # * `~/.aws/credentials`
136
138
  # * `~/.aws/config`
137
139
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
138
140
  # are very aggressive. Construct and pass an instance of
139
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
141
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
140
142
  # enable retries and extended timeouts. Instance profile credential
141
143
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
142
144
  # to true.
@@ -155,6 +157,8 @@ module Aws::GuardDuty
155
157
  #
156
158
  # @option options [String] :access_key_id
157
159
  #
160
+ # @option options [String] :account_id
161
+ #
158
162
  # @option options [Boolean] :active_endpoint_cache (false)
159
163
  # When set to `true`, a thread polling for endpoints will be running in
160
164
  # the background every 60 secs (default). Defaults to `false`.
@@ -369,7 +373,9 @@ module Aws::GuardDuty
369
373
  # sending the request.
370
374
  #
371
375
  # @option options [Aws::GuardDuty::EndpointProvider] :endpoint_provider
372
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::GuardDuty::EndpointParameters`
376
+ # The endpoint provider used to resolve endpoints. Any object that responds to
377
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
378
+ # `Aws::GuardDuty::EndpointParameters`.
373
379
  #
374
380
  # @option options [Float] :http_continue_timeout (1)
375
381
  # The number of seconds to wait for a 100-continue response before sending the
@@ -2417,6 +2423,7 @@ module Aws::GuardDuty
2417
2423
  # resp.findings[0].resource.ecs_cluster_details.task_details.containers[0].security_context.privileged #=> Boolean
2418
2424
  # resp.findings[0].resource.ecs_cluster_details.task_details.containers[0].security_context.allow_privilege_escalation #=> Boolean
2419
2425
  # resp.findings[0].resource.ecs_cluster_details.task_details.group #=> String
2426
+ # resp.findings[0].resource.ecs_cluster_details.task_details.launch_type #=> String
2420
2427
  # resp.findings[0].resource.container_details.container_runtime #=> String
2421
2428
  # resp.findings[0].resource.container_details.id #=> String
2422
2429
  # resp.findings[0].resource.container_details.name #=> String
@@ -5054,7 +5061,7 @@ module Aws::GuardDuty
5054
5061
  tracer: tracer
5055
5062
  )
5056
5063
  context[:gem_name] = 'aws-sdk-guardduty'
5057
- context[:gem_version] = '1.99.0'
5064
+ context[:gem_version] = '1.101.0'
5058
5065
  Seahorse::Client::Request.new(handlers, context)
5059
5066
  end
5060
5067
 
@@ -1122,6 +1122,7 @@ module Aws::GuardDuty
1122
1122
  EcsTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
1123
1123
  EcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: Containers, location_name: "containers"))
1124
1124
  EcsTaskDetails.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "group"))
1125
+ EcsTaskDetails.add_member(:launch_type, Shapes::ShapeRef.new(shape: String, location_name: "launchType"))
1125
1126
  EcsTaskDetails.struct_class = Types::EcsTaskDetails
1126
1127
 
1127
1128
  EksClusterDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -1451,7 +1452,7 @@ module Aws::GuardDuty
1451
1452
 
1452
1453
  KubernetesApiCallAction.add_member(:request_uri, Shapes::ShapeRef.new(shape: String, location_name: "requestUri"))
1453
1454
  KubernetesApiCallAction.add_member(:verb, Shapes::ShapeRef.new(shape: String, location_name: "verb"))
1454
- KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIps"))
1455
+ KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIPs"))
1455
1456
  KubernetesApiCallAction.add_member(:user_agent, Shapes::ShapeRef.new(shape: String, location_name: "userAgent"))
1456
1457
  KubernetesApiCallAction.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
1457
1458
  KubernetesApiCallAction.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
@@ -15,11 +15,11 @@ module Aws::GuardDuty
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::GuardDuty::EndpointProvider',
17
17
  rbs_type: 'untyped',
18
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
19
- 'object that responds to `#resolve_endpoint(parameters)` '\
20
- 'where `parameters` is a Struct similar to '\
21
- '`Aws::GuardDuty::EndpointParameters`'
22
- ) do |cfg|
18
+ docstring: <<~DOCS) do |_cfg|
19
+ The endpoint provider used to resolve endpoints. Any object that responds to
20
+ `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
21
+ `Aws::GuardDuty::EndpointParameters`.
22
+ DOCS
23
23
  Aws::GuardDuty::EndpointProvider.new
24
24
  end
25
25
 
@@ -51,6 +51,9 @@ module Aws::GuardDuty
51
51
  if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
52
52
  metrics << 'SIGV4A_SIGNING'
53
53
  end
54
+ if context.config.credentials&.credentials&.account_id
55
+ metrics << 'RESOLVED_ACCOUNT_ID'
56
+ end
54
57
  Aws::Plugins::UserAgent.metric(*metrics, &block)
55
58
  end
56
59
 
@@ -2907,6 +2907,11 @@ module Aws::GuardDuty
2907
2907
  # The name of the task group that's associated with the task.
2908
2908
  # @return [String]
2909
2909
  #
2910
+ # @!attribute [rw] launch_type
2911
+ # A capacity on which the task is running. For example, `Fargate` and
2912
+ # `EC2`.
2913
+ # @return [String]
2914
+ #
2910
2915
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EcsTaskDetails AWS API Documentation
2911
2916
  #
2912
2917
  class EcsTaskDetails < Struct.new(
@@ -2919,7 +2924,8 @@ module Aws::GuardDuty
2919
2924
  :tags,
2920
2925
  :volumes,
2921
2926
  :containers,
2922
- :group)
2927
+ :group,
2928
+ :launch_type)
2923
2929
  SENSITIVE = []
2924
2930
  include Aws::Structure
2925
2931
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-guardduty/customizations'
52
52
  # @!group service
53
53
  module Aws::GuardDuty
54
54
 
55
- GEM_VERSION = '1.99.0'
55
+ GEM_VERSION = '1.101.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/resource.rbs CHANGED
@@ -15,6 +15,7 @@ module Aws
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
17
  ?access_key_id: String,
18
+ ?account_id: String,
18
19
  ?active_endpoint_cache: bool,
19
20
  ?adaptive_retry_wait_to_fill: bool,
20
21
  ?client_side_monitoring: bool,
data/sig/types.rbs CHANGED
@@ -748,6 +748,7 @@ module Aws::GuardDuty
748
748
  attr_accessor volumes: ::Array[Types::Volume]
749
749
  attr_accessor containers: ::Array[Types::Container]
750
750
  attr_accessor group: ::String
751
+ attr_accessor launch_type: ::String
751
752
  SENSITIVE: []
752
753
  end
753
754
 
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.99.0
4
+ version: 1.101.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: 2024-09-11 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.205.0
22
+ version: 3.207.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.205.0
32
+ version: 3.207.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement