aws-sdk-guardduty 1.159.0 → 1.160.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 +7 -1
- data/lib/aws-sdk-guardduty/client_api.rb +21 -0
- data/lib/aws-sdk-guardduty/types.rb +58 -1
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/types.rbs +15 -0
- 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: 90c6a97a0222bacba62b12bd9bd7f1b3634d91b1bcbbda69499bec31dcd1bfad
|
|
4
|
+
data.tar.gz: bcfb93f12f48224a150d06bd7e4b1d27c3ead876a7d4b12dbcf872ec12dd17b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67ce5b188116c974f276aa51a8aee732af5650c0117ca9a53c54a0bf2a52951c15b708c327d5b3e768ed7b2166bb2b4a2aac5f5bfe918d433d81f556b6bfd491
|
|
7
|
+
data.tar.gz: 2652fb7adc23e13d66fea36aa1be409a3e2c6c2a0ada7405dd2d7783b232f8a1ade8b3d4aeadcd2ffb9b5dd9dfc8448867a6dedf943463239d10de9a86b441e8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.160.0
|
|
@@ -4846,6 +4846,12 @@ module Aws::GuardDuty
|
|
|
4846
4846
|
# resp.findings[0].service.detection.sequence.signals[0].signal_indicators[0].values #=> Array
|
|
4847
4847
|
# resp.findings[0].service.detection.sequence.signals[0].signal_indicators[0].values[0] #=> String
|
|
4848
4848
|
# resp.findings[0].service.detection.sequence.signals[0].signal_indicators[0].title #=> String
|
|
4849
|
+
# resp.findings[0].service.detection.sequence.signals[0].activities #=> Array
|
|
4850
|
+
# resp.findings[0].service.detection.sequence.signals[0].activities[0].type #=> String, one of "API_CALL"
|
|
4851
|
+
# resp.findings[0].service.detection.sequence.signals[0].activities[0].api.operation #=> String
|
|
4852
|
+
# resp.findings[0].service.detection.sequence.signals[0].activities[0].api.service #=> String
|
|
4853
|
+
# resp.findings[0].service.detection.sequence.signals[0].activities[0].api.error #=> String
|
|
4854
|
+
# resp.findings[0].service.detection.sequence.signals[0].activities[0].api.user_agent #=> String
|
|
4849
4855
|
# resp.findings[0].service.detection.sequence.sequence_indicators #=> Array
|
|
4850
4856
|
# resp.findings[0].service.detection.sequence.sequence_indicators[0].key #=> String, one of "SUSPICIOUS_USER_AGENT", "SUSPICIOUS_NETWORK", "MALICIOUS_IP", "TOR_IP", "ATTACK_TACTIC", "HIGH_RISK_API", "ATTACK_TECHNIQUE", "UNUSUAL_API_FOR_ACCOUNT", "UNUSUAL_ASN_FOR_ACCOUNT", "UNUSUAL_ASN_FOR_USER", "SUSPICIOUS_PROCESS", "MALICIOUS_DOMAIN", "MALICIOUS_PROCESS", "CRYPTOMINING_IP", "CRYPTOMINING_DOMAIN", "CRYPTOMINING_PROCESS", "MALICIOUS_FILE", "VULNERABILITY", "MALICIOUS_PACKAGE", "MISCONFIGURATION", "REACHABILITY", "SENSITIVE_DATA"
|
|
4851
4857
|
# resp.findings[0].service.detection.sequence.sequence_indicators[0].values #=> Array
|
|
@@ -9726,7 +9732,7 @@ module Aws::GuardDuty
|
|
|
9726
9732
|
tracer: tracer
|
|
9727
9733
|
)
|
|
9728
9734
|
context[:gem_name] = 'aws-sdk-guardduty'
|
|
9729
|
-
context[:gem_version] = '1.
|
|
9735
|
+
context[:gem_version] = '1.160.0'
|
|
9730
9736
|
Seahorse::Client::Request.new(handlers, context)
|
|
9731
9737
|
end
|
|
9732
9738
|
|
|
@@ -32,6 +32,9 @@ module Aws::GuardDuty
|
|
|
32
32
|
AccountLevelPermissions = Shapes::StructureShape.new(name: 'AccountLevelPermissions')
|
|
33
33
|
AccountStatistics = Shapes::StructureShape.new(name: 'AccountStatistics')
|
|
34
34
|
Action = Shapes::StructureShape.new(name: 'Action')
|
|
35
|
+
Activities = Shapes::ListShape.new(name: 'Activities')
|
|
36
|
+
Activity = Shapes::StructureShape.new(name: 'Activity')
|
|
37
|
+
ActivityType = Shapes::StringShape.new(name: 'ActivityType')
|
|
35
38
|
Actor = Shapes::StructureShape.new(name: 'Actor')
|
|
36
39
|
ActorIds = Shapes::ListShape.new(name: 'ActorIds')
|
|
37
40
|
ActorProcess = Shapes::StructureShape.new(name: 'ActorProcess')
|
|
@@ -52,6 +55,11 @@ module Aws::GuardDuty
|
|
|
52
55
|
AnomalyProfiles = Shapes::MapShape.new(name: 'AnomalyProfiles')
|
|
53
56
|
AnomalyUnusual = Shapes::StructureShape.new(name: 'AnomalyUnusual')
|
|
54
57
|
AnomalyUnusualBehaviorFeature = Shapes::MapShape.new(name: 'AnomalyUnusualBehaviorFeature')
|
|
58
|
+
ApiCall = Shapes::StructureShape.new(name: 'ApiCall')
|
|
59
|
+
ApiCallErrorString = Shapes::StringShape.new(name: 'ApiCallErrorString')
|
|
60
|
+
ApiCallOperationString = Shapes::StringShape.new(name: 'ApiCallOperationString')
|
|
61
|
+
ApiCallServiceString = Shapes::StringShape.new(name: 'ApiCallServiceString')
|
|
62
|
+
ApiCallUserAgentString = Shapes::StringShape.new(name: 'ApiCallUserAgentString')
|
|
55
63
|
ArchiveFindingsRequest = Shapes::StructureShape.new(name: 'ArchiveFindingsRequest')
|
|
56
64
|
ArchiveFindingsResponse = Shapes::StructureShape.new(name: 'ArchiveFindingsResponse')
|
|
57
65
|
AssociationDetail = Shapes::StructureShape.new(name: 'AssociationDetail')
|
|
@@ -854,6 +862,12 @@ module Aws::GuardDuty
|
|
|
854
862
|
Action.add_member(:rds_login_attempt_action, Shapes::ShapeRef.new(shape: RdsLoginAttemptAction, location_name: "rdsLoginAttemptAction"))
|
|
855
863
|
Action.struct_class = Types::Action
|
|
856
864
|
|
|
865
|
+
Activities.member = Shapes::ShapeRef.new(shape: Activity)
|
|
866
|
+
|
|
867
|
+
Activity.add_member(:type, Shapes::ShapeRef.new(shape: ActivityType, required: true, location_name: "type"))
|
|
868
|
+
Activity.add_member(:api, Shapes::ShapeRef.new(shape: ApiCall, location_name: "api"))
|
|
869
|
+
Activity.struct_class = Types::Activity
|
|
870
|
+
|
|
857
871
|
Actor.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
|
858
872
|
Actor.add_member(:user, Shapes::ShapeRef.new(shape: User, location_name: "user"))
|
|
859
873
|
Actor.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "session"))
|
|
@@ -920,6 +934,12 @@ module Aws::GuardDuty
|
|
|
920
934
|
AnomalyUnusualBehaviorFeature.key = Shapes::ShapeRef.new(shape: String)
|
|
921
935
|
AnomalyUnusualBehaviorFeature.value = Shapes::ShapeRef.new(shape: AnomalyObject)
|
|
922
936
|
|
|
937
|
+
ApiCall.add_member(:operation, Shapes::ShapeRef.new(shape: ApiCallOperationString, location_name: "operation"))
|
|
938
|
+
ApiCall.add_member(:service, Shapes::ShapeRef.new(shape: ApiCallServiceString, location_name: "service"))
|
|
939
|
+
ApiCall.add_member(:error, Shapes::ShapeRef.new(shape: ApiCallErrorString, location_name: "error"))
|
|
940
|
+
ApiCall.add_member(:user_agent, Shapes::ShapeRef.new(shape: ApiCallUserAgentString, location_name: "userAgent"))
|
|
941
|
+
ApiCall.struct_class = Types::ApiCall
|
|
942
|
+
|
|
923
943
|
ArchiveFindingsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "DetectorId"))
|
|
924
944
|
ArchiveFindingsRequest.add_member(:finding_ids, Shapes::ShapeRef.new(shape: FindingIds, required: true, location_name: "findingIds"))
|
|
925
945
|
ArchiveFindingsRequest.struct_class = Types::ArchiveFindingsRequest
|
|
@@ -3180,6 +3200,7 @@ module Aws::GuardDuty
|
|
|
3180
3200
|
Signal.add_member(:actor_ids, Shapes::ShapeRef.new(shape: ActorIds, location_name: "actorIds"))
|
|
3181
3201
|
Signal.add_member(:endpoint_ids, Shapes::ShapeRef.new(shape: EndpointIds, location_name: "endpointIds"))
|
|
3182
3202
|
Signal.add_member(:signal_indicators, Shapes::ShapeRef.new(shape: Indicators, location_name: "signalIndicators"))
|
|
3203
|
+
Signal.add_member(:activities, Shapes::ShapeRef.new(shape: Activities, location_name: "activities"))
|
|
3183
3204
|
Signal.struct_class = Types::Signal
|
|
3184
3205
|
|
|
3185
3206
|
Signals.member = Shapes::ShapeRef.new(shape: Signal)
|
|
@@ -361,6 +361,27 @@ module Aws::GuardDuty
|
|
|
361
361
|
include Aws::Structure
|
|
362
362
|
end
|
|
363
363
|
|
|
364
|
+
# Contains information about an activity, such as an API call, that was
|
|
365
|
+
# observed for a signal.
|
|
366
|
+
#
|
|
367
|
+
# @!attribute [rw] type
|
|
368
|
+
# The type of the observed activity.
|
|
369
|
+
# @return [String]
|
|
370
|
+
#
|
|
371
|
+
# @!attribute [rw] api
|
|
372
|
+
# Contains information about the API call that was observed, when the
|
|
373
|
+
# activity type is `API_CALL`.
|
|
374
|
+
# @return [Types::ApiCall]
|
|
375
|
+
#
|
|
376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Activity AWS API Documentation
|
|
377
|
+
#
|
|
378
|
+
class Activity < Struct.new(
|
|
379
|
+
:type,
|
|
380
|
+
:api)
|
|
381
|
+
SENSITIVE = []
|
|
382
|
+
include Aws::Structure
|
|
383
|
+
end
|
|
384
|
+
|
|
364
385
|
# Information about the actors involved in an attack sequence.
|
|
365
386
|
#
|
|
366
387
|
# @!attribute [rw] id
|
|
@@ -585,6 +606,36 @@ module Aws::GuardDuty
|
|
|
585
606
|
include Aws::Structure
|
|
586
607
|
end
|
|
587
608
|
|
|
609
|
+
# Contains information about an API call that was observed as part of an
|
|
610
|
+
# activity.
|
|
611
|
+
#
|
|
612
|
+
# @!attribute [rw] operation
|
|
613
|
+
# The name of the API operation that was invoked.
|
|
614
|
+
# @return [String]
|
|
615
|
+
#
|
|
616
|
+
# @!attribute [rw] service
|
|
617
|
+
# The service that the API operation was invoked against.
|
|
618
|
+
# @return [String]
|
|
619
|
+
#
|
|
620
|
+
# @!attribute [rw] error
|
|
621
|
+
# The error code that was returned, if the API call failed.
|
|
622
|
+
# @return [String]
|
|
623
|
+
#
|
|
624
|
+
# @!attribute [rw] user_agent
|
|
625
|
+
# User agent in the request to the API operation
|
|
626
|
+
# @return [String]
|
|
627
|
+
#
|
|
628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ApiCall AWS API Documentation
|
|
629
|
+
#
|
|
630
|
+
class ApiCall < Struct.new(
|
|
631
|
+
:operation,
|
|
632
|
+
:service,
|
|
633
|
+
:error,
|
|
634
|
+
:user_agent)
|
|
635
|
+
SENSITIVE = []
|
|
636
|
+
include Aws::Structure
|
|
637
|
+
end
|
|
638
|
+
|
|
588
639
|
# @!attribute [rw] detector_id
|
|
589
640
|
# The ID of the detector that specifies the GuardDuty service whose
|
|
590
641
|
# findings you want to archive.
|
|
@@ -13089,6 +13140,11 @@ module Aws::GuardDuty
|
|
|
13089
13140
|
# signals.
|
|
13090
13141
|
# @return [Array<Types::Indicator>]
|
|
13091
13142
|
#
|
|
13143
|
+
# @!attribute [rw] activities
|
|
13144
|
+
# Contains information about the activities, such as API calls, that
|
|
13145
|
+
# were observed for this signal.
|
|
13146
|
+
# @return [Array<Types::Activity>]
|
|
13147
|
+
#
|
|
13092
13148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Signal AWS API Documentation
|
|
13093
13149
|
#
|
|
13094
13150
|
class Signal < Struct.new(
|
|
@@ -13105,7 +13161,8 @@ module Aws::GuardDuty
|
|
|
13105
13161
|
:resource_uids,
|
|
13106
13162
|
:actor_ids,
|
|
13107
13163
|
:endpoint_ids,
|
|
13108
|
-
:signal_indicators
|
|
13164
|
+
:signal_indicators,
|
|
13165
|
+
:activities)
|
|
13109
13166
|
SENSITIVE = []
|
|
13110
13167
|
include Aws::Structure
|
|
13111
13168
|
end
|
data/lib/aws-sdk-guardduty.rb
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -100,6 +100,12 @@ module Aws::GuardDuty
|
|
|
100
100
|
SENSITIVE: []
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
+
class Activity
|
|
104
|
+
attr_accessor type: ("API_CALL")
|
|
105
|
+
attr_accessor api: Types::ApiCall
|
|
106
|
+
SENSITIVE: []
|
|
107
|
+
end
|
|
108
|
+
|
|
103
109
|
class Actor
|
|
104
110
|
attr_accessor id: ::String
|
|
105
111
|
attr_accessor user: Types::User
|
|
@@ -164,6 +170,14 @@ module Aws::GuardDuty
|
|
|
164
170
|
SENSITIVE: []
|
|
165
171
|
end
|
|
166
172
|
|
|
173
|
+
class ApiCall
|
|
174
|
+
attr_accessor operation: ::String
|
|
175
|
+
attr_accessor service: ::String
|
|
176
|
+
attr_accessor error: ::String
|
|
177
|
+
attr_accessor user_agent: ::String
|
|
178
|
+
SENSITIVE: []
|
|
179
|
+
end
|
|
180
|
+
|
|
167
181
|
class ArchiveFindingsRequest
|
|
168
182
|
attr_accessor detector_id: ::String
|
|
169
183
|
attr_accessor finding_ids: ::Array[::String]
|
|
@@ -2971,6 +2985,7 @@ module Aws::GuardDuty
|
|
|
2971
2985
|
attr_accessor actor_ids: ::Array[::String]
|
|
2972
2986
|
attr_accessor endpoint_ids: ::Array[::String]
|
|
2973
2987
|
attr_accessor signal_indicators: ::Array[Types::Indicator]
|
|
2988
|
+
attr_accessor activities: ::Array[Types::Activity]
|
|
2974
2989
|
SENSITIVE: []
|
|
2975
2990
|
end
|
|
2976
2991
|
|