You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
Attempting to create directory /tmp/my-media/media/uploads/73737/2020/10
[ERROR] ClientError: An error occurred (403) when calling the HeadObject operation: ForbiddenTraceback (most recent call last):
File "/var/task/scan.py", line 224, in lambda_handler
s3_object.download_file(file_path)
File "/var/runtime/boto3/s3/inject.py", line 314, in object_download_file
ExtraArgs=ExtraArgs, Callback=Callback, Config=Config)
File "/var/runtime/boto3/s3/inject.py", line 172, in download_file
extra_args=ExtraArgs, callback=Callback)
File "/var/runtime/boto3/s3/transfer.py", line 307, in download_file
future.result() File "/var/runtime/s3transfer/futures.py", line 106, in result
return self._coordinator.result()
File "/var/runtime/s3transfer/futures.py", line 265, in result
raise self._exception
File "/var/runtime/s3transfer/tasks.py", line 255, in _main
self._submit(transfer_future=transfer_future, **kwargs)
File "/var/runtime/s3transfer/download.py", line 343, in _submit
**transfer_future.meta.call_args.extra_args
File "/var/runtime/botocore/client.py", line 316, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 635, in _make_api_call
raise error_class(parsed_response, operation_name)
-- | --
After investing further, the issue is with getting object while sending SNS after it has been tagged as INFECTED
The scanning lambda function is giving error
After investing further, the issue is with getting object while sending SNS after it has been tagged as INFECTED
As per the doc https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html
GetObject
permission is required to get the headers of the object.But having this policy on the S3 bucket is restricted to get the headers
The text was updated successfully, but these errors were encountered: