Skip to content

Commit

Permalink
Fix: Fix aws full scan filter function
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-c-lee committed Apr 19, 2024
1 parent c3d48db commit 22f6212
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Metadata:
ReadmeUrl: README.md
Labels: ['trendmicro','cloudone','filestorage','s3','bucket','plugin','full','full-scan','scheduled','scheduled-scan']
HomePageUrl: https://github.com/trendmicro/cloudone-filestorage-plugins
SemanticVersion: 2.1.0
SemanticVersion: 2.1.1
SourceCodeUrl: https://github.com/trendmicro/cloudone-filestorage-plugins/tree/master/scan-triggers/aws-python-bucket-full-and-scheduled-scan
Parameters:
BucketName:
Expand Down Expand Up @@ -258,7 +258,7 @@ Resources:
Bucket: bucket,
Key: key
}))
const keys = JSON.parse(result.Body.toString('utf-8'));
const keys = JSON.parse(await result.Body.transformToString());
return keys;
} catch (error) {
throw error;
Expand Down

0 comments on commit 22f6212

Please sign in to comment.