aws-sdk-guardduty 1.162.0 → 1.164.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d65c1947a3279be636fcd07aad5c74684ef26b61d59773950ea0eec9088cb013
4
- data.tar.gz: 7214c42b1482496ba1ceea43e334386c68e10cc531b93b0ae76de841faaa57e2
3
+ metadata.gz: 38581e81a330a8b4ea6f0ce66f21e1315a5b56a6ba981d47e6dad7620ab01b03
4
+ data.tar.gz: af4e2a3db1277f1b1db1ad3c969cec98fe37eeefe4357872e1b3d501ff7653a8
5
5
  SHA512:
6
- metadata.gz: fe82adadef9d361fbdeb511492f867fddc33e8e951eaf03933f6575695fc066fb95cf85aeb85d9937ccc18cee1fffcb8218543af8c5e4b762687c3003113d2cf
7
- data.tar.gz: f71c7cc098824f5c97e8a22946ab71741036872631b529a5fa01e28a970b436f4b002e0321a925e8882f490298c2dc0eec2bfa115efc7cadac214711eca42955
6
+ metadata.gz: e8063a59932366d22266631028948ea9409f200f9a169c6086677c6a7c12446084cf4d2be74937da3e07e6161143431e956067fc3b31eb39df072bca45d2a695
7
+ data.tar.gz: 02bfcbdc992444d677c48b27357c67511767e98739440f3a03923a68ebeefaae497f781293cef011afa6921094039a3bbf719dfc4946033a154ed6e27ff4d1a3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.164.0 (2026-09-28)
5
+ ------------------
6
+
7
+ * Feature - Adding awsServiceName field to GuardDuty Findings
8
+
9
+ 1.163.0 (2026-09-17)
10
+ ------------------
11
+
12
+ * Feature - This change surfaces AI Protection resources on existing public IAM attack sequences. Customers will now see which model was accessed and whether a guardrail intervened as part of the credential-compromise sequence.
13
+
4
14
  1.162.0 (2026-09-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.162.0
1
+ 1.164.0
@@ -4455,6 +4455,7 @@ module Aws::GuardDuty
4455
4455
  # resp.findings[0].service.action.aws_api_call_action.service_name #=> String
4456
4456
  # resp.findings[0].service.action.aws_api_call_action.remote_account_details.account_id #=> String
4457
4457
  # resp.findings[0].service.action.aws_api_call_action.remote_account_details.affiliated #=> Boolean
4458
+ # resp.findings[0].service.action.aws_api_call_action.remote_account_details.aws_service_name #=> String
4458
4459
  # resp.findings[0].service.action.aws_api_call_action.affected_resources #=> Hash
4459
4460
  # resp.findings[0].service.action.aws_api_call_action.affected_resources["String"] #=> String
4460
4461
  # resp.findings[0].service.action.dns_request_action.domain #=> String
@@ -4725,7 +4726,7 @@ module Aws::GuardDuty
4725
4726
  # resp.findings[0].service.detection.sequence.resources[0].uid #=> String
4726
4727
  # resp.findings[0].service.detection.sequence.resources[0].name #=> String
4727
4728
  # resp.findings[0].service.detection.sequence.resources[0].account_id #=> String
4728
- # resp.findings[0].service.detection.sequence.resources[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_NETWORK_INTERFACE", "S3_BUCKET", "S3_OBJECT", "ACCESS_KEY", "EKS_CLUSTER", "KUBERNETES_WORKLOAD", "CONTAINER", "ECS_CLUSTER", "ECS_TASK", "AUTOSCALING_AUTO_SCALING_GROUP", "IAM_INSTANCE_PROFILE", "CLOUDFORMATION_STACK", "EC2_LAUNCH_TEMPLATE", "EC2_VPC", "EC2_IMAGE"
4729
+ # resp.findings[0].service.detection.sequence.resources[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_NETWORK_INTERFACE", "S3_BUCKET", "S3_OBJECT", "ACCESS_KEY", "EKS_CLUSTER", "KUBERNETES_WORKLOAD", "CONTAINER", "ECS_CLUSTER", "ECS_TASK", "AUTOSCALING_AUTO_SCALING_GROUP", "IAM_INSTANCE_PROFILE", "CLOUDFORMATION_STACK", "EC2_LAUNCH_TEMPLATE", "EC2_VPC", "EC2_IMAGE", "BEDROCK_CUSTOM_MODEL", "BEDROCK_IMPORTED_MODEL", "BEDROCK_PROVISIONED_MODEL", "BEDROCK_CUSTOM_MODEL_DEPLOYMENT", "BEDROCK_INFERENCE_PROFILE", "BEDROCK_APPLICATION_INFERENCE_PROFILE", "BEDROCK_PROMPT", "BEDROCK_PROMPT_ROUTER", "BEDROCK_GUARDRAIL", "SAGEMAKER_ENDPOINT"
4729
4730
  # resp.findings[0].service.detection.sequence.resources[0].region #=> String
4730
4731
  # resp.findings[0].service.detection.sequence.resources[0].service #=> String
4731
4732
  # resp.findings[0].service.detection.sequence.resources[0].cloud_partition #=> String
@@ -4812,6 +4813,9 @@ module Aws::GuardDuty
4812
4813
  # resp.findings[0].service.detection.sequence.resources[0].data.ec2_image.ec2_instance_uids[0] #=> String
4813
4814
  # resp.findings[0].service.detection.sequence.resources[0].data.cloudformation_stack.ec2_instance_uids #=> Array
4814
4815
  # resp.findings[0].service.detection.sequence.resources[0].data.cloudformation_stack.ec2_instance_uids[0] #=> String
4816
+ # resp.findings[0].service.detection.sequence.resources[0].data.bedrock_guardrail.version #=> String
4817
+ # resp.findings[0].service.detection.sequence.resources[0].data.bedrock_guardrail.guardrail_action #=> String, one of "GUARDRAIL_INTERVENED", "NONE"
4818
+ # resp.findings[0].service.detection.sequence.resources[0].data.bedrock_guardrail.guardrail_source #=> String, one of "INPUT", "OUTPUT"
4815
4819
  # resp.findings[0].service.detection.sequence.endpoints #=> Array
4816
4820
  # resp.findings[0].service.detection.sequence.endpoints[0].id #=> String
4817
4821
  # resp.findings[0].service.detection.sequence.endpoints[0].ip #=> String
@@ -9732,7 +9736,7 @@ module Aws::GuardDuty
9732
9736
  tracer: tracer
9733
9737
  )
