aws-sdk-guardduty 1.135.0 → 1.136.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +35 -2
- data/lib/aws-sdk-guardduty/client_api.rb +58 -0
- data/lib/aws-sdk-guardduty/types.rb +240 -2
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +12 -4
- data/sig/types.rbs +56 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f07204f579d7e8f8b04ff6aad2c948fc7b40c3f1f20f604d6b90902af692c426
|
|
4
|
+
data.tar.gz: 49f5e479e99c0f5857b60d1264400875b14790f4b56bdcdfe7f85318f9860e8e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e026d2fb68ca6ed93f335f1155d750cf78a27cdc0f53f5f592a40d25d0f9f968b509e25abc222eb1a234dd167a8c6d0c6ad4a07fd9fa3a2fe160cc204543ac9
|
|
7
|
+
data.tar.gz: 3fb8acab14c1cf8bba779dae2ca83f79aacd8f1446d9449d3b9907b297d683d023762aec5bb2737dd5d72671356aaac185629174c229313e143dd00a9c093d56
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.136.0 (2025-12-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adding support for extended threat detection for Amazon EC2 and Amazon ECS. Adding support for wild card suppression rules.
|
|
8
|
+
|
|
4
9
|
1.135.0 (2025-11-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.136.0
|
|
@@ -1004,6 +1004,8 @@ module Aws::GuardDuty
|
|
|
1004
1004
|
# greater_than_or_equal: 1,
|
|
1005
1005
|
# less_than: 1,
|
|
1006
1006
|
# less_than_or_equal: 1,
|
|
1007
|
+
# matches: ["Match"],
|
|
1008
|
+
# not_matches: ["NotMatch"],
|
|
1007
1009
|
# },
|
|
1008
1010
|
# },
|
|
1009
1011
|
# },
|
|
@@ -2668,6 +2670,10 @@ module Aws::GuardDuty
|
|
|
2668
2670
|
# resp.finding_criteria.criterion["String"].greater_than_or_equal #=> Integer
|
|
2669
2671
|
# resp.finding_criteria.criterion["String"].less_than #=> Integer
|
|
2670
2672
|
# resp.finding_criteria.criterion["String"].less_than_or_equal #=> Integer
|
|
2673
|
+
# resp.finding_criteria.criterion["String"].matches #=> Array
|
|
2674
|
+
# resp.finding_criteria.criterion["String"].matches[0] #=> String
|
|
2675
|
+
# resp.finding_criteria.criterion["String"].not_matches #=> Array
|
|
2676
|
+
# resp.finding_criteria.criterion["String"].not_matches[0] #=> String
|
|
2671
2677
|
# resp.tags #=> Hash
|
|
2672
2678
|
# resp.tags["TagKey"] #=> String
|
|
2673
2679
|
#
|
|
@@ -3217,7 +3223,7 @@ module Aws::GuardDuty
|
|
|
3217
3223
|
# resp.findings[0].service.detection.sequence.resources[0].uid #=> String
|
|
3218
3224
|
# resp.findings[0].service.detection.sequence.resources[0].name #=> String
|
|
3219
3225
|
# resp.findings[0].service.detection.sequence.resources[0].account_id #=> String
|
|
3220
|
-
# 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"
|
|
3226
|
+
# 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"
|
|
3221
3227
|
# resp.findings[0].service.detection.sequence.resources[0].region #=> String
|
|
3222
3228
|
# resp.findings[0].service.detection.sequence.resources[0].service #=> String
|
|
3223
3229
|
# resp.findings[0].service.detection.sequence.resources[0].cloud_partition #=> String
|
|
@@ -3283,6 +3289,27 @@ module Aws::GuardDuty
|
|
|
3283
3289
|
# resp.findings[0].service.detection.sequence.resources[0].data.kubernetes_workload.kubernetes_resources_types #=> String, one of "PODS", "JOBS", "CRONJOBS", "DEPLOYMENTS", "DAEMONSETS", "STATEFULSETS", "REPLICASETS", "REPLICATIONCONTROLLERS"
|
|
3284
3290
|
# resp.findings[0].service.detection.sequence.resources[0].data.container.image #=> String
|
|
3285
3291
|
# resp.findings[0].service.detection.sequence.resources[0].data.container.image_uid #=> String
|
|
3292
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_cluster.status #=> String, one of "ACTIVE", "PROVISIONING", "DEPROVISIONING", "FAILED", "INACTIVE"
|
|
3293
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_cluster.ec2_instance_uids #=> Array
|
|
3294
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_cluster.ec2_instance_uids[0] #=> String
|
|
3295
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_task.created_at #=> Time
|
|
3296
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_task.task_definition_arn #=> String
|
|
3297
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_task.launch_type #=> String, one of "FARGATE", "EC2"
|
|
3298
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_task.container_uids #=> Array
|
|
3299
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ecs_task.container_uids[0] #=> String
|
|
3300
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.iam_instance_profile.ec2_instance_uids #=> Array
|
|
3301
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.iam_instance_profile.ec2_instance_uids[0] #=> String
|
|
3302
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.autoscaling_auto_scaling_group.ec2_instance_uids #=> Array
|
|
3303
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.autoscaling_auto_scaling_group.ec2_instance_uids[0] #=> String
|
|
3304
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ec2_launch_template.ec2_instance_uids #=> Array
|
|
3305
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ec2_launch_template.ec2_instance_uids[0] #=> String
|
|
3306
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ec2_launch_template.version #=> String
|
|
3307
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ec2_vpc.ec2_instance_uids #=> Array
|
|
3308
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ec2_vpc.ec2_instance_uids[0] #=> String
|
|
3309
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ec2_image.ec2_instance_uids #=> Array
|
|
3310
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.ec2_image.ec2_instance_uids[0] #=> String
|
|
3311
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.cloudformation_stack.ec2_instance_uids #=> Array
|
|
3312
|
+
# resp.findings[0].service.detection.sequence.resources[0].data.cloudformation_stack.ec2_instance_uids[0] #=> String
|
|
3286
3313
|
# resp.findings[0].service.detection.sequence.endpoints #=> Array
|
|
3287
3314
|
# resp.findings[0].service.detection.sequence.endpoints[0].id #=> String
|
|
3288
3315
|
# resp.findings[0].service.detection.sequence.endpoints[0].ip #=> String
|
|
@@ -3430,6 +3457,8 @@ module Aws::GuardDuty
|
|
|
3430
3457
|
# greater_than_or_equal: 1,
|
|
3431
3458
|
# less_than: 1,
|
|
3432
3459
|
# less_than_or_equal: 1,
|
|
3460
|
+
# matches: ["Match"],
|
|
3461
|
+
# not_matches: ["NotMatch"],
|
|
3433
3462
|
# },
|
|
3434
3463
|
# },
|
|
3435
3464
|
# },
|
|
@@ -4743,6 +4772,8 @@ module Aws::GuardDuty
|
|
|
4743
4772
|
# greater_than_or_equal: 1,
|
|
4744
4773
|
# less_than: 1,
|
|
4745
4774
|
# less_than_or_equal: 1,
|
|
4775
|
+
# matches: ["Match"],
|
|
4776
|
+
# not_matches: ["NotMatch"],
|
|
4746
4777
|
# },
|
|
4747
4778
|
# },
|
|
4748
4779
|
# },
|
|
@@ -5807,6 +5838,8 @@ module Aws::GuardDuty
|
|
|
5807
5838
|
# greater_than_or_equal: 1,
|
|
5808
5839
|
# less_than: 1,
|
|
5809
5840
|
# less_than_or_equal: 1,
|
|
5841
|
+
# matches: ["Match"],
|
|
5842
|
+
# not_matches: ["NotMatch"],
|
|
5810
5843
|
# },
|
|
5811
5844
|
# },
|
|
5812
5845
|
# },
|
|
@@ -6483,7 +6516,7 @@ module Aws::GuardDuty
|
|
|
6483
6516
|
tracer: tracer
|
|
6484
6517
|
)
|
|
6485
6518
|
context[:gem_name] = 'aws-sdk-guardduty'
|
|
6486
|
-
context[:gem_version] = '1.
|
|
6519
|
+
context[:gem_version] = '1.136.0'
|
|
6487
6520
|
Seahorse::Client::Request.new(handlers, context)
|
|
6488
6521
|
end
|
|
6489
6522
|
|
|
@@ -56,6 +56,7 @@ module Aws::GuardDuty
|
|
|
56
56
|
ArchiveFindingsResponse = Shapes::StructureShape.new(name: 'ArchiveFindingsResponse')
|
|
57
57
|
AutoEnableMembers = Shapes::StringShape.new(name: 'AutoEnableMembers')
|
|
58
58
|
AutonomousSystem = Shapes::StructureShape.new(name: 'AutonomousSystem')
|
|
59
|
+
AutoscalingAutoScalingGroup = Shapes::StructureShape.new(name: 'AutoscalingAutoScalingGroup')
|
|
59
60
|
AwsApiCallAction = Shapes::StructureShape.new(name: 'AwsApiCallAction')
|
|
60
61
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
|
61
62
|
Behavior = Shapes::MapShape.new(name: 'Behavior')
|
|
@@ -66,6 +67,7 @@ module Aws::GuardDuty
|
|
|
66
67
|
City = Shapes::StructureShape.new(name: 'City')
|
|
67
68
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
|
68
69
|
CloudTrailConfigurationResult = Shapes::StructureShape.new(name: 'CloudTrailConfigurationResult')
|
|
70
|
+
CloudformationStack = Shapes::StructureShape.new(name: 'CloudformationStack')
|
|
69
71
|
ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
|
|
70
72
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
|
71
73
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
@@ -194,13 +196,20 @@ module Aws::GuardDuty
|
|
|
194
196
|
EbsVolumeDetails = Shapes::StructureShape.new(name: 'EbsVolumeDetails')
|
|
195
197
|
EbsVolumeScanDetails = Shapes::StructureShape.new(name: 'EbsVolumeScanDetails')
|
|
196
198
|
EbsVolumesResult = Shapes::StructureShape.new(name: 'EbsVolumesResult')
|
|
199
|
+
Ec2Image = Shapes::StructureShape.new(name: 'Ec2Image')
|
|
197
200
|
Ec2ImageDetails = Shapes::StructureShape.new(name: 'Ec2ImageDetails')
|
|
198
201
|
Ec2Instance = Shapes::StructureShape.new(name: 'Ec2Instance')
|
|
199
202
|
Ec2InstanceUid = Shapes::StringShape.new(name: 'Ec2InstanceUid')
|
|
200
203
|
Ec2InstanceUids = Shapes::ListShape.new(name: 'Ec2InstanceUids')
|
|
204
|
+
Ec2LaunchTemplate = Shapes::StructureShape.new(name: 'Ec2LaunchTemplate')
|
|
201
205
|
Ec2NetworkInterface = Shapes::StructureShape.new(name: 'Ec2NetworkInterface')
|
|
202
206
|
Ec2NetworkInterfaceUids = Shapes::ListShape.new(name: 'Ec2NetworkInterfaceUids')
|
|
207
|
+
Ec2Vpc = Shapes::StructureShape.new(name: 'Ec2Vpc')
|
|
208
|
+
EcsCluster = Shapes::StructureShape.new(name: 'EcsCluster')
|
|
203
209
|
EcsClusterDetails = Shapes::StructureShape.new(name: 'EcsClusterDetails')
|
|
210
|
+
EcsClusterStatus = Shapes::StringShape.new(name: 'EcsClusterStatus')
|
|
211
|
+
EcsLaunchType = Shapes::StringShape.new(name: 'EcsLaunchType')
|
|
212
|
+
EcsTask = Shapes::StructureShape.new(name: 'EcsTask')
|
|
204
213
|
EcsTaskDetails = Shapes::StructureShape.new(name: 'EcsTaskDetails')
|
|
205
214
|
EksCluster = Shapes::StructureShape.new(name: 'EksCluster')
|
|
206
215
|
EksClusterDetails = Shapes::StructureShape.new(name: 'EksClusterDetails')
|
|
@@ -296,6 +305,7 @@ module Aws::GuardDuty
|
|
|
296
305
|
HighestSeverityThreatDetails = Shapes::StructureShape.new(name: 'HighestSeverityThreatDetails')
|
|
297
306
|
HostPath = Shapes::StructureShape.new(name: 'HostPath')
|
|
298
307
|
IamInstanceProfile = Shapes::StructureShape.new(name: 'IamInstanceProfile')
|
|
308
|
+
IamInstanceProfileV2 = Shapes::StructureShape.new(name: 'IamInstanceProfileV2')
|
|
299
309
|
ImpersonatedUser = Shapes::StructureShape.new(name: 'ImpersonatedUser')
|
|
300
310
|
IncrementalScanDetails = Shapes::StructureShape.new(name: 'IncrementalScanDetails')
|
|
301
311
|
Indicator = Shapes::StructureShape.new(name: 'Indicator')
|
|
@@ -337,6 +347,7 @@ module Aws::GuardDuty
|
|
|
337
347
|
KubernetesWorkload = Shapes::StructureShape.new(name: 'KubernetesWorkload')
|
|
338
348
|
KubernetesWorkloadDetails = Shapes::StructureShape.new(name: 'KubernetesWorkloadDetails')
|
|
339
349
|
LambdaDetails = Shapes::StructureShape.new(name: 'LambdaDetails')
|
|
350
|
+
LaunchTemplateVersion = Shapes::StringShape.new(name: 'LaunchTemplateVersion')
|
|
340
351
|
Lineage = Shapes::ListShape.new(name: 'Lineage')
|
|
341
352
|
LineageObject = Shapes::StructureShape.new(name: 'LineageObject')
|
|
342
353
|
ListCoverageRequest = Shapes::StructureShape.new(name: 'ListCoverageRequest')
|
|
@@ -402,6 +413,8 @@ module Aws::GuardDuty
|
|
|
402
413
|
ManagementType = Shapes::StringShape.new(name: 'ManagementType')
|
|
403
414
|
MapEquals = Shapes::ListShape.new(name: 'MapEquals')
|
|
404
415
|
Master = Shapes::StructureShape.new(name: 'Master')
|
|
416
|
+
Match = Shapes::StringShape.new(name: 'Match')
|
|
417
|
+
Matches = Shapes::ListShape.new(name: 'Matches')
|
|
405
418
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
406
419
|
MaxResults100 = Shapes::IntegerShape.new(name: 'MaxResults100')
|
|
407
420
|
Member = Shapes::StructureShape.new(name: 'Member')
|
|
@@ -431,6 +444,8 @@ module Aws::GuardDuty
|
|
|
431
444
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
|
432
445
|
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
|
433
446
|
NotEquals = Shapes::ListShape.new(name: 'NotEquals')
|
|
447
|
+
NotMatch = Shapes::StringShape.new(name: 'NotMatch')
|
|
448
|
+
NotMatches = Shapes::ListShape.new(name: 'NotMatches')
|
|
434
449
|
ObservationTexts = Shapes::ListShape.new(name: 'ObservationTexts')
|
|
435
450
|
Observations = Shapes::StructureShape.new(name: 'Observations')
|
|
436
451
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
|
@@ -811,6 +826,9 @@ module Aws::GuardDuty
|
|
|
811
826
|
AutonomousSystem.add_member(:number, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "number"))
|
|
812
827
|
AutonomousSystem.struct_class = Types::AutonomousSystem
|
|
813
828
|
|
|
829
|
+
AutoscalingAutoScalingGroup.add_member(:ec2_instance_uids, Shapes::ShapeRef.new(shape: Ec2InstanceUids, location_name: "ec2InstanceUids"))
|
|
830
|
+
AutoscalingAutoScalingGroup.struct_class = Types::AutoscalingAutoScalingGroup
|
|
831
|
+
|
|
814
832
|
AwsApiCallAction.add_member(:api, Shapes::ShapeRef.new(shape: String, location_name: "api"))
|
|
815
833
|
AwsApiCallAction.add_member(:caller_type, Shapes::ShapeRef.new(shape: String, location_name: "callerType"))
|
|
816
834
|
AwsApiCallAction.add_member(:domain_details, Shapes::ShapeRef.new(shape: DomainDetails, location_name: "domainDetails"))
|
|
@@ -850,6 +868,9 @@ module Aws::GuardDuty
|
|
|
850
868
|
CloudTrailConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
|
|
851
869
|
CloudTrailConfigurationResult.struct_class = Types::CloudTrailConfigurationResult
|
|
852
870
|
|
|
871
|
+
CloudformationStack.add_member(:ec2_instance_uids, Shapes::ShapeRef.new(shape: Ec2InstanceUids, location_name: "ec2InstanceUids"))
|
|
872
|
+
CloudformationStack.struct_class = Types::CloudformationStack
|
|
873
|
+
|
|
853
874
|
Condition.add_member(:eq, Shapes::ShapeRef.new(shape: Eq, deprecated: true, location_name: "eq"))
|
|
854
875
|
Condition.add_member(:neq, Shapes::ShapeRef.new(shape: Neq, deprecated: true, location_name: "neq"))
|
|
855
876
|
Condition.add_member(:gt, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "gt"))
|
|
@@ -862,6 +883,8 @@ module Aws::GuardDuty
|
|
|
862
883
|
Condition.add_member(:greater_than_or_equal, Shapes::ShapeRef.new(shape: Long, location_name: "greaterThanOrEqual"))
|
|
863
884
|
Condition.add_member(:less_than, Shapes::ShapeRef.new(shape: Long, location_name: "lessThan"))
|
|
864
885
|
Condition.add_member(:less_than_or_equal, Shapes::ShapeRef.new(shape: Long, location_name: "lessThanOrEqual"))
|
|
886
|
+
Condition.add_member(:matches, Shapes::ShapeRef.new(shape: Matches, location_name: "matches"))
|
|
887
|
+
Condition.add_member(:not_matches, Shapes::ShapeRef.new(shape: NotMatches, location_name: "notMatches"))
|
|
865
888
|
Condition.struct_class = Types::Condition
|
|
866
889
|
|
|
867
890
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
@@ -1319,6 +1342,9 @@ module Aws::GuardDuty
|
|
|
1319
1342
|
EbsVolumesResult.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
|
1320
1343
|
EbsVolumesResult.struct_class = Types::EbsVolumesResult
|
|
1321
1344
|
|
|
1345
|
+
Ec2Image.add_member(:ec2_instance_uids, Shapes::ShapeRef.new(shape: Ec2InstanceUids, location_name: "ec2InstanceUids"))
|
|
1346
|
+
Ec2Image.struct_class = Types::Ec2Image
|
|
1347
|
+
|
|
1322
1348
|
Ec2ImageDetails.add_member(:image_arn, Shapes::ShapeRef.new(shape: String, location_name: "imageArn"))
|
|
1323
1349
|
Ec2ImageDetails.struct_class = Types::Ec2ImageDetails
|
|
1324
1350
|
|
|
@@ -1335,6 +1361,10 @@ module Aws::GuardDuty
|
|
|
1335
1361
|
|
|
1336
1362
|
Ec2InstanceUids.member = Shapes::ShapeRef.new(shape: Ec2InstanceUid)
|
|
1337
1363
|
|
|
1364
|
+
Ec2LaunchTemplate.add_member(:ec2_instance_uids, Shapes::ShapeRef.new(shape: Ec2InstanceUids, location_name: "ec2InstanceUids"))
|
|
1365
|
+
Ec2LaunchTemplate.add_member(:version, Shapes::ShapeRef.new(shape: LaunchTemplateVersion, location_name: "Version"))
|
|
1366
|
+
Ec2LaunchTemplate.struct_class = Types::Ec2LaunchTemplate
|
|
1367
|
+
|
|
1338
1368
|
Ec2NetworkInterface.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6Addresses, location_name: "ipv6Addresses"))
|
|
1339
1369
|
Ec2NetworkInterface.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddresses, location_name: "privateIpAddresses"))
|
|
1340
1370
|
Ec2NetworkInterface.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
|
@@ -1345,6 +1375,13 @@ module Aws::GuardDuty
|
|
|
1345
1375
|
|
|
1346
1376
|
Ec2NetworkInterfaceUids.member = Shapes::ShapeRef.new(shape: String)
|
|
1347
1377
|
|
|
1378
|
+
Ec2Vpc.add_member(:ec2_instance_uids, Shapes::ShapeRef.new(shape: Ec2InstanceUids, location_name: "ec2InstanceUids"))
|
|
1379
|
+
Ec2Vpc.struct_class = Types::Ec2Vpc
|
|
1380
|
+
|
|
1381
|
+
EcsCluster.add_member(:status, Shapes::ShapeRef.new(shape: EcsClusterStatus, location_name: "status"))
|
|
1382
|
+
EcsCluster.add_member(:ec2_instance_uids, Shapes::ShapeRef.new(shape: Ec2InstanceUids, location_name: "ec2InstanceUids"))
|
|
1383
|
+
EcsCluster.struct_class = Types::EcsCluster
|
|
1384
|
+
|
|
1348
1385
|
EcsClusterDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
|
1349
1386
|
EcsClusterDetails.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
1350
1387
|
EcsClusterDetails.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
|
@@ -1355,6 +1392,12 @@ module Aws::GuardDuty
|
|
|
1355
1392
|
EcsClusterDetails.add_member(:task_details, Shapes::ShapeRef.new(shape: EcsTaskDetails, location_name: "taskDetails"))
|
|
1356
1393
|
EcsClusterDetails.struct_class = Types::EcsClusterDetails
|
|
1357
1394
|
|
|
1395
|
+
EcsTask.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
|
1396
|
+
EcsTask.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
|
1397
|
+
EcsTask.add_member(:launch_type, Shapes::ShapeRef.new(shape: EcsLaunchType, location_name: "launchType"))
|
|
1398
|
+
EcsTask.add_member(:container_uids, Shapes::ShapeRef.new(shape: ContainerUids, location_name: "containerUids"))
|
|
1399
|
+
EcsTask.struct_class = Types::EcsTask
|
|
1400
|
+
|
|
1358
1401
|
EcsTaskDetails.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
|
1359
1402
|
EcsTaskDetails.add_member(:definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "definitionArn"))
|
|
1360
1403
|
EcsTaskDetails.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
|
@@ -1715,6 +1758,9 @@ module Aws::GuardDuty
|
|
|
1715
1758
|
IamInstanceProfile.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
|
1716
1759
|
IamInstanceProfile.struct_class = Types::IamInstanceProfile
|
|
1717
1760
|
|
|
1761
|
+
IamInstanceProfileV2.add_member(:ec2_instance_uids, Shapes::ShapeRef.new(shape: Ec2InstanceUids, location_name: "ec2InstanceUids"))
|
|
1762
|
+
IamInstanceProfileV2.struct_class = Types::IamInstanceProfileV2
|
|
1763
|
+
|
|
1718
1764
|
ImpersonatedUser.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
|
|
1719
1765
|
ImpersonatedUser.add_member(:groups, Shapes::ShapeRef.new(shape: Groups, location_name: "groups"))
|
|
1720
1766
|
ImpersonatedUser.struct_class = Types::ImpersonatedUser
|
|
@@ -2104,6 +2150,8 @@ module Aws::GuardDuty
|
|
|
2104
2150
|
Master.add_member(:invited_at, Shapes::ShapeRef.new(shape: String, location_name: "invitedAt"))
|
|
2105
2151
|
Master.struct_class = Types::Master
|
|
2106
2152
|
|
|
2153
|
+
Matches.member = Shapes::ShapeRef.new(shape: Match)
|
|
2154
|
+
|
|
2107
2155
|
Member.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
|
|
2108
2156
|
Member.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
|
|
2109
2157
|
Member.add_member(:master_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "masterId"))
|
|
@@ -2201,6 +2249,8 @@ module Aws::GuardDuty
|
|
|
2201
2249
|
|
|
2202
2250
|
NotEquals.member = Shapes::ShapeRef.new(shape: String)
|
|
2203
2251
|
|
|
2252
|
+
NotMatches.member = Shapes::ShapeRef.new(shape: NotMatch)
|
|
2253
|
+
|
|
2204
2254
|
ObservationTexts.member = Shapes::ShapeRef.new(shape: String)
|
|
2205
2255
|
|
|
2206
2256
|
Observations.add_member(:text, Shapes::ShapeRef.new(shape: ObservationTexts, location_name: "text"))
|
|
@@ -2440,6 +2490,14 @@ module Aws::GuardDuty
|
|
|
2440
2490
|
ResourceData.add_member(:eks_cluster, Shapes::ShapeRef.new(shape: EksCluster, location_name: "eksCluster"))
|
|
2441
2491
|
ResourceData.add_member(:kubernetes_workload, Shapes::ShapeRef.new(shape: KubernetesWorkload, location_name: "kubernetesWorkload"))
|
|
2442
2492
|
ResourceData.add_member(:container, Shapes::ShapeRef.new(shape: ContainerFindingResource, location_name: "container"))
|
|
2493
|
+
ResourceData.add_member(:ecs_cluster, Shapes::ShapeRef.new(shape: EcsCluster, location_name: "ecsCluster"))
|
|
2494
|
+
ResourceData.add_member(:ecs_task, Shapes::ShapeRef.new(shape: EcsTask, location_name: "ecsTask"))
|
|
2495
|
+
ResourceData.add_member(:iam_instance_profile, Shapes::ShapeRef.new(shape: IamInstanceProfileV2, location_name: "iamInstanceProfile"))
|
|
2496
|
+
ResourceData.add_member(:autoscaling_auto_scaling_group, Shapes::ShapeRef.new(shape: AutoscalingAutoScalingGroup, location_name: "autoscalingAutoScalingGroup"))
|
|
2497
|
+
ResourceData.add_member(:ec2_launch_template, Shapes::ShapeRef.new(shape: Ec2LaunchTemplate, location_name: "ec2LaunchTemplate"))
|
|
2498
|
+
ResourceData.add_member(:ec2_vpc, Shapes::ShapeRef.new(shape: Ec2Vpc, location_name: "ec2Vpc"))
|
|
2499
|
+
ResourceData.add_member(:ec2_image, Shapes::ShapeRef.new(shape: Ec2Image, location_name: "ec2Image"))
|
|
2500
|
+
ResourceData.add_member(:cloudformation_stack, Shapes::ShapeRef.new(shape: CloudformationStack, location_name: "cloudformationStack"))
|
|
2443
2501
|
ResourceData.struct_class = Types::ResourceData
|
|
2444
2502
|
|
|
2445
2503
|
ResourceDetails.add_member(:instance_arn, Shapes::ShapeRef.new(shape: InstanceArn, location_name: "instanceArn"))
|
|
@@ -632,6 +632,23 @@ module Aws::GuardDuty
|
|
|
632
632
|
include Aws::Structure
|
|
633
633
|
end
|
|
634
634
|
|
|
635
|
+
# Contains information about the Auto Scaling Group involved in a
|
|
636
|
+
# GuardDuty finding, including unique identifiers of the Amazon EC2
|
|
637
|
+
# instances.
|
|
638
|
+
#
|
|
639
|
+
# @!attribute [rw] ec2_instance_uids
|
|
640
|
+
# A list of unique identifiers for the compromised Amazon EC2
|
|
641
|
+
# instances that are part of the same Auto Scaling Group.
|
|
642
|
+
# @return [Array<String>]
|
|
643
|
+
#
|
|
644
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AutoscalingAutoScalingGroup AWS API Documentation
|
|
645
|
+
#
|
|
646
|
+
class AutoscalingAutoScalingGroup < Struct.new(
|
|
647
|
+
:ec2_instance_uids)
|
|
648
|
+
SENSITIVE = []
|
|
649
|
+
include Aws::Structure
|
|
650
|
+
end
|
|
651
|
+
|
|
635
652
|
# Contains information about the API action.
|
|
636
653
|
#
|
|
637
654
|
# @!attribute [rw] api
|
|
@@ -824,6 +841,24 @@ module Aws::GuardDuty
|
|
|
824
841
|
include Aws::Structure
|
|
825
842
|
end
|
|
826
843
|
|
|
844
|
+
# Contains information about the CloudFormation stack involved in a
|
|
845
|
+
# GuardDuty finding, including unique identifiers of the Amazon EC2
|
|
846
|
+
# instances.
|
|
847
|
+
#
|
|
848
|
+
# @!attribute [rw] ec2_instance_uids
|
|
849
|
+
# A list of unique identifiers for the compromised Amazon EC2
|
|
850
|
+
# instances that were created as part of the same CloudFormation
|
|
851
|
+
# stack.
|
|
852
|
+
# @return [Array<String>]
|
|
853
|
+
#
|
|
854
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CloudformationStack AWS API Documentation
|
|
855
|
+
#
|
|
856
|
+
class CloudformationStack < Struct.new(
|
|
857
|
+
:ec2_instance_uids)
|
|
858
|
+
SENSITIVE = []
|
|
859
|
+
include Aws::Structure
|
|
860
|
+
end
|
|
861
|
+
|
|
827
862
|
# Contains information about the condition.
|
|
828
863
|
#
|
|
829
864
|
# @!attribute [rw] eq
|
|
@@ -886,6 +921,26 @@ module Aws::GuardDuty
|
|
|
886
921
|
# single field when querying for findings.
|
|
887
922
|
# @return [Integer]
|
|
888
923
|
#
|
|
924
|
+
# @!attribute [rw] matches
|
|
925
|
+
# Represents the *match* condition to be applied to a single field
|
|
926
|
+
# when querying for findings.
|
|
927
|
+
#
|
|
928
|
+
# <note markdown="1"> The *matches* condition is available only for create-filter and
|
|
929
|
+
# update-filter APIs.
|
|
930
|
+
#
|
|
931
|
+
# </note>
|
|
932
|
+
# @return [Array<String>]
|
|
933
|
+
#
|
|
934
|
+
# @!attribute [rw] not_matches
|
|
935
|
+
# Represents the *not match* condition to be applied to a single field
|
|
936
|
+
# when querying for findings.
|
|
937
|
+
#
|
|
938
|
+
# <note markdown="1"> The *not-matches* condition is available only for create-filter and
|
|
939
|
+
# update-filter APIs.
|
|
940
|
+
#
|
|
941
|
+
# </note>
|
|
942
|
+
# @return [Array<String>]
|
|
943
|
+
#
|
|
889
944
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Condition AWS API Documentation
|
|
890
945
|
#
|
|
891
946
|
class Condition < Struct.new(
|
|
@@ -900,7 +955,9 @@ module Aws::GuardDuty
|
|
|
900
955
|
:greater_than,
|
|
901
956
|
:greater_than_or_equal,
|
|
902
957
|
:less_than,
|
|
903
|
-
:less_than_or_equal
|
|
958
|
+
:less_than_or_equal,
|
|
959
|
+
:matches,
|
|
960
|
+
:not_matches)
|
|
904
961
|
SENSITIVE = []
|
|
905
962
|
include Aws::Structure
|
|
906
963
|
end
|
|
@@ -3419,6 +3476,24 @@ module Aws::GuardDuty
|
|
|
3419
3476
|
include Aws::Structure
|
|
3420
3477
|
end
|
|
3421
3478
|
|
|
3479
|
+
# Contains information about the Amazon EC2 Image involved in a
|
|
3480
|
+
# GuardDuty finding, including unique identifiers of the Amazon EC2
|
|
3481
|
+
# instances.
|
|
3482
|
+
#
|
|
3483
|
+
# @!attribute [rw] ec2_instance_uids
|
|
3484
|
+
# A list of unique identifiers for the compromised Amazon EC2
|
|
3485
|
+
# instances that were launched with the same Amazon Machine Image
|
|
3486
|
+
# (AMI).
|
|
3487
|
+
# @return [Array<String>]
|
|
3488
|
+
#
|
|
3489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Ec2Image AWS API Documentation
|
|
3490
|
+
#
|
|
3491
|
+
class Ec2Image < Struct.new(
|
|
3492
|
+
:ec2_instance_uids)
|
|
3493
|
+
SENSITIVE = []
|
|
3494
|
+
include Aws::Structure
|
|
3495
|
+
end
|
|
3496
|
+
|
|
3422
3497
|
# Contains details about the EC2 AMI that was scanned.
|
|
3423
3498
|
#
|
|
3424
3499
|
# @!attribute [rw] image_arn
|
|
@@ -3500,6 +3575,28 @@ module Aws::GuardDuty
|
|
|
3500
3575
|
include Aws::Structure
|
|
3501
3576
|
end
|
|
3502
3577
|
|
|
3578
|
+
# Contains information about the Amazon EC2 launch template involved in
|
|
3579
|
+
# a GuardDuty finding, including unique identifiers of the Amazon EC2
|
|
3580
|
+
# instances.
|
|
3581
|
+
#
|
|
3582
|
+
# @!attribute [rw] ec2_instance_uids
|
|
3583
|
+
# A list of unique identifiers for the compromised Amazon EC2
|
|
3584
|
+
# instances that share the same Amazon EC2 launch template.
|
|
3585
|
+
# @return [Array<String>]
|
|
3586
|
+
#
|
|
3587
|
+
# @!attribute [rw] version
|
|
3588
|
+
# Version of the EC2 launch template.
|
|
3589
|
+
# @return [String]
|
|
3590
|
+
#
|
|
3591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Ec2LaunchTemplate AWS API Documentation
|
|
3592
|
+
#
|
|
3593
|
+
class Ec2LaunchTemplate < Struct.new(
|
|
3594
|
+
:ec2_instance_uids,
|
|
3595
|
+
:version)
|
|
3596
|
+
SENSITIVE = []
|
|
3597
|
+
include Aws::Structure
|
|
3598
|
+
end
|
|
3599
|
+
|
|
3503
3600
|
# Contains information about the elastic network interface of the Amazon
|
|
3504
3601
|
# EC2 instance.
|
|
3505
3602
|
#
|
|
@@ -3540,6 +3637,44 @@ module Aws::GuardDuty
|
|
|
3540
3637
|
include Aws::Structure
|
|
3541
3638
|
end
|
|
3542
3639
|
|
|
3640
|
+
# Contains information about the Amazon EC2 VPC involved in a GuardDuty
|
|
3641
|
+
# finding, including unique identifiers of the Amazon EC2 instances.
|
|
3642
|
+
#
|
|
3643
|
+
# @!attribute [rw] ec2_instance_uids
|
|
3644
|
+
# A list of unique identifiers for the compromised Amazon EC2
|
|
3645
|
+
# instances that were launched within the same Virtual Private Cloud
|
|
3646
|
+
# (VPC).
|
|
3647
|
+
# @return [Array<String>]
|
|
3648
|
+
#
|
|
3649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Ec2Vpc AWS API Documentation
|
|
3650
|
+
#
|
|
3651
|
+
class Ec2Vpc < Struct.new(
|
|
3652
|
+
:ec2_instance_uids)
|
|
3653
|
+
SENSITIVE = []
|
|
3654
|
+
include Aws::Structure
|
|
3655
|
+
end
|
|
3656
|
+
|
|
3657
|
+
# Contains information about the Amazon ECS cluster involved in a
|
|
3658
|
+
# GuardDuty finding, including cluster identification and status.
|
|
3659
|
+
#
|
|
3660
|
+
# @!attribute [rw] status
|
|
3661
|
+
# The current status of the Amazon ECS cluster.
|
|
3662
|
+
# @return [String]
|
|
3663
|
+
#
|
|
3664
|
+
# @!attribute [rw] ec2_instance_uids
|
|
3665
|
+
# A list of unique identifiers for the Amazon EC2 instances that serve
|
|
3666
|
+
# as container instances in the Amazon ECS cluster.
|
|
3667
|
+
# @return [Array<String>]
|
|
3668
|
+
#
|
|
3669
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EcsCluster AWS API Documentation
|
|
3670
|
+
#
|
|
3671
|
+
class EcsCluster < Struct.new(
|
|
3672
|
+
:status,
|
|
3673
|
+
:ec2_instance_uids)
|
|
3674
|
+
SENSITIVE = []
|
|
3675
|
+
include Aws::Structure
|
|
3676
|
+
end
|
|
3677
|
+
|
|
3543
3678
|
# Contains information about the details of the ECS Cluster.
|
|
3544
3679
|
#
|
|
3545
3680
|
# @!attribute [rw] name
|
|
@@ -3590,6 +3725,39 @@ module Aws::GuardDuty
|
|
|
3590
3725
|
include Aws::Structure
|
|
3591
3726
|
end
|
|
3592
3727
|
|
|
3728
|
+
# Contains information about Amazon ECS task involved in a GuardDuty
|
|
3729
|
+
# finding, including task definition and container identifiers.
|
|
3730
|
+
#
|
|
3731
|
+
# @!attribute [rw] created_at
|
|
3732
|
+
# The timestamp indicating when the Amazon ECS task was created, in
|
|
3733
|
+
# UTC format.
|
|
3734
|
+
# @return [Time]
|
|
3735
|
+
#
|
|
3736
|
+
# @!attribute [rw] task_definition_arn
|
|
3737
|
+
# The ARN of task definition which describes the container and volume
|
|
3738
|
+
# definitions of the Amazon ECS task.
|
|
3739
|
+
# @return [String]
|
|
3740
|
+
#
|
|
3741
|
+
# @!attribute [rw] launch_type
|
|
3742
|
+
# The infrastructure type on which the Amazon ECS task runs.
|
|
3743
|
+
# @return [String]
|
|
3744
|
+
#
|
|
3745
|
+
# @!attribute [rw] container_uids
|
|
3746
|
+
# A list of unique identifiers for the containers associated with the
|
|
3747
|
+
# Amazon ECS task.
|
|
3748
|
+
# @return [Array<String>]
|
|
3749
|
+
#
|
|
3750
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EcsTask AWS API Documentation
|
|
3751
|
+
#
|
|
3752
|
+
class EcsTask < Struct.new(
|
|
3753
|
+
:created_at,
|
|
3754
|
+
:task_definition_arn,
|
|
3755
|
+
:launch_type,
|
|
3756
|
+
:container_uids)
|
|
3757
|
+
SENSITIVE = []
|
|
3758
|
+
include Aws::Structure
|
|
3759
|
+
end
|
|
3760
|
+
|
|
3593
3761
|
# Contains information about the task in an ECS cluster.
|
|
3594
3762
|
#
|
|
3595
3763
|
# @!attribute [rw] arn
|
|
@@ -5314,6 +5482,23 @@ module Aws::GuardDuty
|
|
|
5314
5482
|
include Aws::Structure
|
|
5315
5483
|
end
|
|
5316
5484
|
|
|
5485
|
+
# Contains information about the IAM instance profile involved in a
|
|
5486
|
+
# GuardDuty finding, including unique identifiers of the Amazon EC2
|
|
5487
|
+
# instances.
|
|
5488
|
+
#
|
|
5489
|
+
# @!attribute [rw] ec2_instance_uids
|
|
5490
|
+
# A list of unique identifiers for the compromised Amazon EC2
|
|
5491
|
+
# instances that share the same IAM instance profile.
|
|
5492
|
+
# @return [Array<String>]
|
|
5493
|
+
#
|
|
5494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/IamInstanceProfileV2 AWS API Documentation
|
|
5495
|
+
#
|
|
5496
|
+
class IamInstanceProfileV2 < Struct.new(
|
|
5497
|
+
:ec2_instance_uids)
|
|
5498
|
+
SENSITIVE = []
|
|
5499
|
+
include Aws::Structure
|
|
5500
|
+
end
|
|
5501
|
+
|
|
5317
5502
|
# Contains information about the impersonated user.
|
|
5318
5503
|
#
|
|
5319
5504
|
# @!attribute [rw] username
|
|
@@ -8948,6 +9133,51 @@ module Aws::GuardDuty
|
|
|
8948
9133
|
# the activity that prompted GuardDuty to generate a finding.
|
|
8949
9134
|
# @return [Types::ContainerFindingResource]
|
|
8950
9135
|
#
|
|
9136
|
+
# @!attribute [rw] ecs_cluster
|
|
9137
|
+
# Contains detailed information about the Amazon ECS cluster
|
|
9138
|
+
# associated with the activity that prompted GuardDuty to generate a
|
|
9139
|
+
# finding.
|
|
9140
|
+
# @return [Types::EcsCluster]
|
|
9141
|
+
#
|
|
9142
|
+
# @!attribute [rw] ecs_task
|
|
9143
|
+
# Contains detailed information about the Amazon ECS task associated
|
|
9144
|
+
# with the activity that prompted GuardDuty to generate a finding.
|
|
9145
|
+
# @return [Types::EcsTask]
|
|
9146
|
+
#
|
|
9147
|
+
# @!attribute [rw] iam_instance_profile
|
|
9148
|
+
# Contains detailed information about the IAM instance profile
|
|
9149
|
+
# associated with the activity that prompted GuardDuty to generate a
|
|
9150
|
+
# finding.
|
|
9151
|
+
# @return [Types::IamInstanceProfileV2]
|
|
9152
|
+
#
|
|
9153
|
+
# @!attribute [rw] autoscaling_auto_scaling_group
|
|
9154
|
+
# Contains detailed information about the Auto Scaling Group
|
|
9155
|
+
# associated with the activity that prompted GuardDuty to generate a
|
|
9156
|
+
# finding.
|
|
9157
|
+
# @return [Types::AutoscalingAutoScalingGroup]
|
|
9158
|
+
#
|
|
9159
|
+
# @!attribute [rw] ec2_launch_template
|
|
9160
|
+
# Contains detailed information about the EC2 launch template
|
|
9161
|
+
# associated with the activity that prompted GuardDuty to generate a
|
|
9162
|
+
# finding.
|
|
9163
|
+
# @return [Types::Ec2LaunchTemplate]
|
|
9164
|
+
#
|
|
9165
|
+
# @!attribute [rw] ec2_vpc
|
|
9166
|
+
# Contains detailed information about the EC2 VPC associated with the
|
|
9167
|
+
# activity that prompted GuardDuty to generate a finding.
|
|
9168
|
+
# @return [Types::Ec2Vpc]
|
|
9169
|
+
#
|
|
9170
|
+
# @!attribute [rw] ec2_image
|
|
9171
|
+
# Contains detailed information about the EC2 Image associated with
|
|
9172
|
+
# the activity that prompted GuardDuty to generate a finding.
|
|
9173
|
+
# @return [Types::Ec2Image]
|
|
9174
|
+
#
|
|
9175
|
+
# @!attribute [rw] cloudformation_stack
|
|
9176
|
+
# Contains detailed information about the CloudFormation stack
|
|
9177
|
+
# associated with the activity that prompted GuardDuty to generate a
|
|
9178
|
+
# finding.
|
|
9179
|
+
# @return [Types::CloudformationStack]
|
|
9180
|
+
#
|
|
8951
9181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ResourceData AWS API Documentation
|
|
8952
9182
|
#
|
|
8953
9183
|
class ResourceData < Struct.new(
|
|
@@ -8958,7 +9188,15 @@ module Aws::GuardDuty
|
|
|
8958
9188
|
:s3_object,
|
|
8959
9189
|
:eks_cluster,
|
|
8960
9190
|
:kubernetes_workload,
|
|
8961
|
-
:container
|
|
9191
|
+
:container,
|
|
9192
|
+
:ecs_cluster,
|
|
9193
|
+
:ecs_task,
|
|
9194
|
+
:iam_instance_profile,
|
|
9195
|
+
:autoscaling_auto_scaling_group,
|
|
9196
|
+
:ec2_launch_template,
|
|
9197
|
+
:ec2_vpc,
|
|
9198
|
+
:ec2_image,
|
|
9199
|
+
:cloudformation_stack)
|
|
8962
9200
|
SENSITIVE = []
|
|
8963
9201
|
include Aws::Structure
|
|
8964
9202
|
end
|
data/lib/aws-sdk-guardduty.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -175,7 +175,9 @@ module Aws
|
|
|
175
175
|
greater_than: ::Integer?,
|
|
176
176
|
greater_than_or_equal: ::Integer?,
|
|
177
177
|
less_than: ::Integer?,
|
|
178
|
-
less_than_or_equal: ::Integer
|
|
178
|
+
less_than_or_equal: ::Integer?,
|
|
179
|
+
matches: Array[::String]?,
|
|
180
|
+
not_matches: Array[::String]?
|
|
179
181
|
}]?
|
|
180
182
|
},
|
|
181
183
|
?client_token: ::String,
|
|
@@ -634,7 +636,9 @@ module Aws
|
|
|
634
636
|
greater_than: ::Integer?,
|
|
635
637
|
greater_than_or_equal: ::Integer?,
|
|
636
638
|
less_than: ::Integer?,
|
|
637
|
-
less_than_or_equal: ::Integer
|
|
639
|
+
less_than_or_equal: ::Integer?,
|
|
640
|
+
matches: Array[::String]?,
|
|
641
|
+
not_matches: Array[::String]?
|
|
638
642
|
}]?
|
|
639
643
|
},
|
|
640
644
|
?group_by: ("ACCOUNT" | "DATE" | "FINDING_TYPE" | "RESOURCE" | "SEVERITY"),
|
|
@@ -938,7 +942,9 @@ module Aws
|
|
|
938
942
|
greater_than: ::Integer?,
|
|
939
943
|
greater_than_or_equal: ::Integer?,
|
|
940
944
|
less_than: ::Integer?,
|
|
941
|
-
less_than_or_equal: ::Integer
|
|
945
|
+
less_than_or_equal: ::Integer?,
|
|
946
|
+
matches: Array[::String]?,
|
|
947
|
+
not_matches: Array[::String]?
|
|
942
948
|
}]?
|
|
943
949
|
},
|
|
944
950
|
?sort_criteria: {
|
|
@@ -1249,7 +1255,9 @@ module Aws
|
|
|
1249
1255
|
greater_than: ::Integer?,
|
|
1250
1256
|
greater_than_or_equal: ::Integer?,
|
|
1251
1257
|
less_than: ::Integer?,
|
|
1252
|
-
less_than_or_equal: ::Integer
|
|
1258
|
+
less_than_or_equal: ::Integer?,
|
|
1259
|
+
matches: Array[::String]?,
|
|
1260
|
+
not_matches: Array[::String]?
|
|
1253
1261
|
}]?
|
|
1254
1262
|
}
|
|
1255
1263
|
) -> _UpdateFilterResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -179,6 +179,11 @@ module Aws::GuardDuty
|
|
|
179
179
|
SENSITIVE: []
|
|
180
180
|
end
|
|
181
181
|
|
|
182
|
+
class AutoscalingAutoScalingGroup
|
|
183
|
+
attr_accessor ec2_instance_uids: ::Array[::String]
|
|
184
|
+
SENSITIVE: []
|
|
185
|
+
end
|
|
186
|
+
|
|
182
187
|
class AwsApiCallAction
|
|
183
188
|
attr_accessor api: ::String
|
|
184
189
|
attr_accessor caller_type: ::String
|
|
@@ -229,6 +234,11 @@ module Aws::GuardDuty
|
|
|
229
234
|
SENSITIVE: []
|
|
230
235
|
end
|
|
231
236
|
|
|
237
|
+
class CloudformationStack
|
|
238
|
+
attr_accessor ec2_instance_uids: ::Array[::String]
|
|
239
|
+
SENSITIVE: []
|
|
240
|
+
end
|
|
241
|
+
|
|
232
242
|
class Condition
|
|
233
243
|
attr_accessor eq: ::Array[::String]
|
|
234
244
|
attr_accessor neq: ::Array[::String]
|
|
@@ -242,6 +252,8 @@ module Aws::GuardDuty
|
|
|
242
252
|
attr_accessor greater_than_or_equal: ::Integer
|
|
243
253
|
attr_accessor less_than: ::Integer
|
|
244
254
|
attr_accessor less_than_or_equal: ::Integer
|
|
255
|
+
attr_accessor matches: ::Array[::String]
|
|
256
|
+
attr_accessor not_matches: ::Array[::String]
|
|
245
257
|
SENSITIVE: []
|
|
246
258
|
end
|
|
247
259
|
|
|
@@ -839,6 +851,11 @@ module Aws::GuardDuty
|
|
|
839
851
|
SENSITIVE: []
|
|
840
852
|
end
|
|
841
853
|
|
|
854
|
+
class Ec2Image
|
|
855
|
+
attr_accessor ec2_instance_uids: ::Array[::String]
|
|
856
|
+
SENSITIVE: []
|
|
857
|
+
end
|
|
858
|
+
|
|
842
859
|
class Ec2ImageDetails
|
|
843
860
|
attr_accessor image_arn: ::String
|
|
844
861
|
SENSITIVE: []
|
|
@@ -857,6 +874,12 @@ module Aws::GuardDuty
|
|
|
857
874
|
SENSITIVE: []
|
|
858
875
|
end
|
|
859
876
|
|
|
877
|
+
class Ec2LaunchTemplate
|
|
878
|
+
attr_accessor ec2_instance_uids: ::Array[::String]
|
|
879
|
+
attr_accessor version: ::String
|
|
880
|
+
SENSITIVE: []
|
|
881
|
+
end
|
|
882
|
+
|
|
860
883
|
class Ec2NetworkInterface
|
|
861
884
|
attr_accessor ipv_6_addresses: ::Array[::String]
|
|
862
885
|
attr_accessor private_ip_addresses: ::Array[Types::PrivateIpAddressDetails]
|
|
@@ -867,6 +890,17 @@ module Aws::GuardDuty
|
|
|
867
890
|
SENSITIVE: []
|
|
868
891
|
end
|
|
869
892
|
|
|
893
|
+
class Ec2Vpc
|
|
894
|
+
attr_accessor ec2_instance_uids: ::Array[::String]
|
|
895
|
+
SENSITIVE: []
|
|
896
|
+
end
|
|
897
|
+
|
|
898
|
+
class EcsCluster
|
|
899
|
+
attr_accessor status: ("ACTIVE" | "PROVISIONING" | "DEPROVISIONING" | "FAILED" | "INACTIVE")
|
|
900
|
+
attr_accessor ec2_instance_uids: ::Array[::String]
|
|
901
|
+
SENSITIVE: []
|
|
902
|
+
end
|
|
903
|
+
|
|
870
904
|
class EcsClusterDetails
|
|
871
905
|
attr_accessor name: ::String
|
|
872
906
|
attr_accessor arn: ::String
|
|
@@ -879,6 +913,14 @@ module Aws::GuardDuty
|
|
|
879
913
|
SENSITIVE: []
|
|
880
914
|
end
|
|
881
915
|
|
|
916
|
+
class EcsTask
|
|
917
|
+
attr_accessor created_at: ::Time
|
|
918
|
+
attr_accessor task_definition_arn: ::String
|
|
919
|
+
attr_accessor launch_type: ("FARGATE" | "EC2")
|
|
920
|
+
attr_accessor container_uids: ::Array[::String]
|
|
921
|
+
SENSITIVE: []
|
|
922
|
+
end
|
|
923
|
+
|
|
882
924
|
class EcsTaskDetails
|
|
883
925
|
attr_accessor arn: ::String
|
|
884
926
|
attr_accessor definition_arn: ::String
|
|
@@ -1321,6 +1363,11 @@ module Aws::GuardDuty
|
|
|
1321
1363
|
SENSITIVE: []
|
|
1322
1364
|
end
|
|
1323
1365
|
|
|
1366
|
+
class IamInstanceProfileV2
|
|
1367
|
+
attr_accessor ec2_instance_uids: ::Array[::String]
|
|
1368
|
+
SENSITIVE: []
|
|
1369
|
+
end
|
|
1370
|
+
|
|
1324
1371
|
class ImpersonatedUser
|
|
1325
1372
|
attr_accessor username: ::String
|
|
1326
1373
|
attr_accessor groups: ::Array[::String]
|
|
@@ -2223,6 +2270,14 @@ module Aws::GuardDuty
|
|
|
2223
2270
|
attr_accessor eks_cluster: Types::EksCluster
|
|
2224
2271
|
attr_accessor kubernetes_workload: Types::KubernetesWorkload
|
|
2225
2272
|
attr_accessor container: Types::ContainerFindingResource
|
|
2273
|
+
attr_accessor ecs_cluster: Types::EcsCluster
|
|
2274
|
+
attr_accessor ecs_task: Types::EcsTask
|
|
2275
|
+
attr_accessor iam_instance_profile: Types::IamInstanceProfileV2
|
|
2276
|
+
attr_accessor autoscaling_auto_scaling_group: Types::AutoscalingAutoScalingGroup
|
|
2277
|
+
attr_accessor ec2_launch_template: Types::Ec2LaunchTemplate
|
|
2278
|
+
attr_accessor ec2_vpc: Types::Ec2Vpc
|
|
2279
|
+
attr_accessor ec2_image: Types::Ec2Image
|
|
2280
|
+
attr_accessor cloudformation_stack: Types::CloudformationStack
|
|
2226
2281
|
SENSITIVE: []
|
|
2227
2282
|
end
|
|
2228
2283
|
|
|
@@ -2250,7 +2305,7 @@ module Aws::GuardDuty
|
|
|
2250
2305
|
attr_accessor uid: ::String
|
|
2251
2306
|
attr_accessor name: ::String
|
|
2252
2307
|
attr_accessor account_id: ::String
|
|
2253
|
-
attr_accessor resource_type: ("EC2_INSTANCE" | "EC2_NETWORK_INTERFACE" | "S3_BUCKET" | "S3_OBJECT" | "ACCESS_KEY" | "EKS_CLUSTER" | "KUBERNETES_WORKLOAD" | "CONTAINER")
|
|
2308
|
+
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")
|
|
2254
2309
|
attr_accessor region: ::String
|
|
2255
2310
|
attr_accessor service: ::String
|
|
2256
2311
|
attr_accessor cloud_partition: ::String
|