aws-sdk-guardduty 1.132.0 → 1.134.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 +269 -4
- data/lib/aws-sdk-guardduty/client_api.rb +237 -0
- data/lib/aws-sdk-guardduty/types.rb +780 -5
- data/lib/aws-sdk-guardduty.rb +1 -1
- data/sig/client.rbs +78 -1
- data/sig/types.rbs +199 -0
- metadata +1 -1
data/lib/aws-sdk-guardduty.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -685,6 +685,32 @@ module Aws
|
|
|
685
685
|
) -> _GetMalwareProtectionPlanResponseSuccess
|
|
686
686
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMalwareProtectionPlanResponseSuccess
|
|
687
687
|
|
|
688
|
+
interface _GetMalwareScanResponseSuccess
|
|
689
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMalwareScanResponse]
|
|
690
|
+
def scan_id: () -> ::String
|
|
691
|
+
def detector_id: () -> ::String
|
|
692
|
+
def admin_detector_id: () -> ::String
|
|
693
|
+
def resource_arn: () -> ::String
|
|
694
|
+
def resource_type: () -> ("EBS_RECOVERY_POINT" | "EBS_SNAPSHOT" | "EBS_VOLUME" | "EC2_AMI" | "EC2_INSTANCE" | "EC2_RECOVERY_POINT" | "S3_RECOVERY_POINT" | "S3_BUCKET")
|
|
695
|
+
def scanned_resources_count: () -> ::Integer
|
|
696
|
+
def skipped_resources_count: () -> ::Integer
|
|
697
|
+
def failed_resources_count: () -> ::Integer
|
|
698
|
+
def scanned_resources: () -> ::Array[Types::ScannedResource]
|
|
699
|
+
def scan_configuration: () -> Types::ScanConfiguration
|
|
700
|
+
def scan_category: () -> ("FULL_SCAN" | "INCREMENTAL_SCAN")
|
|
701
|
+
def scan_status: () -> ("RUNNING" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "FAILED" | "SKIPPED")
|
|
702
|
+
def scan_status_reason: () -> ("ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "SNAPSHOT_SIZE_LIMIT_EXCEEDED" | "RESOURCE_UNAVAILABLE" | "INCONSISTENT_SOURCE" | "INCREMENTAL_NO_DIFFERENCE" | "NO_EBS_VOLUMES_FOUND" | "UNSUPPORTED_PRODUCT_CODE_TYPE" | "AMI_SNAPSHOT_LIMIT_EXCEEDED" | "UNRELATED_RESOURCES" | "BASE_RESOURCE_NOT_SCANNED" | "BASE_CREATED_AFTER_TARGET" | "UNSUPPORTED_FOR_INCREMENTAL" | "UNSUPPORTED_AMI" | "UNSUPPORTED_SNAPSHOT" | "UNSUPPORTED_COMPOSITE_RECOVERY_POINT")
|
|
703
|
+
def scan_type: () -> ("BACKUP_INITIATED" | "ON_DEMAND" | "GUARDDUTY_INITIATED")
|
|
704
|
+
def scan_started_at: () -> ::Time
|
|
705
|
+
def scan_completed_at: () -> ::Time
|
|
706
|
+
def scan_result_details: () -> Types::GetMalwareScanResultDetails
|
|
707
|
+
end
|
|
708
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_malware_scan-instance_method
|
|
709
|
+
def get_malware_scan: (
|
|
710
|
+
scan_id: ::String
|
|
711
|
+
) -> _GetMalwareScanResponseSuccess
|
|
712
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMalwareScanResponseSuccess
|
|
713
|
+
|
|
688
714
|
interface _GetMalwareScanSettingsResponseSuccess
|
|
689
715
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetMalwareScanSettingsResponse]
|
|
690
716
|
def scan_resource_criteria: () -> Types::ScanResourceCriteria
|
|
@@ -960,6 +986,34 @@ module Aws
|
|
|
960
986
|
) -> _ListMalwareProtectionPlansResponseSuccess
|
|
961
987
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMalwareProtectionPlansResponseSuccess
|
|
962
988
|
|
|
989
|
+
interface _ListMalwareScansResponseSuccess
|
|
990
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMalwareScansResponse]
|
|
991
|
+
def scans: () -> ::Array[Types::MalwareScan]
|
|
992
|
+
def next_token: () -> ::String
|
|
993
|
+
end
|
|
994
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_malware_scans-instance_method
|
|
995
|
+
def list_malware_scans: (
|
|
996
|
+
?max_results: ::Integer,
|
|
997
|
+
?next_token: ::String,
|
|
998
|
+
?filter_criteria: {
|
|
999
|
+
list_malware_scans_filter_criterion: Array[
|
|
1000
|
+
{
|
|
1001
|
+
list_malware_scans_criterion_key: ("RESOURCE_ARN" | "SCAN_ID" | "ACCOUNT_ID" | "GUARDDUTY_FINDING_ID" | "RESOURCE_TYPE" | "SCAN_START_TIME" | "SCAN_STATUS" | "SCAN_TYPE")?,
|
|
1002
|
+
filter_condition: {
|
|
1003
|
+
equals_value: ::String?,
|
|
1004
|
+
greater_than: ::Integer?,
|
|
1005
|
+
less_than: ::Integer?
|
|
1006
|
+
}?
|
|
1007
|
+
},
|
|
1008
|
+
]?
|
|
1009
|
+
},
|
|
1010
|
+
?sort_criteria: {
|
|
1011
|
+
attribute_name: ::String?,
|
|
1012
|
+
order_by: ("ASC" | "DESC")?
|
|
1013
|
+
}
|
|
1014
|
+
) -> _ListMalwareScansResponseSuccess
|
|
1015
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMalwareScansResponseSuccess
|
|
1016
|
+
|
|
963
1017
|
interface _ListMembersResponseSuccess
|
|
964
1018
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListMembersResponse]
|
|
965
1019
|
def members: () -> ::Array[Types::Member]
|
|
@@ -1048,13 +1102,36 @@ module Aws
|
|
|
1048
1102
|
) -> _ListTrustedEntitySetsResponseSuccess
|
|
1049
1103
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrustedEntitySetsResponseSuccess
|
|
1050
1104
|
|
|
1105
|
+
interface _SendObjectMalwareScanResponseSuccess
|
|
1106
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SendObjectMalwareScanResponse]
|
|
1107
|
+
end
|
|
1108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#send_object_malware_scan-instance_method
|
|
1109
|
+
def send_object_malware_scan: (
|
|
1110
|
+
?s3_object: {
|
|
1111
|
+
bucket: ::String?,
|
|
1112
|
+
key: ::String?,
|
|
1113
|
+
version_id: ::String?
|
|
1114
|
+
}
|
|
1115
|
+
) -> _SendObjectMalwareScanResponseSuccess
|
|
1116
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendObjectMalwareScanResponseSuccess
|
|
1117
|
+
|
|
1051
1118
|
interface _StartMalwareScanResponseSuccess
|
|
1052
1119
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartMalwareScanResponse]
|
|
1053
1120
|
def scan_id: () -> ::String
|
|
1054
1121
|
end
|
|
1055
1122
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#start_malware_scan-instance_method
|
|
1056
1123
|
def start_malware_scan: (
|
|
1057
|
-
resource_arn: ::String
|
|
1124
|
+
resource_arn: ::String,
|
|
1125
|
+
?client_token: ::String,
|
|
1126
|
+
?scan_configuration: {
|
|
1127
|
+
role: ::String,
|
|
1128
|
+
incremental_scan_details: {
|
|
1129
|
+
baseline_resource_arn: ::String
|
|
1130
|
+
}?,
|
|
1131
|
+
recovery_point: {
|
|
1132
|
+
backup_vault_name: ::String
|
|
1133
|
+
}?
|
|
1134
|
+
}
|
|
1058
1135
|
) -> _StartMalwareScanResponseSuccess
|
|
1059
1136
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMalwareScanResponseSuccess
|
|
1060
1137
|
|
data/sig/types.rbs
CHANGED
|
@@ -115,6 +115,12 @@ module Aws::GuardDuty
|
|
|
115
115
|
SENSITIVE: []
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
+
class AdditionalInfo
|
|
119
|
+
attr_accessor version_id: ::String
|
|
120
|
+
attr_accessor device_name: ::String
|
|
121
|
+
SENSITIVE: []
|
|
122
|
+
end
|
|
123
|
+
|
|
118
124
|
class AddonDetails
|
|
119
125
|
attr_accessor addon_version: ::String
|
|
120
126
|
attr_accessor addon_status: ::String
|
|
@@ -800,6 +806,16 @@ module Aws::GuardDuty
|
|
|
800
806
|
SENSITIVE: []
|
|
801
807
|
end
|
|
802
808
|
|
|
809
|
+
class EbsSnapshot
|
|
810
|
+
attr_accessor device_name: ::String
|
|
811
|
+
SENSITIVE: []
|
|
812
|
+
end
|
|
813
|
+
|
|
814
|
+
class EbsSnapshotDetails
|
|
815
|
+
attr_accessor snapshot_arn: ::String
|
|
816
|
+
SENSITIVE: []
|
|
817
|
+
end
|
|
818
|
+
|
|
803
819
|
class EbsVolumeDetails
|
|
804
820
|
attr_accessor scanned_volume_details: ::Array[Types::VolumeDetail]
|
|
805
821
|
attr_accessor skipped_volume_details: ::Array[Types::VolumeDetail]
|
|
@@ -823,6 +839,11 @@ module Aws::GuardDuty
|
|
|
823
839
|
SENSITIVE: []
|
|
824
840
|
end
|
|
825
841
|
|
|
842
|
+
class Ec2ImageDetails
|
|
843
|
+
attr_accessor image_arn: ::String
|
|
844
|
+
SENSITIVE: []
|
|
845
|
+
end
|
|
846
|
+
|
|
826
847
|
class Ec2Instance
|
|
827
848
|
attr_accessor availability_zone: ::String
|
|
828
849
|
attr_accessor image_description: ::String
|
|
@@ -1112,6 +1133,44 @@ module Aws::GuardDuty
|
|
|
1112
1133
|
SENSITIVE: []
|
|
1113
1134
|
end
|
|
1114
1135
|
|
|
1136
|
+
class GetMalwareScanRequest
|
|
1137
|
+
attr_accessor scan_id: ::String
|
|
1138
|
+
SENSITIVE: []
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1141
|
+
class GetMalwareScanResponse
|
|
1142
|
+
attr_accessor scan_id: ::String
|
|
1143
|
+
attr_accessor detector_id: ::String
|
|
1144
|
+
attr_accessor admin_detector_id: ::String
|
|
1145
|
+
attr_accessor resource_arn: ::String
|
|
1146
|
+
attr_accessor resource_type: ("EBS_RECOVERY_POINT" | "EBS_SNAPSHOT" | "EBS_VOLUME" | "EC2_AMI" | "EC2_INSTANCE" | "EC2_RECOVERY_POINT" | "S3_RECOVERY_POINT" | "S3_BUCKET")
|
|
1147
|
+
attr_accessor scanned_resources_count: ::Integer
|
|
1148
|
+
attr_accessor skipped_resources_count: ::Integer
|
|
1149
|
+
attr_accessor failed_resources_count: ::Integer
|
|
1150
|
+
attr_accessor scanned_resources: ::Array[Types::ScannedResource]
|
|
1151
|
+
attr_accessor scan_configuration: Types::ScanConfiguration
|
|
1152
|
+
attr_accessor scan_category: ("FULL_SCAN" | "INCREMENTAL_SCAN")
|
|
1153
|
+
attr_accessor scan_status: ("RUNNING" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "FAILED" | "SKIPPED")
|
|
1154
|
+
attr_accessor scan_status_reason: ("ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "SNAPSHOT_SIZE_LIMIT_EXCEEDED" | "RESOURCE_UNAVAILABLE" | "INCONSISTENT_SOURCE" | "INCREMENTAL_NO_DIFFERENCE" | "NO_EBS_VOLUMES_FOUND" | "UNSUPPORTED_PRODUCT_CODE_TYPE" | "AMI_SNAPSHOT_LIMIT_EXCEEDED" | "UNRELATED_RESOURCES" | "BASE_RESOURCE_NOT_SCANNED" | "BASE_CREATED_AFTER_TARGET" | "UNSUPPORTED_FOR_INCREMENTAL" | "UNSUPPORTED_AMI" | "UNSUPPORTED_SNAPSHOT" | "UNSUPPORTED_COMPOSITE_RECOVERY_POINT")
|
|
1155
|
+
attr_accessor scan_type: ("BACKUP_INITIATED" | "ON_DEMAND" | "GUARDDUTY_INITIATED")
|
|
1156
|
+
attr_accessor scan_started_at: ::Time
|
|
1157
|
+
attr_accessor scan_completed_at: ::Time
|
|
1158
|
+
attr_accessor scan_result_details: Types::GetMalwareScanResultDetails
|
|
1159
|
+
SENSITIVE: []
|
|
1160
|
+
end
|
|
1161
|
+
|
|
1162
|
+
class GetMalwareScanResultDetails
|
|
1163
|
+
attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND")
|
|
1164
|
+
attr_accessor skipped_file_count: ::Integer
|
|
1165
|
+
attr_accessor failed_file_count: ::Integer
|
|
1166
|
+
attr_accessor threat_found_file_count: ::Integer
|
|
1167
|
+
attr_accessor total_file_count: ::Integer
|
|
1168
|
+
attr_accessor total_bytes: ::Integer
|
|
1169
|
+
attr_accessor unique_threat_count: ::Integer
|
|
1170
|
+
attr_accessor threats: ::Array[Types::ScanResultThreat]
|
|
1171
|
+
SENSITIVE: []
|
|
1172
|
+
end
|
|
1173
|
+
|
|
1115
1174
|
class GetMalwareScanSettingsRequest
|
|
1116
1175
|
attr_accessor detector_id: ::String
|
|
1117
1176
|
SENSITIVE: []
|
|
@@ -1268,6 +1327,11 @@ module Aws::GuardDuty
|
|
|
1268
1327
|
SENSITIVE: []
|
|
1269
1328
|
end
|
|
1270
1329
|
|
|
1330
|
+
class IncrementalScanDetails
|
|
1331
|
+
attr_accessor baseline_resource_arn: ::String
|
|
1332
|
+
SENSITIVE: []
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1271
1335
|
class Indicator
|
|
1272
1336
|
attr_accessor key: ("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")
|
|
1273
1337
|
attr_accessor values: ::Array[::String]
|
|
@@ -1319,6 +1383,14 @@ module Aws::GuardDuty
|
|
|
1319
1383
|
SENSITIVE: []
|
|
1320
1384
|
end
|
|
1321
1385
|
|
|
1386
|
+
class ItemDetails
|
|
1387
|
+
attr_accessor resource_arn: ::String
|
|
1388
|
+
attr_accessor item_path: ::String
|
|
1389
|
+
attr_accessor hash: ::String
|
|
1390
|
+
attr_accessor additional_info: Types::AdditionalInfo
|
|
1391
|
+
SENSITIVE: []
|
|
1392
|
+
end
|
|
1393
|
+
|
|
1322
1394
|
class ItemPath
|
|
1323
1395
|
attr_accessor nested_item_path: ::String
|
|
1324
1396
|
attr_accessor hash: ::String
|
|
@@ -1542,6 +1614,31 @@ module Aws::GuardDuty
|
|
|
1542
1614
|
SENSITIVE: []
|
|
1543
1615
|
end
|
|
1544
1616
|
|
|
1617
|
+
class ListMalwareScansFilterCriteria
|
|
1618
|
+
attr_accessor list_malware_scans_filter_criterion: ::Array[Types::ListMalwareScansFilterCriterion]
|
|
1619
|
+
SENSITIVE: []
|
|
1620
|
+
end
|
|
1621
|
+
|
|
1622
|
+
class ListMalwareScansFilterCriterion
|
|
1623
|
+
attr_accessor list_malware_scans_criterion_key: ("RESOURCE_ARN" | "SCAN_ID" | "ACCOUNT_ID" | "GUARDDUTY_FINDING_ID" | "RESOURCE_TYPE" | "SCAN_START_TIME" | "SCAN_STATUS" | "SCAN_TYPE")
|
|
1624
|
+
attr_accessor filter_condition: Types::FilterCondition
|
|
1625
|
+
SENSITIVE: []
|
|
1626
|
+
end
|
|
1627
|
+
|
|
1628
|
+
class ListMalwareScansRequest
|
|
1629
|
+
attr_accessor max_results: ::Integer
|
|
1630
|
+
attr_accessor next_token: ::String
|
|
1631
|
+
attr_accessor filter_criteria: Types::ListMalwareScansFilterCriteria
|
|
1632
|
+
attr_accessor sort_criteria: Types::SortCriteria
|
|
1633
|
+
SENSITIVE: []
|
|
1634
|
+
end
|
|
1635
|
+
|
|
1636
|
+
class ListMalwareScansResponse
|
|
1637
|
+
attr_accessor scans: ::Array[Types::MalwareScan]
|
|
1638
|
+
attr_accessor next_token: ::String
|
|
1639
|
+
SENSITIVE: []
|
|
1640
|
+
end
|
|
1641
|
+
|
|
1545
1642
|
class ListMembersRequest
|
|
1546
1643
|
attr_accessor detector_id: ::String
|
|
1547
1644
|
attr_accessor max_results: ::Integer
|
|
@@ -1666,6 +1763,12 @@ module Aws::GuardDuty
|
|
|
1666
1763
|
SENSITIVE: []
|
|
1667
1764
|
end
|
|
1668
1765
|
|
|
1766
|
+
class MalwareProtectionFindingsScanConfiguration
|
|
1767
|
+
attr_accessor trigger_type: ("BACKUP" | "GUARDDUTY")
|
|
1768
|
+
attr_accessor incremental_scan_details: Types::IncrementalScanDetails
|
|
1769
|
+
SENSITIVE: []
|
|
1770
|
+
end
|
|
1771
|
+
|
|
1669
1772
|
class MalwareProtectionPlanActions
|
|
1670
1773
|
attr_accessor tagging: Types::MalwareProtectionPlanTaggingAction
|
|
1671
1774
|
SENSITIVE: []
|
|
@@ -1687,8 +1790,25 @@ module Aws::GuardDuty
|
|
|
1687
1790
|
SENSITIVE: []
|
|
1688
1791
|
end
|
|
1689
1792
|
|
|
1793
|
+
class MalwareScan
|
|
1794
|
+
attr_accessor resource_arn: ::String
|
|
1795
|
+
attr_accessor resource_type: ("EBS_RECOVERY_POINT" | "EBS_SNAPSHOT" | "EBS_VOLUME" | "EC2_AMI" | "EC2_INSTANCE" | "EC2_RECOVERY_POINT" | "S3_RECOVERY_POINT" | "S3_BUCKET")
|
|
1796
|
+
attr_accessor scan_id: ::String
|
|
1797
|
+
attr_accessor scan_status: ("RUNNING" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "FAILED" | "SKIPPED")
|
|
1798
|
+
attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND")
|
|
1799
|
+
attr_accessor scan_type: ("BACKUP_INITIATED" | "ON_DEMAND" | "GUARDDUTY_INITIATED")
|
|
1800
|
+
attr_accessor scan_started_at: ::Time
|
|
1801
|
+
attr_accessor scan_completed_at: ::Time
|
|
1802
|
+
SENSITIVE: []
|
|
1803
|
+
end
|
|
1804
|
+
|
|
1690
1805
|
class MalwareScanDetails
|
|
1691
1806
|
attr_accessor threats: ::Array[Types::Threat]
|
|
1807
|
+
attr_accessor scan_id: ::String
|
|
1808
|
+
attr_accessor scan_type: ("BACKUP_INITIATED" | "ON_DEMAND" | "GUARDDUTY_INITIATED")
|
|
1809
|
+
attr_accessor scan_category: ("FULL_SCAN" | "INCREMENTAL_SCAN")
|
|
1810
|
+
attr_accessor scan_configuration: Types::MalwareProtectionFindingsScanConfiguration
|
|
1811
|
+
attr_accessor unique_threat_count: ::Integer
|
|
1692
1812
|
SENSITIVE: []
|
|
1693
1813
|
end
|
|
1694
1814
|
|
|
@@ -2041,6 +2161,17 @@ module Aws::GuardDuty
|
|
|
2041
2161
|
SENSITIVE: []
|
|
2042
2162
|
end
|
|
2043
2163
|
|
|
2164
|
+
class RecoveryPoint
|
|
2165
|
+
attr_accessor backup_vault_name: ::String
|
|
2166
|
+
SENSITIVE: []
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
class RecoveryPointDetails
|
|
2170
|
+
attr_accessor recovery_point_arn: ::String
|
|
2171
|
+
attr_accessor backup_vault_name: ::String
|
|
2172
|
+
SENSITIVE: []
|
|
2173
|
+
end
|
|
2174
|
+
|
|
2044
2175
|
class RemoteAccountDetails
|
|
2045
2176
|
attr_accessor account_id: ::String
|
|
2046
2177
|
attr_accessor affiliated: bool
|
|
@@ -2077,6 +2208,9 @@ module Aws::GuardDuty
|
|
|
2077
2208
|
attr_accessor rds_limitless_db_details: Types::RdsLimitlessDbDetails
|
|
2078
2209
|
attr_accessor rds_db_user_details: Types::RdsDbUserDetails
|
|
2079
2210
|
attr_accessor lambda_details: Types::LambdaDetails
|
|
2211
|
+
attr_accessor ebs_snapshot_details: Types::EbsSnapshotDetails
|
|
2212
|
+
attr_accessor ec2_image_details: Types::Ec2ImageDetails
|
|
2213
|
+
attr_accessor recovery_point_details: Types::RecoveryPointDetails
|
|
2080
2214
|
SENSITIVE: []
|
|
2081
2215
|
end
|
|
2082
2216
|
|
|
@@ -2213,6 +2347,13 @@ module Aws::GuardDuty
|
|
|
2213
2347
|
SENSITIVE: []
|
|
2214
2348
|
end
|
|
2215
2349
|
|
|
2350
|
+
class S3ObjectForSendObjectMalwareScan
|
|
2351
|
+
attr_accessor bucket: ::String
|
|
2352
|
+
attr_accessor key: ::String
|
|
2353
|
+
attr_accessor version_id: ::String
|
|
2354
|
+
SENSITIVE: []
|
|
2355
|
+
end
|
|
2356
|
+
|
|
2216
2357
|
class Scan
|
|
2217
2358
|
attr_accessor detector_id: ::String
|
|
2218
2359
|
attr_accessor admin_detector_id: ::String
|
|
@@ -2243,6 +2384,19 @@ module Aws::GuardDuty
|
|
|
2243
2384
|
SENSITIVE: []
|
|
2244
2385
|
end
|
|
2245
2386
|
|
|
2387
|
+
class ScanConfiguration
|
|
2388
|
+
attr_accessor role: ::String
|
|
2389
|
+
attr_accessor trigger_details: Types::TriggerDetails
|
|
2390
|
+
attr_accessor incremental_scan_details: Types::IncrementalScanDetails
|
|
2391
|
+
attr_accessor recovery_point: Types::ScanConfigurationRecoveryPoint
|
|
2392
|
+
SENSITIVE: []
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2395
|
+
class ScanConfigurationRecoveryPoint
|
|
2396
|
+
attr_accessor backup_vault_name: ::String
|
|
2397
|
+
SENSITIVE: []
|
|
2398
|
+
end
|
|
2399
|
+
|
|
2246
2400
|
class ScanDetections
|
|
2247
2401
|
attr_accessor scanned_item_count: Types::ScannedItemCount
|
|
2248
2402
|
attr_accessor threats_detected_item_count: Types::ThreatsDetectedItemCount
|
|
@@ -2280,6 +2434,15 @@ module Aws::GuardDuty
|
|
|
2280
2434
|
SENSITIVE: []
|
|
2281
2435
|
end
|
|
2282
2436
|
|
|
2437
|
+
class ScanResultThreat
|
|
2438
|
+
attr_accessor name: ::String
|
|
2439
|
+
attr_accessor source: ("AMAZON" | "BITDEFENDER")
|
|
2440
|
+
attr_accessor count: ::Integer
|
|
2441
|
+
attr_accessor hash: ::String
|
|
2442
|
+
attr_accessor item_details: ::Array[Types::ItemDetails]
|
|
2443
|
+
SENSITIVE: []
|
|
2444
|
+
end
|
|
2445
|
+
|
|
2283
2446
|
class ScanThreatName
|
|
2284
2447
|
attr_accessor name: ::String
|
|
2285
2448
|
attr_accessor severity: ::String
|
|
@@ -2295,6 +2458,21 @@ module Aws::GuardDuty
|
|
|
2295
2458
|
SENSITIVE: []
|
|
2296
2459
|
end
|
|
2297
2460
|
|
|
2461
|
+
class ScannedResource
|
|
2462
|
+
attr_accessor scanned_resource_arn: ::String
|
|
2463
|
+
attr_accessor scanned_resource_type: ("EBS_RECOVERY_POINT" | "EBS_SNAPSHOT" | "EBS_VOLUME" | "EC2_AMI" | "EC2_INSTANCE" | "EC2_RECOVERY_POINT" | "S3_RECOVERY_POINT" | "S3_BUCKET")
|
|
2464
|
+
attr_accessor scanned_resource_status: ("RUNNING" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "FAILED" | "SKIPPED")
|
|
2465
|
+
attr_accessor scan_status_reason: ("ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "SNAPSHOT_SIZE_LIMIT_EXCEEDED" | "RESOURCE_UNAVAILABLE" | "INCONSISTENT_SOURCE" | "INCREMENTAL_NO_DIFFERENCE" | "NO_EBS_VOLUMES_FOUND" | "UNSUPPORTED_PRODUCT_CODE_TYPE" | "AMI_SNAPSHOT_LIMIT_EXCEEDED" | "UNRELATED_RESOURCES" | "BASE_RESOURCE_NOT_SCANNED" | "BASE_CREATED_AFTER_TARGET" | "UNSUPPORTED_FOR_INCREMENTAL" | "UNSUPPORTED_AMI" | "UNSUPPORTED_SNAPSHOT" | "UNSUPPORTED_COMPOSITE_RECOVERY_POINT")
|
|
2466
|
+
attr_accessor resource_details: Types::ScannedResourceDetails
|
|
2467
|
+
SENSITIVE: []
|
|
2468
|
+
end
|
|
2469
|
+
|
|
2470
|
+
class ScannedResourceDetails
|
|
2471
|
+
attr_accessor ebs_volume: Types::VolumeDetail
|
|
2472
|
+
attr_accessor ebs_snapshot: Types::EbsSnapshot
|
|
2473
|
+
SENSITIVE: []
|
|
2474
|
+
end
|
|
2475
|
+
|
|
2298
2476
|
class SecurityContext
|
|
2299
2477
|
attr_accessor privileged: bool
|
|
2300
2478
|
attr_accessor allow_privilege_escalation: bool
|
|
@@ -2307,6 +2485,14 @@ module Aws::GuardDuty
|
|
|
2307
2485
|
SENSITIVE: []
|
|
2308
2486
|
end
|
|
2309
2487
|
|
|
2488
|
+
class SendObjectMalwareScanRequest
|
|
2489
|
+
attr_accessor s3_object: Types::S3ObjectForSendObjectMalwareScan
|
|
2490
|
+
SENSITIVE: []
|
|
2491
|
+
end
|
|
2492
|
+
|
|
2493
|
+
class SendObjectMalwareScanResponse < Aws::EmptyStructure
|
|
2494
|
+
end
|
|
2495
|
+
|
|
2310
2496
|
class Sequence
|
|
2311
2497
|
attr_accessor uid: ::String
|
|
2312
2498
|
attr_accessor description: ::String
|
|
@@ -2384,8 +2570,17 @@ module Aws::GuardDuty
|
|
|
2384
2570
|
SENSITIVE: []
|
|
2385
2571
|
end
|
|
2386
2572
|
|
|
2573
|
+
class StartMalwareScanConfiguration
|
|
2574
|
+
attr_accessor role: ::String
|
|
2575
|
+
attr_accessor incremental_scan_details: Types::IncrementalScanDetails
|
|
2576
|
+
attr_accessor recovery_point: Types::RecoveryPoint
|
|
2577
|
+
SENSITIVE: []
|
|
2578
|
+
end
|
|
2579
|
+
|
|
2387
2580
|
class StartMalwareScanRequest
|
|
2388
2581
|
attr_accessor resource_arn: ::String
|
|
2582
|
+
attr_accessor client_token: ::String
|
|
2583
|
+
attr_accessor scan_configuration: Types::StartMalwareScanConfiguration
|
|
2389
2584
|
SENSITIVE: []
|
|
2390
2585
|
end
|
|
2391
2586
|
|
|
@@ -2435,6 +2630,9 @@ module Aws::GuardDuty
|
|
|
2435
2630
|
attr_accessor name: ::String
|
|
2436
2631
|
attr_accessor source: ::String
|
|
2437
2632
|
attr_accessor item_paths: ::Array[Types::ItemPath]
|
|
2633
|
+
attr_accessor count: ::Integer
|
|
2634
|
+
attr_accessor hash: ::String
|
|
2635
|
+
attr_accessor item_details: ::Array[Types::ItemDetails]
|
|
2438
2636
|
SENSITIVE: []
|
|
2439
2637
|
end
|
|
2440
2638
|
|
|
@@ -2467,6 +2665,7 @@ module Aws::GuardDuty
|
|
|
2467
2665
|
class TriggerDetails
|
|
2468
2666
|
attr_accessor guard_duty_finding_id: ::String
|
|
2469
2667
|
attr_accessor description: ::String
|
|
2668
|
+
attr_accessor trigger_type: ("BACKUP" | "GUARDDUTY")
|
|
2470
2669
|
SENSITIVE: []
|
|
2471
2670
|
end
|
|
2472
2671
|
|