9734
9738
  context[:gem_name] = 'aws-sdk-guardduty'
9735
- context[:gem_version] = '1.162.0'
9739
+ context[:gem_version] = '1.164.0'
9736
9740
  Seahorse::Client::Request.new(handlers, context)
9737
9741
  end
9738
9742
 
@@ -77,6 +77,8 @@ module Aws::GuardDuty
77
77
  BedrockGuardrailDetails = Shapes::StructureShape.new(name: 'BedrockGuardrailDetails')
78
78
  BedrockGuardrailDetailsGuardrailArnString = Shapes::StringShape.new(name: 'BedrockGuardrailDetailsGuardrailArnString')
79
79
  BedrockGuardrailDetailsGuardrailVersionString = Shapes::StringShape.new(name: 'BedrockGuardrailDetailsGuardrailVersionString')
80
+ BedrockGuardrailResource = Shapes::StructureShape.new(name: 'BedrockGuardrailResource')
81
+ BedrockGuardrailResourceVersionString = Shapes::StringShape.new(name: 'BedrockGuardrailResourceVersionString')
80
82
  BedrockGuardrailVersionString = Shapes::StringShape.new(name: 'BedrockGuardrailVersionString')
81
83
  BedrockGuardrails = Shapes::ListShape.new(name: 'BedrockGuardrails')
82
84
  Behavior = Shapes::MapShape.new(name: 'Behavior')
@@ -1001,6 +1003,11 @@ module Aws::GuardDuty
1001
1003
  BedrockGuardrailDetails.add_member(:content_policy_filters, Shapes::ShapeRef.new(shape: ContentPolicyFilters, location_name: "contentPolicyFilters"))
1002
1004
  BedrockGuardrailDetails.struct_class = Types::BedrockGuardrailDetails
1003
1005
 
1006
+ BedrockGuardrailResource.add_member(:version, Shapes::ShapeRef.new(shape: BedrockGuardrailResourceVersionString, location_name: "version"))
1007
+ BedrockGuardrailResource.add_member(:guardrail_action, Shapes::ShapeRef.new(shape: GuardrailAction, location_name: "guardrailAction"))
1008
+ BedrockGuardrailResource.add_member(:guardrail_source, Shapes::ShapeRef.new(shape: GuardrailSource, location_name: "guardrailSource"))
1009
+ BedrockGuardrailResource.struct_class = Types::BedrockGuardrailResource
1010
+
1004
1011
  BedrockGuardrails.member = Shapes::ShapeRef.new(shape: BedrockGuardrail)
