trendmicro / cloudone-filestorage-plugins

Trend Micro Cloud One File Storage Security plugins reference code.
https://cloudone.trendmicro.com
Apache License 2.0
42 stars 51 forks source link

Be able to promote and quarantine a file more than 5GB #50

Closed chenjill closed 3 years ago

chenjill commented 3 years ago

post-scan-actions/aws-python-promote-or-quarantine

Problem to solve

Current promote&quarantine plugin only support files less than 5GBs. When it tries to move a file over 5GBs, it raise following error:

image

Proposed solution

Using s3 copy() function instead of copy_object().

Alternatives

n/a

Additional context

n/a