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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +12 -5
- data/lib/aws-sdk-guardduty/client_api.rb +2 -1
- data/lib/aws-sdk-guardduty/plugins/endpoints.rb +8 -5
- data/lib/aws-sdk-guardduty/types.rb +7 -1
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82258308cf276d8a8a27680a564a72d27fb49401a90ee35a65511446128db830
|
4
|
+
data.tar.gz: 522826cbf2c71f685fe187b7d11374f7f5eea924df32282cb7784fc125770517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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`,
|
134
|
-
#
|
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::
|
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
|
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.
|
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: "
|
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:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
data/lib/aws-sdk-guardduty.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
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.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
|
+
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.
|
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.
|
32
|
+
version: 3.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|