1005
1012
 
1006
1013
  Behavior.key = Shapes::ShapeRef.new(shape: String)
@@ -2818,6 +2825,7 @@ module Aws::GuardDuty
2818
2825
 
2819
2826
  RemoteAccountDetails.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
2820
2827
  RemoteAccountDetails.add_member(:affiliated, Shapes::ShapeRef.new(shape: Boolean, location_name: "affiliated"))
2828
+ RemoteAccountDetails.add_member(:aws_service_name, Shapes::ShapeRef.new(shape: String, location_name: "awsServiceName"))
2821
2829
  RemoteAccountDetails.struct_class = Types::RemoteAccountDetails
2822
2830
 
2823
2831
  RemoteIpDetails.add_member(:city, Shapes::ShapeRef.new(shape: City, location_name: "city"))
@@ -2868,6 +2876,7 @@ module Aws::GuardDuty
2868
2876
  ResourceData.add_member(:ec2_vpc, Shapes::ShapeRef.new(shape: Ec2Vpc, location_name: "ec2Vpc"))
2869
2877
  ResourceData.add_member(:ec2_image, Shapes::ShapeRef.new(shape: Ec2Image, location_name: "ec2Image"))
2870
2878
  ResourceData.add_member(:cloudformation_stack, Shapes::ShapeRef.new(shape: CloudformationStack, location_name: "cloudformationStack"))
2879
+ ResourceData.add_member(:bedrock_guardrail, Shapes::ShapeRef.new(shape: BedrockGuardrailResource, location_name: "bedrockGuardrail"))
2871
2880
  ResourceData.struct_class = Types::ResourceData
2872
2881
 
2873
2882
  ResourceDetails.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "instanceArn"))
@@ -939,6 +939,34 @@ module Aws::GuardDuty
939
939
  include Aws::Structure
940
940
  end
941
941
 
942
+ # Contains details about an Amazon Bedrock guardrail evaluated during a
943
+ # model invocation.
944
+ #
945
+ # @!attribute [rw] version
946
+ # The version of the Amazon Bedrock guardrail. Valid values are a
947
+ # numeric version, `DRAFT`, or `ENFORCED`.
948
+ # @return [String]
949
+ #
950
+ # @!attribute [rw] guardrail_action
951
+ # Indicates whether the guardrail intervened during the model
952
+ # invocation.
953
+ # @return [String]
954
+ #
955
+ # @!attribute [rw] guardrail_source
956
+ # Indicates whether the guardrail was applied on the input or output
957
+ # of the model invocation.
958
+ # @return [String]
959
+ #
960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/BedrockGuardrailResource AWS API Documentation
961
+ #
962
+ class BedrockGuardrailResource < Struct.new(
963
+ :version,
964
+ :guardrail_action,
965
+ :guardrail_source)
966
+ SENSITIVE = []
967
+ include Aws::Structure
968
+ end
969
+
942
970
  # Contains information on how the bucker owner's S3 Block Public Access
943
971
  # settings are being applied to the S3 bucket. See [S3 Block Public
944
972
  # Access][1] for more information.
@@ -11234,11 +11262,17 @@ module Aws::GuardDuty
11234
11262
  # it is `False` the API caller is from outside your environment.
11235
11263
  # @return [Boolean]
11236
11264
  #
11265
+ # @!attribute [rw] aws_service_name
11266
+ # If the remote account belongs to an Amazon Web Services service,
11267
+ # this field indicates which service the remote account belongs to.
11268
+ # @return [String]
11269
+ #
11237
11270
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RemoteAccountDetails AWS API Documentation
11238
11271
  #
11239
11272
  class RemoteAccountDetails < Struct.new(
11240
11273
  :account_id,
11241
- :affiliated)
11274
+ :affiliated,
11275
+ :aws_service_name)
11242
11276
  SENSITIVE = []
11243
11277
  include Aws::Structure
11244
11278
  end
@@ -11497,6 +11531,12 @@ module Aws::GuardDuty
11497
11531
  # finding.
11498
11532
  # @return [Types::CloudformationStack]
11499
11533
  #
11534
+ # @!attribute [rw] bedrock_guardrail
11535
+ # Contains detailed information about the Amazon Bedrock guardrail
11536
+ # associated with the activity that prompted GuardDuty to generate a
11537
+ # finding.
11538
+ # @return [Types::BedrockGuardrailResource]
11539
+ #
11500
11540
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ResourceData AWS API Documentation
11501
11541
  #
