Skip to content

Commit 45bfd43

Browse files
author
AWS
committed
Amazon GuardDuty Update: Add S3 On-Demand Object Scanning
1 parent 0d14569 commit 45bfd43

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon GuardDuty",
4+
"contributor": "",
5+
"description": "Add S3 On-Demand Object Scanning"
6+
}

services/guardduty/src/main/resources/codegen-resources/service-2.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,22 @@
10181018
],
10191019
"documentation":"<p>Lists the trusted entity sets associated with the specified GuardDuty detector ID. If you use this operation from a member account, the trusted entity sets that are returned as a response, belong to the administrator account.</p>"
10201020
},
1021+
"SendObjectMalwareScan":{
1022+
"name":"SendObjectMalwareScan",
1023+
"http":{
1024+
"method":"POST",
1025+
"requestUri":"/object-malware-scan/send",
1026+
"responseCode":200
1027+
},
1028+
"input":{"shape":"SendObjectMalwareScanRequest"},
1029+
"output":{"shape":"SendObjectMalwareScanResponse"},
1030+
"errors":[
1031+
{"shape":"BadRequestException"},
1032+
{"shape":"AccessDeniedException"},
1033+
{"shape":"InternalServerErrorException"}
1034+
],
1035+
"documentation":"<p>Initiates a malware scan for a specific S3 object. This API allows you to perform on-demand malware scanning of individual objects in S3 buckets that have Malware Protection for S3 enabled.</p> <p>When you use this API, the Amazon Web Services service terms for GuardDuty Malware Protection apply. For more information, see <a href=\"http://aws.amazon.com/service-terms/#87._Amazon_GuardDuty\">Amazon Web Services service terms for GuardDuty Malware Protection</a>.</p>"
1036+
},
10211037
"StartMalwareScan":{
10221038
"name":"StartMalwareScan",
10231039
"http":{
@@ -9297,6 +9313,27 @@
92979313
"type":"list",
92989314
"member":{"shape":"S3ObjectDetail"}
92999315
},
9316+
"S3ObjectForSendObjectMalwareScan":{
9317+
"type":"structure",
9318+
"members":{
9319+
"Bucket":{
9320+
"shape":"String",
9321+
"documentation":"<p>The name of the S3 bucket containing the object to scan. The bucket must have GuardDuty Malware Protection enabled.</p>",
9322+
"locationName":"bucket"
9323+
},
9324+
"Key":{
9325+
"shape":"String",
9326+
"documentation":"<p>The key (name) of the S3 object to scan for malware. This must be the full key path of the object within the bucket.</p>",
9327+
"locationName":"key"
9328+
},
9329+
"VersionId":{
9330+
"shape":"String",
9331+
"documentation":"<p>The version ID of the S3 object to scan. If not specified, the latest version of the object is scanned.</p>",
9332+
"locationName":"versionId"
9333+
}
9334+
},
9335+
"documentation":"<p>The S3 object path to initiate a scan, including bucket name, object key, and optional version ID.</p>"
9336+
},
93009337
"S3ObjectUids":{
93019338
"type":"list",
93029339
"member":{"shape":"String"}
@@ -9637,6 +9674,20 @@
96379674
"type":"list",
96389675
"member":{"shape":"SecurityGroup"}
96399676
},
9677+
"SendObjectMalwareScanRequest":{
9678+
"type":"structure",
9679+
"members":{
9680+
"S3Object":{
9681+
"shape":"S3ObjectForSendObjectMalwareScan",
9682+
"documentation":"<p>The S3 object information for the object you want to scan. The bucket must have a Malware Protection plan configured to use this API.</p>",
9683+
"locationName":"s3Object"
9684+
}
9685+
}
9686+
},
9687+
"SendObjectMalwareScanResponse":{
9688+
"type":"structure",
9689+
"members":{}
9690+
},
96409691
"SensitiveString":{
96419692
"type":"string",
96429693
"sensitive":true

0 commit comments

Comments
 (0)