aws-sdk-guardduty 1.166.0 → 1.168.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +10 -3
- data/lib/aws-sdk-guardduty/client_api.rb +26 -0
- data/lib/aws-sdk-guardduty/types.rb +138 -2
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/errors.rbs +5 -5
- data/sig/types.rbs +32 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fc789bd70c1c224f66723b6fb055b16df2b5f89532f0d17df1dbe4f73ac8e1c
|
|
4
|
+
data.tar.gz: 3faeb5b6a9cf58b826e05774797067e7c733b9cf95eca103db839b0a2857846a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1de4b48b0861710e6f2b969e5395d26133fb4e6c81daf8e8fc9a3c4f298723945710bc2d7be81ca5863b43e860c5be80b2f36bb20df21ab1ea3411e9cf0b8bb2
|
|
7
|
+
data.tar.gz: 9de7481b24bf4c4b219b24e45e652c202c293a36758dc282f21eafca1b31bec6ae1589cf5a289f71a4f6db0833a836b79e7af559c790c684f72cd06dfe687bd7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.168.0 (2026-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adding a new Expected Bucket Owner optional field for GuardDuty publishing destination APIs
|
|
8
|
+
|
|
9
|
+
1.167.0 (2026-10-14)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Releasing support for Custom Detection Rule Runtime Monitoring
|
|
13
|
+
|
|
4
14
|
1.166.0 (2026-10-08)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.168.0
|
|
@@ -2593,6 +2593,7 @@ module Aws::GuardDuty
|
|
|
2593
2593
|
# destination_properties: { # required
|
|
2594
2594
|
# destination_arn: "String",
|
|
2595
2595
|
# kms_key_arn: "String",
|
|
2596
|
+
# expected_bucket_owner: "AccountId",
|
|
2596
2597
|
# },
|
|
2597
2598
|
# client_token: "ClientToken",
|
|
2598
2599
|
# tags: {
|
|
@@ -3570,6 +3571,7 @@ module Aws::GuardDuty
|
|
|
3570
3571
|
# resp.publishing_failure_start_timestamp #=> Integer
|
|
3571
3572
|
# resp.destination_properties.destination_arn #=> String
|
|
3572
3573
|
# resp.destination_properties.kms_key_arn #=> String
|
|
3574
|
+
# resp.destination_properties.expected_bucket_owner #=> String
|
|
3573
3575
|
# resp.tags #=> Hash
|
|
3574
3576
|
# resp.tags["TagKey"] #=> String
|
|
3575
3577
|
#
|
|
@@ -3910,13 +3912,16 @@ module Aws::GuardDuty
|
|
|
3910
3912
|
# resp.rule.name #=> String
|
|
3911
3913
|
# resp.rule.description #=> String
|
|
3912
3914
|
# resp.rule.severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
|
|
3913
|
-
# resp.rule.data_source #=> String, one of "CloudTrailManagementEvent"
|
|
3915
|
+
# resp.rule.data_source #=> String, one of "CloudTrailManagementEvent", "RuntimeMonitoring"
|
|
3914
3916
|
# resp.rule.tactic #=> String
|
|
3915
3917
|
# resp.rule.technique #=> String
|
|
3916
3918
|
# resp.rule.service #=> String
|
|
3917
3919
|
# resp.rule.definition.expression #=> String
|
|
3918
3920
|
# resp.rule.language #=> String, one of "SQL"
|
|
3919
3921
|
# resp.rule.schema #=> String, one of "CloudTrail"
|
|
3922
|
+
# resp.rule.runtime_monitoring_details.platforms.eks.min_agent_version #=> String
|
|
3923
|
+
# resp.rule.runtime_monitoring_details.platforms.ec2.min_agent_version #=> String
|
|
3924
|
+
# resp.rule.runtime_monitoring_details.platforms.ecs_fargate.min_agent_version #=> String
|
|
3920
3925
|
# resp.rule.created_at #=> Time
|
|
3921
3926
|
# resp.rule.updated_at #=> Time
|
|
3922
3927
|
#
|
|
@@ -4890,6 +4895,7 @@ module Aws::GuardDuty
|
|
|
4890
4895
|
# resp.findings[0].type #=> String
|
|
4891
4896
|
# resp.findings[0].updated_at #=> String
|
|
4892
4897
|
# resp.findings[0].associated_attack_sequence_arn #=> String
|
|
4898
|
+
# resp.findings[0].custom_detection_rule_name #=> String
|
|
4893
4899
|
#
|
|
4894
4900
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings AWS API Documentation
|
|
4895
4901
|
#
|
|
@@ -6236,7 +6242,7 @@ module Aws::GuardDuty
|
|
|
6236
6242
|
# resp.rules[0].name #=> String
|
|
6237
6243
|
# resp.rules[0].description #=> String
|
|
6238
6244
|
# resp.rules[0].severity #=> String, one of "CRITICAL", "HIGH", "MEDIUM", "LOW"
|
|
6239
|
-
# resp.rules[0].data_source #=> String, one of "CloudTrailManagementEvent"
|
|
6245
|
+
# resp.rules[0].data_source #=> String, one of "CloudTrailManagementEvent", "RuntimeMonitoring"
|
|
6240
6246
|
# resp.rules[0].tactic #=> String
|
|
6241
6247
|
# resp.rules[0].technique #=> String
|
|
6242
6248
|
# resp.rules[0].service #=> String
|
|
@@ -9538,6 +9544,7 @@ module Aws::GuardDuty
|
|
|
9538
9544
|
# destination_properties: {
|
|
9539
9545
|
# destination_arn: "String",
|
|
9540
9546
|
# kms_key_arn: "String",
|
|
9547
|
+
# expected_bucket_owner: "AccountId",
|
|
9541
9548
|
# },
|
|
9542
9549
|
# })
|
|
9543
9550
|
#
|
|
@@ -9740,7 +9747,7 @@ module Aws::GuardDuty
|
|
|
9740
9747
|
tracer: tracer
|
|
9741
9748
|
)
|
|
9742
9749
|
context[:gem_name] = 'aws-sdk-guardduty'
|
|
9743
|
-
context[:gem_version] = '1.
|
|
9750
|
+
context[:gem_version] = '1.168.0'
|
|
9744
9751
|
Seahorse::Client::Request.new(handlers, context)
|
|
9745
9752
|
end
|
|
9746
9753
|
|
|
@@ -207,10 +207,14 @@ module Aws::GuardDuty
|
|
|
207
207
|
Destinations = Shapes::ListShape.new(name: 'Destinations')
|
|
208
208
|
Detection = Shapes::StructureShape.new(name: 'Detection')
|
|
209
209
|
DetectionRuleAccountIds = Shapes::ListShape.new(name: 'DetectionRuleAccountIds')
|
|
210
|
+
DetectionRuleAgentVersion = Shapes::StringShape.new(name: 'DetectionRuleAgentVersion')
|
|
210
211
|
DetectionRuleArn = Shapes::StringShape.new(name: 'DetectionRuleArn')
|
|
211
212
|
DetectionRuleConfigurationStatus = Shapes::StringShape.new(name: 'DetectionRuleConfigurationStatus')
|
|
212
213
|
DetectionRuleDataSource = Shapes::StringShape.new(name: 'DetectionRuleDataSource')
|
|
213
214
|
DetectionRuleDescription = Shapes::StringShape.new(name: 'DetectionRuleDescription')
|
|
215
|
+
DetectionRuleEc2Requirements = Shapes::StructureShape.new(name: 'DetectionRuleEc2Requirements')
|
|
216
|
+
DetectionRuleEcsFargateRequirements = Shapes::StructureShape.new(name: 'DetectionRuleEcsFargateRequirements')
|
|
217
|
+
DetectionRuleEksRequirements = Shapes::StructureShape.new(name: 'DetectionRuleEksRequirements')
|
|
214
218
|
DetectionRuleFilter = Shapes::StructureShape.new(name: 'DetectionRuleFilter')
|
|
215
219
|
DetectionRuleFilterCondition = Shapes::StringShape.new(name: 'DetectionRuleFilterCondition')
|
|
216
220
|
DetectionRuleFilterList = Shapes::ListShape.new(name: 'DetectionRuleFilterList')
|
|
@@ -220,6 +224,8 @@ module Aws::GuardDuty
|
|
|
220
224
|
DetectionRuleOrgConfiguration = Shapes::StructureShape.new(name: 'DetectionRuleOrgConfiguration')
|
|
221
225
|
DetectionRuleOrgConfigurationSummary = Shapes::StructureShape.new(name: 'DetectionRuleOrgConfigurationSummary')
|
|
222
226
|
DetectionRuleOrgConfigurationSummaryList = Shapes::ListShape.new(name: 'DetectionRuleOrgConfigurationSummaryList')
|
|
227
|
+
DetectionRuleRuntimeMonitoringDetails = Shapes::StructureShape.new(name: 'DetectionRuleRuntimeMonitoringDetails')
|
|
228
|
+
DetectionRuleRuntimePlatforms = Shapes::StructureShape.new(name: 'DetectionRuleRuntimePlatforms')
|
|
223
229
|
DetectionRuleServiceName = Shapes::StringShape.new(name: 'DetectionRuleServiceName')
|
|
224
230
|
DetectionRuleSeverity = Shapes::StringShape.new(name: 'DetectionRuleSeverity')
|
|
225
231
|
DetectionSource = Shapes::StringShape.new(name: 'DetectionSource')
|
|
@@ -1470,6 +1476,7 @@ module Aws::GuardDuty
|
|
|
1470
1476
|
|
|
1471
1477
|
DestinationProperties.add_member(:destination_arn, Shapes::ShapeRef.new(shape: String, location_name: "destinationArn"))
|
|
1472
1478
|
DestinationProperties.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
|
|
1479
|
+
DestinationProperties.add_member(:expected_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "expectedBucketOwner"))
|
|
1473
1480
|
DestinationProperties.struct_class = Types::DestinationProperties
|
|
1474
1481
|
|
|
1475
1482
|
Destinations.member = Shapes::ShapeRef.new(shape: Destination)
|
|
@@ -1480,6 +1487,15 @@ module Aws::GuardDuty
|
|
|
1480
1487
|
|
|
1481
1488
|
DetectionRuleAccountIds.member = Shapes::ShapeRef.new(shape: AccountId)
|
|
1482
1489
|
|
|
1490
|
+
DetectionRuleEc2Requirements.add_member(:min_agent_version, Shapes::ShapeRef.new(shape: DetectionRuleAgentVersion, location_name: "minAgentVersion"))
|
|
1491
|
+
DetectionRuleEc2Requirements.struct_class = Types::DetectionRuleEc2Requirements
|
|
1492
|
+
|
|
1493
|
+
DetectionRuleEcsFargateRequirements.add_member(:min_agent_version, Shapes::ShapeRef.new(shape: DetectionRuleAgentVersion, location_name: "minAgentVersion"))
|
|
1494
|
+
DetectionRuleEcsFargateRequirements.struct_class = Types::DetectionRuleEcsFargateRequirements
|
|
1495
|
+
|
|
1496
|
+
DetectionRuleEksRequirements.add_member(:min_agent_version, Shapes::ShapeRef.new(shape: DetectionRuleAgentVersion, location_name: "minAgentVersion"))
|
|
1497
|
+
DetectionRuleEksRequirements.struct_class = Types::DetectionRuleEksRequirements
|
|
1498
|
+
|
|
1483
1499
|
DetectionRuleFilter.add_member(:name, Shapes::ShapeRef.new(shape: FilterFieldName, required: true, location_name: "name"))
|
|
1484
1500
|
DetectionRuleFilter.add_member(:values, Shapes::ShapeRef.new(shape: DetectionRuleFilterValues, required: true, location_name: "values"))
|
|
1485
1501
|
DetectionRuleFilter.add_member(:condition, Shapes::ShapeRef.new(shape: DetectionRuleFilterCondition, location_name: "condition"))
|
|
@@ -1511,6 +1527,14 @@ module Aws::GuardDuty
|
|
|
1511
1527
|
|
|
1512
1528
|
DetectionRuleOrgConfigurationSummaryList.member = Shapes::ShapeRef.new(shape: DetectionRuleOrgConfigurationSummary)
|
|
1513
1529
|
|
|
1530
|
+
DetectionRuleRuntimeMonitoringDetails.add_member(:platforms, Shapes::ShapeRef.new(shape: DetectionRuleRuntimePlatforms, location_name: "platforms"))
|
|
1531
|
+
DetectionRuleRuntimeMonitoringDetails.struct_class = Types::DetectionRuleRuntimeMonitoringDetails
|
|
1532
|
+
|
|
1533
|
+
DetectionRuleRuntimePlatforms.add_member(:eks, Shapes::ShapeRef.new(shape: DetectionRuleEksRequirements, location_name: "eks"))
|
|
1534
|
+
DetectionRuleRuntimePlatforms.add_member(:ec2, Shapes::ShapeRef.new(shape: DetectionRuleEc2Requirements, location_name: "ec2"))
|
|
1535
|
+
DetectionRuleRuntimePlatforms.add_member(:ecs_fargate, Shapes::ShapeRef.new(shape: DetectionRuleEcsFargateRequirements, location_name: "ecsFargate"))
|
|
1536
|
+
DetectionRuleRuntimePlatforms.struct_class = Types::DetectionRuleRuntimePlatforms
|
|
1537
|
+
|
|
1514
1538
|
DetectorAdditionalConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: FeatureAdditionalConfiguration, location_name: "name"))
|
|
1515
1539
|
DetectorAdditionalConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "status"))
|
|
1516
1540
|
DetectorAdditionalConfiguration.struct_class = Types::DetectorAdditionalConfiguration
|
|
@@ -1734,6 +1758,7 @@ module Aws::GuardDuty
|
|
|
1734
1758
|
Finding.add_member(:type, Shapes::ShapeRef.new(shape: FindingType, required: true, location_name: "type"))
|
|
1735
1759
|
Finding.add_member(:updated_at, Shapes::ShapeRef.new(shape: String, required: true, location_name: "updatedAt"))
|
|
1736
1760
|
Finding.add_member(:associated_attack_sequence_arn, Shapes::ShapeRef.new(shape: String, location_name: "associatedAttackSequenceArn"))
|
|
1761
|
+
Finding.add_member(:custom_detection_rule_name, Shapes::ShapeRef.new(shape: String, location_name: "customDetectionRuleName"))
|
|
1737
1762
|
Finding.struct_class = Types::Finding
|
|
1738
1763
|
|
|
1739
1764
|
FindingCriteria.add_member(:criterion, Shapes::ShapeRef.new(shape: Criterion, location_name: "criterion"))
|
|
@@ -2930,6 +2955,7 @@ module Aws::GuardDuty
|
|
|
2930
2955
|
RuleDetail.add_member(:definition, Shapes::ShapeRef.new(shape: RuleDefinition, required: true, location_name: "definition"))
|
|
2931
2956
|
RuleDetail.add_member(:language, Shapes::ShapeRef.new(shape: RuleLanguage, location_name: "language"))
|
|
2932
2957
|
RuleDetail.add_member(:schema, Shapes::ShapeRef.new(shape: RuleSchema, location_name: "schema"))
|
|
2958
|
+
RuleDetail.add_member(:runtime_monitoring_details, Shapes::ShapeRef.new(shape: DetectionRuleRuntimeMonitoringDetails, location_name: "runtimeMonitoringDetails"))
|
|
2933
2959
|
RuleDetail.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
|
2934
2960
|
RuleDetail.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
|
2935
2961
|
RuleDetail.struct_class = Types::RuleDetail
|
|
@@ -4709,11 +4709,40 @@ module Aws::GuardDuty
|
|
|
4709
4709
|
# The ARN of the KMS key to use for encryption.
|
|
4710
4710
|
# @return [String]
|
|
4711
4711
|
#
|
|
4712
|
+
# @!attribute [rw] expected_bucket_owner
|
|
4713
|
+
# The 12-digit Amazon Web Services account ID of the account that owns
|
|
4714
|
+
# the Amazon S3 bucket specified in the `DestinationArn` parameter.
|
|
4715
|
+
#
|
|
4716
|
+
# When you provide this value, GuardDuty verifies that the specified
|
|
4717
|
+
# account owns the bucket before it exports findings. If the account
|
|
4718
|
+
# ID doesn't match the actual owner of the bucket, GuardDuty doesn't
|
|
4719
|
+
# export findings to that bucket. This helps prevent GuardDuty from
|
|
4720
|
+
# exporting your findings to a bucket that a different Amazon Web
|
|
4721
|
+
# Services account owns (for example, if the original bucket was
|
|
4722
|
+
# deleted and its name was later claimed by another account). If you
|
|
4723
|
+
# don't specify this value, GuardDuty doesn't perform this
|
|
4724
|
+
# verification. GuardDuty strongly recommends that you provide the
|
|
4725
|
+
# expected bucket owner when possible.
|
|
4726
|
+
#
|
|
4727
|
+
# When you update a publishing destination, omitting this field leaves
|
|
4728
|
+
# the currently stored value unchanged. This field appears in the
|
|
4729
|
+
# response only if it was provided when the publishing destination was
|
|
4730
|
+
# created or updated.
|
|
4731
|
+
#
|
|
4732
|
+
# For more information, see [Verifying the Amazon S3 bucket owner][1]
|
|
4733
|
+
# in the *Amazon GuardDuty User Guide*.
|
|
4734
|
+
#
|
|
4735
|
+
#
|
|
4736
|
+
#
|
|
4737
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_exportfindings.html#guardduty-exportfindings-expected-bucket-owner
|
|
4738
|
+
# @return [String]
|
|
4739
|
+
#
|
|
4712
4740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DestinationProperties AWS API Documentation
|
|
4713
4741
|
#
|
|
4714
4742
|
class DestinationProperties < Struct.new(
|
|
4715
4743
|
:destination_arn,
|
|
4716
|
-
:kms_key_arn
|
|
4744
|
+
:kms_key_arn,
|
|
4745
|
+
:expected_bucket_owner)
|
|
4717
4746
|
SENSITIVE = []
|
|
4718
4747
|
include Aws::Structure
|
|
4719
4748
|
end
|
|
@@ -4738,6 +4767,54 @@ module Aws::GuardDuty
|
|
|
4738
4767
|
include Aws::Structure
|
|
4739
4768
|
end
|
|
4740
4769
|
|
|
4770
|
+
# The requirements for running a Runtime Monitoring custom detection
|
|
4771
|
+
# rule on Amazon EC2.
|
|
4772
|
+
#
|
|
4773
|
+
# @!attribute [rw] min_agent_version
|
|
4774
|
+
# The minimum GuardDuty agent version required to run the rule on
|
|
4775
|
+
# Amazon EC2.
|
|
4776
|
+
# @return [String]
|
|
4777
|
+
#
|
|
4778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectionRuleEc2Requirements AWS API Documentation
|
|
4779
|
+
#
|
|
4780
|
+
class DetectionRuleEc2Requirements < Struct.new(
|
|
4781
|
+
:min_agent_version)
|
|
4782
|
+
SENSITIVE = []
|
|
4783
|
+
include Aws::Structure
|
|
4784
|
+
end
|
|
4785
|
+
|
|
4786
|
+
# The requirements for running a Runtime Monitoring custom detection
|
|
4787
|
+
# rule on Amazon ECS with the Fargate launch type.
|
|
4788
|
+
#
|
|
4789
|
+
# @!attribute [rw] min_agent_version
|
|
4790
|
+
# The minimum GuardDuty agent version required to run the rule on
|
|
4791
|
+
# Amazon ECS with the Fargate launch type.
|
|
4792
|
+
# @return [String]
|
|
4793
|
+
#
|
|
4794
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectionRuleEcsFargateRequirements AWS API Documentation
|
|
4795
|
+
#
|
|
4796
|
+
class DetectionRuleEcsFargateRequirements < Struct.new(
|
|
4797
|
+
:min_agent_version)
|
|
4798
|
+
SENSITIVE = []
|
|
4799
|
+
include Aws::Structure
|
|
4800
|
+
end
|
|
4801
|
+
|
|
4802
|
+
# The requirements for running a Runtime Monitoring custom detection
|
|
4803
|
+
# rule on Amazon EKS.
|
|
4804
|
+
#
|
|
4805
|
+
# @!attribute [rw] min_agent_version
|
|
4806
|
+
# The minimum GuardDuty agent version required to run the rule on
|
|
4807
|
+
# Amazon EKS.
|
|
4808
|
+
# @return [String]
|
|
4809
|
+
#
|
|
4810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectionRuleEksRequirements AWS API Documentation
|
|
4811
|
+
#
|
|
4812
|
+
class DetectionRuleEksRequirements < Struct.new(
|
|
4813
|
+
:min_agent_version)
|
|
4814
|
+
SENSITIVE = []
|
|
4815
|
+
include Aws::Structure
|
|
4816
|
+
end
|
|
4817
|
+
|
|
4741
4818
|
# Contains filter criteria for listing custom detection rules or
|
|
4742
4819
|
# associations.
|
|
4743
4820
|
#
|
|
@@ -4868,6 +4945,53 @@ module Aws::GuardDuty
|
|
|
4868
4945
|
include Aws::Structure
|
|
4869
4946
|
end
|
|
4870
4947
|
|
|
4948
|
+
# Contains Runtime Monitoring-specific details for a custom detection
|
|
4949
|
+
# rule.
|
|
4950
|
+
#
|
|
4951
|
+
# @!attribute [rw] platforms
|
|
4952
|
+
# The platforms on which the rule can run. The presence of a platform
|
|
4953
|
+
# member indicates that the rule is supported on that platform; the
|
|
4954
|
+
# absence of a member indicates that the rule cannot run on that
|
|
4955
|
+
# platform at any agent version.
|
|
4956
|
+
# @return [Types::DetectionRuleRuntimePlatforms]
|
|
4957
|
+
#
|
|
4958
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectionRuleRuntimeMonitoringDetails AWS API Documentation
|
|
4959
|
+
#
|
|
4960
|
+
class DetectionRuleRuntimeMonitoringDetails < Struct.new(
|
|
4961
|
+
:platforms)
|
|
4962
|
+
SENSITIVE = []
|
|
4963
|
+
include Aws::Structure
|
|
4964
|
+
end
|
|
4965
|
+
|
|
4966
|
+
# The platforms on which a Runtime Monitoring custom detection rule can
|
|
4967
|
+
# run. A member's presence is the support statement: when present, the
|
|
4968
|
+
# rule runs on that platform and `minAgentVersion` is the minimum
|
|
4969
|
+
# GuardDuty agent version required there. When absent, the rule cannot
|
|
4970
|
+
# run on that platform at any agent version.
|
|
4971
|
+
#
|
|
4972
|
+
# @!attribute [rw] eks
|
|
4973
|
+
# The requirements for running the rule on Amazon EKS.
|
|
4974
|
+
# @return [Types::DetectionRuleEksRequirements]
|
|
4975
|
+
#
|
|
4976
|
+
# @!attribute [rw] ec2
|
|
4977
|
+
# The requirements for running the rule on Amazon EC2.
|
|
4978
|
+
# @return [Types::DetectionRuleEc2Requirements]
|
|
4979
|
+
#
|
|
4980
|
+
# @!attribute [rw] ecs_fargate
|
|
4981
|
+
# The requirements for running the rule on Amazon ECS with the Fargate
|
|
4982
|
+
# launch type.
|
|
4983
|
+
# @return [Types::DetectionRuleEcsFargateRequirements]
|
|
4984
|
+
#
|
|
4985
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectionRuleRuntimePlatforms AWS API Documentation
|
|
4986
|
+
#
|
|
4987
|
+
class DetectionRuleRuntimePlatforms < Struct.new(
|
|
4988
|
+
:eks,
|
|
4989
|
+
:ec2,
|
|
4990
|
+
:ecs_fargate)
|
|
4991
|
+
SENSITIVE = []
|
|
4992
|
+
include Aws::Structure
|
|
4993
|
+
end
|
|
4994
|
+
|
|
4871
4995
|
# Information about the additional configuration for a feature in your
|
|
4872
4996
|
# GuardDuty account.
|
|
4873
4997
|
#
|
|
@@ -5888,6 +6012,10 @@ module Aws::GuardDuty
|
|
|
5888
6012
|
# finding.
|
|
5889
6013
|
# @return [String]
|
|
5890
6014
|
#
|
|
6015
|
+
# @!attribute [rw] custom_detection_rule_name
|
|
6016
|
+
# The name of the custom detection rule that generated this finding.
|
|
6017
|
+
# @return [String]
|
|
6018
|
+
#
|
|
5891
6019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Finding AWS API Documentation
|
|
5892
6020
|
#
|
|
5893
6021
|
class Finding < Struct.new(
|
|
@@ -5906,7 +6034,8 @@ module Aws::GuardDuty
|
|
|
5906
6034
|
:title,
|
|
5907
6035
|
:type,
|
|
5908
6036
|
:updated_at,
|
|
5909
|
-
:associated_attack_sequence_arn
|
|
6037
|
+
:associated_attack_sequence_arn,
|
|
6038
|
+
:custom_detection_rule_name)
|
|
5910
6039
|
SENSITIVE = []
|
|
5911
6040
|
include Aws::Structure
|
|
5912
6041
|
end
|
|
@@ -11804,6 +11933,12 @@ module Aws::GuardDuty
|
|
|
11804
11933
|
# The schema version used by the rule definition.
|
|
11805
11934
|
# @return [String]
|
|
11806
11935
|
#
|
|
11936
|
+
# @!attribute [rw] runtime_monitoring_details
|
|
11937
|
+
# Runtime Monitoring-specific details for the rule, including the
|
|
11938
|
+
# platforms on which the rule can run and the minimum GuardDuty agent
|
|
11939
|
+
# version required on each.
|
|
11940
|
+
# @return [Types::DetectionRuleRuntimeMonitoringDetails]
|
|
11941
|
+
#
|
|
11807
11942
|
# @!attribute [rw] created_at
|
|
11808
11943
|
# The timestamp when the rule was created.
|
|
11809
11944
|
# @return [Time]
|
|
@@ -11827,6 +11962,7 @@ module Aws::GuardDuty
|
|
|
11827
11962
|
:definition,
|
|
11828
11963
|
:language,
|
|
11829
11964
|
:schema,
|
|
11965
|
+
:runtime_monitoring_details,
|
|
11830
11966
|
:created_at,
|
|
11831
11967
|
:updated_at)
|
|
11832
11968
|
SENSITIVE = []
|
data/lib/aws-sdk-guardduty.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -249,7 +249,8 @@ module Aws
|
|
|
249
249
|
destination_type: ("S3"),
|
|
250
250
|
destination_properties: {
|
|
251
251
|
destination_arn: ::String?,
|
|
252
|
-
kms_key_arn: ::String
|
|
252
|
+
kms_key_arn: ::String?,
|
|
253
|
+
expected_bucket_owner: ::String?
|
|
253
254
|
},
|
|
254
255
|
?client_token: ::String,
|
|
255
256
|
?tags: Hash[::String, ::String]
|
|
@@ -1468,7 +1469,8 @@ module Aws
|
|
|
1468
1469
|
destination_id: ::String,
|
|
1469
1470
|
?destination_properties: {
|
|
1470
1471
|
destination_arn: ::String?,
|
|
1471
|
-
kms_key_arn: ::String
|
|
1472
|
+
kms_key_arn: ::String?,
|
|
1473
|
+
expected_bucket_owner: ::String?
|
|
1472
1474
|
}
|
|
1473
1475
|
) -> _UpdatePublishingDestinationResponseSuccess
|
|
1474
1476
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePublishingDestinationResponseSuccess
|
data/sig/errors.rbs
CHANGED
|
@@ -11,23 +11,23 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class AccessDeniedException <
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
def type: () -> ::String
|
|
17
17
|
end
|
|
18
|
-
class BadRequestException <
|
|
18
|
+
class BadRequestException < ServiceError
|
|
19
19
|
def message: () -> ::String
|
|
20
20
|
def type: () -> ::String
|
|
21
21
|
end
|
|
22
|
-
class ConflictException <
|
|
22
|
+
class ConflictException < ServiceError
|
|
23
23
|
def message: () -> ::String
|
|
24
24
|
def type: () -> ::String
|
|
25
25
|
end
|
|
26
|
-
class InternalServerErrorException <
|
|
26
|
+
class InternalServerErrorException < ServiceError
|
|
27
27
|
def message: () -> ::String
|
|
28
28
|
def type: () -> ::String
|
|
29
29
|
end
|
|
30
|
-
class ResourceNotFoundException <
|
|
30
|
+
class ResourceNotFoundException < ServiceError
|
|
31
31
|
def message: () -> ::String
|
|
32
32
|
def type: () -> ::String
|
|
33
33
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -867,6 +867,7 @@ module Aws::GuardDuty
|
|
|
867
867
|
class DestinationProperties
|
|
868
868
|
attr_accessor destination_arn: ::String
|
|
869
869
|
attr_accessor kms_key_arn: ::String
|
|
870
|
+
attr_accessor expected_bucket_owner: ::String
|
|
870
871
|
SENSITIVE: []
|
|
871
872
|
end
|
|
872
873
|
|
|
@@ -876,6 +877,21 @@ module Aws::GuardDuty
|
|
|
876
877
|
SENSITIVE: []
|
|
877
878
|
end
|
|
878
879
|
|
|
880
|
+
class DetectionRuleEc2Requirements
|
|
881
|
+
attr_accessor min_agent_version: ::String
|
|
882
|
+
SENSITIVE: []
|
|
883
|
+
end
|
|
884
|
+
|
|
885
|
+
class DetectionRuleEcsFargateRequirements
|
|
886
|
+
attr_accessor min_agent_version: ::String
|
|
887
|
+
SENSITIVE: []
|
|
888
|
+
end
|
|
889
|
+
|
|
890
|
+
class DetectionRuleEksRequirements
|
|
891
|
+
attr_accessor min_agent_version: ::String
|
|
892
|
+
SENSITIVE: []
|
|
893
|
+
end
|
|
894
|
+
|
|
879
895
|
class DetectionRuleFilter
|
|
880
896
|
attr_accessor name: ("name" | "description" | "dataSource" | "severity" | "tactic" | "technique" | "service")
|
|
881
897
|
attr_accessor values: ::Array[::String]
|
|
@@ -907,6 +923,18 @@ module Aws::GuardDuty
|
|
|
907
923
|
SENSITIVE: []
|
|
908
924
|
end
|
|
909
925
|
|
|
926
|
+
class DetectionRuleRuntimeMonitoringDetails
|
|
927
|
+
attr_accessor platforms: Types::DetectionRuleRuntimePlatforms
|
|
928
|
+
SENSITIVE: []
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
class DetectionRuleRuntimePlatforms
|
|
932
|
+
attr_accessor eks: Types::DetectionRuleEksRequirements
|
|
933
|
+
attr_accessor ec2: Types::DetectionRuleEc2Requirements
|
|
934
|
+
attr_accessor ecs_fargate: Types::DetectionRuleEcsFargateRequirements
|
|
935
|
+
SENSITIVE: []
|
|
936
|
+
end
|
|
937
|
+
|
|
910
938
|
class DetectorAdditionalConfiguration
|
|
911
939
|
attr_accessor name: ("EKS_ADDON_MANAGEMENT" | "ECS_FARGATE_AGENT_MANAGEMENT" | "EC2_AGENT_MANAGEMENT" | "RDS_DATA_RISK")
|
|
912
940
|
attr_accessor status: ("ENABLED" | "DISABLED")
|
|
@@ -1177,6 +1205,7 @@ module Aws::GuardDuty
|
|
|
1177
1205
|
attr_accessor type: ::String
|
|
1178
1206
|
attr_accessor updated_at: ::String
|
|
1179
1207
|
attr_accessor associated_attack_sequence_arn: ::String
|
|
1208
|
+
attr_accessor custom_detection_rule_name: ::String
|
|
1180
1209
|
SENSITIVE: []
|
|
1181
1210
|
end
|
|
1182
1211
|
|
|
@@ -2657,13 +2686,14 @@ module Aws::GuardDuty
|
|
|
2657
2686
|
attr_accessor name: ::String
|
|
2658
2687
|
attr_accessor description: ::String
|
|
2659
2688
|
attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW")
|
|
2660
|
-
attr_accessor data_source: ("CloudTrailManagementEvent")
|
|
2689
|
+
attr_accessor data_source: ("CloudTrailManagementEvent" | "RuntimeMonitoring")
|
|
2661
2690
|
attr_accessor tactic: ::String
|
|
2662
2691
|
attr_accessor technique: ::String
|
|
2663
2692
|
attr_accessor service: ::String
|
|
2664
2693
|
attr_accessor definition: Types::RuleDefinition
|
|
2665
2694
|
attr_accessor language: ("SQL")
|
|
2666
2695
|
attr_accessor schema: ("CloudTrail")
|
|
2696
|
+
attr_accessor runtime_monitoring_details: Types::DetectionRuleRuntimeMonitoringDetails
|
|
2667
2697
|
attr_accessor created_at: ::Time
|
|
2668
2698
|
attr_accessor updated_at: ::Time
|
|
2669
2699
|
SENSITIVE: []
|
|
@@ -2675,7 +2705,7 @@ module Aws::GuardDuty
|
|
|
2675
2705
|
attr_accessor name: ::String
|
|
2676
2706
|
attr_accessor description: ::String
|
|
2677
2707
|
attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW")
|
|
2678
|
-
attr_accessor data_source: ("CloudTrailManagementEvent")
|
|
2708
|
+
attr_accessor data_source: ("CloudTrailManagementEvent" | "RuntimeMonitoring")
|
|
2679
2709
|
attr_accessor tactic: ::String
|
|
2680
2710
|
attr_accessor technique: ::String
|
|
2681
2711
|
attr_accessor service: ::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.
|
|
4
|
+
version: 1.168.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.258.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|