11502
11542
  class ResourceData < Struct.new(
@@ -11515,7 +11555,8 @@ module Aws::GuardDuty
11515
11555
  :ec2_launch_template,
11516
11556
  :ec2_vpc,
11517
11557
  :ec2_image,
11518
- :cloudformation_stack)
11558
+ :cloudformation_stack,
11559
+ :bedrock_guardrail)
11519
11560
  SENSITIVE = []
11520
11561
  include Aws::Structure
11521
11562
  end
@@ -54,7 +54,7 @@ module Aws::GuardDuty
54
54
  autoload :EndpointProvider, 'aws-sdk-guardduty/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-guardduty/endpoints'
56
56
 
57
- GEM_VERSION = '1.162.0'
57
+ GEM_VERSION = '1.164.0'
58
58
 
59
59
  end
60
60
 
data/sig/types.rbs CHANGED
@@ -256,6 +256,13 @@ module Aws::GuardDuty
256
256
  SENSITIVE: []
257
257
  end
258
258
 
259
+ class BedrockGuardrailResource
260
+ attr_accessor version: ::String
261
+ attr_accessor guardrail_action: ("GUARDRAIL_INTERVENED" | "NONE")
262
+ attr_accessor guardrail_source: ("INPUT" | "OUTPUT")
263
+ SENSITIVE: []
264
+ end
265
+
259
266
  class BlockPublicAccess
260
267
  attr_accessor ignore_public_acls: bool
261
268
  attr_accessor restrict_public_buckets: bool
@@ -2539,6 +2546,7 @@ module Aws::GuardDuty
2539
2546
  class RemoteAccountDetails
2540
2547
  attr_accessor account_id: ::String
2541
2548
  attr_accessor affiliated: bool
2549
+ attr_accessor aws_service_name: ::String
2542
2550
  SENSITIVE: []
2543
2551
  end
2544
2552
 
@@ -2597,6 +2605,7 @@ module Aws::GuardDuty
2597
2605
  attr_accessor ec2_vpc: Types::Ec2Vpc
2598
2606
  attr_accessor ec2_image: Types::Ec2Image
2599
2607
  attr_accessor cloudformation_stack: Types::CloudformationStack
2608
+ attr_accessor bedrock_guardrail: Types::BedrockGuardrailResource
2600
2609
  SENSITIVE: []
2601
2610
  end
2602
2611
 
@@ -2624,7 +2633,7 @@ module Aws::GuardDuty
2624
2633
  attr_accessor uid: ::String
2625
2634
  attr_accessor name: ::String
2626
2635
  attr_accessor account_id: ::String
2627
- attr_accessor resource_type: ("EC2_INSTANCE" | "EC2_NETWORK_INTERFACE" | "S3_BUCKET" | "S3_OBJECT" | "ACCESS_KEY" | "EKS_CLUSTER" | "KUBERNETES_WORKLOAD" | "CONTAINER" | "ECS_CLUSTER" | "ECS_TASK" | "AUTOSCALING_AUTO_SCALING_GROUP" | "IAM_INSTANCE_PROFILE" | "CLOUDFORMATION_STACK" | "EC2_LAUNCH_TEMPLATE" | "EC2_VPC" | "EC2_IMAGE")
2636
+ attr_accessor resource_type: ("EC2_INSTANCE" | "EC2_NETWORK_INTERFACE" | "S3_BUCKET" | "S3_OBJECT" | "ACCESS_KEY" | "EKS_CLUSTER" | "KUBERNETES_WORKLOAD" | "CONTAINER" | "ECS_CLUSTER" | "ECS_TASK" | "AUTOSCALING_AUTO_SCALING_GROUP" | "IAM_INSTANCE_PROFILE" | "CLOUDFORMATION_STACK" | "EC2_LAUNCH_TEMPLATE" | "EC2_VPC" | "EC2_IMAGE" | "BEDROCK_CUSTOM_MODEL" | "BEDROCK_IMPORTED_MODEL" | "BEDROCK_PROVISIONED_MODEL" | "BEDROCK_CUSTOM_MODEL_DEPLOYMENT" | "BEDROCK_INFERENCE_PROFILE" | "BEDROCK_APPLICATION_INFERENCE_PROFILE" | "BEDROCK_PROMPT" | "BEDROCK_PROMPT_ROUTER" | "BEDROCK_GUARDRAIL" | "SAGEMAKER_ENDPOINT")
2628
2637
  attr_accessor region: ::String
2629
2638
  attr_accessor service: ::String
2630
2639
  attr_accessor cloud_partition: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-guardduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.162.0
4
+ version: 1.164.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services